How To Install pacemaker-resource-agents on Ubuntu 20.04
Introduction
In this tutorial we learn how to install pacemaker-resource-agents
on Ubuntu 20.04.
What is pacemaker-resource-agents
pacemaker-resource-agents 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 Pacemaker resource agents not requiring access to the cluster stack, thus also usable by the remote daemon.
Package: pacemaker-resource-agents Architecture: all 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: 197 Depends: procps, resource-agents Breaks: pacemaker (« 1.1.14-2~) Replaces: pacemaker (« 1.1.14-2~) Filename: pool/main/p/pacemaker/pacemaker-resource-agents_2.0.3-3ubuntu4.1_all.deb Size: 45504 MD5sum: 2cd9569b94638ec003ab10c3882277d5 SHA1: c71657b37c66a45920e4bf51c602a49943a242b0 SHA256: 67d9343524f7d6abc246f77d97d071ae004a15a79aac3b9a481f02eda685d327 SHA512: 1569c12a45a13eee1bca709b2c1d3d8214e8de3d385bd68f7369597a4b371629617e9cd49aaba6129c953ce050512abfd0dfe53f1dad17b781de6f2057486cb5 Homepage: https://www.clusterlabs.org/ Description-en: cluster resource manager general resource agents 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 Pacemaker resource agents not requiring access to the cluster stack, thus also usable by the remote daemon.
Package: pacemaker-resource-agents Architecture: all 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: 197 Depends: procps, resource-agents Breaks: pacemaker (« 1.1.14-2~) Replaces: pacemaker (« 1.1.14-2~) Filename: pool/main/p/pacemaker/pacemaker-resource-agents_2.0.3-3ubuntu3_all.deb Size: 45392 MD5sum: 5eb433117c73019b42e0c57d368798ac SHA1: ad2d679a8f07b540b30853694cf7166c52e2a0e6 SHA256: 27396de213a61e94d6df320da06a3a73aad1fb2160d72273202485fc534fd57d Homepage: https://www.clusterlabs.org/ Description-en: cluster resource manager general resource agents 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 Pacemaker resource agents not requiring access to the cluster stack, thus also usable by the remote daemon.
There are three methods to install pacemaker-resource-agents
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-resource-agents 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-resource-agents
using apt-get
by running the following command:
sudo apt-get -y install pacemaker-resource-agents
Install pacemaker-resource-agents Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install pacemaker-resource-agents
using apt
by running the following command:
sudo apt -y install pacemaker-resource-agents
Install pacemaker-resource-agents 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-resource-agents
using aptitude
by running the following command:
sudo aptitude -y install pacemaker-resource-agents
How To Uninstall pacemaker-resource-agents on Ubuntu 20.04
To uninstall only the pacemaker-resource-agents
package we can use the following command:
sudo apt-get remove pacemaker-resource-agents
Uninstall pacemaker-resource-agents And Its Dependencies
To uninstall pacemaker-resource-agents
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove pacemaker-resource-agents
Remove pacemaker-resource-agents Configurations and Data
To remove pacemaker-resource-agents
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge pacemaker-resource-agents
Remove pacemaker-resource-agents configuration, data, and all of its dependencies
We can use the following command to remove pacemaker-resource-agents
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge pacemaker-resource-agents
References
Summary
In this tutorial we learn how to install pacemaker-resource-agents
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.