shmcli (help | -help | -h)
To get help for a specific command:
shmcli [command] [ -help | -h ]
Identifying installed HBAs
Many SHM CLI commands require a respective adapter as an input parameter. To get the proper values for this parameter, run the
following command:
shmcli list adapters
The following output is displayed:
Figure 2. Running the shmcli command to identify HBAs
Note and record the values displayed in the
Adapter#
column because this represents the Adapter Index and also the WWID/
SASAddresses column for the respective supported HBAs.
PERC or MegaRAID controllers
The SHM system provides support for drives connected by using a PERC or MegaRAID controller. This functionality is not available by
default. A system library must be copied to the shmcli executable folder (Windows) or an rpm installed (Linux).
•
Windows—Copy the
storelib.dll
file from the {Installation_base_path}\Dell\ServerHardwareManager\Extras\Storelib folder to
the {Installation_base_path}\Dell\ServerHardwareManager\ServerHardwareManagerCLI folder.
•
Linux—Install the RPM file located in {Installation_base_path}/dell/ServerHardwareManager/storelib using OS commands.
•
ESX—Install the RPM file that will be packaged along with the shmcli utility.
To remove support:
•
Windows: Remove the storelib.dll file in the {Installation_base_path}\Dell\ServerHardwareManager\ServerHardwareManagerCLI
folder.
•
Linux: Uninstall the storelib RPM installed by using OS commands.
•
ESX: Uninstall the storelib RPM installed by using OS commands.
Identifying enclosures and EMMs
Identifying enclosures
For other management actions, you must provide information for a respective enclosure or EMM. These values are presented with respect
to a specific adapter value provided.
To identify the attached enclosures to a specific adapter, run the following command:
shmcli list enclosures
-
a
=
<(
SASAddress
|
AdapterIndex
)>
Output
SHM CLI
17