• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

lvsd Command Examples in Linux

by admin

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 

Filed Under: CentOS/RHEL, Linux

Some more articles you might also be interested in …

  1. RPM : package installation Error : cpio: read failed
  2. a2query Command Examples in Linux
  3. How to view file size/details from ls command in Unix
  4. ldd Command Options in Linux
  5. CentOS / RHEL : How to add new swap partition
  6. UNIX / Linux : What Is a Shell? What are different Shells?
  7. CentOS / RHEL 7 : Configuring NTP using chrony
  8. How to Count lines in a file in UNIX/Linux
  9. auracle Command Examples
  10. Spacewalk Installation Steps On CentOS/RHEL

You May Also Like

Primary Sidebar

Recent Posts

  • qsub Command Examples in Linux
  • qsub: command not found
  • qrcp Command Examples in Linux
  • qmrestore Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright