How To Install senlin-engine on Ubuntu 20.04

In this tutorial we learn how to install senlin-engine on Ubuntu 20.04. senlin-engine is clustering service for OpenStack clouds - Engine clustering service for OpenStack clouds - Engine

Introduction

In this tutorial we learn how to install senlin-engine on Ubuntu 20.04.

What is senlin-engine

senlin-engine is:

Senlin is a clustering service for OpenStack clouds. It creates and operates clusters of homogeneous objects exposed by other OpenStack services. The goal is to make the orchestration of collections of similar objects easier.

Senlin provides RESTful APIs to users so that they can associate various policies to a cluster. Sample policies include placement policy, load balancing policy, health policy, scaling policy, update policy and so on.

Senlin is designed to be capable of managing different types of objects. An object’s lifecycle is managed using profile type implementations, which are themselves plugins.

This package provides the engine daemon.

Package: senlin-engine Architecture: all Version: 9.0.0~b3~git2020041014.4627fbfb-0ubuntu1 Priority: extra Section: universe/net Source: senlin Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 29 Depends: adduser, senlin-common (= 9.0.0~b3~git2020041014.4627fbfb-0ubuntu1) Filename: pool/universe/s/senlin/senlin-engine_9.0.0~b3~git2020041014.4627fbfb-0ubuntu1_all.deb Size: 5080 MD5sum: 6f43e8332bdf16a98773ddf1c0b80c9a SHA1: 01bebfc03aa74f4a2fb51e05bb8538bd5ddd55b6 SHA256: ea4cba912526f0b697c4bde4b7c2928b913cdd36972ea7e13d105e70f8526415 Homepage: https://github.com/stackforge/senlin Description-en: clustering service for OpenStack clouds - Engine Senlin is a clustering service for OpenStack clouds. It creates and operates clusters of homogeneous objects exposed by other OpenStack services. The goal is to make the orchestration of collections of similar objects easier.

Senlin provides RESTful APIs to users so that they can associate various policies to a cluster. Sample policies include placement policy, load balancing policy, health policy, scaling policy, update policy and so on.

Senlin is designed to be capable of managing different types of objects. An object’s lifecycle is managed using profile type implementations, which are themselves plugins.

This package provides the engine daemon.

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

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

sudo apt-get update

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

sudo apt-get -y install senlin-engine

Install senlin-engine Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install senlin-engine

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

sudo aptitude -y install senlin-engine

How To Uninstall senlin-engine on Ubuntu 20.04

To uninstall only the senlin-engine package we can use the following command:

sudo apt-get remove senlin-engine

Uninstall senlin-engine And Its Dependencies

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

sudo apt-get -y autoremove senlin-engine

Remove senlin-engine Configurations and Data

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

sudo apt-get -y purge senlin-engine

Remove senlin-engine configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge senlin-engine

References

Summary

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