27.3. Installing libStorageMgmt

To install libStorageMgmt for use of the command line, required run-time libraries and simulator plug-ins, use the following command:
# yum install libstoragemgmt libstoragemgmt-python
To develop C applications that utilize the library, install the libstoragemgmt-devel package with the following command:
# yum install libstoragemgmt-devel
To install libStorageMgmt for use with hardware arrays, select one or more of the appropriate plug-in packages with the following command:
# 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 after the next reboot. To use it immediately without rebooting, start the daemon manually.
Managing 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 the status of the libStorageMgmt service:
# systemctl status libstoragemgmt
To stop the service:
# systemctl stop libstoragemgmt
To start the service:
# systemctl start libstoragemgmt