HP StorageWorks Flex Copy XP user guide Part number: T1725-96003 Third edition: June 2006
Legal and notice information © Copyright 2005, 2006 Hewlett-Packard Development Company, L.P. Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license. The information contained herein is subject to change without notice.
Contents About this guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Supported storage platforms and firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intended audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prerequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 Figures 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 Tables 1 2 3 4 5 6 7 8 9 4 Copying data in an external LU to a local array volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Copying data in a local array to an external LU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About this guide This guide provides information about: • Preparing for Flex Copy XP operations • Using Flex Copy XP • Troubleshooting Flex Copy XP Supported storage platforms and firmware In this guide, the term array refers to the following storage platforms: • HP StorageWorks XP12000 Disk Array • HP StorageWorks XP10000 Disk Array • HP StorageWorks XP1024 Disk Array • HP StorageWorks XP128 Disk Array For information about required firmware versions, see the HP StorageWorks XP Remote Web Console user gui
Document conventions and symbols Document conventions Table 1 Convention Element Blue text: Table 1 Cross-reference links and e-mail addresses Blue, underlined text: (http://www.hp.
After registering, you will receive e-mail notification of product enhancements, new driver versions, firmware updates, and other product resources. HP web sites For additional information, see the following HP web sites: • http://www.hp.com • http://www.hp.com/go/storage • http://www.hp.com/service_locator • http://www.hp.com/support/manuals • http://www.hp.com/support/downloads • http://www.hp.com/support/rwc/manuals Documentation feedback HP welcomes your feedback.
1 Flex Copy XP overview HP StorageWorks Flex Copy XP creates point-in-time copies from an XP array to an external array and from an external array to an XP array. If you copy data between the local array and an external array, you can, for example, gather data from multiple arrays to one local array and compile the data. Then you can distribute the compiled data back to the original arrays.
Figure 2 shows the concept of copying data in the local array volumes to external LUs. In Figure 2, volume B in the local array is copied to the mapped external LU using Flex Copy XP.
2 Preparing for Flex Copy XP operations This chapter describes requirements, preparations, and notes for Flex Copy XP operations. Flex Copy XP requirements Flex Copy XP for the XP1024/XP128 is supported only on MSA arrays. Flex Copy XP for the XP12000/XP10000 is supported on all HP arrays that External Storage XP supports for that particular XP firmware. Table 2 shows the Flex Copy XP requirements.
Preparing for Flex Copy XP operations For Flex Copy XP operations, you can select the copy source and copy target volumes, set the copy pair, and execute copy operations for those copy pairs. For an overview and conditions for copy operations using Flex Copy XP, see ”Requirements and overview of copy operations” on page 13. Uninstalling Flex Copy XP To uninstall Flex Copy XP, you must cancel all Flex Copy XP pairs. 1. Log on to Command View XP or XP Remote Web Console.
3 Requirements and overview of copy operations You can use Flex Copy XP to create a pair consisting of a copy source volume and a copy destination volume, so data is copied from the copy source volume to the copy destination volume. The copy source volume is called the primary volume (P-VOL). The copy destination volume is called the secondary volume (S-VOL). When using Flex Copy XP to perform copy operations, all data in the copy source volume (P VOL) is copied to the copy destination volume (S-VOL).
• If a volume is already specified as the P-VOL or S-VOL for one Flex Copy XP copy pair, you cannot specify that volume as the P-VOL or S-VOL of another Flex Copy XP copy pair (Figure 3). Figure 3 Example of volumes that cannot be shared by Flex Copy XP pairs • The LUSE volume configuration for the P-VOL and S-VOL must be exactly the same.
• If you perform copy operations concurrently on two or more pairs, ensure that the pairs are located in separate parity groups (that is, separate RAID groups). If two or more Flex Copy XP pairs are located in the same parity group, host server I/O performance might decrease. HP recommends the following remedies for reducing the risk of decreased I/O performance: • Reduce the number of pairs in the parity group on which you will perform simultaneous copy operations.
• If you perform Flex Copy XP copy operations concurrently with Business Copy XP or Auto LUN XP copy operations, the performance of each of these copy operations degrades (that is, each of these copy operations is slower). Performance of a Flex Copy XP copy operation on a volume degrades if the parity group containing this volume also contains a volume that a Business Copy XP or Auto LUN XP copy operation is using.
• Volume 3: Volume 3 must be offline. Volume 3 must not be an S-VOL for Business Copy XP. Volume 3 must not be set to reject access using LUN Security XP Extension. Figure 5 Configuration pattern example 1: starting copy operations • Configuration pattern example 2 In the type of configurations shown in Figure 6, note the following for each volume: • Volume 1: Volume 1 must be offline. Volume 1 must not be a P-VOL or S-VOL for Business Copy XP.
In the type of configurations shown in Figure 8, note the following for each volume: • Volume 1: Volume 1 must be offline. Do not perform Business Copy XP operations specifying Volume 1 as the P-VOL or S-VOL for the Business Copy XP pair. • Volume 2: Volume 2 must be offline. Do not perform Business Copy XP operations specifying Volume 2 as the P-VOL or S-VOL for the Business Copy XP pair. • Volume 3: Volume 3 must be offline.
• Volume 3: Volume 3 must be offline. Do not perform the Business Copy XP operations specifying Volume 3 as the S-VOL for the Business Copy XP pair. Volume 3 must not be set to reject access using LUN Security XP Extension. Figure 10 Configuration pattern example 2: during copy processing • Configuration pattern example 3 In the type of configurations shown in Figure 11, note the following for each volume: • Volume 1: Volume 1 must be offline.
Copy pair status The Flex Copy XP pane displays the status of Flex Copy XP copy pairs (see ”Pair list” on page 36). Figure 13 illustrates the transition of Flex Copy XP pair status, relationships between pair status and Flex Copy XP operations, and relationships between pair status and RAID Manager XP operations. Figure 13 Transition of Flex Copy XP pair status NOTE: Figure 13 illustrates the pair status transition only for the most common use of Flex Copy XP.
• C: pair status after the pair operation Table 4 Transition of Flex Copy XP pair status Operation Operation using Command View XP or XP Remote Web Console No pair COPY PAIR (PD) CreatePair (Copy) A B CreatePair (No Copy) A Delete Pair C PAIR PSUS (NOCOPY) (SP) COPY (SP) PSUS COPY (RS) COPY (RS-R) B,C A C B A B A B C A C B A C B A C B A C paircreate A paircreate -split A B B C B B A C C B A C B,C A B,C A B A C B A B C A C B A C B A C B A C pairsplitE
Table 4 Transition of Flex Copy XP pair status (continued) Operation Operation using RAID Manager XP No pair pairresync COPY PAIR (PD) C PAIR PSUS (NOCOPY) (SP) COPY (SP) PSUS A C C COPY (RS-R) PSUE SMPL (PD) B A B C pairresync -restore COPY (RS) B A A B CAUTION: If you use the Create Pair command, click Apply, and then select No Copy in the Copy Type Setting pane, copy processing will not execute and the pair status becomes PAIR (NOCOPY) for Flex Copy XP or PAIR for RAID Manager XP.
CAUTION: You cannot cancel a copy pair if the pair is in PSUS (SP) status. Wait until copy processing finishes or set the pair status to PSUE from RAID Manager XP, and then cancel the copy pair. For more information, see ”Canceling copy pairs (Delete Pair)” on page 44. Copy operations from RAID Manager XP You can use the Business Copy XP commands of RAID Manager XP to manage and check the status of Flex Copy XP pairs.
Requirements for Flex Copy XP and Business Copy XP operations (continued) Table 6 Installed product P-VOL Product to The tick (3) indicates the type of volume The tick (3) indicates the type of volume run. The hyphen (–) used. used. indicates Flex Business Local array External LU Local array External LU neither Flex Copy Copy XP volume volume Copy XP nor IO IO IO IO XP Suppression Suppression Suppression Suppression Business Copy XP Disable Enable Disable Enable runs.
• quick restore mode of the pairresync -restore command • At-Time Split function • You cannot perform write operations on a P-VOL when the P-VOL is in PSUS status and the S-VOL is in COPY status. However, if you execute the pairdisplay command from RAID Manager XP, the M column displays W (read/write enabled) for the P-VOL. • You cannot perform write operations on a P-VOL when the P-VOL is in PSUS status and the S-VOL is in SSUS status.
external array, the server cannot read from and write to the external LU. Figure 15 shows the connection configuration of the server and arrays when creating the Business Copy XP pair. Figure 15 Connection configuration when using Business Copy XP When creating the configuration definition file for RAID Manager XP, check the volume’s attributes, and ensure that you can create the desired type of copy pair (Flex Copy XP or Business Copy XP pair).
Figure 17 shows an example of the configuration used for the procedure. Figure 17 RAID Manager XP configuration example The following procedure shows how to edit the configuration definition file. After performing the following procedure, you can create or delete Flex Copy XP pairs using the paircreate or pairsplit-S command. 1. Define paths to the internal LU where the external LU is mapped.
• Start RAID Manager XP, and check the connection configuration as follows: # horcmstart.sh 0 starting HORCM inst 0 HORCM inst 0 starts successfully.
horcm1.conf HORCM_MON #ip_address 127.0.0.1 service 52051 HORCM_CMD #dev_name dev_name /dev/rdsk/c1t2d3 poll(10ms) 1000 3000 dev_name HORCM_DEV #dev_group dev_name port# hicp hicpdev1 CL1-B 0 HORCM_INST #dev_group hicp timeout(10ms) TargetID 0 LU# MU# 0 ip_address service 127.0.0.1 52050 4. Check the edited configuration definition file as follows: # horcmstart.sh 0 1 starting HORCM inst HORCM inst 0 starts starting HORCM inst HORCM inst 1 starts 0 successfully. 1 successfully.
RAID Manager XP command examples Table 7 shows examples of RAID Manager XP commands you can use for operating Flex Copy XP pairs and checking the status of Flex Copy XP pairs. Table 7 Examples of RAID Manager XP commands RAID Manager XP command Operation paircreate • • (see Figure 13 for the relationship between the command and pair status.) pairsplit • • (see Figure 13 for the relationship between the command and pair status.
Table 7 Examples of RAID Manager XP commands (continued) RAID Manager XP command Operation pairresync • (see Figure 13 for the relationship between the command and pair status.) • • When you do not specify the -restore option parameter: Copy processing from the P-VOL to the S-VOL executes. After copy processing completes, the P-VOL and S-VOL statuses change to PAIR. When you specify the -restore option parameter: Copy processing from the S-VOL to the P-VOL executes.
The following procedure explains the backup system described in Figure 18. You can execute the operations explained in the procedure using RAID Manager XP commands. You can also automate these operations. The examples of the configuration definition and script files follow the procedure. In the backup system in Figure 18: 1. External array Business Copy XP pair operation Execute the pairresync command to resynchronize the external array pair. 2.
• Configuration definition file for S-VOL A: HORCM_MON #ip_address 127.0.0.1 service 52051 poll(10ms) timeout(10ms) 1000 3000 HORCM_CMD #dev_name dev_name /dev/rdsk/c1t0d2 dev_name HORCM_DEV #dev_group dev_name port# si-pairs dev1 CL1-B HORCM_INST #dev_group si-pairs ip_address 127.0.0.1 TargetID 2 1 LU# MU# 0 service 52050 • Examples for the Head Office The following are examples of the configuration definition file that should be prepared in Server B.
• Configuration definition file for S-VOL B: HORCM_MON #ip_address 127.0.0.1 service 52051 HORCM_CMD #dev_name dev_name /dev/rdsk/c1t0d2 HORCM_DEV #dev_group hicp-pairs HORCM_INST #dev_group hicp-pairs poll(10ms) timeout(10ms) 1000 3000 dev_name dev_name port# dev1 CL1-D ip_address 127.0.0.1 TargetID 4 1 LU# 0 MU# service 52050 • Examples of script files You must execute script file A on Server A first. After script file A completes normally, you must execute script file B on Server B.
4 Flex Copy XP copy operations After mapping an external LU as an internal LU, you can copy data in the external LU to the local array, and you can copy data in the local array to an external LU. The following sections describe the panes and procedures for copy operations. For more information, see ”Requirements and overview of copy operations” on page 13. Flex Copy XP pane The Flex Copy XP pane (Figure 19) displays the status of copy operations using the external LU mapped by External Storage XP.
• Preset list (lower right of the pane): Contents set in the pair list. The contents of the Preset list have not yet been applied to the local array. When you click Apply, the contents of the Preset list are applied to the local array. For more information, see ”Preset list” on page 37. • Operation information area: The following information about settings displayed in the Preset list appears: • Operation: Setting operation name.
• COPY (SP): Copy processing of all data in the P-VOL to the S-VOL is in progress. When executing the paircreate -split command (Steady SPLIT) or pairsplit command (Steady SPLIT) of RAID Manager XP, the COPY (SP) status appears. • PSUS (SP): Copy processing of all data in the P-VOL to the S-VOL is in progress. When executing the paircreate -split command (Quick SPLIT) or pairsplit command (Quick SPLIT) of RAID Manager XP, the PSUS (SP) status appears.
If the contents in the Preset list are not applied to the local array even if you click Apply, an error message appears in the Preset list. That condition also generates an error code in the Preset list. Figure 21 Preset list When you right-click a setting in the Preset list, the Detail and Delete commands appear. You can perform the following operations using the displayed commands: • Detail command: Displays the Preset Detail pane (Figure 22).
• Delete command: Settings selected in the Preset list are canceled. Panes for copy pair setting operations Use the Pair Volume Setting and Copy Type Setting panes for setting the copy pair, which consists of a local array volume and an external LU. In this section, each pane is described as follows. For more information about setting a copy pair, see ”Copying data in an external LU to a local array volume” on page 40 and ”Copying data in the local array volume to an external LU” on page 41.
• CU list: Used to select the CU number of the volume you want to specify as the S-VOL. The number of CUs displayed in the list depends on what you specified. The maximum number of CUs displayed is 32. • Set button: Sets a copy pair. Select a volume to be the P-VOL in the Pair Volume list, select the volume to be the S-VOL in the Candidate Volume list, and click Set.
NOTE: • While copy processing is in progress, do not perform Read/Write operations to volume set as the copy pair’s P-VOL. • To perform Read/Write operations to the volume set as the S VOL after setting the copy pair, cancel the copy pair. 1. On the Flex Copy XP pane, select External Volumes (lower right in the pair list). 2. In the CU tree, select the CU number of the external LU to be the P-VOL. The selected CU’s volume appears in the P-Vol column of the pair list.
4. In the Pair Volume list, select the local array volume to be copied to the external LU from the P-Vol column. You can select multiple local array volumes. 5. In the Candidate Volume list, select the external LU you want to set as the target volume (S-VOL). The capacity of the S-VOL (external LU) must be the same as the P-VOL selected in the Pair Volume list.
• Time: Date and time (YYYY/MM/DD hour/min/sec) the Flex Copy XP pair or volume operation was performed. If the acquired information is not appropriate, an asterisk (*) appears. • P-Vol: CU:LDEV number of the P-VOLs used for the Flex Copy XP pair operation. NOTE: If an LDEV number ends with # (for example, 00:01#), the LDEV is an external LU. If the acquired information is not appropriate, an asterisk (*) appears. • S-Vol: CU:LDEV number of the S-VOLs used for the pair operation.
Table 8 Reference codes, messages, and message descriptions (continued) Code Message Attributes Description 12 RELEASE Release Copy processing was released. 13 STOP Stop Copy processing was stopped. When Flex Copy XP is operated with RAID Manager XP, this message indicates the pairsplit-E status. 14-30 – (Reserve) Codes reserved for future use. 31 SP-PEND SKIP Debug information SP- PEND status was skipped.
When an error occurs during the copy pair cancel operation, the failed setting and an error code appear in the Preset list. To check the error message, right-click the failed setting, and select Detail.
Flex Copy XP copy operations
5 Troubleshooting If you have a problem with the Command View XP computer or the Command View XP or XP Remote Web Console software, see the HP StorageWorks Command View XP user guide for XP Disk Arrays or the HP StorageWorks XP Remote Web Console user guide for XP12000/XP10000/SVS200 for troubleshooting information. If you need to call you HP account support representative, see ”Contacting your HP account support representative” on page 48 for instructions.
Table 9 General troubleshooting for Flex Copy XP (continued) Error Corrective action Pair operation cannot be performed from RAID Manager XP (operation is rejected) and the following error message appears: Factor Part code Error number The specified P-VOL is a command device. 0605 8552 An order to the control/command device was rejected. The P-VOL or S-VOL specified for the Flex Copy XP pair is already used as another Flex Copy XP pair. 8681 The specified S-VOL is not implemented.
A Adjusting volume capacity for copy pair settings When creating a Flex Copy XP copy pair, the S-VOL’s capacity must be the same as the P-VOL. To set a desired volume to a copy pair, you might need to adjust the volume’s capacity. This appendix describes the procedure to adjust the volume capacity. Copying data from an external array (using an external LU as the P-VOL) For A, B, and C in the following procedure, see Figure 28. To adjust the local array volume’s capacity to create a pair: 1.
1. Map the external LU (A) as an internal LU (B) of the local array. Set the emulation type to the same as the copy source volume (C). 2. Check the capacity of the internal LU (B) to which the external LU (A) is mapped. If the mapped internal LU’s (B) capacity is not the same as the copy source volume (C), use the CVS function to create a CV that has the same capacity as the copy source volume (C) out of internal LU (B). 3. Create a copy pair, as shown in Figure 29.
Index A audience, documentation 5 available volumes 11 B backup data example 31 Business Copy XP 23, 26, 31 C canceling copy pairs 23, 44 capacity, volume 49 cautions copy operations 14, 16, 18 volumes 16 command examples, RAID Manager XP 30 Command View XP troubleshooting 47 configuration pattern examples 16, 18 conventions document 6 text symbols 6 COPY (PD) status 21, 22, 36 COPY (RS) status 21, 22, 37 COPY (RS-R) status 21, 22, 37 COPY (SP) status 21, 22, 37 copy operations about 14 backup data exampl
local arrays copy operations 9 copying data 40 features 9 restrictions 24 M mapping LUs 9 messages, Flex Copy XP History pane 43 N No Copy 22, 40 P PAIR (NOCOPY) status 21, 22, 36 Pair list 36 PAIR status 21, 22, 36 Pair Volume Setting pane 39 paircreate command about 30 example 32 pair status 21, 37 restrictions 24 pairdisplay command 25 pairevtwait command 31 pairmon command 31 pairresync command about 31 example 32 pair status 22, 37 restrictions 24 pairs canceling 23, 44 cautions 14, 16 Copy Type Set
S-VOLs backup example 32 commands 30 configuration pattern examples 16 defined 13 history 43 Pair list 36 RAID Manager XP requirements 23 RAID Manager XP restrictions 25 requirements 13 volume capacity, adjusting 49 symbols in text 6 T technical support, HP 6, 48 text symbols 6 troubleshooting copy operations 47 Flex Copy XP History pane messages 43 U uninstalling Flex Copy XP 12 V volume capacity 49 volumes cautions 16, 18 configuration pattern examples 16 defined 13 Pair Volume Setting pane 39 RAID Man