How To Install opensvc on Ubuntu 18.04

In this tutorial we learn how to install opensvc on Ubuntu 18.04. opensvc is Tools to drive OpenSVC services

Introduction

In this tutorial we learn how to install opensvc on Ubuntu 18.04.

What is opensvc

opensvc is:

OpenSVC is a ‘service’ manager, as in clustered service manager, designed for real-world heterogeneous datacenters and large-scale operations orchestrator (disaster recovery, for example).

Services are collections of resources (virtual machine, ip, disk groups, filesystems, file synchronizations, and application launchers).

Services can be started, stopped and queried for status, providing a consistent command set for wildly different service integration types.

Service configurations, status and logs are pushed to a central database coupled to a web front-end (collector).

Services can be administered using the stand-alone GPLv2 software stack deployed on the nodes (nodeware), or through the web-front end.

There are three methods to install opensvc on Ubuntu 18.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 opensvc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install opensvc

Install opensvc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install opensvc using apt by running the following command:

sudo apt -y install opensvc

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

sudo aptitude -y install opensvc

How To Uninstall opensvc on Ubuntu 18.04

To uninstall only the opensvc package we can use the following command:

sudo apt-get remove opensvc

Uninstall opensvc And Its Dependencies

To uninstall opensvc and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove opensvc

Remove opensvc Configurations and Data

To remove opensvc configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge opensvc

Remove opensvc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge opensvc

References

Summary

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