shmcli (help | -help | -h)
To get help for a specic 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 le from the {Installation_base_path}\Dell\ServerHardwareManager\Extras\Storelib folder to
the
{Installation_base_path}\Dell\ServerHardwareManager\ServerHardwareManagerCLI folder.
• Linux—Install the RPM le located in {Installation_base_path}/dell/ServerHardwareManager/storelib using OS commands.
• ESX—Install the RPM le that will be packaged along with the shmcli utility.
To remove support:
• Windows: Remove the storelib.dll le 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 specic adapter value provided.
To identify the attached enclosures to a specic adapter, run the following command:
shmcli list enclosures -a=<(SASAddress | AdapterIndex)>
Output
SHM CLI
17