Dell EqualLogic PS6210XS EqualLogic Host Integration Tools for Linux Version 1 - Page 111

ehcmcli Diagnostic Output

Page 111 highlights

Subcommands Optional help Options none dm create dm cleanup dm unload_switch logout status none none none --target --no-login-at-boot --verbose Argument subcommand none none none none none Description Displays a list of the ehcmcli commands and syntax. Specify a subcommand to list the syntax (for example, ehcmcli help pr). Builds the initial DM devices for all current EqualLogic devices. Removes any unmanaged DM devices (/dev/mapper devices created by ehcmd) that are no longer needed. Replaces all switch DM targets and unloads the dmswitch kernel module. 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. 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 pr init pr remove pr status Options --key --key none Argument key-name key-name none Description Manages the given PR key on all volumes that have the key registered on at least one path. Removes the given PR key from all volumes. 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 log_show Options none Argument none Description 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127

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