Hp storageworks fibre channel transceiver replacement instructions (481608-002, february 2010) (2 pages)
Summary of Contents for HP P2000 G3
Page 1
HP P2000 G3 MSA System CLI Reference Guide Part number: 500912-009 First edition: February 2014...
Page 2
The information contained herein is subject 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 or omissions contained herein.
HP P2000 G3 MSA System SMU Reference Guide • HP P2000 G3 MSA System Event Descriptions Reference Guide You can find these documents from the Manuals page of the HP Business Support Center web site: http://www.hp.com/go/p2000/manuals. HP P2000 G3 MSA System CLI Reference Guide...
Provides additional information. TIP: Provides helpful hints and shortcuts. HP technical support Telephone numbers for worldwide technical support are listed on the HP support web site: http://www.hp.com/support/. Collect the following information before calling: • Technical support registration number (if applicable) •...
For information about HP product warranties, see the warranty information website: http://www.hp.com/go/storagewarranty Subscription service HP strongly recommends that customers sign up online using the Subscriber’s choice web site: http://www.hp.com/go/e-updates. • Subscribing to this service provides you with e-mail updates on the latest product enhancements, newest versions of drivers, and firmware documentation updates as well as instant access to numerous other product resources.
Using the CLI This chapter introduces the HP P2000 G3 MSA System command-line interface (CLI). Accessing the CLI The CLI software embedded in the controller modules enables you to manage and monitor storage-system operation. You can access the CLI in two ways: •...
Using CLI interactively By default the CLI is an interactive application. When you are logged into the CLI, the CLI waits for a command to be entered and then responds to it. The following example shows interactively starting a Telnet session, logging into the CLI, executing a command to show free (available) disks, and exiting the CLI: $: telnet 172.22.5.55 172.22.5.55 login: monitor...
Page 17
$root = $doc->getDocumentElement; my @objects = $root->getElementsByTagName('OBJECT'); my @props = $objects[0]->getElementsByTagName('PROPERTY'); my $sessionKey; foreach my $prop ( @props ) { my $name = $prop->getAttribute('name'); print "Property = " . $name . "\n"; HP P2000 G3 MSA System CLI Reference Guide...
XML is validated. The DTD provides the structure of all content returned by the CLI when XML API format is enabled. By obtaining the latest DTD for validation, the parser will be forward compatible. To obtain the DTD, go to http://hp.com/go/p2000. Using the CLI...
To find a specific property, a script should compare property names as it searches through the data. This allows the script to be compatible with future versions that could potentially add new fields to the output. HP P2000 G3 MSA System CLI Reference Guide...
The output of show commands is intended for monitoring or obtaining the current configuration. Other commands provide configuration data and display one or more status objects that specify the status of command processing. The last status object specifies the overall status of the command; other status objects indicate intermediate processing status.
Command syntax Command names and parameters Command and parameter names are not case sensitive. Parameters enclosed in square brackets ([]) are optional. Do not type the bracket characters. Parameter values separated by ’|’ characters are options. Enter only one of the values. These values are not case sensitive.
In the CLI, the base for entry and display of storage-space sizes can be set per user or per session; see create user cli-parameters. When entering storage-space sizes only, either base-2 or base- 1 0 units can be specified. HP P2000 G3 MSA System CLI Reference Guide...
Table 5 Size representations in base 2 and base 10 Base 2 Base 10 Unit Size in bytes Unit Size in bytes KiB (kibibyte) 1,024 KB (kilobyte) 1,000 MiB (mebibyte) 1,024 MB (megabyte) 1,000 GiB (gibibyte) 1,024 GB (gigabyte) 1,000 TiB (tebibyte) 1,024 TB (terabyte)
Page 26
Table 7 Commands by category (continued) Category Commands Snapshots convert master-to-std expand snap-pool convert std-to-master reset snapshot create master-volume rollback master-volume create snap-pool set priorities create snapshots set snap-pool-policy delete all-master-volumes set snap-pool-threshold delete all-snapshots show master-volumes delete master-volume show priorities delete snap-pool show snap-pools delete snapshot...
Page 27
API specific meta show refresh-counters Remote create remote-system show remote-systems systems delete remote-system verify links remote verify remote-link set remote-system HP P2000 G3 MSA System CLI Reference Guide...
Table 7 Commands by category (continued) Category Commands Remote abort replication resume replication replication add replication-volume set replication-primary-volume create replication-set set replication-volume-parameters delete replication-set show replication-images detach replication-volume show replication-sets export snapshot show replication-volumes reattach replication-volume start vdisk remove replication-volume stop vdisk replicate snapshot suspend replication...
Page 29
None show host-wwn-names show hosts show iscsi-hosts show hosts show lun-maps show volume-maps show output-format show cli-parameters show port-wwn show ports HP P2000 G3 MSA System CLI Reference Guide...
Example One or more examples of the command's usage in console format Basetypes References to descriptions of basetype properties shown in XML API format See also References to commands that are used with the command HP P2000 G3 MSA System CLI Reference Guide...
abort replication Description Aborts the current replication operation on the specified secondary volume. The current replication may be running or suspended. This command must be issued on the system that owns the secondary volume. Syntax abort replication [set replication-set] replication-volume Parameters set replication-set Optional.
# abort scrub disks 1.15 Info: Abort scrubbing the disk at location - (1.15) Success: Command completed successfully. (2012-10-08 11:27:29) See also • scrub disks • scrub vdisk • show disks • show vdisks HP P2000 G3 MSA System CLI Reference Guide...
abort verify Description Aborts the verify vdisk operation for specified vdisks. Syntax abort verify vdisk vdisks Parameters vdisk vdisks Names or serial numbers of the vdisks to stop verifying. For vdisk syntax, see Command syntax page 22. Example Abort verifying vdisk vd1: # abort verify vdisk vd1 Info: The verify was aborted on vdisk vd1.
Example Abort creating destination volume vd1_copy: # abort volumecopy v1_copy Success: Command completed successfully. (vd1_copy) - The volume copy was aborted. (2012-01-21 12:04:20) See also • show volumecopy-status • show volumes • volumecopy HP P2000 G3 MSA System CLI Reference Guide...
add replication-volume Description Adds an existing secondary volume to a replication set. The volume can be on the same system as the primary volume or on a remote system. A secondary volume is a master volume created specifically for use as the destination for a replication by using the create master-volume command's prepare-replication-volume...
Page 37
Add secondary volume LosAngeles to a replication set that uses iSCSI links and whose primary volume is NewYork: # add replication-volume LosAngeles primary-volume NewYork link-type iSCSI secondary-address ip=10.134.69.5,10.134.69.6 See also • show replication-sets • show replication-volumes HP P2000 G3 MSA System CLI Reference Guide...
clear cache Description Clears unwritable cache data from both controllers. This data cannot be written to disk because it is associated with a volume that no longer exists or whose disks are not online. If the data is needed, the volume's disks must be brought online. If the data is not needed it can be cleared, in which case it will be lost and data will differ between the host and disk.
Clear metadata from a leftover disk: # clear disk-metadata 1.1 Info: Updating disk list... Info: Disk disk_1.1 metadata was cleared. (2012-01-18 10:35:39) Success: Command completed successfully. - Metadata was cleared. (2012-01-18 10:35:39) HP P2000 G3 MSA System CLI Reference Guide...
Page 40
Try to clear metadata from a disk that is not leftover: # clear disk-metadata 1.2 Error: The specified disk is not a leftover disk. (1.2) - Metadata was not cleared for one or more disks. (2012-01-18 10:32:59) Alphabetical list of commands...
Optional. The controller event log to clear. If this parameter is omitted, both event logs are cleared. Example Clear the event log for controller A: # clear events a Success: Command completed successfully. - The event log was successfully cleared. (2012-01-18 10:40:13) See also • show events HP P2000 G3 MSA System CLI Reference Guide...
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 enclosure whose status is Error as shown by the show expander-status command.
Example Convert a master volume having no snapshots to a standard volume: # convert master-to-std MV1 Success: Command completed successfully. (MV1) - The conversion of a master volume to a standard volume completed. (2012-01-18 12:35:54) See also • delete all-snapshots • show master-volumes HP P2000 G3 MSA System CLI Reference Guide...
convert std-to-master Description Converts a standard volume to a master volume; that is, it enables 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...
To make the certificate change take effect you must restart both Management Controllers by entering "restart mc both". Press Enter to acknowledge this message. Success: Command completed successfully. - Security certificate generated. (2012-10-04 09:31:49) HP P2000 G3 MSA System CLI Reference Guide...
Page 46
Restore the original certificate that existed before the custom one was generated: # create certificate restore To make the certificate change take effect you must restart both Management Controllers by entering "restart mc both". Press Enter to acknowledge this message. Success: Command completed successfully.
# create chap-record name iqn.1991-05.com.microsoft:myhost.domain secret 123456abcDEF Success: Command completed successfully. (iqn.1991-05.com.microsoft:myhost.domain)- A CHAP record was created. (2012-01-18 12:39:07) See also • delete chap-records • set chap-record • show chap-records • show host-parameters • show iscsi-parameters HP P2000 G3 MSA System CLI Reference Guide...
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 FC host whose WWPN is 207000C0FF001 122: # create host id 207000C0FF001122 Host1 Success: Command completed successfully.
ID For a volume to be accessed by an OpenVMS host, assign a volume ID in the range 1–32767 to identify the volume to the host. HP P2000 G3 MSA System CLI Reference Guide...
Page 50
name A name for the new volume. The name is case sensitive; cannot include a comma, double quote, left angle bracket, or backslash; and can have a maximum of 20 bytes. A name that includes a space must be enclosed in double quotes. Example Create the 20-GB master volume MV1 on vdisk VD1, and associate it with snap pool SP1: # create master-volume vdisk VD1 size 20GB snap-pool SP1 lun 3 MV1 Info: The volume was created.
# create remote-system username manage password !manage 10.122.1.21 Success: Command completed successfully. (10.122.1.21) - The remote system was created. (2012-01-18 12:10:26) See also • delete remote-system • remote • set remote-system • show remote-systems HP P2000 G3 MSA System CLI Reference Guide...
create replication-set Description Creates a replication set from a specified standard or master volume. If you specify a standard volume, it is converted to a master volume using default policies for snap-pool creation. You can optionally use the reserve parameter to set the snap-pool size. The specified volume becomes the replication set's primary volume.
Page 53
512-byte blocks for the size without appending a unit indicator. For example, in a P2000 G3 MSA System as a user with a base preference of 10 you create a 50-GB primary volume:...
Page 54
noprompt Optional in console format; required for XML API format. Suppresses the prompt to revert the transaction if the command fails, which requires a yes or no response. If this parameter is specified and the command fails, the transaction is automatically reverted. nowait Optional.
Page 55
# create replication-set link-type FC remote-vdisk vd1 Personnel Create a local replication set using existing master volume Test as the primary volume and existing replication-prepared volume Test-backup as the secondary volume: # create replication-set link-type FC remote-volume Test-backup Test HP P2000 G3 MSA System CLI Reference Guide...
Page 56
See also • add replication-volume • delete replication-set • remove replication-volume • replicate snapshot • show remote-systems • show replication-images • show replication-sets • show replication-volumes Alphabetical list of commands...
# create schedule schedule-specification "start 2012-03-01 00:01, every 1 days, between 12:00 AM and 1:00 AM, expires 2013-01-01 1:00 AM" task-name Task1 Sched1 Success: Command completed successfully. (Sched1) - The schedule was created. (2012-01-20 15:48:01) HP P2000 G3 MSA System CLI Reference Guide...
Page 58
Create schedule Sched2 that runs Task2 for the first time on March 1, 2012, and on the first weekday of each month, with no expiration: # create schedule schedule-specification "start 2012-03-01 00:01 only first weekday of month" task-name Task2 Sched2 Success: Command completed successfully.
Example Create the 50 GB snap pool SP1 on vdisk VD1: # create snap-pool vdisk VD1 size 50GB SP1 Info: The volume was created. (SP1) Success: Command completed successfully. (2012-01-18 12:29:59) See also • show snap-pools • show vdisks HP P2000 G3 MSA System CLI Reference Guide...
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 either 20% of the volume size or 5.37 GB, whichever is larger.
To create a task to enable spin down for all disks: create task type EnableDSD taskDSDresume To create a task to disable spin down for all disks: create task type DisableDSD taskDSDsuspend HP P2000 G3 MSA System CLI Reference Guide...
Page 62
Parameters type TakeSnapshot|ResetSnapshot|VolumeCopy|ReplicateVolume|EnableDSD |DisableDSD The task type: • TakeSnapshot: Takes a snapshot of a standard or master volume. • ResetSnapshot: Deletes the data in the snapshot and resets it to the current data in the associated master volume. The snapshot's name and other volume characteristics are not changed.
Page 63
# create task type DisableDSD taskDSDsuspend Success: Command completed successfully. (taskDSDsuspend) - The task was created. (2012-01-19 15:47:15) See also • create schedule • set task • show task-details • show tasks • show volumes HP P2000 G3 MSA System CLI Reference Guide...
create user Description Creates a user account. The system supports 12 user accounts. You can create a general user that can access the WBI, CLI, or FTP interface, or an SNMPv3 user that can access the MIB or receive trap notifications. SNMPv3 user accounts support SNMPv3 security features such as authentication and encryption.
Page 65
Optional. For an SNMPv3 user whose interface parameter is set to snmptarget, this specifies the IP address of the host that will receive SNMP traps. type novice|standard|advanced|diagnostic Optional. Identifies the user’s experience level. The default is standard. HP P2000 G3 MSA System CLI Reference Guide...
Page 66
units auto|MB|GB|TB Optional. Sets the unit for display of storage-space sizes: • auto: Sizes are shown in units determined by the system. This is the default. • MB: Sizes are shown in megabytes. • GB: Sizes are shown in gigabytes. •...
Online initialization is fault-tolerant. This option is the default. • offline: You must wait for the vdisk initialization process to finish before using the vdisk; however, offline takes less time to complete initializing than online. HP P2000 G3 MSA System CLI Reference Guide...
Page 68
name A name for the new vdisk. The name is case sensitive; cannot include a comma, double quote, left angle bracket, or backslash; and can have a maximum of 20 bytes. A name that includes a space must be enclosed in double quotes. 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: Command completed successfully.
22. If this parameter is omitted, all ports are selected. snap-pool snap-pool Optional. Name or serial number of the snap pool to associate with the new volume. For volume syntax, see Command syntax on page 22. HP P2000 G3 MSA System CLI Reference Guide...
Page 70
reserve size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB] Optional. Size of the snap pool to create in the vdisk. If this parameter is omitted, the size will be either 20% of the volume size or 5.37 GB, whichever is larger. Use either this parameter or the snap-pool parameter.
For port syntax, see Command syntax on page 22. If not all ports are specified, the unspecified ports are not mapped. If the ports and baselun parameters are omitted, the volumes are not mapped. HP P2000 G3 MSA System CLI Reference Guide...
Page 72
Example Create two unmapped, 100-GB volumes with base name data- in vdisk data, and show the results: # create volume-set count 2 size 100GB vdisk data basename data- Info: The volume was created. (data-000) Info: The volume was created. (data-001) Success: Command completed successfully.
Page 73
See also • map volume • set volume • show vdisks • show volume-maps • show volumes • unmap volume HP P2000 G3 MSA System CLI Reference Guide...
delete all-master-volumes Description Deletes all master volumes associated with a specified snap pool. The volumes' schedules and tasks are also deleted. 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...
Info: This may take a few minutes if the system is under heavy load... Success: Command completed successfully. (MV2) - All snapshots were deleted. (2012-01-20 14:59:01) See also • show snapshots • show volumes HP P2000 G3 MSA System CLI Reference Guide...
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-records all Parameters name originator-name The originator name, typically in IQN format.
Info: Global spare disk 1.1 was deleted. (1.1) Info: Global spare disk 1.5 was deleted. (1.5) Success: Command completed successfully. (2012-01-20 11:32:56) See also • delete vdisk-spare • set spares • show disks HP P2000 G3 MSA System CLI Reference Guide...
delete host Description Deletes a discovered or manually created host. In order to delete a discovered host, it must have a nickname. If the host is not mapped or has only default mappings, you can delete it. If the host has explicit mappings, you must delete the mappings before you can delete the host.
22. Example Delete master volume MV1: # delete master-volume MV1 Success: Command completed successfully. (MV1) - The master volume was deleted. (2012-01-21 12:13:00) See also • delete all-snapshots • show master-volumes HP P2000 G3 MSA System CLI Reference Guide...
delete remote-system Description Deletes the persistent association with a remote system. After establishing replication to a remote system, if you choose to delete the remote system you can safely do so without affecting replications. However, because the remote system's name and IP address will no longer appear in user interfaces, record this information before deleting the remote system so that you can access it at a later time, such as to delete old replication images or for disaster recovery.
Delete the replication set with primary volume MV1: # delete replication-set MV1 Info: The replication set has been deleted. (MV1) Success: Command completed successfully. (2012-01-21 12:17:31) See also • show replication-sets • show replication-volumes HP P2000 G3 MSA System CLI Reference Guide...
delete schedule Description Deletes a task schedule. If a component has a scheduled task that you no longer want to occur, you can delete the schedule. When a component is deleted, its schedules and tasks are also deleted. Syntax delete schedule schedule Parameters schedule The schedule to delete.
Command syntax page 22. Example Delete snap pool SP1: # delete snap-pool SP1 Success: Command completed successfully. (SP1) - The snap-pool was deleted. (2012-01-18 12:13:46) See also • show master-volumes • show snap-pools HP P2000 G3 MSA System CLI Reference Guide...
delete snapshot Description Deletes specified snapshots. All data uniquely associated with the snapshot is deleted and associated space in the snap pool is freed for use. The snapshot's schedules are also deleted. Syntax delete snapshot [cleanup] [delete-priority standard-snapshot|volume-copy-snapshot|replication-snapshot |replicating-snapshot|common-sync-point-snapshot|only-sync-point-snapshot |queued-snapshot] [force] snapshots Parameters cleanup...
Example Delete only modified data from snapshot SS1: # delete snapshot-write-data SS1 Success: Command completed successfully. (SS1) - Snapshot write data was deleted. (2012-01-21 09:54:58) See also • delete snapshot • show snapshots HP P2000 G3 MSA System CLI Reference Guide...
delete task Description Deletes a task. If the task is scheduled, delete schedules that use the task. Syntax delete task task Parameters task The task to delete. Example Delete task Task1: # delete task Task1 Success: Command completed successfully. (Task1) - The task was deleted. (2012-01-21 17:05:46) See also •...
Try to delete the only CLI user with the manage role: # delete user SysAdmin Error: At least one CLI user must retain configuration privileges at all times. (2013-10-31 14:10:47) See also • show users HP P2000 G3 MSA System CLI Reference Guide...
delete vdisks Description Deletes specified vdisks. Unmaps and deletes all volumes and snapshots in the vdisks and disassociates all disks assigned to the vdisks. CAUTION: Deleting a vdisk will delete all data on that vdisk. NOTE: • You cannot delete a vdisk if it contains a snap pool that is associated with a master volume on another vdisk.
# delete vdisk-spare disks 1.5 VD1 Info: Vdisk spare disk 1.5 was deleted. (1.5) Success: Command completed successfully. (2011-10-12 11:11:29) See also • delete global-spare • set spares • show disks • show vdisks HP P2000 G3 MSA System CLI Reference Guide...
delete volumes Description Deletes specified volumes. CAUTION: Deleting a volume will delete all data in that volume and its schedules. Syntax delete volumes volumes Parameters volumes Names or serial numbers of the volumes to delete. For volume syntax, see Command syntax page 22.
OFFL and its data may or may not be recoverable through use of the trust command. Consult the online troubleshooting guide at https://www.hp.com/go/p2000/troubleshooting. Also, see the help for the trust command. To continue operation (that is, not go to quarantined status), a RAID-3 or RAID-5 vdisk can have only one inaccessible disk;...
Page 92
When a vdisk is quarantined, its disks become write-locked, its volumes become inaccessible, and it is not available to hosts until it is dequarantined. If there are interdependencies between the quarantined vdisk’s volumes and volumes in other vdisks, quarantine may temporarily impact operation of those other volumes.
Page 93
# dequarantine vdisk VD1 Success: Command completed successfully # show vdisks Name ... Status ... ------------------- ... FTDN ... (RAID 6 fault tolerant with a down disk) ------------------- See also • show vdisks • trust HP P2000 G3 MSA System CLI Reference Guide...
detach replication-volume Description Prepares a secondary volume to be physically removed from a system. When using the replication feature, if you chose to create a replication set's primary and secondary volumes in the primary system, you can perform the initial replication and then physically move the secondary volume's vdisk into the secondary system.
Page 95
See also • reattach replication-volume • show replication-sets • show replication-volumes • start vdisk • stop vdisk HP P2000 G3 MSA System CLI Reference Guide...
Example Expand snap pool SP1 by 100 GB: # expand snap-pool size 100GB SP1 Success: Command completed successfully. (spData) - Expansion of volume spData was started. (2012-01-21 11:08:31) See also • show snap-pools • show vdisks HP P2000 G3 MSA System CLI Reference Guide...
IMPORTANT: Vdisk expansion cannot be stopped and can take days to complete, depending on disk type, RAID level, and other factors. Before starting a vdisk expansion, read the white paper “HP P2000 G3 MSA Best Practices” at http://h20195.www2.hp.com/v2/GetPDF.aspx/4AA3-2141ENW.pdf. Syntax...
Page 99
# expand vdisk disks 2.4,2.8,2.9-10 R10 Expand RAID-50 vdisk R50, which has three 3-disk sub-vdisks, to include one additional 3-disk sub-vdisk: # expand vdisk disks 2.1-2,2.5 R50 See also • show disks • show vdisks HP P2000 G3 MSA System CLI Reference Guide...
expand volume Description Expands a standard 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: Delete all of its snapshots by using delete all-snapshots.
To preserve the exported snapshot's data, create a volume copy of the exported snapshot. Info: The snapshot has been exported. (Snap1) Success: Command completed successfully. (2012-01-21 12:10:32) See also • show replication-sets • show snapshots HP P2000 G3 MSA System CLI Reference Guide 101...
map volume Description Maps specified volumes using settings that override the volumes’ default mapping. When a volume is created, if no mapping settings are 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 volume, and the LUN presented to all hosts to identify the volume.
Page 103
Info: Mapping succeeded. Host 207000c0ff001121 was mapped for volume v2 with LUN 7. (v2) (2012-01-18 14:01:03) Info: Mapping succeeded. Host 207000c0ff001122 was mapped for volume v2 with LUN 7. (v2) (2012-01-18 14:01:03) Success: Command completed successfully. (2012-01-18 14:01:03) HP P2000 G3 MSA System CLI Reference Guide 103...
Page 104
# show volume-maps Volume View [Serial Number (SN) Name (v1) ] Mapping: Ports LUN Access Host-Port-Identifier Nickname Profile ----------------------------------------------------------------- A1,B1 6 read-write 207000c0ff001121 Host1 Standard A1,B1 6 read-write 207000c0ff001122 Host2 Standard not-mapped all other hosts Standard Volume View [Serial Number (SN) Name (v2) ] Mapping: Ports LUN Access Host-Port-Identifier Nickname Profile...
Example Show all metadata for objects returned by the show disks command: # meta drives See also • set cli-parameters HP P2000 G3 MSA System CLI Reference Guide 105...
ping Description Tests communication with a remote host. The remote host is specified by IP address. Ping sends ICMP echo response packets and waits for replies. Syntax ping host-address [count] Parameters host-address The remote host’s IP address in dotted decimal form. count Optional.
Name or serial number of the replication volume. If the name is not unique across replication sets, specify the set parameter. Example Reattach secondary volume rV1: # reattach replication-volume rV1 Success: Command completed successfully. (2012-01-21 10:40:33) HP P2000 G3 MSA System CLI Reference Guide 107...
Page 108
See also • detach replication-volume • show replication-sets • show replication-volumes • start vdisk • stop vdisk 108 Alphabetical list of commands...
Specifies all volumes, or the names or serial numbers of specific volumes. For volume syntax, Command syntax on page 22. Example Release reservations for a specific volume: # release volume vd04_v002 Success: Command completed successfully. (2011-11-08 09:01:25) See also • show volume-reservations • show volumes HP P2000 G3 MSA System CLI Reference Guide 109...
remote Description Runs a command on a remote system that is associated with the local system. If the command cannot connect to remote controller A, it tries to connect to remote controller B; if unsuccessful, the remote command is not run. Output is displayed in console or XML API format depending on the local system’s setting.
This may take a couple of minutes... (rData) Info: The secondary volume was removed from the replication set. (rData) Success: Command completed successfully. (2012-01-21 12:53:33) See also • show replication-sets • show replication-volumes HP P2000 G3 MSA System CLI Reference Guide 111...
replicate snapshot Description Initiates a replication operation using an existing snapshot as the data source. This command replicates the specified external standard snapshot. If the specified snapshot has not already been replicated on the replication volume, each replication volume in the replication set is requested to replicate the snapshot data. Only snapshot preserved data is replicated;...
Example Replicate volume MV1 and name the replication snapshot RepSnap1: # replicate volume snapshot RepSnap1 MV1 Info: The replication has started. (RepSnap1) Success: Command completed successfully. (2012-01-20 10:53:25) See also • show replication-sets • show replication-volumes HP P2000 G3 MSA System CLI Reference Guide 113...
rescan Description This command forces rediscovery of disks and enclosures in the storage system. If both Storage Controllers are online and able to communicate with both expansion modules in each connected enclosure, this command rebuilds the internal SAS layout information, reassigns enclosure IDs based on controller A’s enclosure cabling order, and ensures that the enclosures are displayed in the proper order.
reset controller-statistics Description Resets performance statistics for controllers. This command resets all controller statistics except Power On Time. To reset this, restart or power cycle a controller. Syntax reset controller-statistics [a|b|both] Parameters a|b|both Optional. Specifies whether to reset statistics for controller A, B, or both. If this parameter is omitted, statistics are reset for both controllers.
reset disk-statistics Description Resets performance statistics for disks. This command resets basic disk statistics but not disk error statistics. To reset these, use the reset disk-error-statistics command. Syntax reset disk-statistics Example Reset statistics for all disks: # reset disk-statistics Success: Command completed successfully. (2012-01-21 11:35:52) See also •...
Example Reset the host link on port A1: # reset host-link ports A1 Success: Command completed successfully. - Reset Host Link(s) on port(s) A1 from current controller. (2012-01-21 11:36:28) See also • show ports HP P2000 G3 MSA System CLI Reference Guide 119...
reset host-port-statistics Description Resets performance statistics for controller host ports. Syntax reset host-port-statistics [ports ports] Parameters ports ports Optional. The controller ID and port number of ports to reset statistics for. For port syntax, see Command syntax on page 22. If this parameter is omitted, statistics are reset for all controller host ports.
Any hosts registered via SMIS will need to be registered again. Are you sure? yes Info: SMIS service configuration has been reset for partner controller. (2013-01-10 16:55:08) Success: Command completed successfully. (2013-01-10 16:55:08) HP P2000 G3 MSA System CLI Reference Guide 121...
Page 122
Reset the SMI-S configuration on both Storage Controllers: # reset smis-configuration both WARNING: The configuration of the SMIS service will be reset to default settings. Any hosts registered via SMIS will need to be registered again. Are you sure? yes Info: SMIS service configuration has been reset for local controller.
You MUST unmount the snapshot from all hosts before resetting it. Ready to continue? yes Success: Command completed successfully. - The reset of a snapshot completed. (SS1) - The reset of a snapshot completed. (2012-01-21 13:02:59) See also • show snapshots HP P2000 G3 MSA System CLI Reference Guide 123...
reset vdisk-statistics Description Resets performance statistics for all or specified vdisks. Syntax reset vdisk-statistics [vdisks] Parameters vdisks Optional. Names or serial numbers of the vdisks to reset statistics for. For vdisk syntax, see Command syntax on page 22. If this parameter is omitted, statistics are reset for all vdisks. Example Reset statistics for vdisks VD1 and MyVdisk: # reset vdisk-statistics VD1,MyVdisk Success: Command completed successfully.
restart Description Restarts the Storage Controller or Management Controller in a controller module. If you restart a Storage Controller, it attempts to shut down with a proper failover sequence, which includes stopping all I/O operations and flushing the write cache to disk, and then the controller restarts.
Page 127
Restarting both controllers can cause a temporary loss of data availability. Do you want to continue? yes Success: Command completed successfully. - Both SCs were restarted. (2012-01-21 13:09:52) See also • shutdown HP P2000 G3 MSA System CLI Reference Guide 127...
restore defaults Description For use by or with direction from a service technician. Restores the default configuration to the controllers. For details about which settings are restored see Settings changed by restore defaults on page 519. If the system contains only one controller module when the command is issued, the controller’s redundancy mode will be set to Single Controller mode.
Example Resume replication of primary volume V1 to secondary volume rV1: # resume replication rV1 Success: Command completed successfully. (2012-01-20 14:51:14) See also • abort replication • show replication-sets • show replication-volumes HP P2000 G3 MSA System CLI Reference Guide 129...
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/unpresent/unmap the master volume from hosts before using this command. The command will prompt you to ensure the master volume is unmounted/unpresented/unmapped before proceeding.
Info: Start scrubbing the disk at location - (1.3) Success: Command completed successfully. (2012-10-08 11:14:11) See also • abort scrub • scrub vdisk • set advanced-settings • set job-parameters • show disks HP P2000 G3 MSA System CLI Reference Guide 131...
scrub vdisk Description Analyzes specified vdisks to find and fix disk errors. This command acts on disks in a vdisk but not dedicated spares or leftover disks. This command will fix parity mismatches for RAID 3, 5, 6, and 50; mirror mismatches for RAID 1 and 10; and media errors for all RAID levels. Vdisk scrub can last over an hour, depending on vdisk size, utility priority, and amount of I/O activity.
Background vdisk scrub is enabled. This is the default. background-scrub-interval interval Optional. Sets the interval in hours between background vdisk scrub finishing and starting again, from 1–360 hours. The default is 24 hours. HP P2000 G3 MSA System CLI Reference Guide 133...
Page 134
compact-flash-failure enabled|disabled|on|off Optional. Sets whether the cache policy will change from write-back to write-through when CompactFlash memory is not detected during POST (Power-On Self-Test), fails during POST, or fails during controller operation. • disabled or off: The CompactFlash failure trigger is disabled. •...
Page 135
Optional. Sets whether the system will shut down a controller when its temperature exceeds the critical operating range. • disabled or off: The over-temperature trigger is disabled. This is the default. • enabled or on: The over-temperature trigger is enabled. HP P2000 G3 MSA System CLI Reference Guide 135...
Page 136
utility-priority low|medium|high Optional. Sets the priority at which data-redundancy utilities, such as vdisk verify and reconstruct, run with respect to I/O operations competing for the system's processors. (This does not affect vdisk background scrub, which always runs at “background” priority.) •...
Optional. Sets whether the system will shut down a controller when its temperature exceeds the critical operating range. • disabled or off: The over-temperature trigger is disabled. This is the default. • enabled or on: The over-temperature trigger is enabled. HP P2000 G3 MSA System CLI Reference Guide 137...
partner-notify enabled|disabled|on|off Optional. Sets whether to notify the partner controller that a trigger condition occurred. Enable this option to have the partner also change to write-through mode for better data protection. Disable this option to allow the partner to continue using its current caching mode for better performance. •...
Allows the controller to dynamically calculate the maximum read-ahead cache size for the volume. • 64 KB, 128 KB, 256 KB, 512 KB, 1 MB, 2 MB, 4 MB, 8 MB, 16 MB, or 32 MB: Sets a specific cache size. HP P2000 G3 MSA System CLI Reference Guide 139...
Page 140
volume Name or serial number of the volume to change. For volume syntax, see Command syntax page 22. Example Set the cache policy and cache optimization mode for volume V1: # set cache-parameters optimization standard read-ahead-size maximum V1 Success: Command completed successfully. - Cache parameters were changed. (2012-01-21 11:52:03) See also •...
ABCdef123456 Success: Command completed successfully. (iqn.1991-05.com.microsoft:myhost.domain) - The CHAP record was changed. (2012-01-21 11:54:33) See also • create chap-record • delete chap-records • show chap-records • show host-parameters • show iscsi-parameters HP P2000 G3 MSA System CLI Reference Guide 141...
set cli-parameters Description Sets options that control CLI behavior. If you are accessing the CLI through the network port, settings apply to the current CLI session only. If you are accessing the CLI through the enclosure’s CLI port, settings persist across sessions. The base, locale, precision, temperature scale, timeout, and units settings are read from the user’s account, and can be overridden by using this command.
Page 143
# set cli-parameters api-embed pager off brief on Set CLI to show output in console format: # set cli-parameters console Success: Command completed successfully. - The settings were changed successfully. (2012-01-21 11:56:17) See also • show cli-parameters HP P2000 G3 MSA System CLI Reference Guide 143...
set controller-date Description Sets the date and time parameters for the system. You can set the date and time manually or configure the system to communicate with a Network Time Protocol (NTP) server. Alternatively, you can configure NTP by using the set ntp-parameters command.
Page 145
Set the system to use NTP with an offset for the Bangalore, India, time zone: # set controller-date ntp enabled ntpaddress 69.10.36.3 timezone +5:30 Success: Command completed successfully. - Date/Time successfully set. (2011-11-02 23:00:02) See also • set ntp-parameters • show controller-date • show ntp-status HP P2000 G3 MSA System CLI Reference Guide 145...
set debug-log-parameters Description For use by or with direction from a service technician. Sets the types of debug messages to include in the Storage Controller debug log. Syntax set debug-log-parameters message-type+|- [...] Parameters message-type+|- One of the following message types, followed by a plus (+) to enable or a minus (-) to disable inclusion in the log: •...
Example Enable SMART and drive spin down, and set the spin-down delay to 10 minutes: # set disk-parameters smart on spin-down on spin-down-delay 10 Success: Command completed successfully. (2012-01-21 11:59:37) See also • show disk-parameters HP P2000 G3 MSA System CLI Reference Guide 147...
set email-parameters Description Sets SMTP notification parameters for events and managed logs. Syntax set email-parameters domain domain email-list email-addresses [include-logs enabled|disabled|on|off] notification-level crit|error|warn|info|none sender sender server server Parameters domain domain The domain name that is joined with an @ symbol to the sender name to form the “from” address for remote notification.
Page 149
Info: Set Email Notification Level to: warn (mydomain.com) Info: Set Email Sender Name to: RAIDsystem (RAIDsystem) Info: Set Email Include Logs: enabled (enabled) Success: Command completed successfully. (2012-01-21 15:07:46) See also • show email-parameters • test HP P2000 G3 MSA System CLI Reference Guide 149...
set enclosure Description Sets an enclosure’s name, location, rack number, and rack position. Set these parameters to values that help you identify and locate the enclosure. A value that contains a space must be enclosed in double quotes. These values are used when user interfaces show enclosure-related data; for example, in output of show enclosures command and in event-log entries related to enclosures.
# set expander-fault-isolation encl 1 controller a enabled Success: Command completed successfully. - Expander fault isolation was enabled. (2012-01-21 12:05:51) See also • set expander-phy • show enclosures • show expander-status HP P2000 G3 MSA System CLI Reference Guide 151...
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 drive|sc-0|sc-1|ingress|egress phy phy-ID enabled|disabled|on|off Parameters encl enclosure-ID The enclosure ID of the enclosure containing the PHY. controller a|b|both The I/O module containing the PHY to enable or disable: A, B, or both.
Page 153
See also • set expander-fault-isolation • show enclosures • show expander-status HP P2000 G3 MSA System CLI Reference Guide 153...
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. new-nickname Optional. Changes the host’s nickname to the specified name. The name is case sensitive; cannot include a comma, double quote, left angle bracket, or backslash;...
0–125: Specify a hard target address if you do not want the loop ID to change after a LIP or power cycle. If the port cannot acquire the specified ID, it is assigned a soft target address. You must restart affected controllers to make loop ID changes take effect. HP P2000 G3 MSA System CLI Reference Guide 155...
Page 156
gateway address Optional. For iSCSI, the port gateway address. ip address Optional. For iSCSI, the port IP address. Ensure that each iSCSI host port in the storage system is assigned a different IP address. iscsi-ip-version ipv4|ipv6 Specifies whether to use IP version 4 (IPv4) or 6 (IPv6) for addressing controller iSCSI ports. •...
Page 157
Specify that iSCSI ports will use IPv6 addressing: # set host-parameters iscsi-ip-version ipv6 Success: Command completed successfully. - iSCSI parameter(s) were changed successfully. (2012-01-21 15:47:30) See also • restart • set iscsi-parameters • show host-parameters HP P2000 G3 MSA System CLI Reference Guide 157...
set iscsi-parameters Description For iSCSI, changes system-wide iSCSI parameters. Syntax set iscsi-parameters [chap enabled|disabled|on|off] [jumbo-frame enabled|disabled|on|off] [speed auto|1gbps] [isns enabled|disabled|on|off] [isns-ip iSNS-IP] [isns-alt-ip iSNS-IP] [iscsi-ip-version ipv4|ipv6] Parameters chap enabled|disabled|on|off Enables or disables use of Challenge Handshake Authentication Protocol. Disabled by default. jumbo-frame enabled|disabled|on|off Enables or disables support for jumbo frames.
Page 159
See also • set host-parameters • show iscsi-parameters HP P2000 G3 MSA System CLI Reference Guide 159...
set job-parameters Description Sets parameters for background vdisk scrub, partner firmware upgrade, and other jobs. Syntax set job-parameters [background-scrub enabled|disabled|on|off] [partner-firmware-upgrade enabled|disabled|on|off] [utility-priority low|medium|high] Parameters background-scrub enabled|disabled|on|off Optional. Sets whether disks in vdisks are automatically checked for disk defects to ensure system health.
Success: Command completed successfully. - Enabling identification LED for disk 1.5... (2012-01-21 12:23:18) Stop identifying the first enclosure: # set led enclosure 1 off Success: Disabling identification LED for enclosure 1... (2012-01-21 12:24:03) HP P2000 G3 MSA System CLI Reference Guide 161...
set network-parameters Description Sets parameters for controller module network ports. You can manually set static IP values for each controller, or you can specify that IP values should be set automatically for both controllers through communication with a Dynamic Host Configuration Protocol (DHCP) server.
Page 163
Manually set network port IP values for controller A (disabling 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: Command completed successfully. - Request to set network parameters has been initiated. (2012-01-21 12:26:50) HP P2000 G3 MSA System CLI Reference Guide 163...
Page 164
For the controller you are accessing, set the network port to auto-negotiate with a maximum link speed of 100 Mb/s: # set network-parameters auto-negotiation on link-speed 100mbps WARNING: You are attempting to change the Ethernet settings for this Management Controller, which will affect the link speed and duplex mode settings. Are you sure? yes Success: Command completed successfully.
Set the system to use NTP with an offset for the Bangalore, India, time zone: # set ntp-parameters ntp enabled ntpaddress 69.10.36.3 timezone +5:30 Success: Command completed successfully. - Date/Time successfully set. (2011-10-11 14:52:29) See also • set controller-date • show controller-date • show ntp-status HP P2000 G3 MSA System CLI Reference Guide 165...
set password Description Sets a user’s password for system interfaces (such as the CLI). A password can be entered as part of the command, or the command prompts you to enter and re-enter the new password. Syntax set password [password password] [user] Parameters password password Optional.
Example Set attribute priorities for snap pool SP1, raising the priority for standard snapshots and leaving other priorities unchanged: # set priorities only-sync-point 65535 SP1 Success: Command completed successfully. - The priorities were successfully set. (2012-01-21 12:28:24) See also • show priorities • show snap-pools HP P2000 G3 MSA System CLI Reference Guide 167...
set prompt Description Sets the prompt for the current CLI session. Syntax set prompt prompt Parameters prompt The new prompt, which can include any printable UTF-8 characters except left angle bracket, backslash, and double quote, and can have a maximum of 16 bytes. A prompt that includes a space must be enclosed in double quotes.
Optional. Enables or disables debug capabilities, including Telnet debug ports and privileged diagnostic user IDs. This is disabled by default. Enabling the service debug protocol allows remote connection, through incoming ports only, by HP or HP's authorized representatives for troubleshooting. Disabling the service debug protocol removes this access.
set remote-system Description Changes remote-system credentials stored on the local system. Do this when the user name or password to access a remote system has been changed on that system Syntax set remote-system [password password] [username username] system Parameters password password Optional.
Name Status ... Location Primary-Volume ... Primary-Volume-Status ----------------------------------------------------------------------- Data Online ... Local Data ... Online rData ... Online ... Remote Data ... Online On System1, unmap the primary volume from hosts. HP P2000 G3 MSA System CLI Reference Guide 171...
Page 172
On System2, set secondary volume rData to be the primary volume: # set replication-primary-volume volume rData primary-volume rData Info: Started setting the primary volume of the replication set. (RS) Info: Setting the primary volume of the replication set. This may take a couple of minutes...
Page 173
See also • show replication-sets • show replication-volumes • show snapshots • unmap volume HP P2000 G3 MSA System CLI Reference Guide 173...
set replication-volume-parameters Description Sets parameters for a specified replication volume. This command must be run separately on each system where the volume resides; changes to these parameters are not automatically synchronized across systems. Syntax set replication-volume-parameters [link-type FC|iSCSI] [max-queue #] [max-retry-time #] [monitor-interval #] [on-collision newest|oldest]...
Page 175
Example Set a new remote address and error policy for replication volume MV2 in replication set RS1: # set replication-volume-parameters remote-address ip=10.1.66.55 on-error suspend set RS1 MV2 Success: Command completed successfully. (2012-01-21 16:10:04) See also • show replication-sets • show replication-volumes HP P2000 G3 MSA System CLI Reference Guide 175...
set schedule Description Changes parameters for a specified schedule. If you want to change the schedule name, create a new schedule to replace the existing one. When scheduling ReplicateVolume tasks, a best practice is to schedule no more than three volumes to start replicating at the same time, and for those replications to recur no less than 60 minutes apart.
If no unit is specified, the unit is 512-byte blocks. snap-pool Name or serial number of the snap pool to set the policy for. For volume syntax, see Command syntax on page 22. HP P2000 G3 MSA System CLI Reference Guide 177...
Page 178
Example Set snap pool SP1 to automatically expand by 10 GB when its error threshold is reached: # set snap-pool-policy error autoexpand autoexpansionsize 10GB SP1 Success: Command completed successfully. (2012-01-21 12:32:28) See also • set priorities • set snap-pool-threshold • show snap-pools 178 Alphabetical list of commands...
Example Set the warning and error thresholds for snap pool SP1: # set snap-pool-threshold warning 60% error 85% SP1 Success: Command completed successfully. (2012-01-21 12:33:46) See also • set snap-pool-policy • show snap-pools HP P2000 G3 MSA System CLI Reference Guide 179...
set snmp-parameters Description Sets SNMP parameters for event notification. To enable or disable SNMP requests to the MIB use the set protocols command. Syntax set snmp-parameters [enable crit|error|warn|info|none] [add-trap-host address] [del-trap-host address] [trap-host-list trap-host-list] [read-community string] [write-community string] Parameters enable crit|error|warn|info|none Optional.
Example Set the system name to Test and the contact to J. Doe: # set system name Test contact "J. Doe" Success: Command completed successfully. (2012-01-21 14:42:12) See also • show system HP P2000 G3 MSA System CLI Reference Guide 183...
set task Description Changes parameters for a TakeSnapshot, ReplicateVolume, or VolumeCopy task. For these types of tasks, you can change parameters other than name, type, or associated volumes. If you change the parameters for a running task, the changes will take effect the next time the task runs.
Page 185
Success: Command completed successfully. (Replicate) - The task was modified.(2012-01-21 12:37:57) • create task See also • delete task • set schedule • show schedule-details • show schedules • show task-details • show tasks HP P2000 G3 MSA System CLI Reference Guide 185...
set user Description Changes user preferences for the session or permanently. The system requires at least one CLI user with the manage role to exist. NOTE: User changes take effect when the user next logs in. Syntax set user [authentication-type MD5|SHA|none] [base 2|10] [interfaces interfaces] [level monitor|manage]...
Page 187
Optional. Specifies that the current CLI settings will become permanent settings for the user. This parameter cannot be combined with any other parameter. storage-size-base 2|10 Optional. Alias for base. storage-size-precision # Optional. Alias for precision. storage-size-units auto|MB|GB|TB Optional. Alias for units. HP P2000 G3 MSA System CLI Reference Guide 187...
Page 188
temperature-scale celsius|c|fahrenheit|f Optional. Sets the scale for display of temperature values: • fahrenheit or f: Temperatures are shown in degrees Fahrenheit. • celsius or c: Temperatures are shown in degrees Celsius. This is the default. timeout # Optional. Sets the timeout value in seconds for the login session. Valid values are 120–43200 seconds (2–720 minutes).
Example Rename vdisk VD1, change its owner to controller A, and set its spin-down delay to 10 minutes: # set vdisk name VD2 owner a spin-down-delay 10 VD1 Success: Command completed successfully. (2012-01-21 12:29:15) See also • show vdisks HP P2000 G3 MSA System CLI Reference Guide 189...
set volume Description Changes a volume’s name and OpenVMS UID or identifying information. Syntax set volume [access read-write|rw|read-only|ro] [identifying-information description] [name new-name] [ovms-uid ID] volume Parameters access read-write|rw|read-only|ro Deprecated; to change mapping settings, use the map volume on page 102. identifying-information description Optional.
Shows whether hosts are allowed to use the SCSI MODE SELECT command to change the storage system's write-back cache setting. • Disabled: Host control of caching is disabled. This is the default. • Enabled: Host control of caching is enabled. HP P2000 G3 MSA System CLI Reference Guide 191...
Page 192
Sync Cache Mode Shows how the SCSI SYNCHRONIZE CACHE command is handled: • Immediate: Good status is returned immediately and cache content is unchanged. • Flush To Disk: Good status is returned only after all write-back data for the specified volume is flushed to disk.
Page 193
• Disabled: The managed logs feature is disabled. This is the default. • Enabled: The managed logs feature is enabled. HP P2000 G3 MSA System CLI Reference Guide 193...
Page 194
Example Show advanced system-configuration settings: # show advanced-settings Vdisk Background Scrub: Enabled Vdisk Background Scrub Interval: 24 Partner Firmware Upgrade: Disabled Utility Priority: High SMART: Enabled Dynamic Spare Configuration: Disabled Enclosure Polling Rate: 5 Host Control of Caching: Enabled Sync Cache Mode: Immediate Independent Cache Performance Mode: Disabled Missing LUN Response: Not Ready Controller Failure: Disabled...
Shows whether the cache mode will change from write-through to write-back when the trigger condition is cleared. • Disabled: Auto-write-back is disabled. • Enabled: Auto-write-back is enabled. This is the default. HP P2000 G3 MSA System CLI Reference Guide 195...
Example Show the system’s auto-write-through trigger settings: # show auto-write-through-trigger Auto Write-Through Triggers --------------------------- 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 Success: Command completed successfully.
CompactFlash card. Cache flush is normally enabled, but is temporarily disabled during controller shut down. • Disabled: Cache flush is disabled. Volume cache parameters: Serial Number If a volume is specified, its serial number. Name If a volume is specified, its name. HP P2000 G3 MSA System CLI Reference Guide 197...
Page 198
Cache Write Policy If a volume is specified, its cache write policy: • write-back: Write-back caching does not wait for data to be completely written to disk before signaling the host that the write is complete. This is the default and preferred setting for a fault-tolerant environment because it improves the performance of write operations and throughput.
Page 199
See also • set cache-parameters • show volumes HP P2000 G3 MSA System CLI Reference Guide 199...
show certificate Description Shows the status of the system’s security certificate. Syntax show certificate Output Certificate Status • Default: No customer-supplied or alternate certificate has been installed. • Customer-supplied: A custom or alternate certificate has been installed. Time Created Date and time in the format year-month-day hour:minutes:seconds when the custom certificate was created.
Mutual CHAP Name: iqn.1995-03.com.acme:01.storage.00c0ffd6000a Mutual CHAP Secret: ABCdef123456 Success: Command completed successfully. (2012-01-18 14:31:50) Basetypes • chap-records • status See also • create chap-record • delete chap-records • set chap-record • show host-parameters HP P2000 G3 MSA System CLI Reference Guide 201...
show cli-parameters Description Shows the current CLI session preferences. Syntax show cli-parameters Output Timeout Time in seconds that the session can be idle before it automatically ends. Valid values are 120–43200 seconds (2–720 minutes). The default is 1800 seconds (30 minutes). Output Format •...
Page 203
Brief Mode: Disabled Base: 10 Pager: Enabled Locale: English Precision: 1 Units: Auto Temperature Scale: Celsius Success: Command completed successfully. (2012-01-18 14:32:33) Basetypes • cli-parameters • status See also • set cli-parameters HP P2000 G3 MSA System CLI Reference Guide 203...
show configuration Description Shows system configuration information. Syntax show configuration Output • System information from show system • Controller information from show controllers • Controller firmware and hardware version information from versions with the details option • Host and expansion port information from show ports •...
Example Show the date and time on a system that is using NTP: # show controller-date Controller Date: 2012-01-18 14:57:04 Time-Zone Offset: -6:00 Success: Command completed successfully. (2012-01-18 14:57:04) Basetypes • time-settings-table • status See also • set controller-date • show ntp-status HP P2000 G3 MSA System CLI Reference Guide 205...
show controllers Description Shows information about each controller module in the storage system. Syntax show controllers Output Controller ID • A: Controller A. • B: Controller B. Serial Number • Serial number of the controller module. • Not Available: The controller module is down or not installed. Hardware Version Controller module hardware version.
Page 207
Operational but not redundant: In active-active mode, one controller is operational and the other is offline. In single-controller mode, the controller is operational. • Down: This controller is not operational. • Unknown: Status information is not available. HP P2000 G3 MSA System CLI Reference Guide 207...
Page 208
Example Show controller information: # show controllers Controllers ----------- Controller ID: A Serial Number: SN Hardware Version: 25 CPLD Version: 8 MAC Address: 00:C0:FF:27:50:24 WWNN: WWNN IP Address: 10.134.11.100 IP Subnet Mask: 255.255.0.0 IP Gateway: 10.134.0.1 Disks: 17 Vdisks: 2 Cache Memory Size (MB): 1024 Host Ports: 4 Disk Channels: 2...
Data Written Reset Time Total Power On Hours -------------------------------------------------------------------- controller_A 437034 5596.6KB 235196190 331183103 6922.3GB 7999.1GB 2012-01-18 10:14:50 127449.88 ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-09-19 11:34:41) Basetypes • controller-statistics • status HP P2000 G3 MSA System CLI Reference Guide 209...
Page 210
See also • reset all-statistics • reset controller-statistics • show disk-statistics • show host-port-statistics • show vdisk-statistics • show volume-statistics 210 Alphabetical list of commands...
Example Show debug log parameters: # show debug-log-parameters Debug Log Parameters -------------------- host: On disk: On mem: Off Success: Command completed successfully. (2012-01-18 14:59:52) Basetypes • debug-log-parameters • status See also • set debug-log-parameters HP P2000 G3 MSA System CLI Reference Guide 211...
show disk-parameters Description Shows disk settings. Syntax show disk-parameters Output SMART Shows whether SMART (Self-Monitoring Analysis and Reporting Technology) is enabled or disabled for disks. • Detect-Only: Each disk in the system retains its individual SMART setting, as will new disks added to the system.
Output Without the encl option: Location Disk’s enclosure ID and slot number. Serial Number Disk serial number. Vendor Disk vendor. Firmware revision number. HP P2000 G3 MSA System CLI Reference Guide 213...
Page 214
How Used • AVAIL: Available. • FAILED: The disk is unusable and must be replaced. Reasons for this status include: excessive media errors; SMART error; disk hardware failure; unsupported disk. • GLOBAL SP: Global spare. • LEFTOVR: Leftover. • VDISK: Used in a vdisk. •...
Page 215
Enclosure number where the disk is located. Slot Slot number in the enclosure where the disk is located. Vendor Disk vendor. Model Disk model number. Serial Number Disk serial number. Size Disk size. HP P2000 G3 MSA System CLI Reference Guide 215...
Page 216
Example Show information for all installed disks: # show disks Location Serial Number Vendor How Used Type Size Rate*(Gb/s) Health Health Reason Health Recommendation ----------------------------------------------------------------------------- vendor VDISK 146.8GB vendor AVAIL 146.8GB The disk has been spun down by the drive-spin-down feature. - No action is required.
Page 217
Basetypes • drives • enclosure-list • status See also • show vdisks HP P2000 G3 MSA System CLI Reference Guide 217...
show disk-statistics Description Shows live or historical performance statistics for disks. You can view live statistics for all or specified disks, or historical statistics for a specified disk. The system samples disk-performance statistics every quarter hour and retains performance data for 30 days only. The historical option allows you to specify a time range or a number (count) of data samples to include.
Page 219
Shown by the all parameter. Data transfer rate, in bytes per second, for read operations since the last sampling time. Write Bps Shown by the all parameter. Data transfer rate, in bytes per second, for write operations since the last sampling time. HP P2000 G3 MSA System CLI Reference Guide 219...
Page 220
Queue Depth Shown by the all parameter. Average number of pending read and write operations being serviced since the last sampling time. This value represents periods of activity only and excludes periods of inactivity. I/O Resp Time Average response time, in microseconds, for read and write operations since the last sampling time. Read Resp Time Shown by the all parameter.
Page 221
• drive-summary (historical) • status See also • reset all-statistics • reset disk-error-statistics • reset disk-statistics • show controller-statistics • show disks • show host-port-statistics • show vdisk-statistics • show volume-statistics HP P2000 G3 MSA System CLI Reference Guide 221...
show email-parameters Description Shows email (SMTP) notification parameters for events and managed logs. Syntax show email-parameters Output Email Notification • Disabled: Email notification is disabled. This is the default. • Enabled: Email notification is enabled. Email Notify Filter Shows the minimum severity for which the system should send event notifications: •...
Page 223
Basetypes • email-parameters • status See also • set email-parameters HP P2000 G3 MSA System CLI Reference Guide 223...
show enclosures Description Shows information about the enclosures in the storage system. Full detail available in XML API output only. Syntax show enclosures Output Encl Enclosure ID. Encl WWN Enclosure WWN. Name Enclosure name. Location Enclosure location; blank if not set. Rack Number of the rack containing the enclosure.
Page 225
Health Recommendation ----------------------------------------------------------------------------- Controller vendor model 01:031 1115 00:031 1115 2U24-3G ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-01-18 15:01:05) Basetypes • enclosures • status See also • set enclosure • show sensor-status HP P2000 G3 MSA System CLI Reference Guide 225...
show enclosure-status Description Deprecated; use show enclosures, show frus, or show sensor-status. Shows the status of system enclosures and their components. For each attached enclosure, the command shows general SCSI Enclosure Services (SES) information followed by component-specific information. Syntax show enclosure-status Output General SES fields: Chassis Chassis serial number.
Page 227
FRU S/N Add'l Data ----------------------------------------------------- Temp temp=37 C Voltage voltage=11.86 Disk addr=0 ----------------------------------------------------- Success: Command completed successfully. (2012-01-18 15:01:36) Basetypes • ses • enclosure-components • status See also • show enclosures HP P2000 G3 MSA System CLI Reference Guide 227...
The topic about verifying component failure in the component’s replacement instructions document These and other HP documents can be found on the Software Support/Documentation CD shipped with your product or at http://www.hp.com/go/p2000/manuals. For links to additional information about your product, see http://www.hp.com/go/p2000...
Page 229
Show a range of events logged by controller A: # show events from-event a100 to-event a123 Show detailed output for a specific event: # show events from-event A2264 to-event A2264 detail Basetypes • events • status HP P2000 G3 MSA System CLI Reference Guide 229...
Page 230
See also • clear events • set snmp-parameters • show snmp-parameters 230 Alphabetical list of commands...
PHYs than the reporting I/O module, in which case all additional PHYs are reported as unknown. • Element is installed with no known errors, but the element has not been turned on or set into operation. HP P2000 G3 MSA System CLI Reference Guide 231...
Page 232
Disabled • Enabled: PHY is enabled. • Disabled: PHY is disabled. Reason • Blank if Elem Status is OK. • Error count interrupts: PHY disabled because of error-count interrupts. • Phy control: PHY disabled by a SES control page as a result of action by a Storage Controller or user.
Page 233
Basetypes • sas-status-controller-a • status See also • clear expander-status • set expander-fault-isolation • set expander-phy HP P2000 G3 MSA System CLI Reference Guide 233...
show fans Description Shows information about each fan in the storage system. Syntax show fans Output Name Fan name in the form Fan loc:position-PSU power-supply-ID for a controller enclosure or P2000 drive enclosure; Fan fan-unit-ID for a D2700 or MSA70 enclosure. The position is as viewed from the back of the enclosure.
Page 235
Enclosure 0 - Left 4959 Left Fan Loc:right-PSU 1 Enclosure 0 - Right 4959 Right ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-01-18 13:28:22) Basetypes • fan • status See also • show power-supplies HP P2000 G3 MSA System CLI Reference Guide 235...
show frus Description Shows SKU and FRU (field-replaceable unit) information for the storage system. Some information is for use by service technicians. Syntax show frus Output SKU fields: Part Number System part number. Serial Number System serial number (also shown by Configuration SN, below). Revision System revision level.
Page 237
For a power supply module, the original manufacturer part number; otherwise, N/A. Original Rev For a power supply module, the original manufacturer hardware revision; otherwise, N/A. Basetypes • enclosure-sku • enclosure-fru • status HP P2000 G3 MSA System CLI Reference Guide 237...
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. Name Name of the volume seen by the host.
Page 239
Serial Number Access Ports ----------------------------------------------------------------- vd2_v2 SN read-write A1,A2,B1,B2 vd2_v0 SN read-write A1,B1 vd2_v1 SN no-access Host View [ID (1A2B3C4D5E6F8900) Name (Host2) Profile (HP-UX) ] Mapping: Name Serial Number Access Ports ----------------------------------------------------------------------- vd2_v2 SN read-write A1,A2,B1,B2 vd2_v0 SN read-only A1,B1...
show host-parameters Description Shows information about host ports on both controllers. This command shows the same information as the show ports command. Syntax show host-parameters Output Ports Controller ID and port number. Media • FC(L): Fibre Channel-Arbitrated Loop (public or private). •...
Page 241
------------ Loop FC(-) WWPN Disconnected Auto There is no host connection to this host port. - No action is required. Topo(C) PID ------------ Loop ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-01-18 15:03:24) HP P2000 G3 MSA System CLI Reference Guide 241...
Show port information for a system with two iSCSI ports: # show host-parameters Ports Media Target ID Status Speed(A) Speed(C) Health Health Reason Health Recommendation ----------------------------------------------------------------------------- iSCSI Auto IP-Ver PIP PIP-Gateway PIP-Netmask MAC -------------------------------------------------------------- IPv4 10.134.9.100 10.134.0.1 255.255.0.0 00:C0:FF:29:00:24 iSCSI Disconnected Auto There is no host connection to this host port.
Reset Time Date and time, in the format year-month-day hour:minutes:seconds, when these statistics were last reset, either by a user or by a controller restart. HP P2000 G3 MSA System CLI Reference Guide 243...
Page 244
Example Show host-port statistics: # show host-port-statistics Durable ID Bytes per second IOPS Number of Reads Number of Writes Data Read Data Written Queue Depth I/O Resp Time Read Resp Time Write Resp Time Reset Time ----------------------------------------------------------------------------- hostport_A1 72.0MB 45372779 5020328 5947.1GB 657.8GB...
• 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. Host Type • If the host was discovered and its entry was automatically created, its host-interface type: FC;...
Network port IP address. Example Show inquiry data for a system in which controller B is not installed: # show inquiry Product Information ------------------- Vendor Name: HP StorageWorks Product ID: model SCSI Vendor ID: vendor Inquiry Controller A -------------------- Management Controller Code Version: L240R001 Management Controller Loader Code Version: 2.5...
Disabled iSNS IP: 0.0.0.0 iSNS Alt IP: 0.0.0.0 iSCSI Speed: auto iSCSI IP Version: 4 Success: Command completed successfully. (2012-01-18 15:05:53) Basetypes • iscsi-parameters • status See also • set iscsi-parameters HP P2000 G3 MSA System CLI Reference Guide 247...
show job-parameters Description Shows parameters for background vdisk scrub, partner firmware upgrade, and other jobs. Syntax show job-parameters Output Vdisk Background Scrub Shows whether disks in vdisks are automatically checked for disk defects to ensure system health. The interval between background vdisk scrub finishing and starting again is 24 hours. •...
Shows whether the VSS (Volume Shadow Copy Service) Hardware Provider is enabled or disabled. VSS Expires • Never. Always enabled and doesn’t expire. Shows whether Storage Replication Adapter (SRA) support is enabled or disabled. SRA Expires • Never. Always enabled and doesn’t expire. HP P2000 G3 MSA System CLI Reference Guide 249...
Page 250
Example Show information about the installed license: # show license License Key: 0004b56810eb357d0f75d65c13c6e846 Maximum Licensable Snapshots: value Base Maximum Snapshots: value Licensed Snapshots: value In-Use Snapshots: value Snapshots Expire: 2 days remaining Volume Copy: Enabled Volume Copy Expires: Never Replication: Enabled Replication Expires: 2 days remaining VDS: Enabled VDS Expires: Never...
Amount of snap-pool space occupied by this master volume for its associated snapshots (preserved and write data). Rollback Either the percent complete if rollback is in progress, or --- if rollback is not in progress. HP P2000 G3 MSA System CLI Reference Guide 251...
Page 252
Example Show information about all master volumes: # show master-volumes Vdisk Serial Number Name Size Status Status-Reason Snap-pool Name Snapshots Snap Data Rollback ----------------------------------------------------------------------------- 14.9GB Available 1090.5MB 9999.9MB Unavailable SP Not Accessible ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-01-18 15:08:06) Basetypes •...
If Health is not OK, this field shows the reason for the health state. Health Recommendation If Health is not OK, this field shows recommended actions to take to resolve the health issue. HP P2000 G3 MSA System CLI Reference Guide 253...
Page 254
Example Show network parameters for a storage system using DHCP: # show network-parameters Network Parameters Controller A ------------------------------- IP Address: 10.134.129.188 Gateway: 10.134.0.1 Subnet Mask: 255.255.0.0 MAC Address: value Addressing Mode: DHCP Link Speed: Unknown Duplex Mode: Undefined Auto Negotiation: Disabled Health: OK Health Reason: Health Recommendation:...
Page 255
IP Address: 172.22.1.201 Gateway: 172.22.1.1 Subnet Mask: 255.255.255.0 MAC Address: value Addressing Mode: Manual Link Speed: Unknown Duplex Mode: Undefined Auto Negotiation: Disabled Basetypes • network-parameters • status See also • set network-parameters HP P2000 G3 MSA System CLI Reference Guide 255...
show ntp-status Description Shows the status of the use of Network Time Protocol (NTP) in the system. Syntax show ntp-status Output NTP Status • activated: NTP is enabled. • deactivated: NTP is disabled. NTP Server Address NTP server IP address, or 0.0.0.0 if not set. Last Server Contact Date and time in the format year-month-day hour:minutes:seconds of the last message received from the NTP server;...
SAS only. Number of PHY lanes in the SAS port. FC only. Primary loop ID, or blank if not applicable. IP-Ver iSCSI only. IP version: IPv4 or IPv6. iSCSI only. Primary IP address. PIP-Gateway iSCSI only. Primary gateway IP address. HP P2000 G3 MSA System CLI Reference Guide 257...
Page 258
PIP-Netmask iSCSI only. Primary subnet mask IP address. iSCSI only. Unique Media Access Control (MAC) hardware address, also called the physical address. iSCSI only. Secondary IP address. This field is only displayed during failover. SIP-Gateway iSCSI only. Secondary gateway IP address. This field is only displayed during failover. SIP-Netmask iSCSI only.
Page 259
There is no host connection to this host port. - No action is required. Topo(C) Width -------------- Direct ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-01-18 15:04:10) Basetypes • port • status See also • set host-parameters HP P2000 G3 MSA System CLI Reference Guide 259...
show power-supplies Description Shows information about each power supply in the storage system. Syntax show power-supplies Output Encl Enclosure ID. Serial Number Power supply serial number. Name • Power supply identifier and location. • Voltage Regulator (D2700 only). Health • •...
Only Sync Point Snapshot 0xe000 (default) Queued Snapshot 0x2000 (default) DRM Snapshot 0xb000 (default) ----------------------------------------------- Success: Command completed successfully. (2012-01-18 15:11:03) Basetypes • attribute-priorities • status See also • set priorities • show snap-pools HP P2000 G3 MSA System CLI Reference Guide 261...
Description Shows which management services and protocols are enabled or disabled. When the service debug protocol is enabled, remote connection is allowed, through incoming ports only, by HP or HP’s authorized representatives for troubleshooting. Disabling the service debug protocol removes this access.
Controller Redundancy Mode: Active-Active ULP Controller Redundancy Status: Redundant Controller A Status: Operational Controller A Serial Number: SN Controller B Status: Operational Controller B Serial Number: SN Success: Command completed successfully. (2012-01-18 11:02:36) HP P2000 G3 MSA System CLI Reference Guide 263...
Page 264
From either controller, show the redundancy status of a dual-controller system where controller B is down: # show redundancy-mode System Redundancy ----------------- Controller Redundancy Mode: Fail Over Controller Redundancy Status: Operational but not redundant Controller A Status: Operational Controller A Serial Number: SN Controller B Status: Down Controller B Serial Number: SN Success: Command completed successfully.
If the value has changed since the last time you called this command then the data has changed. Syntax show refresh-counters Basetypes • refresh-counters • status See also • set cli-parameters HP P2000 G3 MSA System CLI Reference Guide 265...
show remote-systems Description Shows information about remote systems associated with the local system. Syntax show remote-systems [system] Parameters system Optional. Name or network-port IP address of a specific remote system. Example Show information about remote system System2: # show remote-systems System2 Remote System ------------- System Name: System2...
Create-Snapshot: The image is fully replicated but a snapshot of the image is being created. • Offline: The image has been replicated but is unusable due to an error. Progress Percentage complete if the image is being replicated. Applies only to secondary volumes. HP P2000 G3 MSA System CLI Reference Guide 267...
Page 268
Start Date/Time Date and time when replication started on the replication volume. Last Update Date and time when the image was last updated (either due to an ongoing replication operation or the replication being completed). Suspended Date and time when the image was suspended or resumed. Est Complete Estimated time when replication is expected to complete.
Page 269
Basetypes • replication-volume-summary • status See also • show replication-sets • show replication-volumes HP P2000 G3 MSA System CLI Reference Guide 269...
show replication-sets Description Shows information about replication sets on the local system. You can view information about all replication sets or a specific replication set. Syntax show replication-sets [replication-set] Parameters replication-set Optional. Name or serial number of a replication set or volume for which to display replication-set-level information.
Page 271
On Collision Monitor Interval Priority Connection Status Connection Time ----------------------------------------------------------------------------- vd01_v001 Online Remote vd01_v001 Online 1800 Retry iSCSI Oldest Medium Online 2012-01-18 10:04:00 Connected Ports Remote Address -------------------------------------------------------------- IP=10.134.9.46:3260 IP=10.134.9.47:3260 IP=10.134.9.48:3260 IP=10.134.9.49:3260 HP P2000 G3 MSA System CLI Reference Guide 271...
Page 272
rvd01_v001 SN Online Local vd01_v001 Online 1800 Retry iSCSI Oldest Medium Not Attempted Connected Ports Remote Address -------------------------------------------------------------- IP=10.134.9.40:3260 IP=10.134.9.41:3260 IP=10.134.9.42:3260 IP=10.134.9.43:3260 Replication Set [Name (rsData) Serial Number (SN) ] Primary Volume: Name Serial Number Status Status-Reason Monitor Location Primary-Volume Primary-Volume-Serial Primary-Volume-Status MaxQueue...
Primary volume name. If the replication set has a primary-volume conflict, all associated primary volumes are displayed. Primary-Volume-Serial Primary volume serial number. If the replication set has a primary-volume conflict, all associated primary volumes are displayed. HP P2000 G3 MSA System CLI Reference Guide 273...
Page 274
Primary-Volume-Status Primary volume status: Online, Offline, Conflict, or N/A. MaxQueue Maximum number of replication images to consider when determining the next image to replicate. Used only if the On Collision parameter is set to Oldest. The default is 32. MaxRetryTime Maximum amount of time in seconds that the replication volume should retry a replication operation on any specific image when errors occur.
Page 275
Medium Not Attempted Connected Ports Remote Address -------------------------------------------------------------- IP=10.134.9.40:3260 IP=10.134.9.41:3260 IP=10.134.9.42:3260 IP=10.134.9.43:3260 Success: Command completed successfully. (2012-01-18 15:16:46) Basetypes • replication-volume • status See also • set replication-volume-parameters • show replication-sets HP P2000 G3 MSA System CLI Reference Guide 275...
show sas-link-health Description Shows the condition of SAS expansion-port connections. Syntax show sas-link-health Output Encl Enclosure ID. Ctlr ID of the controller module or expansion module. Name • Out Port: Egress (expansion) port on controller module or an expansion module. Can be connected to an ingress port on an expansion module.
Page 277
(or only) enclosure in the cabling sequence of the system. - No action is required. In Port ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-01-19 10:10:13) Basetypes • expander-ports • status HP P2000 G3 MSA System CLI Reference Guide 277...
show schedule-details Description Shows information about a specified task schedule. Syntax show schedule-details schedule Parameters schedule Schedule name. Example Show information about task schedule SnapSched: # show schedule-details SnapSched Schedule Details ---------------- Schedule Name: SnapSched Schedule Specification: Start 2011-10-19 23:47:00, Every 3 Minutes Status: Ready Next Time: 2011-10-23 12:59:00 Task To Run: Snap...
48 C On-Board Temperature 3-Ctlr B 46 C Disk Controller Temp-Ctlr A 27 C Disk Controller Temp-Ctlr B 26 C Memory Controller Temp-Ctlr A 67 C Memory Controller Temp-Ctlr B 58 C HP P2000 G3 MSA System CLI Reference Guide 281...
Page 282
Capacitor Pack Voltage-Ctlr A 8.22 Capacitor Pack Voltage-Ctlr B 8.26 Capacitor Cell 1 Voltage-Ctlr A 2.04 Capacitor Cell 1 Voltage-Ctlr B 2.06 Capacitor Cell 2 Voltage-Ctlr A 2.04 Capacitor Cell 2 Voltage-Ctlr B 2.06 Capacitor Cell 3 Voltage-Ctlr A 2.08 Capacitor Cell 3 Voltage-Ctlr B 2.06 Capacitor Cell 4 Voltage-Ctlr A...
Example Show the shutdown status of each controller: # show shutdown-status Storage Controller A up Storage Controller B down Success: Command completed successfully. (2011-10-10 15:26:37) Basetypes • shutdown-status • status See also • restart • shutdown HP P2000 G3 MSA System CLI Reference Guide 283...
show snap-pools Description Shows information about snap pools owned by a specified controller or both controllers. Syntax show snap-pools [controller a|b|both] Parameters controller a|b|both Optional. Shows snap pools owned by controller A only, by controller B only, or by either controller (both).
Page 285
Delete Snapshots ------------------------------------------------------------------------- Success: Command completed successfully. (2011-10-10 15:27:07) Basetypes • snap-pools • status See also • create snap-pool • delete snap-pool • expand snap-pool • set snap-pool-policy • set snap-pool-threshold HP P2000 G3 MSA System CLI Reference Guide 285...
show snapshots Description Shows information about snapshots for a specified controller, master volume, or snap pool. If no parameters are specified, information about all snapshots is shown. Syntax show snapshots [controller a|b|both] [master-volume volume] [snap-pool volume] [type standard|replication|all] Parameters controller a|b|both Optional.
SNMP Trap Host IP3: 0.0.0.0 SNMP read community: public SNMP write community: private Success: Command completed successfully. (2012-01-19 15:27:59) Basetypes • snmp-parameters • status See also • set snmp-parameters • set protocols • show protocols HP P2000 G3 MSA System CLI Reference Guide 289...
show system Description Shows information about the system. If the system’s health is not OK, each unhealthy component is listed with information to help you resolve the health problem. Syntax show system Output System Name Storage system name. The default is Uninitialized Name. System Contact The name of person who administers the system.
Page 291
- Configure the new disk as a spare so the system can start reconstructing the vdisk. - To prevent this problem in the future, configure one or more additional disks as spare disks. Success: Command completed successfully. (2012-01-19 10:37:52) HP P2000 G3 MSA System CLI Reference Guide 291...
Page 292
Basetypes • system • unhealthy-component • status See also • set system 292 Alphabetical list of commands...
Maximum Volumes: value Maximum Vdisks: value Maximum LUNs: value Maximum Vdisks Per Controller: value Local Controller: A Serial Number: SN Success: Command completed successfully. (2012-01-19 15:28:32) Basetypes • system-parameters-table • status HP P2000 G3 MSA System CLI Reference Guide 293...
Page 294
See also • set volume • set vdisk 294 Alphabetical list of commands...
Number of snapshots to retain with this prefix. When a new snapshot exceeds this limit, the oldest snapshot with the same prefix is deleted. Last Created Name of the last snapshot created by the task, or blank. Snapshot Name Name of each snapshot taken, or blank. HP P2000 G3 MSA System CLI Reference Guide 295...
Page 296
Snapshot Serial Serial number of each snapshot taken, or blank. For a ResetSnapshot task: Task Name Task name. Task Type ResetSnapshot. Status • Uninitialized: Task is not yet ready to run. • Ready: Task is ready to run. • Active: Task is running. •...
Page 297
Uninitialized: Task is not yet ready to run. • Ready: Task is ready to run. • Active: Task is running. • Error: Task has an error. • Invalid: Task is invalid. HP P2000 G3 MSA System CLI Reference Guide 297...
Page 298
Task State Current step of the task: • Start • VerifyVolume • CreateName • RepVolume • VerifySnap Error Message Message if an error occurred while processing the task, or blank. Primary Volume Name Name of the volume to replicate. Primary Volume Serial Number Serial number of the volume to replicate.
Page 299
Success: Command completed successfully. (2012-10-19 15:28:33) Basetypes • tasks • status See also • create schedule • create task • delete task • set task • show schedule-details • show schedules • show tasks HP P2000 G3 MSA System CLI Reference Guide 299...
show tasks Description Shows information about all tasks. Syntax show tasks Output For a TakeSnapshot task: Task Name Task name. Task Type TakeSnapshot Status • Uninitialized: Task is not yet ready to run. • Ready: Task is ready to run. •...
Page 301
Error: Task has an error. • Invalid: Task is invalid. Task State Current step of the task: • Start • VerifyVolume • CreateName • ObtainMap • UnmapVolume • CreateVolume • RemapVolume • VerifyCreatedVolume HP P2000 G3 MSA System CLI Reference Guide 301...
Page 302
Error Message Message if an error occurred while processing the task, or blank. Source Volume Name of the volume to be copied. Source Volume Serial Serial number of the volume to be copied. Destination Vdisk Name of the destination vdisk. Destination Vdisk Serial Serial number of the destination vdisk.
Page 303
Error: Task has an error. • Invalid: Task is invalid. Task State Current step of the task; always Start Error Message Message if an error occurred while processing the task, or blank. HP P2000 G3 MSA System CLI Reference Guide 303...
Page 304
Example Show information about all tasks: # show tasks Tasks ----- Task Name: Snap Task Type: TakeSnapshot Status: Ready Task State: Start Error Message: Task Details ------------ Source Volume: MV Source Volume Serial: SN Prefix: MV Count: 1 Last Created: MV_S0001 Snapshot Name Snapshot Serial ------------------------------------------------------...
Page 305
Success: Command completed successfully. (2012-01-19 15:28:52) Basetypes • tasks • status See also • create schedule • create task • delete task • set task • show schedule-details • show schedules • show task-details HP P2000 G3 MSA System CLI Reference Guide 305...
show unwritable-cache Description Shows the percentage of unwritable data in the system. This data cannot be written to disk because it is associated with a volume that no longer exists or whose disks are not online. If the data is needed, the volume’s disks must be brought online.
User password. For a standard user the password is represented by eight asterisks. For an SNMPv3 user this is the authentication password; it is shown in clear text for reference when configuring users in the corresponding management application. HP P2000 G3 MSA System CLI Reference Guide 307...
Page 308
Privacy Password Encryption password for an SNMPv3 user whose privacy type is set to DES or AES. The password is shown in clear text for reference when configuring users in the corresponding management application. Trap Host SNMP trap destination for an SNMPv3 user that can receive trap notifications. Example Show configured users: # show users Username...
For RAID 50, the vdisk chunk size calculated as: configured-chunk-size x (subvdisk-members - 1). For a vdisk configured to use 32-KB chunk size and 4-disk subvdisks, the value would be 96k (32KB x 3). HP P2000 G3 MSA System CLI Reference Guide 309...
Page 310
Status • CRIT: Critical. The vdisk is online but isn't fault tolerant because some of its disks are down. • FTDN: Fault tolerant with a down disk. The vdisk is online and fault tolerant, but some of its disks are down. •...
Page 311
RAID5 FTOL Disabled 25.6MB 28.1KB ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-01-19 15:31:50) Basetypes • virtual-disks • status See also • create vdisk • delete vdisks • expand vdisk • set vdisk HP P2000 G3 MSA System CLI Reference Guide 311...
show vdisk-statistics Description Shows live or historical performance statistics for vdisks. You can view live statistics for all or specified vdisks, or historical statistics for a specified vdisk. The system samples disk-performance statistics every quarter hour and retains performance data for 6 months. The historical option allows you to specify a time range or a number (count) of data samples to include.
Page 313
Date and time, in the format year-month-day hour:minutes:seconds, when these statistics were last reset, either by a user or by a controller restart. Output Name (Historical) Vdisk name. Serial Number Vdisk serial number. HP P2000 G3 MSA System CLI Reference Guide 313...
Page 314
Data Transferred Total amount of data read and written since the last sampling time. Data Read Shown by the all parameter. Amount of data read since the last sampling time. Data Written Shown by the all parameter. Amount of data written since the last sampling time. Total Bps Data transfer rate, in bytes per second, since the last sampling time.
Page 315
• vdisk-statistics (live) • virtual-disk-summary (historical) • status See also • reset all-statistics • reset vdisk-statistics • show controller-statistics • show disk-statistics • show host-port-statistics • show vdisks • show volume-statistics HP P2000 G3 MSA System CLI Reference Guide 315...
show versions See versions. show volumecopy-status Description Shows information about in-progress volume copy operations. While a volume copy is in progress, the destination volume cannot be accessed. Syntax show volumecopy-status [controller a|b|both] Parameters controller a|b|both Optional. Shows volume copy operations for volumes owned by controller A only, by controller B only, or by either controller (both).
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. HP P2000 G3 MSA System CLI Reference Guide 317...
Page 318
Example Show all volume mappings: # show volume-maps Volume View [Serial Number (SN) Name (v1) ] Mapping: Ports Access Host-Port-Identifier Nickname Profile ----------------------------------------------------------------------- A1,A2,B1,B2 501 read-write all other hosts Standard Volume View [Serial Number (SN) Name (v2) ] Mapping: Ports Access Host-Port-Identifier Nickname Profile ------------------------------------------------------------------...
# show volume-names Name Serial Number ------------------------ Data Data_s001 spData vd1_v1 ------------------------ Success: Command completed successfully. (2012-01-19 15:34:14) Basetypes • volume-names • status See also • show volume-maps • show volumes HP P2000 G3 MSA System CLI Reference Guide 319...
show volume-reservations Description Shows persistent reservations for all or specified volumes. The persistent group reservations (PGR) mechanism enables application clients on multiple hosts to control access to a storage volume, and limits access by other hosts. Each host must be registered with the storage system in order to establish a persistent reservation for a volume, thereby becoming a reservation holder.
Page 321
Volume Reserved Host ID Port Reservation Type ----------------------------------------------------------------------------- vd04_v001 Free Undefined vd04_v002 Reserved iqn.1991-05.com.microsoft:andiamo Exclusive Access ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-01-19 08:58:28) See also • release volume • show volumes HP P2000 G3 MSA System CLI Reference Guide 321...
show volumes Description Shows volume information for all or specified vdisks. Syntax show volumes [vdisk vdisks] [class standard|ptsnap] [type snap-pool|mastervolume|snapshot|standard|primary-volume |secondary-volume|replication-volume] [volumes] Parameters vdisk vdisks Optional. Names or serial numbers of the vdisks containing the volumes to show. For vdisk syntax, Command syntax on page 22.
Page 323
OpenVMS host. • For HP-UX, a text value (set in-band by a host application) that identifies the volume. • Blank if not set. World Wide Name of the volume, used by host-based Storage Replication Adapter (SRA) software to identify the volume.
Page 324
Health • • Degraded • Fault • Unknown Health Reason If Health is not OK, this field shows the reason for the health state. Health Recommendation If Health is not OK, this field shows recommended actions to take to resolve the health issue. Example Show volume information for standard volumes only: # show volumes type standard Vdisk...
Number of Reads Number of Writes Data Read Data Written Reset Time ----------------------------------------------------------------------------- vd1_v001 5696.0KB 44091454 60342344 1133.0GB 1378.9GB 2012-01-20 10:14:54 ----------------------------------------------------------------------------- Success: Command completed successfully. (2012-01-20 12:44:50) Basetypes • volume-statistics • status HP P2000 G3 MSA System CLI Reference Guide 325...
Page 326
See also • reset all-statistics • reset volume-statistics • show controller-statistics • show disk-statistics • show host-port-statistics • show vdisk-statistics • show volumes 326 Alphabetical list of commands...
Example Shut down the Storage Controller in controller A: # shutdown a Info: Shutting down SC a... Success: Command completed successfully. (2012-01-19 12:42:23) See also • restart • show shutdown-status HP P2000 G3 MSA System CLI Reference Guide 327...
start vdisk Description Restarts a vdisk that was stopped in order to move its disks into this system. Starting a vdisk is part of the process for moving a secondary volume from a primary system into a secondary system. The process to move a secondary volume is: In the system where the secondary volume resides: a.
suspend replication Description Suspends the current replication operation on the specified secondary volume. This command must be issued on the system that owns the secondary volume. Once suspended, the replication must be resumed or aborted to allow the volume to resume normal operation. Syntax suspend replication [set replication-set]...
Test receipt of the managed-logs notification that the SC log needs to be transferred: # test managedlogs region scdebug Success: Command completed successfully. - The test event was sent. (2012-01-20 16:03:21) See also • set email-parameters • set snmp-parameters HP P2000 G3 MSA System CLI Reference Guide 331...
The following procedure outlines the general steps for performing a trust operation. Before starting this procedure, consult the online troubleshooting guide at https://www.hp.com/go/p2000/troubleshooting to determine if the trust operation is applicable to your situation and for guidance to perform it.
Page 333
The enclosure ID and slot number of the disk. Serial Number The serial number of the disk. Type • SAS: Dual-port SAS • SAS-S: Single-port SAS • SATA: Dual-port SATA • SATA-S: Single-port SATA HP P2000 G3 MSA System CLI Reference Guide 333...
Page 334
State • AVAIL: Available. • FAILED: The disk is unusable. Reasons for this status include: excessive media errors; SMART error; disk hardware failure; unsupported disk. • GLOBAL SP: Global spare. • LEFTOVR: Leftover. • VDISK: Used in a vdisk. • VDISK SP: Spare assigned to a vdisk.
Page 335
After enabling trust, disable it if you decide not to run trust vdisk: # trust disable Success: Command completed successfully. - Trust is disabled. (2013-09-17 17:40:01) Basetypes • status See also • show vdisks • verify vdisk HP P2000 G3 MSA System CLI Reference Guide 335...
unmap volume Description Deletes explicit mappings or the default mapping for specified volumes. When an explicit mapping is deleted, access by that host to the volume is controlled by the volume’s default mapping (described in help for create volume). When a default mapping is deleted, access by hosts to the volume is controlled by any explicit mappings of those hosts to the volume.
Verify all links between the local system and remote system System2: # verify links remote-system System2 Port Type Links --------------------------------------- A1,A2,B1,B2 A1,A2,B1,B2 A1,A2,B1,B2 A1,A2,B1,B2 --------------------------------------- Success: Command completed successfully. (2013-01-16 15:36:36) HP P2000 G3 MSA System CLI Reference Guide 337...
Page 338
Basetypes • remote-links See also • show remote-systems • verify remote-link 338 Alphabetical list of commands...
# verify vdisk vd1 Info: The verify was started on vdisk vd1. (vd1) (2012-01-20 17:08:33) Success: Command completed successfully. (2012-01-20 17:08:33) See also • abort verify • scrub vdisk • show vdisks HP P2000 G3 MSA System CLI Reference Guide 341...
versions Description Shows firmware and hardware version information for each controller module. Alias: show versions. Syntax versions [detail] Parameters detail Optional. Shows information about the versions of firmware and hardware in each controller module. If this parameter is omitted, only firmware-bundle information is shown. Example Show firmware-bundle version information for a system in which controller B is not installed: # versions Controller A Versions...
Name or serial number of the volume or snapshot to copy. For volume syntax, see Command syntax on page 22. dest-vdisk vdisk Name or serial number of the destination vdisk. For vdisk syntax, see Command syntax on page 22. HP P2000 G3 MSA System CLI Reference Guide 343...
Page 344
modified-snapshot yes|no Optional. Specifies whether to include or exclude modified write data from the snapshot in the copy. This parameter applies only when the source volume is a snapshot. • yes: Include modified snapshot data. • no: Exclude modified snapshot data. If this parameter is omitted for a snapshot, modified snapshot data is excluded.
Example output from a command that uses the basetype. Some basetypes are used by multiple commands. Examples in this chapter were generated using the CLI parameter settings api-embed and brief on. • References to embedded or nested basetypes that the output may show. HP P2000 G3 MSA System CLI Reference Guide 345...
advanced-settings-table Properties Table 9 advanced-settings-table properties Name Type Description Shows whether disks in vdisks are automatically checked for disk defects to background- string ensure system health. The interval between background vdisk scrub finishing and scrub starting again is specified by the background-scrub-interval parameter. •...
Page 347
Disabled: The controller failure trigger is disabled. This is the default. Enabled: The controller failure trigger is enabled. • Numeric equivalents for controller-failure values. controller- string failure-numeric • 0: Disabled • 16: Enabled HP P2000 G3 MSA System CLI Reference Guide 347...
Page 348
Table 9 advanced-settings-table properties (continued) Name Type Description Shows whether the cache policy will change from write-back to write-through super-cap- string when the super-capacitor that provides backup power for cache is not fully failure charged or fails. • Disabled: The super-capacitor failure trigger is disabled. •...
Page 349
Active-Active ULP. • Enabled: Single Controller mode is enabled. • Disabled: Single Controller mode is disabled. Numeric equivalents for single-controller values. single- string controller- • 0: Disabled numeric • 1: Enabled HP P2000 G3 MSA System CLI Reference Guide 349...
certificate-status Properties Table 14 certificate-status properties Name Type Description • Default: No customer-supplied or alternate certificate has been installed. certificate- string • Customer-supplied: A custom or alternate certificate has been installed. status Numeric equivalents for certificate-status values. certificate- string status-numeric •...
For mutual CHAP, the secret that the originator uses to authenticate the recipient. osecret string Example # show chap-records <OBJECT basetype="chap-records" name="chap-records" oid="1" format="pairs"> <PROPERTY name="initiator-name" type="string">test1</PROPERTY> <PROPERTY name="initiator-secret" type="string">test1secret!</PROPERTY> <PROPERTY name="oname" type="string"></PROPERTY> <PROPERTY name="osecret" type="string"></PROPERTY> </OBJECT> HP P2000 G3 MSA System CLI Reference Guide 359...
cli-parameters Properties Table 16 cli-parameters properties Name Type Description Time in seconds that the session can be idle before it automatically ends. Valid timeout uint32 values are 120–43200 seconds (2–720 minutes). The default is 1800 seconds (30 minutes). • console: Supports interactive use of the CLI by displaying command output-format string output in easily readable format.
Page 361
1: MB • 2: GB • 3: TB • Fahrenheit: Temperatures are shown in degrees Fahrenheit. temperature- string • Celsius: Temperatures are shown in degrees Celsius. This is the default. scale HP P2000 G3 MSA System CLI Reference Guide 361...
Page 362
Table 16 cli-parameters properties (continued) Name Type Description Numeric equivalents for temperature-scale values. temperature- string scale-numeric • 0: Fahrenheit • 1: Celsius User interface refresh rate. The default is 30 seconds. ui-refresh uint16 The logged-in user's experience level. user-type string •...
• status string Operational • Down • Not installed • Unknown Numeric equivalents for status values. status-numeric string • 0: Operational • 1: Down • 2: Not installed • 3: Unknown HP P2000 G3 MSA System CLI Reference Guide 367...
Page 368
Table 19 controllers properties (continued) Name Type Description Indicates whether the partner controller has failed over to this controller. failed-over string • No: The partner controller has not failed over to this controller. • Yes: The partner controller has either failed or been shut down, and its responsibilities have been taken over by this controller.
Page 369
Single Controller: The enclosure contains a single controller. • Fail Over: Operation has failed over to one controller because its partner is not operational. The system has lost redundancy. • Down: Both controllers are not operational. HP P2000 G3 MSA System CLI Reference Guide 369...
Page 370
Table 19 controllers properties (continued) Name Type Description Numeric equivalents for redundancy-mode values. redundancy- string mode-numeric • 2: Active-Active ULP • 3: Single Controller • 4: Fail Over • 5: Down • Redundant: Both controllers are operational. redundancy- string • Operational but not redundant: In active-active mode, one status controller is operational and the other is offline.
controller-statistics Properties Table 20 controller-statistics properties Name Type Description • durable-id string controller a • controller b Percentage of time the CPU is busy, from 0–100. cpu-load uint32 Number of seconds since the controller was restarted. power-on-time uint32 Percentage of write cache in use, from 0–100. write-cache- uint32 used...
debug-log-parameters Properties Table 21 debug-log-parameters properties Name Type Description Shows whether host interface debug messages are enabled for inclusion in the host string Storage Controller debug log. • Off: Disabled. • On: Enabled. This is the default. Numeric equivalents for host values. host-numeric string •...
Page 375
Shows whether RAID debug messages are enabled for inclusion in the Storage raid string Controller debug log. • Off: Disabled. • On: Enabled. This is the default. Numeric equivalents for raid values. raid-numeric string • 0: Off • 1: On HP P2000 G3 MSA System CLI Reference Guide 375...
Page 376
Table 21 debug-log-parameters properties (continued) Name Type Description Shows whether cache debug messages are enabled for inclusion in the Storage cache string Controller debug log. • Off: Disabled. • On: Enabled. This is the default. Numeric equivalents for cache values. cache-numeric string •...
Page 377
Numeric equivalents for resmgr values. resmgr-numeric string • 0: Off • 1: On Not used. init string Not used. init-numeric string Not used. string Not used. ps-numeric string Not used. string Not used. hb-numeric string HP P2000 G3 MSA System CLI Reference Guide 377...
Average response time, in microseconds, for read operations since the last avg-read-rsp- string sampling time. time Average response time, in microseconds, for write operations since the last avg-write-rsp- string sampling time. time HP P2000 G3 MSA System CLI Reference Guide 379...
Table 22 disk-hist-statistics properties (continued) Name Type Description Average data size of read and write operations since the last sampling time. avg-io-size string Unformatted avg-io-size value. avg-io-size- uint64 numeric Average data size of read operations since the last sampling time. avg-read-io- string size...
Page 381
<PROPERTY name="sample-time" type="string">2012-02-15 10:30:00</PROPERTY> <PROPERTY name="sample-time-numeric" type="string">1329301800</PROPERTY> </OBJECT> HP P2000 G3 MSA System CLI Reference Guide 381...
disk-statistics Properties Table 23 disk-statistics properties Name Type Description Disk ID in the form disk_enclosure-number.disk-number. durable-id string Disk serial number. serial-number string Data transfer rate calculated over the interval since these statistics were last bytes-per- string requested or reset. This value will be zero if it has not been requested or reset second since a controller restart.
Enabled: Drive spin down for available disks and global spares is enabled. Numeric equivalents for disk-dsd-enable values. disk-dsd- string enable-numeric • 0: Disabled • 1: Enabled Not applicable. disk-dsd- string enable-pool Not applicable. disk-dsd- string enable-pool- numeric HP P2000 G3 MSA System CLI Reference Guide 385...
Page 386
Table 24 drive-parameters properties (continued) Name Type Description Shows the period of inactivity in minutes after which available disks and global disk-dsd-delay uint16 spares will spin down, from 1–360 minutes. The default is 15 minutes. The value 0 means spin down is disabled. Not applicable.
Disk ID in the form disk_enclosure-number.disk-number. durable-id string Disk serial number. serial-number string Example # show disk-statistics 1.1 historical <OBJECT basetype="drive-summary" name="drive" oid="1" format="rows"> <PROPERTY name="durable-id" type="string">disk_1.1</PROPERTY> <PROPERTY name="serial-number" key="true" type="string">SN</PROPERTY> </OBJECT> Embedded basetypes • disk-hist-statistics HP P2000 G3 MSA System CLI Reference Guide 387...
drives Properties Table 26 drives properties Name Type Description Disk ID in the form disk_enclosure-ID.slot-number. durable-id string Enclosure ID. enclosure-id uint32 Disk slot number. slot uint32 Disk's enclosure ID and slot number. location string For internal use only. port uint32 SCSI ID assigned to this disk for the primary channel.
Page 389
Port 2 device ID. fc-p2-device-id uint32 Port 2 WWNN. fc-p2-node-wwn string Port 2 WWPN. fc-p2-port-wwn string Port 2 unit number. fc-p2-unit- uint32 number Numeric code indicating why the disk is down. drive-down-code uint8 HP P2000 G3 MSA System CLI Reference Guide 389...
Page 390
Table 26 drives properties (continued) Name Type Description Current owner, which is either the preferred owner during normal operation or owner string the partner controller when the preferred owner is offline. • A: Controller A. • B: Controller B. Numeric equivalents for owner values. owner-numeric string •...
This is the “push” mode of log management. This option is disabled by default. Numeric equivalents for include-logs values. include-logs- string numeric • 0: Disabled • 1: Enabled HP P2000 G3 MSA System CLI Reference Guide 393...
Midplane serial number. midplane- string serial-number Enclosure vendor. vendor string Enclosure model. model string FRU short description. fru-shortname string FRU location. fru-location string • MID-PLANE SLOT: Chassis midplane. • (blank): Not applicable. HP P2000 G3 MSA System CLI Reference Guide 399...
Page 400
Table 31 enclosures properties (continued) Name Type Description FRU part number. part-number string Date and time, in the format year-month-day hour:minutes:seconds mfg-date string (UTC), when a PCBA was programmed or a power supply module was manufactured. Unformatted mfg-date value. mfg-date- string numeric City, state/province, and country where the FRU was manufactured.
events Properties Table 33 events properties Name Type Description Date and time, in the format year-month-day hour:minutes:seconds time-stamp string (UTC), when this event was detected. Unformatted time-stamp value. time-stamp- string numeric Event code. For event-code descriptions, see the Event Descriptions Reference event-code string Guide.
Page 405
45, number of enclosures that were found: 4) (rescan reason: initiated by a user, rescan reason code: 0)</PROPERTY> <PROPERTY name="additional-information" type="string">None.</PROPERTY> <PROPERTY name="recommended-action" type="string">- No action is required.</PROPERTY> </OBJECT> HP P2000 G3 MSA System CLI Reference Guide 405...
Properties Table 35 fan properties Name Type Description Fan unit ID in the form fan_enclosure-ID.fan-number. durable-id string Fan unit name in the form Fan loc:position-PSU power-supply-ID for name string a controller enclosure or P2000 drive enclosure; Fan fan-unit-ID for a D2700 or MSA70 enclosure.
Unformatted start-sample-time value. start-sample- string time-numeric Date and time, in the format year-month-day hour:minutes:seconds, stop-sample- string when sampling stopped for the iops and bytes-per-second values. time Unformatted stop-sample-time value. stop-sample- string time-numeric HP P2000 G3 MSA System CLI Reference Guide 411...
• 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. • If the host was discovered and its entry was automatically created, its host...
• 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 # show host-maps <OBJECT basetype="host-view" name="host-view" oid="1" format="labeled">...
Enabled: PHY fault isolation is enabled. This is the default. • Disabled: PHY fault isolation is disabled. Numeric equivalents for phy-isolation values. phy-isolation- string numeric • 0: Enabled • 1: Disabled HP P2000 G3 MSA System CLI Reference Guide 417...
Page 418
Table 42 io-modules properties (continued) Name Type Description I/O module status. status string • • Warning • Error • Not Present • Unknown • Disconnected Numeric equivalents for status values. status-numeric string • 0: Up • 1: Warning • 2: Error •...
iscsi-parameters Properties Table 43 iscsi-parameters properties Name Type Description Shows whether Challenge-Handshake Authentication Protocol (CHAP) is chap string enabled. • Enabled: CHAP is enabled. • Disabled: CHAP is disabled. This is the default. Numeric equivalents for chap values. chap-numeric string •...
iscsi-port Properties Table 44 iscsi-port properties Name Type Description iSCSI IP version. ip-version string • IPv4: iSCSI host port addresses use IPv4 format. This is the default. • IPv6: iSCSI host port addresses use IPv6 format. Primary IP address. primary-ip- string address Primary gateway IP address.
Never: License is purchased and doesn't expire. replication- • days: Number of days remaining for a temporary license. expiry • Expired: Temporary license has expired and cannot be renewed. • N/A: No license installed. HP P2000 G3 MSA System CLI Reference Guide 425...
Page 426
Table 46 license properties (continued) Name Type Description Numeric equivalents for remote-snapshot-replication values. remote- string snapshot- • 0: Never replication- • 255: Expired expiry-numeric • days: Number of days remaining Shows whether the VDS (Virtual Disk Service) Hardware Provider is enabled. string •...
log-header-table Properties Table 47 log-header-table properties Name Type Description Contact person's name, if specified in the SMU Save Logs panel. log-contact string Contact's email address, if specified in the SMU Save Logs panel. log-email string Contact's phone number, if specified in the SMU Save Logs panel. log-phone string Comments describing the problem and specifying the date and time when the...
network-parameters Properties Table 49 network-parameters properties Name Type Description Controller network port ID in the form mgmtport_controller-ID. durable-id string Controller network port IP address. ip-address string Controller network port gateway IP address gateway string Controller network port IP subnet mask subnet-mask string Controller network port MAC address.
ntp-status Properties Table 50 ntp-status properties Name Type Description Shows whether use of Network Time Protocol (NTP) is enabled. ntp-status string • activated: NTP is enabled. • deactivated: NTP is disabled. This is the default. • 0.0.0.0: NTP server IP address is not set. ntp-server- string •...
port Properties Table 52 port properties Name Type Description Controller host port ID in the form hostport_controller-ID-and-port- durable-id string number. • A: Controller A. controller string • B: Controller B. Numeric equivalents for controller values. controller- string numeric • 0: B •...
Page 435
3: Auto • 7: 8Gb • health string • Degraded • Fault • Numeric equivalents for health values. health-numeric string • 0: OK • 1: Degraded • 2: Fault • 4: N/A HP P2000 G3 MSA System CLI Reference Guide 435...
Page 436
Table 52 port properties (continued) Name Type Description If Health is not OK, the reason for the health state. health-reason string If Health is not OK, the recommended actions to take to resolve the health issue. health- string recommendation Example # show ports <OBJECT basetype="port"...
Voltage of the 12-volt power supply, in 100th of a volt. dc12i uint32 Voltage of the 5-volt power supply, in 100th of a volt. dc5i uint32 Power supply temperature. dctemp uint32 HP P2000 G3 MSA System CLI Reference Guide 437...
Page 438
Table 53 power-supplies properties (continued) Name Type Description • health string • Degraded • Fault • Unknown Numeric equivalents for health values. health-numeric string • 0: OK • 1: Degraded • 2: Fault • 3: Unknown If Health is not OK, the reason for the health state. health-reason string If Health is not OK, the recommended actions to take to resolve the health issue.
redundancy Properties Table 54 redundancy properties Name Type Description The system’s operating mode, also called the cache redundancy mode. redundancy-mode string • Active-Active ULP: Both controllers are active using ULP (Unified LUN Presentation). Data for volumes configured to use write-back cache is automatically mirrored between the two controllers to provide fault tolerance.
refresh-counters Properties Table 55 refresh-counters properties Name Type Description (Not Shows when the data represented by the base type was last updated. basetype-name shown) • 0: The data has never been updated and is not cached. • nonzero-number: A timestamp indicating that the data has been updated.
The address of each host port in the remote system through which the volume is remote-address string accessible. Example # show replication-volumes <OBJECT basetype="remote-addresses" name="remote-address" oid="2" format="rows"> <PROPERTY name="connected-ports" type="string"></PROPERTY> <PROPERTY name="remote-address" type="string">IP=10.30.40.21:3260</PROPERTY> </OBJECT> HP P2000 G3 MSA System CLI Reference Guide 443...
remote-links Properties Table 57 remote-links properties Name Type Description Controller host port ID in the local system, in the form local-host-port string hostport_controller-ID-and-port-number. • FC: FC port. type string • iSCSI: iSCSI port. Numeric equivalents for type values. type-numeric string •...
False: The IP address is not valid for controller module A in the remote isvalid-ip-a string system. • True: The IP address is valid for controller module A in the remote system. HP P2000 G3 MSA System CLI Reference Guide 445...
replication-image Properties Table 60 replication-image properties Name Type Description Replication image ID. image-key string Replication volume serial number. replication- string volume-serial- number Replication image serial number. image-serial- string number Name of the source replication image. replication- string image-source Replication snapshot serial number associated with the image. The replication snapshot-serial string snapshot is associated with the replication volume specified in the request.
(UTC), when the replication operation is estimated to complete. time Unformatted est-completion-time value. est-completion- string time-numeric Total time of replication, in the format hour:minutes:seconds (UTC), time string including any suspension time. HP P2000 G3 MSA System CLI Reference Guide 449...
replication-volume Properties Table 63 replication-volume properties Name Type Description Replication volume name. name string Replication volume serial number. serial-number string Replication volume status. status string • Initializing: The initial (full) replication to the volume is in progress. • Online: The volume is online and is consistent with the last replicated image.
Page 453
FC: FC ports. • iSCSI: iSCSI ports. Numeric equivalents for link-type values. link-type- string numeric • 8: FC WWNN • 16: FC WWPN 64: iSCSI IPv4 • • 128: iSCSI IPv6 HP P2000 G3 MSA System CLI Reference Guide 453...
Page 454
Table 63 replication-volume properties (continued) Name Type Description Determines the next image to replicate when multiple replication images are collision- string queued. policy • Newest: Only the latest replication image should be considered for the next replication operation. • Oldest: Only the latest n replication images should be considered for the next replication operation, where n is defined by the max-queue property and the oldest of these images should be considered first.
replication-volume-summary Properties Table 64 replication-volume-summary properties Name Type Description Replication volume name. name string Replication volume serial number. serial-number string • Primary Volume: The volume is the primary volume in a replication set. volume-type string • Secondary Volume: The volume is the secondary volume in a replication set.
Name of the snapshot to reset. snapshot-name string Serial number of the snapshot to reset. snapshot-serial string Example # show tasks <OBJECT basetype="reset-snapshot-tasks" name="task-reset-snapshot" oid="4" format="pairs"> <PROPERTY name="snapshot-name" type="string">vd02_v001_s001</PROPERTY> <PROPERTY name="snapshot-serial" type="string">SN</PROPERTY> </OBJECT> HP P2000 G3 MSA System CLI Reference Guide 457...
sas-port Properties Table 66 sas-port properties Name Type Description • configured- string Direct topology Number of PHY lanes in the SAS port. width string Example # show ports <OBJECT basetype="sas-port" name="port-details" oid="2" format="rows"> <PROPERTY name="configured-topology" type="string">Direct</PROPERTY> <PROPERTY name="width" type="string">4</PROPERTY> </OBJECT> 458 XML API basetype properties...
Disabled: The PHY has been disabled by a user or by the system. Numeric equivalents for status values. status-numeric string • 0: Unavailable • 1: Enabled - Healthy • 2: Enabled - Degraded • 3: Disabled HP P2000 G3 MSA System CLI Reference Guide 459...
Page 460
Table 67 sas-status-controller-a properties (continued) Name Type Description The SES status that corresponds to the PHY status. elem-status string • Disabled: Critical condition is detected. • Error: Unrecoverable condition is detected. Appears only if there is a firmware problem related to PHY definition data. •...
security-communications-protocols Properties Table 69 security-communications-protocols properties Name Type Description • Disabled: The standard SMU web server is disabled. wbi-http string • Enabled: The standard SMU web server is enabled. This is the default. Numeric equivalents for wbi-http values. wbi-http- string numeric •...
sensors Properties Table 70 sensors properties Name Type Description Sensor ID. For example: temp_controller-ID.sensor-number; durable-id string voltage_controller-ID.sensor-number, current_enclosure- ID.sensor-number. Enclosure ID. enclosure-id uint32 Sensor name and location. sensor-name string • For a sensor, its value. value string • For overall unit status, one of the status values below. OK: The sensor is present and detects no error condition.
shutdown-status Properties Table 72 shutdown-status properties Name Type Description • A: Controller A. controller string • B: Controller B. • up: The controller is operational. status string • down: The controller is shut down. Example # show shutdown-status <OBJECT basetype="shutdown-status" name="controller" oid="1" format="packed"> <PROPERTY name="controller"...
snapshots Properties Table 74 snapshots properties Name Type Description Vdisk name. virtual-disk- string name Snapshot serial number. serial-number string Snapshot name. name string Date and time, in the format year-month-day hour:minutes:seconds creation-date- string (UTC), when the snapshot was prepared or committed. time Unformatted creation-date-time value.
Page 473
• Replication snapshot(Awaiting replicate): For a primary volume, a snapshot that is waiting to be replicated to a secondary system. HP P2000 G3 MSA System CLI Reference Guide 473...
Page 474
Table 74 snapshots properties (continued) Name Type Description Numeric equivalents for snapshot-type values. snapshot-type- string numeric • 0x00004000: Standard snapshot • 0x0000b000: Standard snapshot(DRM) • 0x00008000: Replication snapshot • 0x00010000: Replication snapshot(Replicating) • 0x00020000: Replication snapshot(Current sync point) • 0x00040000: Replication snapshot(Common sync point) •...
Name of the last snapshot created by the task, or blank. last-created string Example # show tasks <OBJECT basetype="snapshot-with-retention-tasks" name="task-snapshow-with-retention" oid="6" format="pairs"> <PROPERTY name="master-volume-name" type="string">vd02_v001</PROPERTY> <PROPERTY name="master-volume-serial" type="string">SN</PROPERTY> <PROPERTY name="snapshot-prefix" type="string">SnapSet001</PROPERTY> <PROPERTY name="retention-count" type="uint32">1</PROPERTY> <PROPERTY name="last-created" type="string"></PROPERTY> </OBJECT> HP P2000 G3 MSA System CLI Reference Guide 475...
status Properties Table 78 status properties Name Type Description • Success: The command succeeded. response-type string • Error: The command failed. • Info: The command returned an informational message. • response-type- string 0: Success • numeric 1: Error • 2: Info A message stating what the command accomplished, why the command failed, response string...
Amount of metadata, in blocks, stored on each disk. metadata-size uint32 Not applicable. max-host- uint32 groups-per- storage-pool Not applicable. max-hosts-per- uint32 host-group Not applicable. max-volume- uint32 groups-per-pool Not applicable. max-volumes- uint32 per-volume- group HP P2000 G3 MSA System CLI Reference Guide 481...
Table 80 system-parameters-table properties (continued) Name Type Description Not applicable. max-snapshot- uint32 groups-per-pool Not applicable. max-snapshots- uint32 per-snapshot- group Not applicable. max-midline- uint32 per-storage- pool Not applicable. max-standard- uint32 per-storage- pool Not applicable. max- uint32 performance- per-storage- pool Controller you are currently logged in to. local- string controller...
tasks Properties Table 81 tasks properties Name Type Description Task name. name string Type of operation this task performs. type string • TakeSnapshot • ResetSnapshot • VolumeCopy • ReplicateVolume • EnableDSD • DisableDSD Task status. status string • Uninitialized: Task is not yet ready to run. •...
time-settings-table Properties Table 82 time-settings-table properties Name Type Description Date and time, in the format year-month-day hour:minutes:seconds date-time string (UTC), reported by the controller being accessed. Unformatted date-time value. date-time- string numeric The system's time zone as an offset in hours and minutes from UTC. This is shown time-zone- string only if NTP is enabled.
If Health is not OK, the reason for the health state. health-reason string If Health is not OK, the recommended actions to take to resolve the health issue. health- string recommendation HP P2000 G3 MSA System CLI Reference Guide 487...
Page 488
Example # show system <OBJECT basetype="unhealthy-component" name="unhealthy-component" oid="5" format="pairs"> <PROPERTY name="component-type" type="string">management port</PROPERTY> <PROPERTY name="component-type-numeric" type="string">15</PROPERTY> <PROPERTY name="component-id" type="string">Enclosure 1, Controller A, Management Port</PROPERTY> <PROPERTY name="basetype" type="string">mgmt-port</PROPERTY> <PROPERTY name="primary-key" key="true" type="string">mgmtport_a</PROPERTY> <PROPERTY name="health" type="string">Degraded</PROPERTY> <PROPERTY name="health-numeric" type="string">1</PROPERTY> <PROPERTY name="health-reason" type="string">The network port Ethernet cable is unplugged, or the network is inoperable.</PROPERTY>...
Total percentage of cache memory used for unwritable data in controller B. unwritable-b- uint8 percentage Example # show unwritable-cache <OBJECT basetype="unwritable-cache" name="unwritable-system-cache" oid="1" format="pairs"> <PROPERTY name="unwritable-a-percentage" type="uint8">0</PROPERTY> <PROPERTY name="unwritable-b-percentage" type="uint8">0</PROPERTY> </OBJECT> HP P2000 G3 MSA System CLI Reference Guide 489...
users Properties Table 85 users properties Name Type Description User name. username string • monitor: View-only access to selected user interfaces. This is the default. roles string • manage: Modify access to selected user interfaces. The user's level of technical expertise: Novice, Standard, Advanced, or user-type string Diagnostic.
Page 491
No encryption. This is the default. • DES: Data Encryption Standard. • AES: Advanced Encryption Standard. Numeric equivalents for privacy-type values. privacy-type- numeric • 0: none • 1: DES • 2: AES HP P2000 G3 MSA System CLI Reference Guide 491...
Page 492
Table 85 users properties (continued) Name Type Description User password. For a standard user the password is represented by eight password string asterisks. For an SNMPv3 user this is the authentication password; it is shown in clear text for reference when configuring users in the corresponding management application.
Unformatted start-sample-time value. start-sample- string time-numeric Date and time, in the format year-month-day hour:minutes:seconds, stop-sample- string when sampling stopped for the iops and bytes-per-second values. time Unformatted stop-sample-time value. stop-sample- string time-numeric HP P2000 G3 MSA System CLI Reference Guide 495...
virtual-disks Properties Table 90 virtual-disks properties Name Type Description Vdisk name. name string Vdisk capacity, formatted to use the current base, precision, and units. size string Unformatted size value in 512-byte blocks. size-numeric string Amount of free space in the vdisk, formatted to use the current base, precision, freespace string and units.
Page 501
Unformatted min-drive-size value in 512-byte blocks. min-drive-size- string numeric Date and time, in the format year-month-day hour:minutes:seconds create-date string (UTC), when the vdisk was created. Unformatted create-date value. create-date- string numeric HP P2000 G3 MSA System CLI Reference Guide 501...
Page 502
Table 90 virtual-disks properties (continued) Name Type Description Not used. cache-read- blocks ahead Not used. cache-read- string ahead-numeric Not used. cache-flush- uint32 period Not used. read-ahead- string enabled Not used. read-ahead- string enabled-numeric Not used. write-back- string enabled Not used. write-back- string enabled-numeric...
Page 503
1–360 minutes. DSD is enabled by a value in this vdisk range, or is disabled by the value 0. Total amount of data read and written since the last sampling time. total-data- bytes transferred HP P2000 G3 MSA System CLI Reference Guide 503...
Page 504
Table 90 virtual-disks properties (continued) Name Type Description Unformatted total-data-transferred value. total-data- uint64 transferred- numeric Data transfer rate, in bytes per second, since the last sampling time. total-bytes- bytes per-sec Unformatted total-bytes-per-second value. total-bytes- uint64 per-sec-numeric • health string • Degraded •...
Page 513
OpenVMS host. description • For HP-UX, a text value (set in-band by a host application) that identifies the volume. • Blank by default. World Wide Name of the volume, used by host-based Storage Replication string Adapter (SRA) software to identify the volume.
Date and time, in the format year-month-day hour:minutes:seconds, reset-time string when these statistics were last reset, either by a user or by a controller restart. Unformatted reset-time value. reset-time- string numeric HP P2000 G3 MSA System CLI Reference Guide 515...
Table 96 volume-statistics properties (continued) Name Type Description Date and time, in the format year-month-day hour:minutes:seconds, start-sample- string when sampling started for the iops and bytes-per-second values. time Unformatted start-sample-time value. start-sample- string time-numeric Date and time, in the format year-month-day hour:minutes:seconds, stop-sample- string when sampling stopped for the iops and bytes-per-second values.
• 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 # show volume-maps <OBJECT basetype="volume-view-mappings" name="host-view" oid="2" format="rows">...
The state of a disk that has been automatically excluded from a vdisk, and is no longer needed by the vdisk after the vdisk is reconstructed. loop Fibre Channel Arbitrated Loop (FC-AL) topology. HP P2000 G3 MSA System CLI Reference Guide 521...
Page 522
masking Volume-mapping settings that specify no access to that volume by hosts. See also default mapping and explicit mapping. A volume that is enabled for snapshots and has an associated snap pool. master volume Management Controller. The processor (located in a controller module) that is responsible for human-computer interface and computer-computer interface functions, and interacts with the SC.
Page 523
WWNN World Wide Node Name. A globally unique 64-bit number that identifies a node process. WWPN World Wide Port Name. A globally unique 64-bit number that identifies a node port. HP P2000 G3 MSA System CLI Reference Guide 523...
Challenge Handshake Authentication Protocol statistics See CHAP system configuration and utilities CHAP volume copy create record volume, host, and mapping delete records CompactFlash card status enable/disable show HP P2000 G3 MSA System CLI Reference Guide 525...
Page 526
ID being accessed (local) document show partner notification setting conventions show shutdown status prerequisite knowledge shut down related documentation controller failure trigger documentation, HP web site enable/disable dynamic spares show setting enable/disable controllers show setting reset performance statistics show information...
Page 527
IDs for FC show CLI set netmask address for iSCSI show user show log management show number of enable/disable show performance statistics show setting hosts create set FC connection mode HP P2000 G3 MSA System CLI Reference Guide 527...
Page 528
LUNs set response to missing paging mode show maximum number of set CLI show setting for response to missing show CLI parameter syntax parameter values, variable MAC address, controller parameters, optional managed logs partner firmware update enable/disable enable/disable set email parameters show setting show email parameters password...
Page 529
SSH interface SES information enable/disable show enclosure HP P2000 G3 MSA System CLI Reference Guide 529...
Page 530
CLI show volume performance users Storage Controllers authentication type for SNMPv3 restart create Subscriber’s choice, HP delete super-capacitor failure trigger make session preferences permanent enable/disable privacy/encryption password for SNMPv3 show setting privacy/encryption type for SNMPv3 synchronize-cache mode...
Page 531
HP P2000 G3 MSA System CLI Reference Guide 531...