How To Install manila-scheduler on Ubuntu 20.04

In this tutorial we learn how to install manila-scheduler on Ubuntu 20.04. manila-scheduler is OpenStack shared file system as a service - Scheduler server OpenStack shared file system as a service - Scheduler server

Introduction

In this tutorial we learn how to install manila-scheduler on Ubuntu 20.04.

What is manila-scheduler

manila-scheduler is:

Manila is an OpenStack project to provide Shared Filesystems as a service. It provides coordinated access to shared or distributed file systems. While the primary consumption of file shares would be across OpenStack Compute instances, the service is also intended to be accessible as an independent capability in line with the modular design established by other OpenStack services. Manila is extensible for multiple backends (to support vendor or file system specific nuances / capabilities) and accommodates any of a variety of shared or distributed file system types.

This package contains the Manila Scheduler server.

Package: manila-scheduler Architecture: all Version: 1:10.0.0~b3~git2020041013.ea90fd17-0ubuntu1 Priority: extra Section: universe/net Source: manila Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Chuck Short [email protected], Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 35 Depends: manila-common (= 1:10.0.0~b3~git2020041013.ea90fd17-0ubuntu1) Filename: pool/universe/m/manila/manila-scheduler_10.0.0~b3~git2020041013.ea90fd17-0ubuntu1_all.deb Size: 5636 MD5sum: 4ff7904dac70d031aed2c52f2d9cf9c9 SHA1: 8c8557103f120cd07a5887808f856a95d9aa52a3 SHA256: 19413b722a6d7693f4857f6828586b7aea7a58685b5ec01be818299ee7d33ea4 Homepage: https://github.com/openstack/manila Description-en: OpenStack shared file system as a service - Scheduler server Manila is an OpenStack project to provide Shared Filesystems as a service. It provides coordinated access to shared or distributed file systems. While the primary consumption of file shares would be across OpenStack Compute instances, the service is also intended to be accessible as an independent capability in line with the modular design established by other OpenStack services. Manila is extensible for multiple backends (to support vendor or file system specific nuances / capabilities) and accommodates any of a variety of shared or distributed file system types.

This package contains the Manila Scheduler server.

There are three methods to install manila-scheduler 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 manila-scheduler Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install manila-scheduler using apt-get by running the following command:

sudo apt-get -y install manila-scheduler

Install manila-scheduler Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install manila-scheduler

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

sudo aptitude -y install manila-scheduler

How To Uninstall manila-scheduler on Ubuntu 20.04

To uninstall only the manila-scheduler package we can use the following command:

sudo apt-get remove manila-scheduler

Uninstall manila-scheduler And Its Dependencies

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

sudo apt-get -y autoremove manila-scheduler

Remove manila-scheduler Configurations and Data

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

sudo apt-get -y purge manila-scheduler

Remove manila-scheduler configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge manila-scheduler

References

Summary

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