GNU/Linux |
RedHat 6.2(Zoot) |
|
![]() |
fos(8) |
![]() |
fos − failover services daemon to control the Red Hat clustering services.
fos [-c cfgfile|--configfile=cfgfile] [-n|--nodaemon] [-t|--test-start] [-v|--verbose] [-f|--monitor] [-F|--active] [-?|--help] [--usage]
fos reads the failover services section in the cluster configuration file /etc/lvs.cf. The program must be run with either "--monitor" or "--active" (or -f and -F) specified. If "--monitor" is used, the program starts nanny daemons to monitor IP services on a partner system. If "--active" is specified, the program starts the IP services on the local system by executing startup scripts. In both cases, a service failure or child daemon exiting will cause fos to terminate, which in turn will notify pulse that something failed and to initiate a cluster failover.
fos is normally started by pulse although it can be run as a command line tool. Similarly, the configuration file that tells fos what to do is normally edited by piranha, but it can be manually edited.
All activity from fos is logged to syslog (when fos is running as a daemon).
-c cfgfile|--configfile=cfgfile
Normally, fos uses /etc/lvs.cf as its configuration file, but this can be overridden and another file can be used.
-n|--nodaemon
Normally, fos runs as a daemon, however using this option, fos runs in the foreground. When running in this mode, all its output is sent to STDOUT instead of syslog.
-t|--test-start
Running fos is test mode allows the user to monitor what fos would actually do. This is only useful during debugging.
-v|--verbose
Display additional debugging information as it runs.
-f|--monitor
Start and control nanny daemons that will monitor services (defined in the lvs.cf file) on a partner computer system. Either this option, or "-F|--active" must be specified.
-F|--active
Start the IP services (defined in the lvs.cf file) on the local system using scripts. Either this option or "-f|--monitor" must be specified.
-?|--help
Shows a verbose usage listing.
--usage
Outputs a terse argument summary.
ipvsadmn(8) lvs(8) lvs.cf(5) nanny(8) pulse(8)
Keith Barrett <kbarrett@redhat.com>
![]() |
fos(8) | ![]() |