26.3. Installation

To install libStorageMgmt for use of the command line, required run-time libraries and simulator plug-ins use the following command:
$ sudo yum install libstoragemgmt libstoragemgmt-python
To develop C applications that utilize the library, install the libstoragemgmt-devel and, optionally, the libstorage-debuginfo packages with the following command:
$ sudo yum install libstoragemgmt-devel libstoragemgmt-debuginfo
To install libStorageMgmt for use with hardware arrays, select one or more of the appropriate plug-in packages with the following command:
$ sudo yum install libstoragemgmt-name-plugin
The following plug-ins that are available include:
libstoragemgmt-smis-plugin
Generic SMI-S array support.
libstoragemgmt-netapp-plugin
Specific support for NetApp files.
libstoragemgmt-nstor-plugin
Specific support for NexentaStor.
libstoragemgmt-targetd-plugin
Specific support for targetd.
The daemon is then installed and configured to run at start up but will not do so until the next reboot. To use it immediately without rebooting, start the daemon manually.
To manage an array requires support through a plug-in. The base install package includes open source plug-ins for a number of different vendors. Additional plug-in packages will be available separately as array support improves. Currently supported hardware is constantly changing and improving.
The libStorageMgmt daemon (lsmd) behaves like any standard service for the system.
To check on the status of libStorageMgmt use:
$ sudo systemctl status libstoragemgmt
To stop the service use:
$ sudo systemctl stop libstoragemgmt
To start the service use:
$ sudo systemctl start libstoragemgmt