lvsd is a daemon to control the Red Hat clustering services. lvsd reads in the cluster configuration file lvs.cf, calls ipvsadm to maintain the IPVS routing table, and nanny to perform monitoring services.
lvsd Command Options
Option | Description |
---|---|
-c cfgfile|–configfile=cfgfile | Normally, lvsd uses lvs.cf as its configuration file, but this can be overridden and another file can be used. |
-n|–nodaemon | Normally, lvsd runs as a daemon, however using this option, lvsd runs in the foreground. |
–nofork | Don’t fork, but do perform disassociate. |
-t|–test-start | Running lvsd is test mode allows the user to monitor what lvsd would actually do. |
-?|–help | Shows a verbose usage listing. |
–usage | Outputs a terse argument summary. |
–version | Displays program version. |
lvsd Command Examples
1. To run lvsd with another config file:
# lvsd -c file.cfg # lvsd --configfile=file.cfg
2. To run lvsd in foreground:
# lvsd -n # lvsd --nodaemon
3. To don’t fork, but do perform disassociate:
# lvsd --nofork
4. To run lvsd in test mode:
# lvsd --test
5. To get the help:
# lvsd --help # lvsd ?
6. To outputs a terse argument summary:
# lvsd --usage
7. To display the version:
# lvsd --version