How To Install pacemaker-cli-utils on Ubuntu 20.04
Introduction
In this tutorial we learn how to install pacemaker-cli-utils
on Ubuntu 20.04.
What is pacemaker-cli-utils
pacemaker-cli-utils is:
At its core, Pacemaker is a distributed finite state machine capable of co-ordinating the startup and recovery of inter-related services across a set of machines.
Pacemaker understands many different resource types (OCF, SYSV, systemd) and can accurately model the relationships between them (colocation, ordering).
It can even use technology such as Docker to automatically isolate the resources managed by the cluster.
This package contains those command line utilities of the Pacemaker cluster manager which work on remote nodes as well.
Package: pacemaker-cli-utils Architecture: amd64 Version: 2.0.3-3ubuntu4.1 Priority: optional Section: admin Source: pacemaker Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian HA Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 672 Depends: pacemaker | pacemaker-remote, libc6 (>= 2.14), libcib27 (>= 1.1.12), libcrmcommon34 (>= 2.0.3), libcrmservice28 (>= 2.0.2), libglib2.0-0 (>= 2.39.4), liblrmd28 (>= 1.1.9), libncurses6 (>= 6), libpacemaker1 (>= 2.0.2), libpe-rules26 (>= 2.0.3), libpe-status28 (>= 2.0.3), libqb0 (>= 0.17.1), libstonithd26 (>= 2.0.3), libtinfo6 (>= 6), libxml2 (>= 2.7.4) Breaks: pacemaker (« 1.1.14-2~) Replaces: pacemaker (« 1.1.14-2~) Filename: pool/main/p/pacemaker/pacemaker-cli-utils_2.0.3-3ubuntu4.1_amd64.deb Size: 160940 MD5sum: 794d8700ecdb9937e5ea350dff8a467a SHA1: d54574b6d8580ee97de1c1d314808c3d0ce5371a SHA256: be3c7bf59b2a87686c1d5d08bb77779993fb592b6a693646baa95b55818ce3f0 SHA512: 971a36f140774ed657ce6010723d93669c5639f07f033b7a4b27b9862b8a65e0fe702d67e448f8287bb4ebfe42685bd933f0bd1c69ad62962b3ae40ffb0a1260 Homepage: https://www.clusterlabs.org/ Description-en: cluster resource manager command line utilities At its core, Pacemaker is a distributed finite state machine capable of co-ordinating the startup and recovery of inter-related services across a set of machines.
Pacemaker understands many different resource types (OCF, SYSV, systemd) and can accurately model the relationships between them (colocation, ordering).
It can even use technology such as Docker to automatically isolate the resources managed by the cluster.
This package contains those command line utilities of the Pacemaker cluster manager which work on remote nodes as well.
Package: pacemaker-cli-utils Architecture: amd64 Version: 2.0.3-3ubuntu3 Priority: optional Section: admin Source: pacemaker Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian HA Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 672 Depends: pacemaker | pacemaker-remote, libc6 (>= 2.14), libcib27 (>= 1.1.12), libcrmcommon34 (>= 2.0.3), libcrmservice28 (>= 2.0.2), libglib2.0-0 (>= 2.39.4), liblrmd28 (>= 1.1.9), libncurses6 (>= 6), libpacemaker1 (>= 2.0.2), libpe-rules26 (>= 2.0.3), libpe-status28 (>= 2.0.3), libqb0 (>= 0.17.1), libstonithd26 (>= 2.0.3), libtinfo6 (>= 6), libxml2 (>= 2.7.4) Breaks: pacemaker (« 1.1.14-2~) Replaces: pacemaker (« 1.1.14-2~) Filename: pool/main/p/pacemaker/pacemaker-cli-utils_2.0.3-3ubuntu3_amd64.deb Size: 160772 MD5sum: 41f86f8468e2e44e8e09fe22453c4432 SHA1: 2dff6d53e5825ba7cb5128e210ab3f5d7ea606b9 SHA256: 13edb18d9f738f94e5510ec34128bcbe8ffb480ec4b76f29b14d7e931de29993 Homepage: https://www.clusterlabs.org/ Description-en: cluster resource manager command line utilities At its core, Pacemaker is a distributed finite state machine capable of co-ordinating the startup and recovery of inter-related services across a set of machines.
Pacemaker understands many different resource types (OCF, SYSV, systemd) and can accurately model the relationships between them (colocation, ordering).
It can even use technology such as Docker to automatically isolate the resources managed by the cluster.
This package contains those command line utilities of the Pacemaker cluster manager which work on remote nodes as well.
There are three methods to install pacemaker-cli-utils
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install pacemaker-cli-utils Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install pacemaker-cli-utils
using apt-get
by running the following command:
sudo apt-get -y install pacemaker-cli-utils
Install pacemaker-cli-utils Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pacemaker-cli-utils
using apt
by running the following command:
sudo apt -y install pacemaker-cli-utils
Install pacemaker-cli-utils Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install pacemaker-cli-utils
using aptitude
by running the following command:
sudo aptitude -y install pacemaker-cli-utils
How To Uninstall pacemaker-cli-utils on Ubuntu 20.04
To uninstall only the pacemaker-cli-utils
package we can use the following command:
sudo apt-get remove pacemaker-cli-utils
Uninstall pacemaker-cli-utils And Its Dependencies
To uninstall pacemaker-cli-utils
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove pacemaker-cli-utils
Remove pacemaker-cli-utils Configurations and Data
To remove pacemaker-cli-utils
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge pacemaker-cli-utils
Remove pacemaker-cli-utils configuration, data, and all of its dependencies
We can use the following command to remove pacemaker-cli-utils
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pacemaker-cli-utils
References
Summary
In this tutorial we learn how to install pacemaker-cli-utils
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.