Users Guide

Subcommands Options Argument Description
Optional
help none subcommand Displays a list of the ehcmcli commands and syntax.
Specify a subcommand to list the syntax (for example,
ehcmcli help pr).
dm create none none Builds the initial DM devices for all current EqualLogic
devices.
dm cleanup none none Removes any unmanaged DM devices (/dev/mapper
devices created by ehcmd) that are no longer needed.
dm unload_switch none none Replaces all switch DM targets and unloads the dm-
switch kernel module.
logout
--target
--no-login-at-boot
none Logs out and removes the given device target. Specify --
no-login-at-boot to set the node.startup values
for the given target to not perform the login at the next
reboot.
status --verbose none Instructs ehcmcli to gather diagnostic data and report the
current multipathing status. With --verbose, enables
verbose output.
The following table lists the optional persistent reservation (PR) management commands.
Table 44. Persistent Reservation (PR) Management Commands
Subcommands Options Argument Description
pr init --key key-name Manages the given PR key on all volumes that have the
key registered on at least one path.
pr remove --key key-name Removes the given PR key from all volumes.
pr status none none Lists persistent status reservation information.
The following table lists the commands related to enabling the capability to import EqualLogic storage to PowerStore.
Table 45. Enabling Import Capability to PowerStore Commands
Subcommands Options Argument Description
log_show none none Displays Log Level and Log Location.
server_port --change server_port no Displays server port that is used for communication and
gives option to change to desired port.
mhd_status none none Displays microhttpd status.
restart_webServer none none Restarts web server in case of microhhtpd failure.
recover_device --device source_wwid Recovers specified device from hung state.
ehcmcli Diagnostic Output
The ehcmcli diagnostic tool provides an option to gather and display diagnostic information about the status of MPIO sessions. The output
includes a list of the adapters for iSCSI sessions and a list of all volumes for which multipathing is configured by ehcmd. If the list does not
contain all the adapters you expect, some might be excluded from MPIO usage. Common causes for adapters to be excluded are subnet,
adapter speed, or IP protocol version. Reporting verbose diagnostic information ( ehcmcli status --verbose) will include the list of
excluded adapters and the reason for exclusion. To modify the adapter exclusion parameters, use rswcli –P (see Setting MPIO
Parameters).
Troubleshooting
111