How To Install open-isns-discoveryd on Debian 9

In this tutorial we learn how to install open-isns-discoveryd on Debian 9. open-isns-discoveryd is Internet Storage Name Service - iSNS discovery daemon

Introduction

In this tutorial we learn how to install open-isns-discoveryd on Debian 9.

What is open-isns-discoveryd

open-isns-discoveryd is:

Open-iSNS is an implementation of the Internet Storage Name Service (iSNS), according to RFC 4171, which facilitates automated discovery, management, and configuration of iSCSI and Fibre Channel devices on a TCP/IP network.

This package contains the isnsdd discovery daemon, handling all the server communications required to register a node, its portals, and to maintain the registration. In addition, it uses the iSNS State Change Notification framework to learn of new targets or initiators coming online and informs local services (such as the iSCSI initiator daemon) about these changes.

There are three methods to install open-isns-discoveryd on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install open-isns-discoveryd Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install open-isns-discoveryd

Install open-isns-discoveryd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install open-isns-discoveryd using apt by running the following command:

sudo apt -y install open-isns-discoveryd

Install open-isns-discoveryd 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install open-isns-discoveryd using aptitude by running the following command:

sudo aptitude -y install open-isns-discoveryd

How To Uninstall open-isns-discoveryd on Debian 9

To uninstall only the open-isns-discoveryd package we can use the following command:

sudo apt-get remove open-isns-discoveryd

Uninstall open-isns-discoveryd And Its Dependencies

To uninstall open-isns-discoveryd and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove open-isns-discoveryd

Remove open-isns-discoveryd Configurations and Data

To remove open-isns-discoveryd configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge open-isns-discoveryd

Remove open-isns-discoveryd configuration, data, and all of its dependencies

We can use the following command to remove open-isns-discoveryd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge open-isns-discoveryd

Dependencies

open-isns-discoveryd have the following dependencies:

References

Summary

In this tutorial we learn how to install open-isns-discoveryd package on Debian 9 using different package management tools: apt, apt-get and aptitude.