How to Install Keepalived App on Linux Ubuntu 19.10/18.04 LTS?

Install Keepalived for High-availability & Load-balancing Facilities on Linux

Keepalived for Linux Ubuntu


eepalived: The prime objective of this application is to offer easy and robust facilities for high-availability VRRP/BFD and load balancing for Linux. The Keepalived is a routing application written in C. The app executes a set of checkers to handle and maintain the load-balanced server pool as per its strength. Further, the high-availability is attained by VRRP Protocol. In order to provide the fastest detection of network failure, the Keepalived app implements the BFD Protocol. The frameworks of the Keepalived app can be utilized altogether or separately to provide strong infrastructures. In this article, we will assist you to install the Keepalived App on Linux Ubuntu 19.10 Eoan Ermine/ 18.04 LTS Bionic Beaver effortlessly.

Jump to:

Keepalived Application Info:

App Versionv2.0.20+
App Size18.9 MB

Process of Installing Keepalived Application:

1) Install Keepalived App on Linux Ubuntu – Using Terminal:

  • Click on the shortcut CTRL+ALT+Tto open the Terminal on Linux Ubuntu .
  • For installing Keepalived App, you have to run the below command on the Ubuntu Terminal. After that, enter your system password to authenticate the installation process.
sudo snap install keepalived --classic
Installation Command of Keepalived
Installation Command of Keepalived

2) Usage of Ubuntu Software to install Keepalived App:

You can also make use of Ubuntu Software to install Keepalived App as another way. Just click on the following button on your Ubuntu software.

Check this too  How to Install Cloudtag on Ubuntu 19.10, 18.04 & 19.04?
Installation of Keepalived on Ubuntu Software
Installation of Keepalived on Ubuntu Software

Keepalived App – Help Command:

In order to execute help command for Keepalived Application, you can just copy and paste the below short command on your Ubuntu Terminal.

keepalived --help

Flags of Keepalived App:

  -f, --use-file=FILE          Use the specified configuration file
  -P, --vrrp                   Only run with VRRP subsystem
  -C, --check                  Only run with Health-checker subsystem
  -B, --no_bfd                 Don't run BFD subsystem
      --all                    Force all child processes to run, even if have no configuration
  -l, --log-console            Log messages to local console
  -D, --log-detail             Detailed log messages
  -S, --log-facility=[0-7]     Set syslog facility to LOG_LOCAL[0-7]
  -G, --no-syslog              Don't log via syslog
  -u, --umask=MASK             umask for file creation (in numeric form)
  -X, --release-vips           Drop VIP on transition from signal.
  -V, --dont-release-vrrp      Don't remove VRRP VIPs and VROUTEs on daemon stop
  -I, --dont-release-ipvs      Don't remove IPVS topology on daemon stop
  -R, --dont-respawn           Don't respawn child processes
  -n, --dont-fork              Don't fork the daemon process
  -d, --dump-conf              Dump the configuration data
  -p, --pid=FILE               Use specified pidfile for parent process
  -r, --vrrp_pid=FILE          Use specified pidfile for VRRP child process
  -c, --checkers_pid=FILE      Use specified pidfile for checkers child process
  -a, --address-monitoring     Report all address additions/deletions notified via netlink
  -b, --bfd_pid=FILE           Use specified pidfile for BFD child process
  -x, --snmp                   Enable SNMP subsystem
  -A, --snmp-agent-socket=FILE Use the specified socket for master agent
  -s, --namespace=NAME         Run in network namespace NAME (overrides config)
  -m, --core-dump              Produce core dump if terminate abnormally
  -M, --core-dump-pattern=PATN Also set /proc/sys/kernel/core_pattern to PATN (default 'core')
  -i, --config-id id           Skip any configuration lines beginning '@' that don't match id
                                or any lines beginning @^ that do match.
                                The config-id defaults to the node name if option not used
      --signum=SIGFUNC         Return signal number for STOP, RELOAD, DATA, STATS, JSON
  -t, --config-test[=LOG_FILE] Check the configuration for obvious errors, output to
                                stderr by default
  -v, --version                Display the version number
  -h, --help                   Display this help message

Remove/Uninstall Keepalived App:

You can easily remove/uninstall the Keepalived App with the use of the following short command.

sudo snap remove keepalived
Keepalived Remove Command
Keepalived Remove Command

A Quick Synopsis:

The above article will be useful as it explains to you clearly about the installation, help command, flags and remove/uninstall of Keepalived Application in Linux Ubuntu 19.10/ 18.04 LTS. It is assured that you can get the high-availability and load-balancing facilities for your Linux System by using the Keepalived App. If you have any queries/suggestions, kindly share it in the below comment section.

Check this too  How to Install Discord Application for Linux Mint 19.3 Tricia?

Leave a Reply

Your email address will not be published. Required fields are marked *


Written by Lisa

Lisa is a technical writer who assists readers with quality content as part of a Tec Robust team. Her writing helps people from diverse professional backgrounds. Her article makes you gain clarity on technical topics as she knows what is right for you.

Dark Mode on Fedora 31

How To Enable Dark Theme or Dark Mode on Fedora 31?

Install Samrt-File-Renamer on Linux Ubuntu

Install Smart File Renamer on Linux Ubuntu 18.04 LTS/19.10