Hp storageworks p9000 raid manager 01.24.16 release notes (t1610-96029, january 2011) (6 pages)
Summary of Contents for HP StorageWorks P9000
Page 1
P9000 RAID Manager Reference Guide Abstract This guide provides a command reference for HP StorageWorks P9000 RAID Manager Software on HP StorageWorks P9000 disk arrays. The intended audience is a storage system administrator or authorized service provider with independent knowledge of HP StorageWorks P9000 disk arrays and the HP StorageWorks Remote Web Console.
Contents 1 Overview of commands................12 Command summary........................12 Command format........................16 Differences from Remote Web Console..................17 Usable characters......................17 Settable character length....................19 Differences with Remote Web Console..................20 2 Replication commands................21 paircreate..........................21 Syntax..........................21 Options and parameters.....................22 Returned values.........................25 Error codes........................26 Examples..........................26 pairsplit..........................28 Syntax..........................29 Options and parameters.....................29 Returned values.........................31 Error codes........................31 Examples..........................32...
Page 4
Options and parameters.....................63 Returned values.........................63 Error codes........................63 Examples..........................64 horctakeover..........................64 Syntax..........................64 Options and parameters.....................64 Returned values.........................65 Error codes........................65 Examples..........................66 raidscan..........................66 Syntax..........................66 Options and parameters.....................66 Returned values.........................72 Error codes........................72 Examples..........................72 raidar...........................73 Syntax..........................73 Options and parameters.....................74 Returned values.........................74 Error codes........................74 Examples..........................74 raidqry..........................75 Syntax..........................75 Options and parameters.....................75 Returned values.........................75 Error codes........................75...
Page 5
Returned values.........................94 Error codes........................94 Examples..........................94 horcmstart..........................95 Syntax..........................95 Options and parameters.....................96 horcmshutdown........................96 Syntax..........................96 Options and parameters.....................97 horcctl...........................97 Syntax..........................97 Options and parameters.....................97 horctakeoff..........................98 Syntax..........................99 Options and parameters.....................99 Returned values.......................100 Error codes........................100 Examples........................100 pairsyncwait........................101 Syntax..........................102 Options and parameters....................102 Returned values.......................104 Error codes........................105 Examples........................105 3 Subcommands..................106 Windows subcommands......................106 findcmddev........................106...
Page 6
Example.........................113 4 Command tools..................115 inqraid..........................115 Syntax..........................115 Options and parameters....................115 Examples........................119 mkconf..........................123 Syntax..........................124 Options and parameters....................124 Example.........................124 5 Configuration setting commands...............126 raidcom..........................126 Syntax..........................126 Options and parameters....................126 Examples........................127 Method for specifying LDEV number...................127 Method for specifying multiple LDEVs.................127 Operations where multiple LDEVs can be specified...............127 raidcom add copy_grp......................128 Syntax..........................128 Options and parameters....................129...
Page 7
Syntax..........................134 Options and parameters....................134 Examples........................134 raidcom disconnect external_grp....................134 Syntax..........................134 Options and parameters....................135 Examples........................135 raidcom get external_grp.......................135 Syntax..........................135 Options and parameters....................135 Examples........................135 raidcom modify external_grp....................137 Syntax..........................137 Options and parameters....................137 Examples........................137 raidcom discover external_storage..................137 Syntax..........................138 Options and parameters....................138 Examples........................138 raidcom add host_grp......................138 Syntax..........................139 Options and parameters....................139 Examples........................139...
Page 8
raidcom get journal......................147 Syntax..........................147 Options and parameters....................147 Examples........................148 raidcom modify journal......................150 Syntax..........................150 Options and parameters....................150 Examples........................151 raidcom add ldev.........................151 Syntax..........................151 Options and parameters....................152 Examples........................153 raidcom delete ldev......................153 Syntax..........................153 Options and parameters....................153 Examples........................153 raidcom extend ldev......................154 Syntax..........................154 Options and parameters....................154 Examples........................154 raidcom get ldev........................154 Syntax..........................155 Options and parameters....................155...
Page 9
Syntax..........................167 Options and parameters....................168 Examples........................168 raidcom delete path......................168 Syntax..........................168 Options and parameters....................168 Examples........................168 raidcom disconnect path.......................169 Syntax..........................169 Options and parameters....................169 Examples........................169 raidcom get path........................169 Syntax..........................169 Options and parameters....................169 Examples........................169 raidcom delete pool......................171 Syntax..........................171 Options and parameters....................171 Examples........................171 raidcom get pool........................171 Syntax..........................171 Options and parameters....................171 Examples........................171...
Page 10
raidcom add rcu_path......................183 Syntax..........................183 Options and parameters....................183 Examples........................183 raidcom delete rcu_path......................184 Syntax..........................184 Options and parameters....................184 Examples........................184 raidcom get resource......................184 Syntax..........................184 Options and parameters....................184 Examples........................184 raidcom lock resource......................185 Syntax..........................185 Options and parameters....................185 Examples........................185 raidcom unlock resource......................185 Syntax..........................185 Options and parameters....................186 Examples........................186 raidcom add snap_pool......................186 Syntax..........................186 Options and parameters....................186...
Page 11
Examples........................195 raidcom reset command_status....................195 Syntax..........................195 Options and parameters....................195 Examples........................195 raidcom add resource......................196 Syntax..........................196 Options and parameters....................196 Examples........................196 raidcom delete resource......................197 Syntax..........................197 Options and parameters....................197 Examples........................197 6 Support and other resources..............199 Contacting HP........................199 Subscription service......................199 Documentation feedback....................199 Related information.......................199 HP websites........................200 Conventions for storage capacity values..................200 Typographic conventions.......................200 Glossary....................202...
1 Overview of commands Unless otherwise specified, the term P9000 in this guide refers to the following disk array: P9500 Disk Array The GUI illustrations in this guide were created using a Windows computer with the Internet Explorer browser. Actual windows may differ depending on the operating system and browser used. GUI contents also vary with licensed program products, storage system models, and firmware versions.
Page 13
Table 1 Replication commands (continued) Command Description horctakeover Scripted command for executing multiple Continuous Access Synchronous and Continuous Access Journal takeover operations. It checks the specified volume’s or group’s attributes (paircurchk), decides the takeover function based on the attributes, executes the chosen takeover function, and returns the result.
Page 14
Table 2 Command tools for RAID Manager Subcommand Description inqraid Used to confirm the drive connection between the storage system and host system. The inqraid command displays the relation between special file(s) on the host system and actual physical drive of the RAID storage system. mkconf Used to make a configuration file from a special file (raw device file) provided via STDIN.
Page 15
Table 5 Configuration setting commands (continued) Command Description raidcom get host_grp Displays the host group information. raidcom add hba_wwn Registers a host to a host group. raidcom delete hba_wwn Deletes a host (WWN) from a host group. raidcom get hba_wwn Displays WWN information of a registered host bus adapter.
Table 5 Configuration setting commands (continued) Command Description raidcom delete rcu_path Deletes a logical path between RCUs. raidcom add journal Registers a journal volume to a journal. raidcom delete journal Deletes a journal volume from a journal. and delete the journal. raidcom modify journal Changes an option of Continuous Access Journal to be used at a journal.
Table 6 Description convention of the command format Name Description < > The item enclosed in this symbol is variable. Displays as the meaning of “or” between the multiple items. (Vertical bar) For example, -A | -B Specifies “A” or “B”. The item enclosed in this symbol can be omitted.
Page 18
Figure 1 List of usable character codes for RAID Manager commands The following shows the characters that can be used for Remote Web Console commands in the ASCII codes. Overview of commands...
Figure 2 List of usable character codes for Remote Web Console Settable character length The settable character lengths might be different between RAID Manager commands and Remote Web Console. If using a RAID Manager command and Remote Web Console in parallel, adjust the number of characters to the smaller number and define the names.
Table 7 List of settable character lengths (continued) Name RAID Manager command Remote Web Console User name (User ID) 63 characters 256 characters User name (Password) 63 characters 256 characters Differences with Remote Web Console The operation procedures and the operatable contents are partly different between RAID Manager and Remote Web Console.
2 Replication commands This chapter provides specifications for the replication commands. paircreate CAUTION: Use the paircreate command with caution. The command starts the Continuous Access Synchronous, Continuous Access Journal, and Business Copy initial copy operations, which overwrite all data on the secondary/target volume. If the primary and secondary volumes are not identified correctly, or if the wrong options are specified (For example, vl instead of vr), data is transferred in the wrong direction and the data in the target of transferring will be overwritten.
Options and parameters Option Description Displays help/usage and version information. Terminates the interactive mode and exits the command. -z or -zx Makes the paircreate command enter interactive mode. The -zx option guards performing of the HORCM in interactive mode. When this option detects a HORCM shutdown, interactive mode terminates.
Page 23
Option Description -nomsg Suppresses messages to be displayed when this command is executed. It is used to execute this command from a user program. This option must be specified at the beginning of a command argument. The command execution log is not affected by this option. -split Business Copy only.
Page 24
Option Description -pid <PID> Snapshot only. The user or application can specify the Pool ID so that they can specify independent ID for Snapshot pool different from [CTGID] for splitting at time. LDEVs in a group which was specified by “PID” belong to the specified Pool for the Snapshot. If “PID”...
Option Description -cto <o-time> Continuous Access Asynchronous and Continuous Access Journal only. [c-time] [r-time] These options are valid for only HORC Async/Cnt Ac-J, if you will specify “-cto <o-time> [c-time] [r-time]” option on HORC sync, then it is ignored. o-time: This option is used when setting “offloading timer”...
Error codes Unrecoverable errors are fixed and not resolved, even after re-executing the command. If the command fails, the detailed status is logged in the RAID Manager command log ($HORCC_LOG), even if the user script has no error handling. Category Error code Error message Recommended action...
Page 27
Example 2 The following figure shows an example for creating a suspended journal volume. On DC1 side: paircreate -g G1 -gs G2 -FHORC 2 -nocsus -f async <ctgid> -jp <id> -js <id> On DC2 side: paircreate -g G3 -vl -nocsus -f async <ctgid> -jp <id>...
NOTE: The pairresync command must be issued after CA_Sync volume became S-VOL_SSWS or P-VOL_COPY/PAIR through the horctakeover command. Figure 6 Takeover example used to suspend a journal volume pairsplit The pairsplit command is used to split and delete volume pairs. This command stops updates to the secondary volume of a pair and can either maintain (status = PSUS) or delete (status = SMPL) the pairing status of the volumes.
the volume pair is deleted, the volumes are returned to the simplex state, and the primary and secondary volume status is lost. Paired volumes are split as soon as the pairsplit command is issued. If you want to synchronize the volumes, the pairsplit command must be issued after write I/Os to the paired volume have completed.
Page 30
Option Description -d <pair Vol> Specifies the paired logical volume name defined in the configuration definition file. When this option is specified, the command is executed for the specified paired logical volumes. -d[g] <raw_device> [MU#]: Searches a group on the configuration definition file (local instance) for the specified raw_device, and if the specified raw_device is contained in the group, the target volume is executed as the paired logical volume (-d) or group (-dg).
Option Description Business Copy only. Suspends a paired volume forcibly when a failure occurs. Not normally used. -FHORC [MU#] or -FCA [MU#]: Forcibly specifies a cascading Continuous Access Synchronous volume for specified volume pair on Business Copy environment. If the -l option is specified, a cascading Continuous Access Synchronous volume is split on a local host (near site).
Table 9 Specific error codes for pairsplit Category Error code Error message Recommended action Value Volume status EX_ENQVOL Unmatched volume Confirm status using the pairdisplay status within the group command. Make sure all volumes in the group have the same fence level and volume attributes.
Page 33
Pairresync terminates before resynchronization of the secondary (or primary) volume is complete. Use the pair event waiting (pairevtwait) or pairdisplay command to verify that the resync operation completed successfully (status changes from COPY to PAIR). The execution log file also shows completion of the resync operation.
Figure 1 1 Normal Resync and Business Copy Restore Resync Figure 12 Normal Resync and Business Copy Restore Resync Syntax pairresync { -h | -q | -z | -g <group> | -d <pair Vol> | -d[g] <raw_device> [MU#] | -FHORC [MU#] | -FMRCF [MU#] | -d[g] <seq#>...
Page 35
Option Description -I [H] [M] Specifies the command as [HORC]/[HOMRCF] or [Continuous Access Synchronous]/[Business Copy], [instance#] and used when specifying the RAID Manager instance number. -I [TC] [SI] [instance#] -g <group> Used to specify a group name defined in the configuration definition file. This option must always be specified.
Page 36
Option Description -swapp Continuous Access Synchronous and Journal Software. Executes the equivalent of a -swaps from the original P-VOL side. Unlike -swaps, -swapp does require the cooperation of hosts at both sides. Replication commands...
Page 37
Option Description -fq <mode> XP1024/XP128 Disk Array Business Copy only. Specifies the mode whether “pairresync” is performed or not as “QUICK”. mode = normal pairresync is performed as Non quick mode regardless of setting of $HORCC_RSYN environment variable and/or the system option mode 87 via SVP. mode = quick pairresync is performed as Quick Resync regardless of setting of $HORCC_RSYN environment variable and/or the system option mode 87 via SVP.
Page 38
Option Description Continuous Access Asynchronous and Continuous Access Journal only. These options are valid for only HORC Async/Cnt Ac-J, if you will specify “-cto <o-time> [c-time] [r-time]” option on HORC sync, then it is ignored. o-time:This option is used when setting “offloading timer” for controlling Inflow of Write I/O to the specified CT group.
Returned values The pairresync command sets the following returned values during exit, allowing you to check the execution results. Normal termination: 0. When resynchronizing groups, 0 = normal termination for all pairs. Abnormal termination: Other than 0, see the execution logs for error details. Error codes Unrecoverable errors are fixed and not resolved, even after re-executing the command.
Figure 15 Swap operation Figure 16 Example of -swaps option with -FHORC [MU#] pairevtwait The pairevtwait (pair event waiting) command is used to wait for completion of pair creation and pair resynchronization and to confirm the status of pair operations. It waits (“sleeps”) until the paired volume status becomes identical to a specified status and then completes.
Option Description -FMRCF [MU#] Forcibly specifies a cascading Business Copy volume for specified pair logical volumes on Continuous or -FBC [MU#] Access Synchronous environment. If the -l option is specified, this option tests status of a cascading Business Copy volume on a local host (near site). If no -l option is specified, this option tests status of a cascading Business Copy volume on a remote host (far site).
Table 1 1 Pairevtwait Returned Values Condition Value When the -nowait option is Normal termination: specified: The status is SMPL. The status is COPY or RCPY. The status is PAIR. The status is PSUS. The status is PSUE. When monitoring groups, 1/2/3/4/5 = normal termination for all pairs. Abnormal termination: Other than 0 to 127, see the execution logs for error details.
Examples Figure 18 Example of -FHORC option for Pairevtwait Figure 19 Example of -FMRCF option for Pairevtwait Using -ss <status> ... and -nowaits option In P-VOL_PSUS & S-VOL_COPY state of HOMRCF quick mode, pairevtwait will return immediately even if the S-VOL is still in S-VOL_COPY state because P-VOL is already in P-VOL_PSUS state.
The horctakeover command suspends G2(CA-Jnl) automatically if horctakeover returns “Swap-takeover” as an exit code. In DC1 host failure, if APP1 wants to wait until DC3 becomes the suspend state, then they can verify the “SSUS” state by using the pairevtwait command as shown below.
Port targ# lun#: The port ID, TID, and LUN which is described in the configuration definition file. For further information on fibre-to-SCSI address conversion, see the HP StorageWorks P9000 RAID Manager Installation and Configuration User Guide. LDEV#: The LDEV ID for the specified device.
Table 13 Results of pairmon command options (continued) -nowait -resevt -allsnd Actions Invalid -nowait -resevt When HORCM does not have an event, this option reports event nothing. If one or more events exist, then it reports one event and resets all events. Invalid -nowait -resevt...
Option Description Used when acquiring the attribute of a volume and the pair status of a volume. If this option is not specified, the volume attribute is reported. -nomsg Suppresses messages to be displayed when this command is executed. It is used to execute a command from a user program.
Page 49
Table 14 pairvolchk returned values (continued) Condition Value For Continuous 22: The status is P-VOL_COPY or P-VOL_RCPY. Access 23: The status is P-VOL_PAIR. Synchronous and 24: The status is P-VOL_PSUS. Business Copy 25: The status is P-VOL_PSUE. 26: The status is P-VOL_PDUB (Continuous Access Synchronous & LUSE volume only). 29: The status is P-VOL_INCSTG (inconsistent status in group).
Page 50
Table 14 pairvolchk returned values (continued) Condition Value For Continuous 42: The status is P-VOL_COPY. Access 43: The status is P-VOL_PAIR. Asynchronous and 44: The status is P-VOL_PSUS. Continuous Access Journal 45: The status is P-VOL_PSUE. 46: The status is P-VOL_PDUB (Continuous Access Synchronous & LUSE volume only). 47: The status is P-VOL_PFUL.
Error codes Category Error code Error message Recommended action Value Volume status EX_ENQVOL Unmatched volume Confirm status using the pairdisplay command. status within the Make sure all volumes in the group have the group same fence level and volume attributes. Unrecoverable EX_EVOLCE Pair volume...
Page 52
P-VOL or S-VOL_PAIR (except SSUS(SSWS)): this shows the minimum in Active Paths on specified group in Cnt Ac-J. S-VOL_ SSUS(SSWS): MINAP shows the result of the suspend operation that indicates whether or not the remaining All data on P-VOL were Passed (synchronized) to S-VOL completely. If MINAP is “one”, All data were passed.
Figure 23 Example of -FMRCF option for pairvolchk The following table shows the truth table for pairvolchk group status display. Table 15 Truth table for pairvolchk group status display Option COPY/RCPY PSUE PDUB PFUS PSUS PFUL PAIR Group status Status of each volume in the group See Notes TRUE COPY/RCPY...
Page 55
Option Description Displays copy operation progress, sidefile percentage, bitmap percentage, or Cnt Ac-J journal percentage. Displays PFUL/PFUS for Continuous Access Asynchronous/Cnt Ac-J. Used to confirm SSWS state as indication of S-VOL_SSUS-takeover after. Displays the relation between the Device_File and the paired volumes, based on the group (as defined in the local instance configuration definition file).
Page 56
Option Description Used when displaying the WWN setting (defined by “50060E80+RAID Type,Serial#,Port#)) to the port instead of a port name. If this option is specified with the “-fe” option at the same line, then “LUN WWN” appears as shown below. If WWN is not computed, then “Unknown” appears (For example, SCSI).
Page 57
Option Description -v jnl[t Displays the JNL status for the local and remote interconnected to the group. Also finds the journal ID for each local and remote interconnected to the group via the specified group or <raw_device>, and displays information of each journal ID corresponding the local and remote. The first line shows the journal information for the local host, second line shows the journal information for the remote host.
Page 58
Option Description -v ctg This option finds the CT group for each local and remote interconnected to the group via the specified group or <raw_device>, and displays any information of each CT group corresponding the local and remote. The first line shows the CT group information for the local host, second line shows the CT group information for the remote host.
Option Description -v pid Finds the pool ID for each local and remote interconnected to the group via the specified group or <raw_device>, and displays any information of each pool ID corresponding the local and remote. The first line shows the pool information for the local host, second line shows the pool information for the remote host.
Page 60
Example 1 Continuous Access Synchronous pairdisplay command example pairdisplay -g oradb -fcx Group Pair Vol(L/R) (P,T#,L#), Seq#, LDEV#..P/S, Status, Fence, Copy%, P-LDEV# oradb oradb1(L) (CL1-B, 1,0) 1234 64..P-VOL PAIR Never, oradb oradb1(R) (CL1-A, 1,0) 5678 C8..S-VOL PAIR Never, ---- Example 2 Business Copy/Snapshot pairdisplay command example pairdisplay -g oradb Group...
Table 16 Data consistency displayed by the paircurchk command Object volume Currency Attribute Status Fence Paircurchk S-VOL_takeover SMPL To be confirmed P-VOL To be confirmed S-VOL COPY Data Inconsistent Inconsistent Status Never Async Inconsistent Inconsistent PAIR Data Status Never To be analyzed To be analyzed PAIR Async...
Options and parameters Option Description Displays Help/Usage and version information. Terminates the interactive mode and exits the command. -z or -zx Makes the paircurchk command enter the interactive mode. The -zx option guards performing of the HORCM in the interactive mode. When this option detects a HORCM shutdown, interactive mode terminates.
Examples The following shows an example of the paircurchk command for a group and the resulting display of inconsistent volumes in the specified group. paircurchk command example # paircurchk oradb Group Pair vol Port targ# lun# LDEV# Volstatus Status Fence To be...
Option Description -I[H][M] Specifies the command as [HORC]/[HOMRCF] or [Continuous Access Synchronous]/[Business Copy], [instance#] and used to specify the RAID Manager instance number. -I[CA][BC] [instance#] -g <group> Specifies a group name defined in the configuration definition file. The command is executed for the specified group unless the -d <pair Vol>...
status is logged in the RAID Manager command log ($HORCC_LOG), even if the user script has no error handling. Table 18 Error codes for horctakeover Category Error code Error message Recommended action Value Volume status EX_ENQVOL Unmatched volume status Confirm status using pairdisplay within the group command.
Page 67
Option Description -p <port> [hgrp] Specifies the port ID of the port to be scanned. Valid ports are CL1-A to CL1-R and CL2-A to CL2-R (excluding CL1-I, CL1-O, CL2-I, CL2-O). For XP24000/XP20000 Disk Array: CL3-a to CL3-r, or CLG-a to CLG-r for the expanded port. For XP12000 Disk Array: CL3-a to CL3-r, or CLG-a to CLG-r for the expanded port.
Page 68
Option Description -CLI Specifies display for command line interface (CLI). This option displays to the same position that defined number of columns, and displays one header. The delimiters between columns are displayed as spaces or hyphens (-). Display example: Port# TargetID# Lun# Seq# Num LDEV# P/S Status Fence P-Seq# P-LDEV# CL1-C 1 0 30053 1 274 SMPL - - - - CL1-C 2 2 30053 1 260 P-VOL PAIR NEVER 30053 268 CL1-C 2 3 30053 1 261 P-VOL PAIR NEVER 30053 269...
Page 69
Option Description -find inst Registers the Device File name (raw device file provided via STDIN) to all mirror descriptors of the LDEV map table for HORCM, permits the matching volumes on horcm.conf in protection mode, and is started automatically by “/etc/horcmgr”. Therefore, you will not need to use this option normally. This option will also be terminated to avoid wasteful scanning when the registration has been finished with based on HORCM.
Page 70
Option Description -find verify Verifies the relation between Group on the configuration definition file and Device_File registered [MU#] to the LDEV map tables, based on the Device File name (raw device file provided via STDIN). This option can be used with “-fx” and “-fd” options. This option is affected by the command execution environment (HORCC_MRCF).
Page 71
Option Description -find[g] conf Displays the Port, target ID, LUN in horcm.conf image by using a special file (raw device file) provided [MU#] [-g via STDIN. If target ID & LUN are Unknown for the target device file, you must start HORCM without name] a description for HORCM_DEV and HORCM_INST, and should be described the shown the Port, targetID, LUN for HORCM_DEV.
Option Description Flushes the system buffer associated to a logical drive which corresponds to a [-g name] through the KEY WORD($Volume,$LETALL, $Physical) provided via STDIN. [-g name] specifies the group for “dev_group” on horcm.conf. If this option is not specified, then flushes the system buffer associated to all groups for the local instance.
Example of the -find option for raidscan # ls /dev/rdsk/* | raidscan -find DEVICE_FILE S/F PORT TARG SERIAL LDEV PRODUCT_ID /dev/rdsk/c0t0d4 CL1-M 31168 OPEN-3-CVS-CM /dev/rdsk/c0t0d1 CL1-M 31168 OPEN-3-CVS /dev/rdsk/c1t0d1 CL1-M 31170 OPEN-3-CVS Output of the raidscan command: Port#, ALPA/C, TID#, LU#: Port ID, arbitrated loop physical address, TID, LUN. For Business Copy, raidscan displays MU# for each LUN (e.g., LUN 7-0, 7- 1 , 7-2).
Options and parameters Option Description Displays Help/Usage and version information. Terminates the interactive mode and exits the command. -z or -zx Makes the raidar command enter the interactive mode. The -zx option guards performing of the HORCM in the interactive mode. When this option detects a HORCM shut down, interactive mode terminates.
13:45:28CL1-A156SMPL---200.080.040.0600 CL1-B145P-VOLPAIR133.335.013.4400 CL1-A123P-VOLPSUS200.035.040.6600 Output of the raidar command: IOPS: # of I/Os (read/write) per second (total I/O rate). HIT(%): Hit rate for read I/Os (read hit rate). W(%): Ratio of write I/Os to total I/Os (percent writes). IOCNT: Number of write and read I/Os. raidqry The raidqry command (RAID query) displays the configuration of the connected host and RAID storage system.
Examples Example 1: raidqry command examples Examples of the raidqry command and its output follow. # raidqry -l No Group Hostname HORCM_ver Serial# Micro_ver Cache(MB) HOSTA 01-22-03/06 30053 50-04-00/00 HOSTA 01-22-03/06 30054 50-04-00/00 # raidqry -r oradb No Group Hostname HORCM_ver Serial# Micro_ver...
raidvchkset The raidvchkset command sets the parameters for validation checking of the specified volumes, and can also be used to turn off all validation checking without specifying [type]. Unit of checking for the validation is based on the group of RAID Manager configuration definition file. This command is controlled as protection facility.
Page 78
Option Description -vt [type] Specifies the following data type that assumes the target volumes as Oracle database. If [type] is not specified, then this option will disable all of the checking. redo8: The target volumes sets the parameter for validation checking as Oracle redo log files (including archive logs) prior Oracle9I.
Option Description Specifies the following guard type to the target volumes for Data Retention (Open LDEV Guard on [type]…[rtime] XP1024/XP128 Disk Array). If [type] is not specified, this option will disable all of the guarding. The following values are available to specify on [type]: inv: The target volumes are concealed from SCSI Inquiry command by responding “unpopulated volume”.
raidvchkset -g oralog -vt redo8 Sets volumes in oradat group as data file that Oracle block size is 8 KB: raidvchkset -g oradat -vt data8 -vs 16 Sets volumes in oradat group as data file that Oracle block size is 16 KB: raidvchkset -g oradat -vt data8 -vs 32 Releases all checking to volumes in oralog group: raidvchkset -g oralog -vt...
Page 81
Option Description -d[g] Searches a group on the configuration definition file (local instance) for the specified raw_device, <raw_device> and if the specified raw_device is contained in the group, the target volume is executed as the paired [MU#] logical volume (-d) or group (-dg). This option is effective without specification of “-g <group>“ option. If the specified the raw_device is contained in two or more groups, the command is executed on the first group.
Page 82
Option Description When RAID Manager starts, HORCM_DEV in horcm.conf is translated from Port/target/lun numbers to the CU:Ldev information, on one hand HORCM_LDEV in horcm.conf is translated from the CU:Ldev information to Port/target/lun numbers, because RAID needs to specify "Port#, Targ#, Lun#" and “LDEV”...
Returned values None Error codes None Examples Example 1: raidvchkdsp Command Examples with -fd and -fe options The followings show examples of the raidvchkdsp command and its outputs. raidvchkdsp -g vg01 -fd -v cflag <= Example of -fd option showing Unknown vol. Group PairVol Device_File Seq# LDEV#...
Page 84
D: Checking for CHK-F3 on Write is disabled. B =E: Checking for CHK-F3 in the data block #0 is enabled. D: Checking for CHK-F3 in the data block #0 is disabled. BR-W-B-Z: This column displays the flags for checking regarding CHK-F2 in the data block. R =E: Checking for CHK-F2 on Read is enabled.
Page 85
Example 5: raidvchkdsp Command Example with the -v gflag option # raidvchkdsp -g vg01 -fd -v gflag <=Example of -v gflag option. Group PairVol Device_File Seq# LDEV# GI-C-R-W-S PI-C-R-W-S R-Time vg01 oradb1 c4t0d2 2332 E E D D E E E D D E vg01 oradb2 c4t0d3...
Example 7: raidvchkdsp command example with -v aou option [Display example] # raidvchkdsp -v aou -g AOU Group PairVol Port# TID Seq# LDEV# Used(MB) LU_CAP(MB) U(%) T(%) PID AOU_001 CL2-D 62500 20050 1100000 AOU_002 CL2-D 62500 110000 1100000 Output of the raidvchkdsp command with the -v aou option: Used(MB): Displays the usage size of the allocated block on this LUN.
Option Description -p <port> [hgrp] Specifies the port ID of the port to be scanned. Valid ports are CL1-A to CL1-R and CL2-A to CL2-R (excluding CL1-I, CL1-O, CL2-I, CL2-O). In addition: For XP24000/XP20000 Disk Array: CL3-a to CL3-r, or CLG-a to CLG-r for the expanded port For XP12000 Disk Array: CL3-a to CL3-r, or CLG-a to CLG-r for the expanded port.
Page 88
Example 1: raidvchkscan command example with the -v cflag option # raidvchkscan -p CL1-A -v cflag PORT# /ALPA/C TID# LU# Seq# Num LDEV# BR-W-E-E MR-W-B BR-W-B-Z SR-W-B-S CL1-A / ef/ 0 2332 D E B R D D D D E E E D E D D CL1-A / ef/ 0 2332...
Page 89
CL1-A / ef/ 0 2332 1024 102400 CL1-A / ef/ 0 2332 1024 102400 CL1-A / ef/ 0 2332 1024 102400 CL1-A / ef/ 0 2332 1024 102400 Output of the raidvchkscan command with -v offset option: Bsize: Displays the data block size of Oracle I/O, in units of bytes. STLBA: Displays the Start of LBA on a target volume for checking, in units of 512 bytes.
D: ”C” flag cannot be changed to enable. R=E: ”R” flag can be changed to enable. D: ”R” flag cannot be changed to enable. W=E: ”W” flag can be changed to enable. D: ”W” flag cannot be changed to enable. S=E: ”S”...
Options and parameters Option Description Displays Help/Usage and version information. Terminates the interactive mode and exits the command. -z or -zx Makes the raidvchkscan command enter the interactive mode. The -zx option guards performing of the HORCM in the interactive mode. When this option detects a HORCM shutdown, interactive mode terminates.
Page 92
PJNF: “P(S)vol Journal Normal Full.” P(S)JSF: “P(S)vol Journal Suspend Full.” P(S)JSE: “P(S)vol Journal Suspend Error” including link failure. P(S)JES “P(S)vol Journal Error Suspend” created with -nocsus option. AP: Displays the following conditions (status) according to the pair status. Shows the number of active paths on the initiator port in Cnt Ac-J links. ‘Unknown’ is shown as ‘-’. AM: The activity monitor that detects whether or not there is a request for data from the initiator at regular intervals.
Table 20 Detailed status of the journal volume JNLS Other information Description P-JNL S-JNL QCNT SMPL Configured as journal volume, but NOT pair Deleting the journal volume PJNN SJNN Normal state of the journal volume without data (PJNS) (SJNS) PJNN Normal state of the journal volume with data (PJNS) SJNN...
Options and parameters Option Description Displays Help/Usage and version information. Terminates the interactive mode and exits the command. -z or -zx Makes the raidvchkdsp command enter the interactive mode. The -zx option guards performing of the HORCM in the interactive mode. When this option detects a HORCM shutdown, interactive mode terminates.
Capacity(MB): Displays the total capacity in the Snapshot/Thin Provisioning pool. Seq#: Displays the serial number of the RAID storage system. Num: Displays the number of LDEV configured the Snapshot/Thin Provisioning pool. LDEV#: Displays the first number of LDEV configured the Snapshot/Thin Provisioning pool. H(%): Displays the threshold rate being set to the Snapshot/Thin Provisioning pool as High water mark.
Options and parameters Option Description inst Specifies the HORCM instance number (numerical value). When this option is specified, the horcmstart shell script sets the environment variables (HORCMINST, HORCM_CONF, HORCM_LOG, HORCM_LOGS) corresponding to the instance number, and starts the specified HORCM instance. (Environment variables set by the user become invalid.) When this option is not specified, the horcmstart shell script starts 1 HORCM and uses the environment variables set by the user.
Options and parameters Option Description inst Specifies the HORCM (RAID Manager) instance number (numerical value). When this option is specified, the command stops the specified HORCM instance. When this option is not specified, the command refers to the instance (environment variable HORCMINST) of the execution environment of this shell script and stops the following the HORCM instance.
Option Description Interprets the control options following this option (-l <level>, -b <y/n> and -t <type>) as the parameters of the HORC Manager (HORCM). -l <level> Sets the trace level (range = 0 to 15). If a negative value is specified, the trace mode is canceled. A negative value “n”...
Returned values The horctakeoff command sets the following returned values during exit, allowing you to check the execution results. Normal termination: 0 Abnormal termination: The horctakeoff command returns the following error codes as well as a generic error. Error codes If the command failed, then the detailed status is logged in RAID Manager command log ($HORCC_LOG), even though the user script has no error handling.
When a client issues the pairsyncwait command, this command is placed on the queue buffer for waiting in the HORCM daemon as a command request. HORCM gets the latest sequence # from the MCU sidefile and the sequence # whose block was transferred and stored in the DFW area of RCU with data consistency, and compares the latest sequence # of MCU sidefile with the sequence # of the RCU DFW area within the term.
Page 103
Option Description -I [H] [M] Specifies the command as [HORC]/[HOMRCF] or [Continuous Access Synchronous]/[Business [instance#] Copy], and used when specifying the RAID Manager instance number. -I [TC] [SI] [instance#] -g <group> Specifies a group name defined in the configuration definition file. The command is executed for the specified group unless the -d <pair Vol>...
Option Description Displays the number of remaining Q-Markers within the CT group by adding “QM-Cnt” to the last column. “QM-Cnt” is shown as follows: When specifying “-nowait -fq”: “QM-Cnt” is shown as the number of remaining Q-Marker at this time within CT group. When specifying “-nowait -m <marker>...
Error codes Unrecoverable errors are fixed and not resolved, even after re-executing the command. If the command failed, the detailed status will be logged in the RAID Manager command log ($HORCC_LOG), even if the user script has no error handling. Category Error Code Error Message...
3 Subcommands This chapter desscribes the subcommands. Windows subcommands The RAID Manager software provides subcommands for the Windows platforms that are executed as options (-x <command> <arg>) of another command. When you specify a subcommand as the only option of a command, you do not need to start HORCM. If another option of the command and the subcommand are specified on the same command line, place the other option after the subcommand.
Example 4 findcmddev subcommand example D:\HORCM\etc> raidscan findcmddev hdisk0, 20 cmddev of Ser# 62496 = \\.\PhysicalDrive0 cmddev of Ser# 62496 = \\.\E: cmddev of Ser# 62496 = \\.\Volume{b9b31c79-240a-11d5-a37f-00c00d003b1e} drivescan The drivescan subcommand displays the relationship between the disk numbers assigned by the Windows system and the LDEVs on the RAID storage system, and also displays attribute and status information for each LDEV.
SSID: Shows the SSID of the specified volume. CTGID (Continuous Access Asynchronous/Cnt Ac-J only): Shows the consistency group ID of specified volume. portscan The portscan subcommand displays the devices on the specified port(s). Syntax -x portscan port#(0-N) Argument port#(0-N): Specifies the range of port numbers on the Windows system. Example The following shows an example of the portscan subcommand used as an option of the raidscan command and its output.
IMPORTANT: The behavior and results of the raidscan –x sync command vary by Windows operating system. If you experience unexpected results using the raidscan –x sync command, try using the raidscan –x synd command instead. Syntax -x sync[d] A: B: C: -x sync[d] all -x sync[d] drive#(0-N) -x sync[d] Volume# ...
NOTE: Sync has the following behavior on any conditions: If the logical drives designated as the objects of the sync command are not opened to any applications, then sync flushes the system buffer to a drive and makes the dismount state for this drive.
Arguments Argument Description drive: hdisk# Specifies the logical drive, hard disk drive (number), and partition to be mounted. [partition #] drive: Specifies the logical drive and LDM volume name and number to be mounted. Volume# must be [\directory] specified ‘\Vol# or \Dms# or \Dmt# or \Dmr# ‘ as LDM volume for Windows 2008/2003/2000. Volume# To mount HarddiskVolumeX: -x mount C: hdX or -x mount C: \VolX For information on ‘\Vol# or \Dms# or \Dmt# or \Dmr#’...
Drive: Shows the logical drive recognized by the Windows system. FS_name: Shows the name of the file system formatted on the specified drive. VOL_name: Shows the volume label name for the specified drive. Device, Partition: Shows the device name and partition for the specified drive. Port,Phid,Tid,Lun: Shows the port number, path group ID (bus), target ID, and LUN for the specified drive.
Port,Phid,Tid,Lun: Shows the port number, path group ID (bus), target ID, and LUN for the specified drive. NOTE: The umount command flushes (sync) the system buffer of the associated drive before deleting the drive letter. If umount fails, confirm the following conditions: The logical and physical drives designated as the objects of the umount command are not opened to any applications.
4 Command tools This chapter describes the RAID Manager command tools. inqraid The inqraid command is a RAID Manager command tool used to confirm the drive connection between the storage system and host system. The inqraid command displays the relation between special file(s) on the host system and actual physical drive of the RAID storage system.
Page 116
Option Description -gvinf Windows systems only. -gvinfex is for GPT disk. -gvinfex Gets the signature and volume layout information of a raw device file provided via STDIN or arguments, and saves this information to the system disk with the following format: \WindowsDirectory\VOLssss_llll.ini where ssss = serial#, llll = LDEV# Normally this option is used to save the signature and volume layout information once after setting...
Page 117
Option Description Shows a data protection volume with “-CLI” option by appending ‘*’ to the device file name. If the -fp option is specified, the data protection volume is a Database Validator volume. If the -fl option is specified, the data protection volume is a Data Retention (Open LDEV Guard on XP1024/XP128 Disk Array) volume.
Page 118
Option Description -fh[c]: Specifies the Bitmap page for HORC/Cnt Ac-J. “-fc” option is used to calculate the Bitmap page of cylinder size for HORC. Example: # ls /dev/rdsk/* | inqraid -sort -CLIB -fh DEVICE_FILE PORT SERIAL LDEV SL CL CA/CAJ UNUSED PRODUCT_ID c1t0d0 CL1-E 63516 0 0 0 - - OPEN-9-CM c1t0d1 CL1-E 63516 12288 0 0 1 1 1605 OPEN-3 c1t0d2 CL1-E 63516 12403 0 0 3 1 1605 OPEN-9...
Option Description STDIN or special files are specified as follows (lines starting with ‘#’ via STDIN are interpreted as comments): HP-UX: /dev/rdsk/* or /dev/rdisk/disk* Solaris: /dev/rdsk/*s2 or c*s2 Linux : /dev/sd... or /dev/rd... ,/dev/raw/raw*. zLinux: /dev/sd... or /dev/dasd… or /dev/rd... ,/dev/raw/raw*. AIX: /dev/rhdisk* or /dev/hdisk* or hdisk* DIGITAL or Tru64: /dev/rrz*c or /dev/rdisk/dsk*c or /dev/cport/scp* DYNIX: /dev/rdsk/sd* or sd* for only unpartitioned raw device...
Page 121
Group: Displays the physical position of an LDEV according to mapping of LDEV in the RAID storage system. LDEV mapping Display formats RAID Group RAID1[Group Group number - Sub number] RAID5[Group Group number - Sub number] RAID6[Group Group number - Sub number] Snapshot S-VOL SNAPS[PoolID poolID number ] Unmapped...
Page 122
DEVICE_FILE: Device file name. M: MU# of local and remote. Group: Group name (dev_group) defined in the configuration file. PairVol: Paired vol. name (dev_name) within the group defined in the configuration file. P/S: Volume attribute (P-VOL or S-VOL or simplex). Stat: Status of the paired volume.
# echo /dev/rdsk/c0t2d3 | ./inqraid -CLIWN DEVICE_FILE NWWN AL PORT SERIAL LDEV PRODUCT_ID c0t2d3 5000E000E0005000 - CL1-A 30015 2054 OPEN3-CVS DEVICE_FILE: Displays the device file name only. WWN: CLIWP option displays External_WWN of the host adapter included in the STD inquiry page.
5 Configuration setting commands This chapter describes the configuration setting commands. raidcom The configuration change is instructed. Executes by specifying respective parameters and values that are expressed in “raidcom add copy_grp” (page 128) and later. Syntax Displaying Help raidcom { [-h] Log-in and Log-out raidcom {-login [<user_name>...
Option Description [-nomsg] This option deters displaying messages. This option is required to be defined at the beginning of the command parameter. [ -zt <file name> ] This option specifies a script file. [-load <file name>] This option specifies a file name of a file (configuration file) that is created for implementation check.
Options and parameters Option Description -copy_grp_name Specifies a device group (max. 32 characters) configuring a copy group (max. 32 characters). <copy group The device group name can be specified up to two. Specifying more than two is ignored. name><device group For a copy group for an BC pair, specify two device groups.
Description on each column in output example COPY_GROUP Copy group name LDEV_GROUP Device group name that composes copy group Mirror ID to which the device group belongs If -mirror_id is not specified at the creation, “-” is displayed. JID# Journal number to which device group belongs Serial# Product serial number raidcom add device_grp...
When last LDEV is deleted, device group is deleted. Syntax raidcom delete device_grp -device_grp_name <device group name> -ldev_id <ldev#> [-cnt <count>] Options and parameters Option Description -device_grp_name Specifies a device group name (max. 32 characters). <device group name> -ldev_id <ldev#> … Specifies an LDEV number (0-65279).
Description on each column in output example LDEV_GROUP Device group name LDEV_NAME Device name in the device group LDEV# LDEV number Serial# Product serial number raidcom add external_grp Maps (creates LDEVs) to add some external VOLs. Only one external VOL is operated in one operation.
Examples Mapping an LU: 0 defined to the external storage system port: 50060e80,05fa0f36 connected to the port: CL1-A (External port) by the External Volume Group#1- 1 and the path group#1. raidcom add external_grp -path_grp 1 -external_grp_id 1-1 -port CL1-A –external_wwn 50060e80,05fa0f36 –lun_id 0 raidcom check_ext_storage external_grp Specifies the external volume group, check the connection for the external VOL, and then restart using.
raidcom check_ext_storage external_grp -grp_opt ldev -device_grp_name grp1 raidcom delete external_grp Release the mapping of the external volume to delete the registered external VOLs from the configuration. One external VOL is deleted in one operation. A path group is deleted when the last external volume is deleted.
Options and parameters Option Description -external_grp_id Specifies an external volume group number (gno:1- 1 6384, sgno:1-4096). <gno-sgno> For example: 52- 1 1 -ldev_id <ldev#> Specifies an LDEV number (0-65279). For example: -ldev_id 200 -grp_opt <group Specifies the device information extracted from the LDEV belonging to the device group. Specify option>...
Page 136
Description on each column in output example This displays the type of the volume group. R: Parity Group, E: External Volume Group GROUP This displays the External Volume Group number. Num_LDEV This displays the number of LDEV assigned to this External Volume Group. U(%) This displays the usage rate of this External Volume Group.
- DEL: this means the status of “Deleting” in LDEV. LOC_LBA This displays the starting point of LBA for this partition on this External Volume Group, in units of 512 bytes. SIZE_LBA This displays the partition size of this External Volume Group, in units of 512 bytes. Serial# Product serial number.
Syntax raidcom discover external_storage -port <port> Options and parameters Option Description -port <port> Specifies the number of the port whose attribute is “ELUN(External).” For example: CL1-A Displays an external port. Examples Displaying the external storage system ports from the port: CL1-A. # raidcom discover external_storage -port CL1-A PORT WWN PM USED Serial# VENDOR_ID PRODUCT_ID CL1-A 50060e8005fa0f36 M YES 60010 HP P9500...
Syntax raidcom add host_grp -port <port> -host_grp_name <host group name> Options and parameters Option Description -port <port> Specifies the port number and the host group ID. For example: CL1-A-g (g is from 0 to 255) -host_grp_name Specifies a HOST group name. <host group name>...
Syntax raidcom get host_grp -port <port> <host group name> Options and parameters Option Description -port <port>[<host Specifies a port number, a host group ID, and a host group name. It cannot be specified when group name>] more than 64 characters is set for the host group name. Use the host group ID. For example: CL1-A CL1-A-g (g is from 0 to 255)
23 REC command support 33 Set/Report Device Identifier enable 40 V-Vol expansion 41 Prioritized device recognition command 42 Prevent "OHUB PCI retry" 43 Queue Full Response 48 ESAM Svol Read Option 54 Support Option for the EXTENDED COPY command raidcom modify host_grp This sets a host mode to the host group on the specified port.
CL1-A-g (g is from 0 to 255) CL1-A Linux_X86 -host_mode Specifies a host mode. <host mode> Specify one of the following strings. For more details, see the HP StorageWorks P9000 Provisioning for Open Systems User Guide. LINUX/IRIX VMWARE HP-XP OVMS...
54: Support Option for the EXTENDED COPY command This parameter is used when setting the option bits for the host mode option. For more details, see the HP StorageWorks P9000 Provisioning for Open Systems User Guide. Byte [n] MSB-------Bit------LSB Byte [0] 00 01 02 03 04 05 06 07...
Options and parameters Option Description -port <port>[<host Specifies a port number, a host group ID, and a host group name. It cannot be specified when group name>] more than 64 characters is set for the host group name. Use the host group ID. For example: CL1-A-g (g is from 0 to 255) CL1-A Linux_X86...
Syntax raidcom get hba_wwn -port <port> -[<host group name>] Options and parameters Option Description -port <port>[<host Specifies a port number, a host group ID, and a host group name. It cannot be specified when group name>] more than 64 characters is set for the host group name. Use the host group ID. If setting the host group ID or if the host group name is omitted, the information about host group ID 0 is displayed.
raidcom delete journal Deletes a journal from the specified journal. A device group can also be specified instead of an LDEV. If the both LDEV or Device group are not specified, journal is deleted. This command is executed asynchronously with the command input. Check the completion of this process on the raidcom get command_status command.
Page 149
It shows the number of Q-markers remaining in the P-VOL journal volume. D-SZ(BLK) It shows the capacity of the data block size of the journal volume in units of 512 bytes. Seq# Sequential number. It shows the number of LDEVs configuring the journal volume. LDEV # LDEV number.
This displays MP Blade ID. raidcom modify journal Changes an option of Cnt Ac-J to be used at journal. It sets a specified control parameter to the journal. If the -mp_blade_id option is specified, the other option (-data_overflow_watch, - path_blocked_watch, -cache_mode, -timer_type) cannot be specified. “-timer_type”...
Option Description -mp_blade_id <mp#> Specifies an MP Blade ID (0-7). Changing MP Blade ID should be executed during off-peak hours of I/O loading. Do not change the MP blade ID during initial copying of Continuous Access Journal (on-peak hours of I/O loading). To change the MP Blade ID again for the same journal, wait for more than 30 minutes after changing the MP Blade ID.
-capacity 1G, -capacity 1g, -capacity 1024M, -capacity 1024m, -capacity 1048576K, -capacity 1048576k, -capacity 2097152 In case of volumes other than OPEN-V, it is required the more free space than the capacity which is actually specified. For more details, see the P9000 Provisioning for Mainframe Systems User Guide. -offset_capacity <size>...
raidcom delete ldev -grp_opt ldev -device_grp_name grp1 raidcom extend ldev Extends the capacity of V-VOL for Thin Provisioning/Smart Tiers volume. If the specified LDEV is not a V-VOL of Thin Provisioning, it is rejected with EX_ENOOBJ. A device group can also be specified instead of an LDEV. Syntax raidcom extend ldev {-ldev_id <ldev#>...
Syntax raidcom get ldev {-ldev_id <ldev#> [-cnt <count>] | -grp_opt <group option> -device_grp_name <device group name> [<device name>] | -ldev_list <ldev list option>} [-key <keyword>] Options and parameters Option Description -ldev_id <ldev#> … Specifies an LDEV number (0-65279). For example: -ldev_id 200 -ldev_id 100- 1 10 -ldev_id 100 -cnt 10...
Page 156
# raidcom get ldev -ldev_id 577 Serial# : 63502 LDEV : 577 SL : 0 CL : 0 VOL_TYPE : OPEN-V-CVS VOL_Capacity(BLK) : 2181120 VOL_Capacity(cyl ) : 22720 (Displayed only when the attribute is MF-VOL) NUM_LDEV : 1 LDEVs : 577 NUM_PORT : 2 PORTs : CL2-E-0 1 Linux_X86 : CL2-E-1 1 Solaris F_POOLID : NONE...
Page 157
It shows the number of LDEV that configures LU. NUM_PORT It shows the number of ports defined to the paths for relevant LDEV. PORTs It lists up the ports defined to the paths for the relevant LDEV. F_POOLID This displays a pool ID if the LDEV is a component of the pool. In other cases, “NONE” is displayed. VOL_ATTR It lists up the attributes of the following LDEVs.
It shows a nickname of an LDEV. It shows the status of an LDEV. NML: Normal BLK: Blocked BSY: Status is changing NONE: unknown state (not supported) OPE_TYPE It shows the in current operation. FMT: Formatting QFMT: Quick Formatting CCOPY: Copying the collections CACCS: Accessing to collections NONE: Not in operation SHRD: Shredding...
E_ProductID This displays the PRODUCT information in the SCSI information of the external volume. E_VOLID This displays the device identification information in the SCSI information of the external volume (display in hexadecimal notation). E_VOLID_C This displays the PRODUCT information in the SCSI information of the external volume (ASCII display).
TIER#n(MB) This displays the capacity (MB) assigned to each tier. raidcom initialize ldev Formats LDEVs. The operation that can be specified is Quick Format, Normal Format, and Shredding. A device group can also be specified instead of an LDEV. This command is executed asynchronously with the command input. Check the completion of this process on the raidcom get command_status command.
Switching LDEV normal and LDEV blockade Setting LDEV nickname Setting MP Blade ID of LDEV Setting the start/stop of reallocation of V-VOL for Smart Tiers Instructing the page discarding of V-VOL for Thin Provisioning/Smart Tiers Setting SSID Setting command device attribute When executing LDEV blocking or recovery operation, this command is executed asynchronously with the command input.
Options and parameters Option Description -port <port>[<host group Specifies a port number. name>] For example: CL1-A-g (g: 0-255) CL1-A Linux_X86 -ldev_id <ldev#> Specifies an LDEV number (0-65279). For example: -ldev_id 200 -grp_opt <group option> Specifies the device information extracted from the LDEV belonging to the device group. Specify “ldev”...
Options and parameters Option Description -port <port>[<host Specifies a port number. group name>] For example: CL1-A-g (g: 0-255) CL1-A Linux_X86 -lun_id <lun#> Specifies a LUN number (0-2047). -ldev_id <ldev#> Specifies an LDEV number (0-65279). For example: -ldev_id 200 -grp_opt <group Specifies the device information extracted from the LDEV belonging to the device group.
raidcom add path Adds and changes an external path to an external volume. Only one path is operated in one operation. The order of priority for the oath is allocated in accordance with the order of adding paths. This command is executed asynchronously with the command input. Check the completion of this process on the raidcom get command_status command.
Options and parameters Option Description -path_grp <path Specifies an external VOL (0-63231) path group number. group#> -port <port> Specifies a port number. Specifies the number of the port whose attribute is ELUN (External). For example: CL1-A -external_wwn <wwn Specifies a WWN value (hexadecimal value) of the external storage system in 8 bytes. The strings>...
raidcom disconnect path Blocks the usage of external paths to external VOLs. Only one path is operated in one operation. This command is executed asynchronously with the command input. Check the completion of this process on the raidcom get command_status command. Syntax raidcom disconnect path -path_grp <path group#>...
Page 170
# raidcom get path -path_grp 1 PHG GROUP STS CM IF MP# PORT WWN PR LUN PHS Serial# PRODUCT_ID 1 1-1 NML E D 2 CL1-A 50060e8005fa0f36 1 3 NML 60010 VSP 1 1-1 NML E D 2 CL2-A 50060e8005fa0f38 2 3 NML 60010 VSP Description on each column in output example -PHG This displays the path group number for the external volume.
-PRODUCT_ID This displays the PRODUCT_ID of the external storage system. raidcom delete pool Deletes the specified pool for Snapshot/Thin Provisioning/Smart Tiers. The deletion of pool VOL is not supported on Version01. This command is executed asynchronously with the command input. Check the completion of this process on the raidcom get command_status command.
Description on each column in output example This displays the Snapshot pool ID. POLS This displays the following status in the Snapshot pool. - POLN: “Pool Normal” (The pool is in the normal status.) - POLF: “Pool Full” (The pool is in the overflow status exceeding the threshold.) - POLS: “Pool Suspend”...
Options and parameters Option Description -pool {<pool ID#> | Specifies a pool ID (0- 1 27) or a pool name for Snapshot/Thin Provisioning/Smart Tiers. <pool naming>} When specifying just a number, it is recognized as a pool ID. Therefore, when you specify a pool that the pool name is only a number, operate by specifying pool ID instead of specifying pool name.
Changing the pool for Smart Tiers to the pool for Thin Provisioning. # raidcom modify pool -pool 6 -pool_attribute thp Changing the automatic reallocation of the pool (Pool name: my_pool) for Thin Provisioning to manual reallocation. # raidcom modify pool -pool my_pool -pool_attribute smart_manual raidcom get port Displays Port information.
Page 175
This displays the transfer rate setting on a port. One of the following values is displayed. AUT(AUTO), 1G,2G,4G, 8G… LPID This displays the Loop ID(AL_PA) setting on a port. This displays the fabric mode setting on a port as Y(YES) or N(NO). CONN This displays the following topology setting on a port.
FPMA This displays FP MAC address setting to this port. This displays VP status. DWN: the Link status is in Link Down. LOT: the Link status is in Link Up and Log-Out. LIN: the Link status is in Link Up and Log-In. VP_I This displays VP Index, but this value is always zero currently.
Option Description [ -security _switch < Specifies whether to use the security switch or not. y/n > ] n is used if the specification is omitted. -port_attribute <port Specifies a port attribute. Attribute> The attributes that can be specified: TAR: Fiber Target port (Target port) MCU: MCU Initiator port (Initiator port) RCU: RCU Target port (RCU target port) ELUN: External Initiator port (External port)
Page 178
U(%) This displays the usage rate of this Parity Group or of the external volume group. AV_CAP(GB) This displays the available capacity (Free space) for this Parity Group or the external volume group. The value is displayed by rounding less than 1GB down. R_LVL This displays the RAID Level of Parity Group or of external volume group.
raidcom add rcu Registers RCUs. The only registration method is the method in which no CU is specified (CU free). This command is executed asynchronously with the command input. Check the completion of this process on the raidcom get command_status command. Syntax raidcom add rcu -cu_free <serial#>...
Examples Deleting the P9500 for which the product number; 64034, the RAID type: P9500 and the path group ID: 1 are set. raidcom delete rcu -cu_free 64034 R700 1 raidcom get rcu Displays MCU/RCU information. Syntax raidcom get rcu [-cu_free <serial#> <id> <pid>] Options and parameters Option Description...
Page 181
This displays the type of physical path. F:FIBRE, E:ESCON, -STS This displays the following status of the CU. - NML: this means the status of “Normal” in CU. - WAR: this means the status of “Warning” in CU. - ERR: this means the status of “Failing” in CU. - UNK: this means the status of “Unknown”...
This displays the CU number (hexadecimal) as MCU. If CU free is specified for RCU, "-" is displayed. -RCU This displays the CU number (hexadecimal) as RCU. If CU free is specified for RCU, "-" is displayed. -M/R This displays the CU type as MCU/RCU. This displays the type of physical path.
Options and parameters Option Description -cu_free <serial><id><pid> -cu_free <serial#> <id> <pid> This parameter is used to specify CU free that is specified by Serial#, id#, pid#. < id > is used to set RAID Type, and it can be specified the following strings. XP12000 Disk Array/XP10000 Disk Array:R500, XP24000/XP20000 Disk Array:R600, P9500:R700 <pid>...
raidcom delete rcu_path Deletes logical paths from a specified RCU. This command is executed asynchronously with the command input. Check the completion of this process on the raidcom get command_status command. Syntax raidcom delete rcu_path -cu_free <serial#> <id> <pid> -mcu_port <port>...
RGID=0 is used for meta resource group. stat This displays the locking status of the resource group name on P9500. Lock_owner This displays a owner (authorized user) who locks the resource group name. Lock_host This displays a host name of a user who locks the resource group name. Serial# Product serial number.
Options and parameters Option Description -resource_name <resource Specifies a name of resource group (max. 32 characters). group name> Only the “meta_resource” group is defined (which cannot be changed). Specify “meta_resource”. Examples Releasing the exclusive lock of a resource group: meta_resource. raidcom unlock resource -resource_name meta_resource raidcom add snap_pool Creates pools/adds pool VOLs for Snapshot by the specified LDEVs.
Option Description -grp_opt <group option> Specifies the device information extracted from the LDEV belonging to the device group. Specify “ldev” (fixed). The information of LDEV belonging to the device group is used. -device_grp_name Specifies the name of device group (max. 32 characters) to be operated. <device group name>...
- POLF: “Pool Full” (The pool is in the overflow status exceeding the threshold.) - POLS: “Pool Suspend” (The pool is in the overflow status exceeding the threshold and is suspended.) - POLE: “Pool failure” (The pool is suspended in the failure status.) In this status, the pool information cannot be displayed.
Option Description -ldev_id <ldev#> … Specifies an LDEV number (0-65279). Up to 64 of LDEVs can be specified at a time. For example: -ldev_id 100 -ldev_id 100 - 1 10 -ldev_id 100 -cnt 10 [ -cnt <count> ] Specifies a count (2-64). The count becomes singular if not specified.
Syntax raidcom get thp_pool [ -key <keyword>] Options and parameters Option Description [ -key <keyword> ] Specifies a display keyword. Specify opt as <keyword>. Examples Displaying the pool information of the pool for Thin Provisioning/Smart Tiers. # raidcom get thp_pool POLS U(%) AV_CAP(MB) TP_CAP(MB) W(%) H(%) Num LDEV#...
Page 191
The tier information of the pool for Smart Tiers is displayed. For details about each parameter, see the manual HP StorageWorks P9000 Provisioning for Open Systems User Guide. # raidcom get thp_pool -key opt PID POLS MODE STS DAT TNO TL_RANGE TD_RANGE TU_CAP(MB) TT_CAP(MB) T(%) P(%) R(%)
TT_CAP(MB) Tier capacity (Total capacity) T(%) The free space percentage for the newly allocation P(%) Performance working ratio R(%) Progress percentage of reallocation. 0 to 99: Shows one of the following statuses. When the value of STS is RLC or RLM: Reallocation is in progress. When the value of STS is STP or MON: Reallocation is suspended.
syntax raidcom reset hba_wwn -port <port>[<host group name>] -hba_wwn <WWN strings> Options and parameters Option Description -port <port>[<host Specifies a port number. group name>] For example: CL1-A-g (g: 0-255) CL1-A Linux_X86 -hba_wwn <WWN Specifies WWN value (hexadecimal value). strings> For example: 21000e08b0256f8 21000e0,8b0256f8 (The value can be split in units of 4 bytes by “,”...
# raidcom monitor pool -pool my_tier_pool -operation stop raidcom reallocate pool Sets the start or stop of tier reallocation of a pool for Smart Tiers. Syntax raidcom reallocate pool -pool {<pool ID#> | <pool naming>} -operation <type> Options and parameters Option Description -pool {<pool ID#>...
HANDLE The handle number which identifies the user uniquely. SSB1 SSB1 error code. For more details about error codes, see HP StorageWorks P9000 RAID Manager User Guide. SSB2 SSB2 error code. For more details about error codes, see HP StorageWorks P9000 RAID Manager User Guide.
raidcom add resource Creating resource groups. If you specify only the resource group name, an empty resource group is created. When you input a resource group name and a resource group ID, the current name of the resource group whose ID you specify is changed to the new resource group name. When you specify resource group name, LDEV number, port number, host group number, parity group ID or an external group ID, the specified resource is registered to the specified resource group.If the specified resource group does not exist, an error occurs.
# raidcom add resource -resource_name sql_srv -ldev_id 400 Adding a port of CL1-A to a resource group: sql_srv. # raidcom add resource -resource_name sql_srv -port CL1-A Adding a host group of CL1-A-0 to a resource group: sql_srv. # raidcom add resource -resource_name sql_srv -port CL1-A-0 Adding a parity group:33- 1 6 to a resource group: sql_srv.
Page 198
Deleting a port of CL1-A from the resource group: sql_srv. # raidcom delete resource -resource_name sql_srv -port CL1-A Deleting a host group of CL1-A-0 from the resource group: sql_srv. # raidcom delete resource -resource_name sql_srv -port CL1-A-0 Deleting a parity group: 33- 1 6 from the resource group: sql_srv. # raidcom delete resource -resource_name sql_srv -parity_grp_id 33-16 Deleting an external volume group: 01-02 from the resource group: sql_srv.
HP StorageWorks P9000 Continuous Access Journal User Guide HP StorageWorks P9000 Continuous Access Synchronous User Guide HP StorageWorks P9000 External Storage for Open and Mainframe Systems User Guide HP StorageWorks P9000 Provisioning for Open Systems User Guide HP StorageWorks P9000 RAID Manager Reference Guide...
Conventions for storage capacity values P9000 disk arrays use the following values to calculate physical storage capacity values (hard disk drives): 1 KB (kilobyte) = 1,000 bytes 1 MB (megabyte) = 1,000 bytes 1 GB (gigabyte) = 1,000...
Page 201
Table 21 Document conventions (continued) Convention Element Monospace text File and directory names System output Code Commands, their arguments, and argument values Monospace, italic text Code variables Command variables Monospace, bold text Emphasized monospace text WARNING! Indicates that failure to follow directions could result in bodily harm or death. CAUTION: Indicates that failure to follow directions could result in damage to equipment or data.
Disk adapter. Disk controller. fence level A method of setting rejection of P9000 or XP Continuous Access write I/O requests from the host according to the condition of mirroring consistency. Fibre Channel A data transfer architecture designed for mass storage devices and other peripheral devices that require high bandwidth.
Page 203
I/O slots and the number of ports available per I/O adapter. The P9000 and XP family of disk arrays supports Fibre Channel (FC) ports as well as other port types. Ports are named by port group and port letter, such as CL1-A.
Page 204
synchronous Describes computing models that perform tasks in chronological order without interruption. In synchronous replication, the source waits for data to be copied at the destination before acknowledging that it has been written at the source. takeover The process in which a remote standby disk array takes over processing from the previously active local disk array.
Index contacting HP, conventions document, storage capacity values, text symbols, disk arrays supported models, document conventions, related information, documentation HP website, providing feedback, help obtaining, technical support, related documentation, storage capacity values conventions, Subscriber's Choice, HP, symbols in text, technical support service locator website, text symbols, typographic conventions,...