How To Install libstoragemgmt-hpsa-plugin on Rocky Linux 8

In this tutorial we learn how to install libstoragemgmt-hpsa-plugin on Rocky Linux 8. libstoragemgmt-hpsa-plugin is Files for HP SmartArray support for libstoragemgmt

Introduction

In this tutorial we learn how to install libstoragemgmt-hpsa-plugin on Rocky Linux 8.

What is libstoragemgmt-hpsa-plugin

The libstoragemgmt-hpsa-plugin package contains the plugin for HP SmartArray storage management via hpssacli.

We can use yum or dnf to install libstoragemgmt-hpsa-plugin on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libstoragemgmt-hpsa-plugin.

Install libstoragemgmt-hpsa-plugin on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libstoragemgmt-hpsa-plugin using dnf by running the following command:

sudo dnf -y install libstoragemgmt-hpsa-plugin

Install libstoragemgmt-hpsa-plugin on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libstoragemgmt-hpsa-plugin using yum by running the following command:

sudo yum -y install libstoragemgmt-hpsa-plugin

How To Uninstall libstoragemgmt-hpsa-plugin on Rocky Linux 8

To uninstall only the libstoragemgmt-hpsa-plugin package we can use the following command:

sudo dnf remove libstoragemgmt-hpsa-plugin

libstoragemgmt-hpsa-plugin Package Contents on Rocky Linux 8

/etc/lsm/pluginconf.d/hpsa.conf
/usr/bin/hpsa_lsmplugin
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/__init__.py
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/__pycache__
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/__pycache__/hpsa.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/__pycache__/hpsa.cpython-36.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/hpsa.py
/usr/lib/python3.6/site-packages/lsm/plugin/hpsa/utils.py
/usr/share/man/man1/hpsa_lsmplugin.1.gz

References

Summary

In this tutorial we learn how to install libstoragemgmt-hpsa-plugin on Rocky Linux 8 using yum and dnf.