How To Install ceph-resource-agents on Ubuntu 20.04

In this tutorial we learn how to install ceph-resource-agents on Ubuntu 20.04. ceph-resource-agents is OCF-compliant resource agents for Ceph OCF-compliant resource agents for Ceph OCF-compliant resource agents for Ceph

Introduction

In this tutorial we learn how to install ceph-resource-agents on Ubuntu 20.04.

What is ceph-resource-agents

ceph-resource-agents is:

Ceph is a distributed storage and network file system designed to provide excellent performance, reliability, and scalability.

This package contains the resource agents (RAs) which integrate Ceph with OCF-compliant cluster resource managers, such as Pacemaker.

Package: ceph-resource-agents Architecture: all Version: 15.2.12-0ubuntu0.20.04.1 Priority: extra Section: universe/admin Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 91 Depends: ceph (>= 15.2.12-0ubuntu0.20.04.1), resource-agents Recommends: pacemaker Filename: pool/universe/c/ceph/ceph-resource-agents_15.2.12-0ubuntu0.20.04.1_all.deb Size: 17880 MD5sum: 1d18ae67a45cc60dab69a4c0aed37a8e SHA1: 98062b26c7b8896ddec4bf0614746e9ef46640cf SHA256: b61491845f5a2dab37de3bf9604dbb41bf686fa69e6d345caf0697e78aa66f36 SHA512: bef08bd688aff80cec9bc57f7b29e3f2b2b8c0fad24e14c36ad5384ee11c5a9071b472e7dde8fb4564bc837f3d429cd9dff5e22b750c90fe08522133352baf0b Homepage: http://ceph.com/ Description-en: OCF-compliant resource agents for Ceph Ceph is a distributed storage and network file system designed to provide excellent performance, reliability, and scalability.

This package contains the resource agents (RAs) which integrate Ceph with OCF-compliant cluster resource managers, such as Pacemaker.

Package: ceph-resource-agents Architecture: all Version: 15.2.1-0ubuntu1 Priority: extra Section: universe/admin Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 89 Depends: ceph (>= 15.2.1-0ubuntu1), resource-agents Recommends: pacemaker Filename: pool/universe/c/ceph/ceph-resource-agents_15.2.1-0ubuntu1_all.deb Size: 17884 MD5sum: 1595941a7257cd98128d09a410f5d788 SHA1: f80c10f2160e5845a3d2b41065226ec5e3db3688 SHA256: 44fcf10c9e7511bbccb9168ba067c7acfc92d6f18f35410984189cab2a5b7b88 Homepage: http://ceph.com/ Description-en: OCF-compliant resource agents for Ceph Ceph is a distributed storage and network file system designed to provide excellent performance, reliability, and scalability.

This package contains the resource agents (RAs) which integrate Ceph with OCF-compliant cluster resource managers, such as Pacemaker.

There are three methods to install ceph-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 ceph-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 ceph-resource-agents using apt-get by running the following command:

sudo apt-get -y install ceph-resource-agents

Install ceph-resource-agents Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ceph-resource-agents using apt by running the following command:

sudo apt -y install ceph-resource-agents

Install ceph-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 ceph-resource-agents using aptitude by running the following command:

sudo aptitude -y install ceph-resource-agents

How To Uninstall ceph-resource-agents on Ubuntu 20.04

To uninstall only the ceph-resource-agents package we can use the following command:

sudo apt-get remove ceph-resource-agents

Uninstall ceph-resource-agents And Its Dependencies

To uninstall ceph-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 ceph-resource-agents

Remove ceph-resource-agents Configurations and Data

To remove ceph-resource-agents configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ceph-resource-agents

Remove ceph-resource-agents configuration, data, and all of its dependencies

We can use the following command to remove ceph-resource-agents configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ceph-resource-agents

References

Summary

In this tutorial we learn how to install ceph-resource-agents package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.