How To Install ceph-mgr on Ubuntu 20.04

In this tutorial we learn how to install ceph-mgr on Ubuntu 20.04. ceph-mgr is manager for the ceph distributed file system manager for the ceph distributed file system manager for the ceph distributed file system

Introduction

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

What is ceph-mgr

ceph-mgr is:

Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package contains the manager daemon, which is used to expose high level management and monitoring functionality.

Package: ceph-mgr Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: 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: 4514 Depends: ceph-base (= 15.2.12-0ubuntu0.20.04.1), ceph-mgr-modules-core (= 15.2.12-0ubuntu0.20.04.1), python3-bcrypt, python3-cherrypy3, python3-jwt, python3-pecan, python3-werkzeug, libboost-python1.71.0, libboost-python1.71.0-py38, libc6 (>= 2.28), libgcc-s1 (>= 3.0), libgoogle-perftools4, libpython3.8 (>= 3.8.2), librados2 (>= 12.1.4), libstdc++6 (>= 9) Suggests: ceph-mgr-cephadm, ceph-mgr-dashboard, ceph-mgr-diskprediction-cloud, ceph-mgr-diskprediction-local, ceph-mgr-k8sevents Breaks: ceph (« 0.93-417) Replaces: ceph (« 0.93-417) Filename: pool/main/c/ceph/ceph-mgr_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 1319564 MD5sum: 50702961daf81f0185cb29af7cfd0b0f SHA1: 194bcbaa937cb1110240c87c4222247ea82544d4 SHA256: 4451c558f879748d7b10b8cae800e3f2980376212c08ea6b8ea3d2d94d976221 SHA512: 2e6c29efd823ec79a27d8529e2e4020224e153854c3e5b8b08ef4910449b41af94031e77ed4a6f70c55c57c1469d0efd3264287edd3db90992e1fbf2a8cc84a4 Homepage: http://ceph.com/ Description-en: manager for the ceph distributed file system Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package contains the manager daemon, which is used to expose high level management and monitoring functionality.

Package: ceph-mgr Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: 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: 4574 Depends: ceph-base (= 15.2.1-0ubuntu1), ceph-mgr-modules-core (= 15.2.1-0ubuntu1), python3-bcrypt, python3-cherrypy3, python3-jwt, python3-pecan, python3-werkzeug, libboost-python1.71.0, libboost-python1.71.0-py38, libc6 (>= 2.28), libgcc-s1 (>= 3.0), libgoogle-perftools4, libpython3.8 (>= 3.8.2), librados2 (>= 12.1.4), libstdc++6 (>= 9) Suggests: ceph-mgr-cephadm, ceph-mgr-dashboard, ceph-mgr-diskprediction-cloud, ceph-mgr-diskprediction-local, ceph-mgr-k8sevents Breaks: ceph (« 0.93-417) Replaces: ceph (« 0.93-417) Filename: pool/main/c/ceph/ceph-mgr_15.2.1-0ubuntu1_amd64.deb Size: 1331172 MD5sum: 1e454fbce4bc2afa2f4a51750d1a51a6 SHA1: 54acbc985fe0224a1c688c9024b3253425df661a SHA256: 3b7b1a21f2335831bcb523602faf3a869e226f809fd71781945cf49d1e2bc11b Homepage: http://ceph.com/ Description-en: manager for the ceph distributed file system Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage.

This package contains the manager daemon, which is used to expose high level management and monitoring functionality.

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

sudo apt-get -y install ceph-mgr

Install ceph-mgr Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ceph-mgr

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

sudo aptitude -y install ceph-mgr

How To Uninstall ceph-mgr on Ubuntu 20.04

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

sudo apt-get remove ceph-mgr

Uninstall ceph-mgr And Its Dependencies

To uninstall ceph-mgr and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove ceph-mgr

Remove ceph-mgr Configurations and Data

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

sudo apt-get -y purge ceph-mgr

Remove ceph-mgr configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ceph-mgr

References

Summary

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