HP StorageWorks MSA2324fc HP StorageWorks 2300 Family Modular Smart Array CLI
HP StorageWorks MSA2324fc Manual
View all HP StorageWorks MSA2324fc manuals
Add to My Manuals
Save this manual to your list of manuals |
HP StorageWorks MSA2324fc manual content summary:
- HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 1
HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide Part number: 500912-002 Second edition: September 2009 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 2
to change without notice. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 3
this guide 9 Intended audience 9 Prerequisites 9 Related documentation 9 Document conventions and symbols 9 HP technical support 10 Product warranties 10 Subscription service 10 HP web 41 create user 43 create vdisk 45 HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 3 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 4
reset host-link 74 reset snapshot 75 restart 76 restore defaults 77 rollback master-volume 78 scrub vdisk 79 set set chap-record 86 set cli-parameters 87 set controller-date 90 set debug-log-parameters 91 set disk- password 104 set prompt 105 set protocols 106 set snap-pool-policy 107 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 5
show users 174 show vdisks 175 show volume-maps 177 show volumecopy-status 178 show volumes 179 shutdown 181 stty 182 test 183 trust 183 HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 5 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 6
unmap volume 184 verify vdisk 185 versions 185 volumecopy 186 Glossary 189 Index 191 6 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 7
9 2 Default usernames and passwords 11 3 XML API elements 13 4 Keyboard shortcuts for command completion, editing, and history 20 5 Size representations in base 2 and base 10 21 6 Decimal (radix) point character by locale 21 7 Commands by category 23 HP StorageWorks 2000 G2 Modular Smart Array - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 8
8 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 9
(SAN) management and direct attach storage (DAS) • Fibre Channel, Serial Attached SCSI (SAS), Internet SCSI (iSCSI), and Ethernet protocols Related documentation In addition to this guide, please refer to other documents for this product: • HP StorageWorks MSA2000 G2 Installation Instructions • HP - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 10
For other product information, see the following HP web sites: • http://www.hp.com • http://www.hp.com/go/msa • http://www.hp.com/go/storage • http://www.hp.com/support/ • http://www.hp.com/service_locator • http://www.docs.hp.com Documentation feedback HP welcomes your feedback. To make comments - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 11
1 Using the CLI This chapter introduces the HP StorageWorks 2000 G2 Modular Smart Array command-line interface (CLI). Accessing the CLI The CLI software embedded in controller modules enables you to manage a storage system out of band. You can access the CLI in two ways: • By using Telnet, an SSH - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 12
Using CLI interactively By default the CLI is an interactive application. When you are to show free (available) disks, and exiting the CLI: $: telnet 172.22.5.55 Login: monitor Password: ******** product System Name: Test System Location: Lab Version: version # show disks free Location Serial - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 13
password. After the user has been logged in, other commands can be sent to the CLI. For scripting support, change the CLI output mode from the default to the firmware level to element describes a storage-system component such HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 13 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 14
available through the CLI interface, which can be accessed via Telnet or SSH. The command input is in standard CLI format as defined in this guide. The output is in XML which conforms to the DTD described in XML API DTD content. 14 Using the CLI - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 15
" size="16" draw="true" sort="string" display-name="Read Ahead Size">Default - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 16
0 The following example shows XML API - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 17
controller iscsi-port snap-pools controllers job-parameters snmp-parameters controller elements. • Use brief mode. Brief mode, which is enabled by default, shows only the name and key properties of objects in normal commands. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 17 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 18
"> hostport_A1 A 1 A1 FC - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 19
support controller module. You can specify: • A port ID. Example: A1 • A hyphenated range of IDs. Do not mix controller IDs in a range. Example: b1-b2 • A comma-separated list of IDs, ranges, or both (with no spaces). Example: A1,b1-b2 HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 20
Command completion, editing, and history The CLI supports command completion, command editing, and command history. When entering commands interactively you can abbreviate their names and keywords. For example, you can enter sho cl - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 21
for entry and display of storage-space sizes can be set per user or per session; log A controller enclosure's event log records all events that have occurred in or been detected by the controller modules and encompasses HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 21 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 22
22 Using the CLI - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 23
delete snap-pool delete snapshot Volume copy abort volumecopy create volume-copy set password set prompt set user show cli-parameters show users set expander-fault-isolation show snapshots show volumecopy-status volumecopy HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 23 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 24
snmp-parameters show email-parameters show events show snmp-parameters test System configuration and utilities clear cache create chap-record delete chap-records ping show controller-date show controllers versions) Service utilities clear events clear expander-status restore defaults set debug - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 25
examples of the command's usage, if the command has parameters or detailed output See also Cross-references to commands that are used with the command HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 25 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 26
abort scrub Description Aborts the scrub vdisk operation for specified vdisks. Syntax abort scrub vdisk vdisks Parameters vdisks Names or serial numbers of the vdisks to stop scrubbing. Example Abort scrubbing vdisk vd1: # abort scrub vdisk vd1 Info: Scrub aborted on vdisk vd1 Success: Command - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 27
: # abort verify vdisk vd1 Info: Verify aborted on vdisk vd1 Success: Command completed successfully See also • show vdisks (to find disks being verified) • verify vdisk HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 27 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 28
abort volumecopy Description Aborts copying a volume. When the abort is complete, the destination volume is deleted. Syntax abort volumecopy volume Parameters volume Name or serial number of the source or destination volume. Example Abort creating destination volume vd1_copy: # abort volumecopy - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 29
, the command clears any unneeded orphaned data for volumes that are no longer online or that no longer exist. Example Clear the cache in both controllers for volume V1: # clear cache volume v1 Success: Command completed successfully HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 29 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 30
clear disk-metadata Description Clears metadata from "leftover" disks. Each disk contains metadata that the system uses to identify the disk's owning vdisk, if any. If the system cannot locate the vdisk, as when the disk has been moved to a different system, the owning vdisk is shown as Leftover. A - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 31
this parameter is omitted, both event logs are cleared. Example Clear the event log for controller A: # clear events a Success: Command completed successfully. - Controller A event log was successfully cleared. See also • show events HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 31 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 32
clear expander-status Description For use by or with direction from a service technician. Clears the counters and status for SAS expander lanes. Counters and status can be reset to a good state for all enclosures, or for a specific - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 33
master-to-std MV1 Success: Command completed successfully. - The conversion of a master volume to a standard volume completed. See also • delete all-snapshots • show master-volumes HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 33 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 34
the volume for snapshots and associates it with an existing snap pool. The standard volume and the snap pool must be owned by the same controller, though they can be in different vdisks. Syntax convert std-to-master snap-pool snap-pool standard-volume Parameters snap-pool snap-pool Name or - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 35
of 223 bytes, including 0-9, lowercase a-z, hyphen, colon, and period. A storage system's IQN is a controller host-port name without its .a or .b suffix; see the Port-Name field -records • show host-parameters • show iscsi-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 35 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 36
ux Optional. • standard: The host allows LUN 0 to be assigned to a mapping. This is the default. • openvms: The host does not allow LUN 0 to be assigned to a mapping. • hp-ux: The host allows LUN 0 to be assigned to a mapping and uses Flat Space Addressing. Example Create an entry named Host1 for an - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 37
The vdisk and snap pool must be owned by the same controller. Syntax create master-volume vdisk vdisk size size[B|KB|MB| For syntax, see Command syntax. lun LUN Optional. A default LUN to assign to the new master volume. If this HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 37 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 38
create schedule Description Schedules a task to run automatically. Syntax create schedule schedule-specification "specification" task-name task-name schedule-name Parameters schedule-specification "specification" Defines when the task will first run, and optionally when it will recur and expire. You - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 39
VD1: # create snap-pool vdisk VD1 size 20GB SP1 Success: Command completed successfully. - The snap-pool was created. See also • show snap-pools • show vdisks HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 39 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 40
create snapshots Description Creates a snapshot of each specified source volume. The source volume can be a standard volume or a master volume. The first time a snapshot is created of a standard volume, the volume is converted to a master volume and a snap pool is created. The snap pool's size is 20 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 41
command creates the destination volume you specify, which must be in a vdisk owned by the same controller as the source volume. master-volume volume Name or serial number of the volume to take a copy. For syntax, see Command syntax. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 41 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 42
dest-prefix prefix Optional. A label to identify the volume copy created by this task. Copy names have the format prefix_c001 through prefix_c1023. modified-snapshot yes|no Optional. Specifies whether to include or exclude modified write data from the snapshot in the copy. This parameter applies - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 43
re-enter a password for the user. precision # Optional. Sets the number of decimal places (1-10) for display of storage-space sizes. Default is 1. storage-size-base 2|10 Optional. Alias for base. storage-size-precision # Optional. Alias for precision. HP StorageWorks 2000 G2 Modular Smart Array CLI - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 44
: Enables access to standard and advanced functions. This is the default for manage users. • diagnostic: Enables access to standard, advanced, and troubleshooting functions. units auto|MB|GB|TB Optional. Sets the unit for display of storage-space sizes. auto lets the system determine the proper unit - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 45
disk types is not supported. For each RAID level, the minimum and maximum numbers of disks supported are: • NRAID: controller to own the vdisk. To have the system automatically load-balance vdisks between controllers the default. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 45 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 46
Example Create the RAID-1 vdisk VD1 using two disks in the first enclosure: # create vdisk level raid1 disks 1.1,1.3 VD1 Success: Vdisk created. Create the RAID-50 vdisk VD2 having three RAID-5 sub-vdisks, each having three disks: # create vdisk level r50 disks 1.1-3:1.4-6:1.7-9 VD2 Success: Vdisk - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 47
access Optional. The access permission for hosts connected to the controller for this volume: read-write (rw), read-only (ro), on all ports. If this parameter is omitted, the default LUN is presented. You cannot use both this parameter HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 47 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 48
create volume-copy See volumecopy. 48 Alphabetical list of commands - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 49
access. A volume mapped with no-access is masked. The default is read-write. ports ports Optional. The controller ports through which hosts can access the volumes. If not volume • set volume • show vdisks • show volumes • unmap volume HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 49 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 50
delete all-master-volumes Description Deletes all master volumes associated with a snap pool. NOTE: You must delete all snapshots that exist for the master volumes before you can delete the master volumes. Syntax delete all-master-volumes snap-pool volume Parameters snap-pool volume Name or serial - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 51
syntax. Example Delete all snapshots associated with master volume MV1: # delete all-snapshots volume MV1 Success: All Snapshots Deleted. See also • show snapshots • show volumes HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 51 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 52
delete chap-records Description For iSCSI, deletes a specified CHAP record or all CHAP records. This command is permitted whether or not CHAP is enabled. Syntax To delete the CHAP record for a specific originator: delete chap-records name originator-name To delete all CHAP records: delete chap- - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 53
Delete the manually created host Storage Controllers, and retry. - Host 500605B000320BB4 was discovered, so it cannot be deleted. Error: Remove host failed - some host(s) may have been removed. See also • show host-maps • show hosts HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 54
delete master-volume Description Deletes a master volume. NOTE: You must delete all snapshots that exist for the master volume before you can delete it. Syntax delete master-volume volume Parameters volume Name or serial number of the master volume to delete. For syntax, see Command syntax. Example - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 55
schedule to delete. Example Delete schedule Sched1: # delete schedule Sched1 Success: Command completed successfully. - The schedule was deleted. See also • show schedule-details • show schedules HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 55 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 56
delete snap-pool Description Deletes a snap pool. NOTE: You must disassociate all master volumes from the snap pool before you can delete it. Syntax delete snap-pool snap-pool Parameters snap-pool Name or serial number of the snap pool to delete. For syntax, see Command syntax. Example Delete snap - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 57
Command syntax. Example Delete snapshot SS1: # delete snapshot SS1 Success: Command completed successfully. - The snapshot was deleted. See also • delete snapshot-write-data • show snapshots HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 57 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 58
delete snapshot-write-data Description Deletes data written to a snapshot after it was created. Deleting this modified data reverts the snapshot to the state when it was first taken. Syntax delete snapshot-write-data snapshot Parameters snapshot Name or serial number of the snapshot to delete - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 59
: # delete task Task1 Success: Command completed successfully. - The task was deleted. See also • delete schedule • show schedule-details • show schedules • show task-details • show tasks HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 59 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 60
delete user Description Deletes a user profile. You can delete any user except the default user manage. Syntax delete user [noprompt] name Parameters noprompt Optional. Suppresses the confirmation prompt that requires a yes or no response. name The user to delete. Names are - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 61
: • yes: Stops the utility and enables the deletion to proceed • no: Prevents the deletion from proceeding If this parameter is omitted, you must manually reply to the prompt. vdisks See also • show master-volumes • show vdisks HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 61 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 62
delete volume Description Deletes specified volumes. CAUTION: Deleting a volume will delete all data in that volume. Syntax delete volume volumes Parameters volumes Names or serial numbers of the standard, master, snap-pool, or snapshot volumes to delete. For syntax, see Command syntax. Example - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 63
host access, and prevents the storage system from making the vdisk critical restarted after a power failure. If these problems are found and then fixed, the vdisk or have failed, you must manually remove the vdisk from quarantine. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 63 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 64
exit Description Log off and exit the CLI session. Syntax exit 64 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 65
expand master-volume See expand volume. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 65 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 66
expand snap-pool Description Expands a snap pool. Expansion is restricted to the space available on the vdisk containing the snap pool. If insufficient space is available for expansion on the vdisk, first expand the vdisk by using expand vdisk. Syntax To expand by a specific size: expand snap-pool - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 67
expand vdisk Description Adds disks to a vdisk. The expansion capability for each supported RAID level is: RAID level Expansion capability Maximum disks NRAID Cannot expand. 1 0, 3, 5, VD1 See also • show disks • show vdisks HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 67 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 68
expand volume Description Expands a standard or master volume. Expansion is restricted to the space available on the vdisk containing the volume. If insufficient space is available for expansion on the vdisk, first expand the vdisk by using expand vdisk. To expand a master volume: 1. Delete all of - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 69
specified the volume is not mapped; otherwise, those settings become its default mapping, which specifies the controller host ports and access level that all connected hosts have to the . - The volume was mapped successfully. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 69 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 70
See also • show host-maps • show hosts • show volume-maps • show volumes • unmap volume 70 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 71
to show metadata for. Basetypes are listed in XML API basetypes. Example Show all metadata for objects returned by the show disks command: # meta drives HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 71 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 72
ping host-address [count] Parameters host-address The remote host's IP address in dotted decimal form. count Optional. The number of packets to send. The default is 4 packets. Use a small count because the command cannot be interrupted. Example Send two packets to the remote computer at 10.134.50 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 73
. When you perform a manual rescan, it temporarily pauses all I/O processes, then resumes normal operation. Syntax rescan Example Scan for device changes and re-evaluate enclosure IDs: # rescan Success: Command completed successfully HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 73 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 74
port ID, a comma-separated list of IDs, a hyphenated range of IDs, or a combination of these. A port ID is a controller ID and port number, and is not case sensitive. Do not mix controller IDs in a range. Example Reset the host link on port A1: # reset host-link ports A1 Success: Command completed - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 75
in data corruption. Is the snapshot unmounted from all operating systems? yes Success: Command completed successfully. - The reset of a snapshot completed. See also • show snapshots HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 75 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 76
is complete. Syntax restart sc|mc a|b|both [noprompt] Parameters sc|mc The controller to restart: • sc: Storage Controller • mc: Management Controller a|b|both The controller module containing the controller to restart. noprompt Optional. Suppresses the confirmation prompt. Example Restart the - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 77
command changes how the system operates and might require some reconfiguration to restore host access to volumes. Syntax restore defaults [noprompt] Parameters noprompt Optional. Suppresses the confirmation prompt. See also • restart HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 77 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 78
rollback master-volume Description Rolls back (reverts) the data on a master volume to the data that exists in a specified snapshot. You can choose whether to include modified write data from the snapshot in the rollback. You must unmount the master volume from the host operating system before using - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 79
for media errors. A scrub can last over an hour, depending on vdisk size, utility priority, and amount of I/O activity. However, a "foreground" scrub performed with this completed successfully. See also • abort scrub • show vdisks HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 79 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 80
|on|off Optional. Sets whether the cache policy automatically changes to write-through when a controller fails. The default is disabled. dynamic-spares enabled|disabled|on|off Optional. Sets whether the storage system will automatically designate a properly sized disk as a spare. emp-poll-rate rate - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 81
-upgrade enabled Info: Command completed successfully. - Parameter 'partner-firmware-upgrade' was set to 'enabled'. Success: Command completed successfully. - The settings were changed successfully. See also • show advanced-settings HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 81 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 82
set auto-write-through-trigger Description Sets the trigger conditions that cause the controller to change the cache policy from write-back to write-through. You can set multiple triggers. By default super-cap-failure and auto-write-back are enabled. Alias: set awt. When the cache mode is changed, - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 83
to 128 KB. read-ahead-size Optional. Controls the use and size of read-ahead cache: • disable: Turns off read-ahead cache. • default: Sets one chunk for the first access in of the volume to change. For syntax, type Command syntax. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 83 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 84
cache while it is being written to disk can increase storage device speed during sequential reads. • Write-back caching does optimization mode. The controller supports super-sequential optimization mode will likely decrease random read performance. The default read-ahead size, which sets one chunk - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 85
to use write-back cache is automatically mirrored between the two controllers. Cache redundancy has a slight impact on performance but provides fault tolerance. The operating mode applies per storage system, not per volume. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 85 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 86
recipient name; typically the recipient's IQN. The name can have a maximum of 223 bytes, including 0-9, lowercase a-z, hyphen, colon, and period. A storage system's IQN is a controller host-port name without its .a or .b suffix; see the Port-Name field shown by the show host-parameters command. This - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 87
control base for entry and display of storage-space sizes: • 2: Sizes are as powers of 10, using 1000 as a divisor for each magnitude default. • api: Supports default. When using API mode, which is intended for scripting, disable paging. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 88
seconds for the login session. Valid values are 30-9999, where 9999 means do not timeout. The default is 1800 seconds (30 minutes). units auto|MB|GB|TB Optional. Sets the unit for display of storage-space sizes. auto lets the system determine the proper unit for a size. Based on the precision - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 89
Set CLI to show output in console mode: # set cli-parameters console Success: Command completed successfully. - The settings were changed successfully. See also • show cli-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 89 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 90
date and time for each Management Controller and then updates the date and time for each Storage Controller. Syntax set controller-date jan|feb|mar| of Network Time Protocol (NTP). If an NTP server is available, the controller's time is synchronized with the server. When enabling NTP you must specify - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 91
service technician. Sets the types of debug messages to include in the Storage Controller controller message debug messages • mui: Internal service interface debug messages • raid: RAID debug messages • rcm: Removable-component manager HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 91 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 92
can alert the controller of impending disk failures. Changes to the SMART setting take effect after a rescan or a controller restart. Syntax monitoring for all disks in the storage system. Each disk added after detect-only is set retains its SMART setting. Enabled by default. When SMART is enabled, - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 93
should send notifications: Informational (info), Warning (warn), Critical (crit). The default is none, which disables email notification and clears the settings. sender sender Optional . See also • show email-parameters • test HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 93 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 94
rack-position rack-position The enclosure's position in the rack, from 0-255. enclosure-number The enclosure ID. Example Set parameters for enclosure 1: # set enclosure name Storage-5 location Lab rack-number 9 rack-position 3 1 Success: Command completed successfully. See also • show enclosures 94 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 95
the built-in thresholds, the PHY is disabled to maintain storage system operation. While troubleshooting a storage system problem, a service technician can use this command to temporarily disable fault isolation for a specific Expander Controller in a specific enclosure. NOTE: If fault isolation is - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 96
set expander-phy Description For use by or with direction from a service technician. Disables or enables a specific PHY. Syntax set expander-phy encl enclosure-ID controller a|b|both type phy-type phy phy-ID enabled|disabled|on|off Parameters encl enclosure-ID The enclosure ID of the enclosure - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 97
is the default. • openvms: The host does not allow LUN 0 to be assigned to a mapping. • hp-ux: HP-UX: # set host-name id Host1 profile hp-ux MyHost Success: Command completed successfully. - The host was renamed. See also • show hosts HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 98
Optional. Specific host port numbers or all ports. For syntax, see Command syntax. If this parameter is omitted, all host ports on the specified controllers are affected. fibre-connection-mode loop|point-to-point Optional. For FC, sets the topology for the specified ports to either: • loop: Fibre - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 99
noprompt Info: Changes to FC loop ids will not take effect until the affected Storage Controller is restarted. Success: Command completed successfully. - The host parameters were changed successfully See also • show host-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 99 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 100
negotiate the proper speed, or to 1 Gbit/sec (1g). The default is auto. isns enabled|disabled|on|off Enables or disables registration with a specified Internet Storage Name Service server, which provides name-to-IP-address mapping. Disabled by default. isns-ip iSNS-IP Specifies the IP address of an - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 101
scrub' was set to 'on'. Info: Command completed successfully. - Parameter 'partner-firmware-upgrade' was set to 'off'. Success: Command completed successfully. - The settings were changed successfully. See also • show job-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 101 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 102
set led Description Changes the state of the Unit Identification (UID) LED on a specified disk or enclosure. LEDs are described in the user guide. Syntax To set a disk LED: set led disk ID on|off To set an enclosure LED: set led enclosure ID on|off Parameters disk ID - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 103
DHCP for both controllers, if it was enabled): # set network-parameters ip 192.168.0.10 netmask 255.255.255.0 gateway 192.168.0.1 controller a Success: Network parameters have been changed See also • show network-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 103 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 104
command affects the logged-in user's password. Example Change the password of the default user, monitor: # set password monitor Info: Changing password for user monitor. Enter new password:**** Re-enter new password:**** Info: Command completed successfully. - The password was set. Success: Command - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 105
which can include any valid UTF-8 characters except backslash, double quote, and control characters, and can have a maximum of 16 bytes. A prompt that includes command: # set prompt "" Success: Command completed successfully set ... HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 105 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 106
|disabled|on|off Optional. Enables or disables the in-band SCSI Enclosure Management Services interface. smis enabled|disabled|on|off Optional. Enables or disables the Storage Management Initiative Specification interface. snmp enabled|disabled|on|off Optional. Enables or disables the Simple Network - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 107
threshold is preset to notifyonly. A snap pool's default error policy is deleteoldestsnapshot and default critical policy is deletesnapshots. Syntax set snap-pool- was changed. See also • set snap-pool-threshold • show snap-pools HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 107 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 108
set snap-pool-threshold Description Sets the percentages of snap-pool space used that trigger the warning and error threshold policies. Three threshold levels are defined: • Warning indicates that snap-pool space is moderately full. When exceeded, an event is generated to warn the administrator. • - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 109
for read-only access: # set snmp-parameters enable crit add-trap-host 172.22.4.171 read-community public Success: Command completed successfully. - SNMP parameters were changed. See also • set protocols • show snmp-parameters • test HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 109 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 110
set spares Description Creates or deletes spare disks for redundant (RAID 1, 3, 5, 6, 10, 50) vdisks. A global spare is available to any redundant vdisk with the same disk type. The system can have eight global spares. Each must have enough capacity to replace the smallest disk in any existing vdisk - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 111
Set the system name to Test and the contact to J. Doe: # set system name Test contact "J. Doe" Success: Command completed successfully See also • show system HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 111 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 112
manage] [locale English|en|Spanish|es|French|fr|Italian|it|Japanese|ja|Korean|ko |Dutch|nl|Chinese-simplified|zh-s|Chinese-traditional|zh-t] [password password] [precision #] [session-preferences] [storage-size-base 2|10] [storage-size-precision #] [storage powers of 10, using 1000 as a divisor for - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 113
Enables access to standard, advanced, and troubleshooting functions. units auto|MB|GB|TB Optional. Sets the unit for display of storage-space sizes. auto lets the system set to advanced. See also • set password • show users HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 113 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 114
name new-name Optional. A new name for the vdisk. For syntax, see Command syntax. owner a|b Optional. The new owner: controller A or B. CAUTION: Before changing the owning controller for a vdisk, you must stop host I/O to the vdisk's volumes. Volume mappings are not affected. vdisk Name or serial - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 115
to V2: # set volume name V2 V1 Success: Command completed successfully. - The volume was set. See also • show host-maps • show volumes • show volume-maps HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 115 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 116
Firmware Upgrade Shows whether component firmware versions are monitored and will be automatically upgraded on the partner controller. Utility the interval at which the storage system polls the EC (EMP) for status changes. Host Control of Caching Shows whether host control of write-back cache is - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 117
Controller Failure: Disabled SuperCap Failure: Enabled CompactFlash Failure: Enabled Power Supply Failure: Disabled Fan Failure: Disabled Temperature Exceeded: Disabled Partner Notify: Disabled Auto Write Back: Enabled See also • set advanced-settings HP StorageWorks 2000 G2 Modular Smart Array - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 118
-write-through-trigger Description Shows the system's write-through trigger settings. When a trigger condition occurs and the trigger is enabled, the RAID controller cache mode changes from write-back to write-through. Alias: show awt. Syntax show auto-write-through-trigger Example Show the system - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 119
. • Active-Active ULP: Both controllers are active using ULP (Unified LUN Provisioning). • Single-Controller: There is only a single controller in the enclosure. Write Back Status a volume is specified, its read-ahead cache setting HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 119 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 120
Flush: Enabled Controller B Cache Parameters Write Back Status: Enabled CompactFlash Status: Installed Cache Flush: Enabled Volume Cache Parameters Serial Number: 00c0ff0a906b0000dcaa834701000000 Name: V1 Cache Write Policy: write-back Cache Optimization: standard Read Ahead Size: Default See also - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 121
:myHost.domain Secret: 123456abcDEF Mutual CHAP Name: iqn.1995-03.com.acme:01.storage.00c0ffd6000a Mutual CHAP Secret: ABCdef123456 See also • create chap-record • delete chap-records • set chap-record • show host-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 121 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 122
session. Output Format • console: Output is shown in human-readable format. • api: Output is shown in XML format. Base • 2: Storage sizes are entered and shown in base 2. • 10: Storage sizes are entered and shown in base 10. Pager • enabled: Output halts after each full screen until a key is pressed - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 123
: console Brief Mode: disabled Base: 10 Pager: enabled Disk Mode: enclosure-slot Locale: English Precision: 1 Units: Auto Temperature Scale: Celsius See also • set cli-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 123 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 124
information from show system • Controller information from show controllers • Controller software and hardware version information from information from show vdisks • Enclosure status information, including SCSI Enclosure Services (SES) data from show enclosure-status • Field-replaceable unit (FRU) - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 125
time zone, shown as an offset in hours from Universal Time (UT) Example Show the system date and time: # show controller-date Controller Date: 2008-06-09 10:58:04 Time-Zone Offset: -6 See also • set controller-date • show ntp-status HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 125 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 126
information about each controller in the storage system. Syntax show controllers Output Controller ID Serial Number Hardware Version CPLD Version MAC Address WWNN IP Address IP Subnet Mask IP Gateway Disks Number connected to this controller Vdisks Number owned by this controller Cache Memory Size - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 127
Example Show information about a system with a single FC controller: # show controllers Controllers ----------Controller ID: A Serial Number: SN Hardware Version: 25 Reason: Not applicable See also • show configuration • show frus HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 127 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 128
show debug-log-parameters Description For use by or with direction from a service technician. Shows which debug message types are enabled (on) or disabled (off) for inclusion in the Storage Controller debug log. Syntax show debug-log-parameters Example Show debug log parameters: # show debug-log- - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 129
disk in or added to the system will be enabled or disabled or a rescan or controller restart. Don't Modify means that each disk's current setting will not be modified. Timeout : 8 Overall Timeout: 105 See also • set disk-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 129 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 130
disks in the storage system. If no slot number Serial Number Disk serial number Vendor Disk vendor Rev Firmware revision number How Used • AVAIL: Available • GLOBAL SP: vdisk is being scrubbed Type • SAS: Dual-port SAS • SAS-S: Single-port SAS • SATA: Dual-port SATA • SATA-S: Single-port SATA Size - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 131
SP Shows which controller a single-ported disk is connected to Status Disk status: Up, Warning, Error, Missing, Size OK 1 1 vendor model SN 146.8GB ... Missing 1 3 N/A N/A N/A N/A ... See also • show vdisks HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 131 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 132
show email-parameters Description Shows SMTP parameters for event notification. Syntax show email-parameters Example Show settings for email notification of events: # show email-parameters Email Parameters (SMTP Email Notification: enabled Email Notify Filter: warn Email Address 1: sysadmin@ - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 133
, the command shows general SCSI Enclosure Services (SES) information followed by component-specific Address and firmware revision of the Enclosure Management Processor in each controller's Expander Controller WWPN World wide HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 133 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 134
Example Show enclosure status for a system with a controller enclosure and an MSA70 drive enclosure: # show enclosure-status Chassis Vendor Product A BUS:ID Rev EMP B BUS:ID Rev WWPN Status Health N/A HP MSA70 N/A 1:63 2.18 0:63 2.18 50014380004C3F80 OK OK Type # Status FRU - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 135
in the storage system. Syntax firmware revision of the Enclosure Management Processor in each controller's Expander Controller Controller Lab 0 4 vendor model 0:31 1030 1:31 1030 See also • set enclosure • show enclosure-status HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 136
Shows events for an enclosure, including events from each Management Controller and each Storage Controller. A separate set of event numbers is maintained for each controller. Each event number is prefixed with a letter identifying the controller that logged the event. Events are listed from newest - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 137
:00 a.m. on May 2, 2008: # show events from 043008235900 to 050208115900 Show a range of events logged by controller A: # show events from-event a100 to-event a123 See also • clear events • set snmp-parameters • show snmp-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 137 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 138
by or with direction from a service technician. Shows diagnostic information relating to SAS Expander Controller physical channels, known as PHY : Unrecoverable condition is detected. Appears only if there is a firmware problem related to PHY definition data. • Non-critical: Non-critical condition - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 139
control page. • 0x8004: PHY is enabled but not ready. Appears for SC-1 PHYs when the partner I/O module is not installed. Appears for Drive, SC-1, or Ingress PHYs when a connection problem expander-fault-isolation • set expander-phy HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 139 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 140
(FRUs) in all enclosures. Some information reported is for use by service technicians. Syntax show frus Output Name • CHASSIS_MIDPLANE: 2U chassis and midplane circuit board • RAID_IOM: Controller module • BOD_IOM: Expansion module • POWER_SUPPLY: Power supply module Description FRU description - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 141
. • OpenVMS: The host does not allow LUN 0 to be assigned to a mapping. • HP-UX: The host allows LUN 0 to be assigned to a mapping and uses Flat Space Addressing. : No access Ports Controller host ports that the mapping applies to. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 141 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 142
00c0ff28201500485b87a94801000000 10 read-write A1 vd2_v1 00c0ff28201500485b87a94802000000 11 read-write A1 Host View [ID (1A2B3C4D5E6F8900) Name (Host2) Profile (HP-UX) ] Mapping: Name Serial Number LUN Access Ports vd2_v2 00c0ff28201500485b87a94803000000 0 read-write A1,A2,B1,B2 vd2_v0 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 143
.a for ports on controller A or .b for ports on controller B. Target Alias iSCSI only. Target alias for the port. The alias is the storage system's name with the suffix .a for ports on controller A or .b for ports on controller B. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 143 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 144
PID A1 FC(L) 207000C0FF000015 OK 2Gb Auto Loop 0 A2 FC(L) 217000C0FF000015 OK 2Gb Auto Loop 1 Show host parameters for a controller with four SAS ports: # show host-parameters Port Media Target ID Status Speed(A) Speed(C) Topo(C) Width A1 SAS 500C0FF000013000 Disconnected - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 145
: The host was discovered and its entry was automatically created. • No: The host entry was manually created. Mapped Shows whether the host is explicitly mapped to any volumes: • Yes: At least host • delete host • set host-name HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 145 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 146
-parameters Output CHAP Whether Challenge-Handshake Authentication Protocol is enabled or disabled Jumbo Frames Whether jumbo-frame support is enabled or disabled iSNS Whether Internet Storage Name Service support is enabled or disabled iSNS IP Address of the iSNS server iSNS Alt IP Address of the - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 147
Firmware Upgrade Shows whether component firmware versions are monitored and will be automatically upgraded on the partner controller. Utility Partner Firmware Upgrade: Enabled Utility Priority: High See also • set job-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 147 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 148
show license Description Shows the status of licensed features in the storage system. Syntax show license Output License Key • The license key, if a license is installed and valid • not installed, if a license is invalid or is not - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 149
controller or snap pool. Syntax show master-volumes [controller a|b] [snap-pool volume] Parameters controller a|b Optional. Only includes master volumes owned by the specified controller 20.0GB Available -- SP1 1 0B --- HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 149 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 150
See also • convert master-to-std • create master-volume • delete all-master-volumes • delete master-volume • expand volume • rollback master-volume 150 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 151
C0:FF:0A:43:18 Addressing Mode: Manual Network Parameters Controller B IP Address: 172.22.1.201 Gateway: 172.22.1.1 Subnet Mask: 255.255.255.0 MAC Address: 00:C0:FF:0A:43:26 Addressing Mode: Manual See also • set network-parameters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 151 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 152
Status ---------Status: activated Client Task Status: present NTP Server Address: 69.10.36.3 Last Server Contact: 2008-12-04 16:24:42 See also • set controller-date 152 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 153
number Status Whether the port is operational, has a problem, or is disconnected Speed (A) Actual host-port link during failover. MAC iSCSI only. Unique Media Access Control (MAC) hardware address, also called the physical HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 153 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 154
Show port information for a system with four SAS ports: # show ports Port Media Target ID Status Speed(A) Speed(C) Topo(C) Width A1 SAS 500C0FFD41011000 Disconnected Direct 4 A2 SAS 500C0FFD41011100 Disconnected Direct 4 A3 SAS 500C0FFD41011200 Disconnected Direct 4 A4 SAS - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 155
Disabled Simple Network Management Protocol (SNMP): Enabled Service Interface (Service): Disabled Service Debug (Debug): Disabled In-band SES Management (SES): Enabled In-band CAPI Management (CAPI): Enabled See also • set protocols HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 155 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 156
not operational. • Not Installed: The controller is not installed. Controller ID Serial Number • Controller module serial number • Not Available: The controller is down or not installed. Example Show the redundancy status of a dual-controller system where controller A is offline: # show redundancy - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 157
show refresh-counters Description For API use, shows when the data represented by the base type was last updated. Syntax show refresh-counters HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 157 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 158
port on an expansion module. • In Port: Ingress port on an expansion module. Can be connected to an egress (expansion) port on a controller module or an expansion module. Status Status of the connection: • OK • Disconnected • Not Present • Warning • Error • Unknown Health Relative status of the - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 159
Prefix Count Last Created VD1_V1 00c0ff2824460048904eba4901000000 T1 1 none Snapshot Name Snapshot Serial T1_S0001 00c0ffd2710700482ce3de4501000000 See also • create schedule • delete schedule • show schedules HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 159 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 160
show schedules Description Shows details for all task schedules. Syntax show schedules Example Show details for the two existing task schedules: # show schedules Schedules --------Schedule Name: Sched1 Schedule Specification: Start 2/19/2007 23:47:00, Every 3 Minutes Schedule Status: Ready Next - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 161
• N/A: Status is not available Example Show temperature and voltage status for the controllers and power supplies: # show sensor-status Sensor Name Value Status CPU Temperature-Ctlr OK Voltage 3.3V Loc:left-PSU 1 3.49 OK HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 161 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 162
Voltage 12V Loc:right-PSU 2 12.02 OK Voltage 5V Loc:right-PSU 2 5.16 OK Voltage 3.3V Loc:right-PSU 2 3.49 OK Current 12V Loc:upper-IOM 3.89 OK Current 12V Loc:lower-IOM 4.95 OK Current 12V Loc:left-PSU 1 6.15 OK Current 5V Loc:left-PSU 1 6.67 OK Current 12V Loc:right-PSU 2 6.15 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 163
Storage Controller is active or shut down. Syntax show shutdown-status Example Show the shutdown status for each controller: # show shutdown-status storage controller A is up storage controller B is down See also • restart • shutdown HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 164
applies when the AutoExpand policy is active; otherwise its value is N/A. Example Show information for snap pools owned by controller A: # show snap-pools controller a Vdisk Serial Number Name Size Free MasterVols Snapshots R5 SN SP1 374.6GB 374.6GB 1 2 Threshold %Usage Policy - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 165
specified, information about all snapshots is shown. Syntax To show snapshots by controller: show snapshots [controller a|b|both] To show snapshots by master volume: show snapshots [master-volume data associated with the snapshot HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 165 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 166
UniqueData Amount of preserved and write data that is unique to the snapshot SharedData Amount of preserved and write data that is shared between this snapshot and other snapshots Example Show information about snapshots associated with snap pool SP2: # show snapshots snap-pool SP2 Vdisk Serial - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 167
SNMP: enabled SNMP Filter: crit SNMP Trap Host IP1: 172.22.4.171 SNMP Trap Host IP2: 0.0.0.0 SNMP Trap Host IP3: 0.0.0.0 SNMP read community: public SNMP write community: private See also • set snmp-parameters • show protocols HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 168
Shows information about the system. Syntax show system Example Show system information, including installed languages (supported locales): # show system System Information System Name: Storage-1 System Contact: J. Smith System Location: Main lab System Information: Used for order processing data - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 169
Enabled: true Number of Host Ports: 4 Maximum Disks: 108 Maximum Volumes: 512 Maximum Vdisks: 32 Maximum LUNs: 512 Maximum Vdisks Per Controller: 16 Local Controller: A Serial Number: 000013 See also • set volume • set vdisk HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 169 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 170
show task-details Description Shows details for all tasks or a specified task. Syntax show task-details [task] Parameters task Optional. Specifies a task name. Output For a TakeSnapshot task: Task Name Task name Task Type TakeSnapshot Task Status • Ready: Task is ready to run • Active: Task is - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 171
prefix_c1023. Include Modified Data True or False Last Copy Created Name of the last copy created Error Message Any error message associated with this task HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 171 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 172
Example Show details for task Snap: # show task-details Snap Tasks ----Task Name: Snap Task Type: TakeSnapshot Task Status: Ready Task State: Init Source Volume Source Volume Serial Prefix Count Last Created VD1 SN VD1 1 VD1_S0001 Snapshot Name Snapshot Serial VD1_S0001 SN See also - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 173
VD1 1 VD1_S0001 Snapshot Name Snapshot Serial VD1_S0001 SN Task Name: v1_v002_task001 ... See also • create task • create schedule • delete task • show schedule-details • show task-details HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 173 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 174
Access Level • Monitor: View-only access to selected user interfaces • Manage: Modify access to selected user interfaces User Type Applies to SMU functions • Diagnostic: Has access to standard, advanced, and troubleshooting functions User Locale Display language for this user WBI x indicates - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 175
the preferred owner during normal operation or the partner controller when the preferred owner is offline Pref Controller that owns the vdisk and its volumes during normal : Vdisk is being verified • VRSC: Vdisk is being scrubbed HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 175 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 176
Serial Number Vdisk serial number Example Show information about vdisk VD1 only: # show vdisks VD1 Name Size Free Own Pref RAID Disks Spr Chk Status Jobs Serial Number VD1 587.1GB 116.7GB B B RAID50 6 0 128k FTOL VRSC 41% SN See also • create vdisk • delete vdisk • expand vdisk • - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 177
Number Volume serial number Name Volume name Ports Controller host ports that the mapping applies to LUN (typically the IQN) • all other hosts for the volume's default mapping Nickname Host nickname, or blank if not set or for HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 177 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 178
, the copy process resumes from the point where it stopped. Example Show information about volume copies in progress for controller A: # show volumecopy-status controller a VC Volume Name Serial Number Vdisk Source Volume Progress Status Status-Reason MV1-copy SN VD1 MV1 7% Unavailable - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 179
mode (standard or super-sequential) Read Ahead Size • Disabled • Default • Maximum • Specific size Type • standard: Standard volume • HP-UX, a text value (set in-band by a host application) that identifies the volume. • Blank if not set. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 180
Vdisk Name Size Serial Number WR Policy Cache Opt Read Ahead Size Type Class Volume Description VD1 V0 20.0GB SN write-back standard Default standard standard Show volume information for vdisk VD1 only: # show volumes vdisk VD1 Vdisk Name Size Serial Number WR Policy Cache Opt Read - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 181
the Storage Controller in controller A, B, or both. Example Shut down the Storage Controller in controller A: # shutdown a Info: Shutting down SC a... Success: Command completed successfully See also • restart • show shutdown-status HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 181 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 182
stty Description Sets and shows terminal information. Syntax stty info | hardwrap | rows # | columns # Parameters info Shows the terminal's settings. hardwrap Enables or disables the hard wrapping of output. Terminals usually wrap at the screen width without truncating output, but turning on hard - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 183
snmp|notification Parameters email Sends a test message to configured email addresses. snmp Sends a test message to configured SNMP stamps to differ, which the system interprets as a problem with the "late" disks. In this case, the HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 183 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 184
vdisks unmap volume Description Deletes an explicit mapping whose settings override a volume's default mapping. When the explicit mapping is deleted, host access to the volume is controlled by the volume's default mapping (described in help for create volume). Syntax unmap volume [host host] volume - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 185
Controller Code Version: ver Management Controller Loader Code Version: ver Expander Controller Code Version: ver CPLD Code Version: ver Hardware Version: ver Host Interface Module Version: ver Host Interface Module Model: ver HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 186
or a master volume to a new standard volume. The command creates the destination volume you specify, which must be in a vdisk owned by the same controller as the source volume. While the copy operation is in progress, the destination volume's type is shown as standard*; when complete, it changes to - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 187
See also • abort volumecopy • create task • show vdisks • show volumecopy-status • show volumes HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 187 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 188
188 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 189
password that is shared between an initiator and a target to enable authentication. SCSI Enclosure Services. A single-port disk is connected to both controllers so its data path is not fault tolerant. A single-port disk's type is shown as SAS-S or SATA-S. HP StorageWorks 2000 G2 Modular Smart Array - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 190
Supported SSDs have a SATA interface. ULP Unified LUN Presentation. A RAID controller feature that enables a host to access mapped volumes through any controller of the capacity of a vdisk that can be presented as a storage device to a host. volume copy Licensed capability to create a copy - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 191
24 service utilities 24 snapshot 23 system configuration and utilities 24 volume copy 23 volume, host, and mapping 23 CompactFlash card status show 119 CompactFlash failure trigger enable/disable 80, 82 show setting 116 configuration show system 124 HP StorageWorks 2000 G2 Modular Smart Array CLI - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 192
document conventions 9 prerequisite knowledge 9 related documentation 9 documentation, HP web site 9 dynamic spares enable/disable 80 show setting show controller 126 fan failure trigger enable/disable 80, 82 show setting 116 field-replaceable unit See FRUs firmware show versions 185 firmware update - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 193
HP MSA web site 10 service locator web site 10 storage web site 10 Subscriber's choice web site 10 technical support missing 116 M MAC address, controller 151 Management Controllers restart 76 management-interface access set user 43, HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 193 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 194
87 show CLI 122 parameter syntax 19 partner firmware update enable/disable 81, 101 show setting 116, 147 password set user 43, 104, 112 PHYs enable/disable status 161 service interface enable/disable 106 SES information show enclosure 133 SES interface enable/disable 106 shut down controller 181 - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 195
98 SSH interface enable/disable 106 Storage Controllers restart 76 Subscriber's choice, HP 10 super-capacitor failure trigger enable/disable 81, 82 show setting 116 synchronize-cache mode set 81 show setting 116 syntax, command 19 system restart 76 restore defaults 77 set contact 111 set information - HP StorageWorks MSA2324fc | HP StorageWorks 2300 Family Modular Smart Array CLI - Page 196
set the default mapping 47 set write policy 83 show 179 show cache optimization mode 119 show cache redundancy mode 119 show mappings 177 show maximum number of 169 show read-ahead cache size 119 show write policy 119 W web sites HP documentation 9 HP MSA 10 HP service locator 10 HP storage 10 HP
HP StorageWorks
2000 G2 Modular Smart Array
CLI Reference Guide
Part number: 500912-002
Second edition: September 2009