HPE MSA2060 commands

HPE MSA2060 Command List

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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# help
abort copy - Aborts a copy volume operation.
abort replication - Aborts the current replication operation for the specified replication set.
abort scrub - Aborts a media scrub operation.
abort verify - Aborts a media verify operation.
activate firmware - Updates the firmware bundle stored inside the controller.
add disk-group - Creates a disk group using specified disks.
add host-group-members - Adds hosts to a host group.
add host-members - Adds initiators to a host.
add ipv6-address - Adds a static IPv6 address for a controller network port.
add spares - Designates specified available disks to be spares.
add volume-group-members - Adds volumes to a volume group.
check firmware-upgrade-health - Checks that the system is ready for a firmware upgrade.
check update-server - Checks the status of a configured update server.
clear alerts - Clears all the alerts from the active list, and forces a fresh analysis of the system for any active alert conditions.
clear cache - Clears unwritable cache data from both controllers.
clear disk-metadata - Clears metadata from leftover disks.
clear dns-parameters - Clears configured DNS settings for each controller module.
clear events - Clears the event log in controller A, B, or both.
clear expander-status - Clears the counters and status for SAS expander lanes.
clear fde-keys - Clears the lock key ID and import lock ID used with full disk encryption.
clear replication-queue - Clears the replication queue for a specified replication set.
clear update-server-proxy - Clears the username, password, host, and port values configured for the update-server proxy and disables the proxy.
copy volume - Copies all data in a specified source volume to a destination volume.
create certificate - Creates or removes a custom security certificate.
create host-group - Creates a host group that includes specified hosts.
create host - Creates a host with an associated name.
create peer-connection - Creates a peer connection between two storage systems.
create remote-system - Creates a persistent association with a remote storage system.
create replication-set - Creates a replication set for a specified volume or volume group.
create schedule - Schedules a task to run automatically.
create snapshots - Creates a snapshot of each specified source volume.
create task - Creates a task that can be scheduled.
create user-group - Creates a user group in the storage system to match an LDAP group.
create user - Creates a user account.create volume-group - Creates a volume group that includes specified volumes.
create volume-set - Creates a specified number of volumes in a pool.
create volume - Creates a volume in a pool.
delete all-snapshots - Deletes all snapshots associated with a specified source volume.
delete host-groups - Deletes specified host groups and optionally all hosts in those host groups.
delete hosts - Deletes specified hosts that are not in a host group.
delete initiator-nickname - Deletes manually created initiators or the nicknames of discovered initiators.
delete peer-connection - Deletes a peer connection between two storage systems.
delete pools - Deletes specified pools.
delete remote-system - Deletes the persistent association with a remote system.
delete replication-set - Deletes a replication set.
delete schedule - Deletes a task schedule.
delete snapshot - Deletes specified snapshots.
delete task - Deletes a task.
delete user-group - Deletes an LDAP user group.
delete user - Deletes a user account.
delete volume-groups - Deletes specified volume groups and optionally all volumes in those groups.
delete volumes - Deletes specified volumes.
dequarantine - Removes a disk group from quarantine.
exit - Log off and exit the CLI session.
expand disk-group - Adds disks to a disk group to expand its storage capacity.
expand volume - Expands a base volume.
fail - Forces the partner controller module to crash for a non-maskable interrupt.
help - Shows brief help for all available commands or full help for a specific command.
map volume - Maps volumes to initiators.
meta - In API mode only, shows all property metadata for objects.
ping - Tests communication with a remote host.
query metrics - Shows one or more collected data points for a list of metrics.
query peer-connection - Queries a storage system to potentially use in a peer connection and shows information about the storage system via the in-band query.
recover replication-set - Provides options to recover a replication set after a disaster.
release volume - Clears initiator registrations and releases persistent reservations for all or specified volumes.
remote - Runs a command on a remote system that is associated with the local system.
remove disk-groups - Removes specifieremove host-group-members - Removes specified hosts from a host group.
remove host-members - Removes specified initiators from a host.
remove ipv6-address - Removes a static IPv6 address from a controller network port.
remove spares - Removes specified spares.
remove volume-group-members - Removes volumes from a volume group.
replicate - Initiates replication of volumes in a replication set.
rescan - This command forces rediscovery of disks and enclosures in the storage system.
reset all-statistics - Resets performance statistics for both controllers.
reset ciphers - Clears user-supplied ciphers and sets the cipher list to the system default.
reset controller-statistics - Resets performance statistics for controllers.
reset disk-error-statistics - Resets error statistics for all or specified disks.
reset disk-statistics - Resets performance statistics for disks.
reset dns-management-hostname - Resets each controller module's management hostname to the factory default.
reset host-link - Resets specified controller host ports (channels).
reset host-port-statistics - Resets performance statistics for controller host ports.
reset pool-statistics - Clears resettable performance statistics for pools, and resets timestamps for those statistics.
reset smis-configuration - Resets the SMI-S configuration files.
reset snapshot - Replaces the data in a standard snapshot with the current data from its parent volume.
reset volume-statistics - Resets performance statistics for all or specified volumes.
restart mc - Restarts the Management Controller in a controller module.
restart sc - Restarts the Storage Controller in a controller module.
restore defaults - Restores the default configuration to the controllers.
resume replication-set - Resumes the replication operations for the specified replication set.
rollback volume - Replaces the data in a parent volume with the data from one of its snapshots.
scrub disk-groups - Analyzes specified disk groups to find and fix errors.
set advanced-settings - Sets advanced system configuration parameters.
set alert - Acknowledges specified alerts.
set ciphers - Configures a cipher list that the storage system can use to securely communicate with hosts through HTTPS or SMI-S.
set cli-parameters - Sets options that control CLI behavior.
set controller-date - Sets the date and time parameters for the system.
set debug-log-parameters - Sets the types of debug messages to include in the Storage Controller debug log.
set disk-group - Changes parameters for a specified disk group.
set disk-parameters - Sets parameters that affect disk operation.
set disk - Performs a secure erase onset dns-management-hostname - Sets a domain hostname for each controller module to identify it for management purposes.
set dns-parameters - Configures settings to resolve domain names using the Domain Name Service (DNS).
set email-parameters - Sets SMTP notification parameters for events and managed logs.
set enclosure - Sets an enclosure's name, location, rack number, and rack position.
set expander-phy - Disables or enables a specific PHY.
set fde-import-key - Sets or changes the import lock key for the use of full disk encryption.
set fde-lock-key - Sets or changes the lock key for the use of full disk encryption.
set fde-state - Changes the overall state of the system for the use of full disk encryption.
set host-group - Sets the name of a host group.
set host-parameters - Sets controller host-port parameters for communication with attached hosts.
set host - Sets the name of a host and optionally the profile of the host and the initiators it contains.
set initiator - Sets the name of an initiator and optionally its profile.
set ipv6-network-parameters - Sets IPv6 parameters for the network port in each controller module.
set ldap-parameters - Configures the LDAP server parameters required to authenticate and authorize LDAP users.
set led - Turns a specified device's identification LED on or off to help you locate the device.
set network-parameters - Sets parameters for the network port in each controller module.
set ntp-parameters - Sets Network Time Protocol (NTP) parameters for the system.
set password - Sets a user's password for system interfaces (such as the CLI).
set peer-connection - Modifies a peer connection between two systems.
set pool - Sets parameters for a pool.
set prompt - Sets the prompt for the current CLI session.
set protocols - Enables or disables management services and protocols.
set remote-system - Changes remote-system credentials stored in the local system.
set replication-set - Changes parameters for a replication set.
set schedule - Changes parameters for a specified schedule.
set snapshot-space - Sets the snapshot space usage as a percentage of the pool and thresholds for notification.
set snmp-parameters - Sets SNMP parameters for event notification.
set syslog-parameters - Sets remote syslog notification parameters for events.
set system - Sets the system's name, contact person, location, and description.
set task - Changes parameters for a TakeSnapshot task.
set update-server - Configures an update server and a proxy, if required.
set user-group - Changes the settings for an LDAP user group.
set user - Changes preferences for a specified user for the session or permanently.
set volume-cache-parameters - Sets caset volume-group - Sets the name of a volume group.
set volume - Changes parameters for a volume.
show advanced-settings - Shows the settings for advanced system-configuration parameters.
show alert-condition-history - Shows the history of the alert conditions that have generated alerts.
show alerts - Shows information about the active alerts on the storage system.
show audit-log - Shows audit log data.
show cache-parameters - Shows cache settings and status for the system and optionally for a volume.
show certificate - Shows the status of the system's security certificate.
show ciphers - Shows the ciphers that the system is using to securely communicate with hosts.
show cli-parameters - Shows the current CLI session preferences.
show configuration - Shows system configuration information.
show controller-date - Shows the system's current date and time.
show controller-statistics - Shows live performance statistics for controller modules.
show controllers - Shows information about each controller module.
show debug-log-parameters - Shows which debug message types are enabled (On) or disabled (Off) for inclusion in the Storage Controller debug log.
show disk-group-statistics - Shows live performance statistics for disk groups.
show disk-groups - Shows information about disk groups.
show disk-parameters - Shows disk settings.
show disk-statistics - Shows live or historical performance statistics for disks.
show disks - Shows information about all disks or disk slots in the storage system.
show dns-management-hostname - Shows the management hostname for each controller module.
show dns-parameters - Shows configured DNS settings for each controller module.
show email-parameters - Shows email (SMTP) notification parameters for events and managed logs.
show enclosures - Shows information about the enclosures in the storage system. Full detail available in API output only.
show events - Shows events logged by each controller in the storage system.
show expander-status - Shows diagnostic information relating to SAS Expander Controller physical channels, known as PHY lanes.
show fans - Shows information about each fan in the storage system.
show fde-state - Shows full disk encryption information for the storage system.
show firmware-bundles - Displays the active firmware bundle and an available firmware bundle stored in the system's controller modules.
show firmware-update-status - Displays the current status of any firmware update on the system.
show frus - Shows SKU and FRU (field-replaceable unit) information for the storage system.
show host-groups - Shows information about host groups and hosts.
show host-phy-statistics - Shows diagnostic information relating to SAS controller physical channels, known as PHY lanes, for each host port.
show host-port-statistics - Shows livshow initiators - Shows information about initiators.
show inquiry - Shows inquiry data for each controller module.
show ipv6-addresses - Shows static IPv6 addresses assigned to each controller's network port.
show ipv6-network-parameters - Shows the IPv6 settings and health of each controller module's network port.
show ldap-parameters - Shows LDAP settings.
show license - Shows the status of licensed features in the storage system.
show maps - Shows information about mappings between volumes and initiators.
show metrics-list - Shows a list of all available types of metrics in the system.
show network-parameters - Shows the settings and health of each controller module’s network port.
show ntp-status - Shows the status of the use of Network Time Protocol (NTP) in the system.
show peer-connections - Shows information about a peer connection between two systems.
show pool-statistics - Shows live or historical performance statistics for pools.
show pools - Shows information about pools.
show ports - Shows information about host ports in each controller.
show power-supplies - Shows information about each power supply in the storage system.
show protocols - Shows which management services and protocols are enabled or disabled.
show provisioning - Shows information about how the system is provisioned.
show redundancy-mode - Shows the redundancy status of the system.
show refresh-counters - Deprecated
show remote-systems - Shows information about remote systems associated with the local system.
show replication-sets - Shows information about replication sets in the peer connection.
show replication-snapshot-history - Shows information about the snapshot history for all replication sets or a specific replication set.
show sas-link-health - Shows the condition of SAS expansion-port connections.
show schedules - Shows information about task schedules.
show sensor-status - Shows information about each environmental sensor in each enclosure.
show sessions - Shows information about user sessions on the storage system.
show shutdown-status - Shows whether each Storage Controller is active or shut down.
show snapshot-space - Shows snapshot-space settings for each pool.
show snapshots - Shows information about snapshots.
show snmp-parameters - Shows SNMP settings for event notification.
show syslog-parameters - Shows syslog notification parameters for events and managed logs.
show system-parameters - Shows certain storage system settings and configuration limits.
show system - Shows information about the storage system.
show tasks - Shows information about show tier-statistics - Shows live performance statistics for tiers.
show tiers - Shows information about tiers.
show unwritable-cache - Shows the percentage of unwritable data in the system.
show update-server - Shows settings for a configured update server proxy.
show user-groups - Shows configured LDAP user groups.
show users - Shows configured user accounts.
show versions - Shows firmware and hardware version information for the system.
show volume-copies - Shows information about in-progress copy volume operations.
show volume-groups - Shows information about specified volume groups or all volume groups.
show volume-names - Shows volume names and serial numbers.
show volume-reservations - Shows persistent reservations for all or specified volumes.
show volume-statistics - Shows live performance statistics for all or specified volumes.
show volumes - Shows information about volumes.
show workload - Calculates the system's I/O workload, and shows the relationship between the workload and the amount of storage capacity used.
shutdown - Shuts down the Storage Controller in a controller module.
start metrics - Starts retention of specified dynamic metrics.
stop metrics - Stops data retention for specified dynamic metrics.
suspend replication-set - Suspends the replication operations for the specified replication set.
test - Sends a test message to configured destinations for event notification and managed logs.
trust - Enables an offline or quarantined-offline disk group to be brought online for emergency data recovery.
unfail controller - Allows the partner controller module to recover from a simulated failure performed with the fail command (which requires the standard role).
unmap volume - Deletes mappings for specified volumes.
verify disk-groups - Analyzes redundant disk groups to find inconsistencies between their redundancy data and their user data.
whoami - Shows domain information for the current user.

Show Maps

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# show maps

Volume View [Serial Number (00c0ff65a8070000d039756201000000) Name (QGOUAT-X86-OS-01) ] Mapping:
Ports LUN Access Identifier Nickname Profile
--------------------------------------------------------------------------------------
1-4 1 read-write 00c0ff65a7df000043547e6201010000 quvmesxi_set.*.* Standard

Volume View [Serial Number (00c0ff65a8070000eee2686301000000) Name (QGOUAT-X86-SHARE-01) ] Mapping:
Ports LUN Access Identifier Nickname Profile
--------------------------------------------------------------------------------------
1-4 3 read-write 00c0ff65a7df000043547e6201010000 quvmesxi_set.*.* Standard

Volume View [Serial Number (00c0ff65a7df0000b864466401000000) Name (QGOUAT-X86-SHARE-02) ] Mapping:
Ports LUN Access Identifier Nickname Profile
--------------------------------------------------------------------------------------
1-4 4 read-write 00c0ff65a7df000043547e6201010000 quvmesxi_set.*.* Standard

Volume View [Serial Number (00c0ff65a7df0000443a756201000000) Name (QGOUAT-X86-MGT-50) ] Mapping:
Ports LUN Access Identifier Nickname Profile
--------------------------------------------------------------------------------------
1-4 2 read-write 00c0ff65a7df000043547e6201010000 quvmesxi_set.*.* Standard


Success: Command completed successfully. (2024-07-22 15:23:19)

Show Initiators

1
2
3
4
5
6
7
8
9
10
11
# show initiators
Nickname Discovered Mapped Profile Host Type ID
-------------------------------------------------------------------------
quvmesxi02_s2p0 Yes Yes Standard FC 100008f1eac08821
quvmesxi02_s3p0 Yes Yes Standard FC 100008f1eac078c3
quvmesxi04_s2p0 Yes Yes Standard FC 100008f1eac0887b
quvmesxi04_s3p0 Yes Yes Standard FC 100008f1eac07818
quvmesxi06_s2p0 Yes Yes Standard FC 100008f1eac0883c
quvmesxi06_s3p0 Yes Yes Standard FC 100008f1eac088de
-------------------------------------------------------------------------
Success: Command completed successfully. (2024-07-22 15:22:54)

Show Volumes

1
2
3
4
5
6
7
8
9
# show volumes
Pool Name Total Size Alloc Size Type Health Reason Action
--------------------------------------------------------------------------
B QGOUAT-X86-MGT-50 5199.9GB 3560.8GB base OK
A QGOUAT-X86-OS-01 2299.9GB 1203.6GB base OK
A QGOUAT-X86-SHARE-01 3999.9GB 3997.9GB base OK
B QGOUAT-X86-SHARE-02 2499.9GB 2282.3GB base OK
--------------------------------------------------------------------------
Success: Command completed successfully. (2024-07-22 15:18:04)

Show System

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# show system
System Information
------------------
System Name: qusnmsas01
System Contact: Support
System Location: 17/F, Queensway Government Office, Admiralty, Hong Kong
System Information: QGO-UAT
Midplane Serial Number: 00C0FF65A081
Vendor Name: HPE
Product ID: MSA 2060 FC
Product Brand: MSA Storage
Enclosure Count: 1
Health: OK
Health Reason:
Other MC Status: Operational
PFU Status: Idle
Supported Locales: English (English), Spanish (español), French (français), German (Deutsch), Italian (italiano), Japanese (日本語), Korean (한국어), Dutch (Nederlands), Chinese-Simplified (简体中文), Chinese-Traditional (繁體中文)


Success: Command completed successfully. (2024-07-22 15:17:42)