Вы находитесь на странице: 1из 41

FlexCopy

2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice

FlexCopy overview
Definition of terms:

Hi-Copy FlexCopy

external storage copy (Hitachi) external storage copy (HP)

Rev. 1

HP Confidential

Prerequisites
XP disk arrays: XP128, XP1024 XP12000 minimum Firmware: XP128/1024: 21.09.01 XP12000: initial release

minimum RAID Mgr: v01.12.06

Command View XP:

XP128/1024: v1.8b XP12000: v2.0

external storage:

MSA1000 & MSA1500 (XPs ?)

Rev. 1

HP Confidential

FlexCopy - Specifications
type of storage which can be connected to MSA1000

emulation types of LUN when mapped


max # of MSA1000 supported max # of MSA1000 LUNs can be mapped min/max # of pathes from XP to MSA1000 max number of concurrent operations min/max size of MSA1000 LUN

OPEN-V
128 per XP disk array (WWN is used as port-id) 255 per XP disk array 1/1(with exceptions) 32 (64 for XP12000) 46,86MB / 720GB

Rev. 1

HP Confidential

introduction

Rev. 1

HP Confidential

FlexCopy Functionality
FlexCopy is a capability resident on HP StorageWorks XP128/XP1024/XP1024 disk arrays that enables you to copy data in both directions between an XP1024/128/12000 Disk Array and an external disk array. Flex Copy also lets you easily back up the data in an XP1024 /128/12000 disk array to another disk array and then restore the backed-up data to the XP disk array. FlexCopy differs from the conventional XP Business Copy functionality in that FlexCopy does not maintain any degree of data concurrency or perform any mirroring operations. Instead, FlexCopy completes one copy from the data source to the copy destination.

Rev. 1

HP Confidential

FlexCopy Concept

Rev. 1

HP Confidential

FlexCopy - Usage for Backup


MSA1000 Panther mapped S-VOL P/S-VOL mapped S-VOL mapped S-VOL SAN SAN

FC
BC

X
S-VOL

P-VOL

S-VOL

S-VOL
Rev. 1 HP Confidential

Typical FlexCopy Setup

XP Business Copy Pair

MSA FlexCopy LUNs

XP (P-VOL) XP (S-VOL/ P-VOL)

MSA (S-VOL)

0:01

1:01

0:02

MSA (S-VOL)

1:02 arrows show possible relationships only (at different points in time)
Rev. 1 HP Confidential

Typical FlexCopy Procedure


Create an external copy on 1:01 of LDEV 0:01:
1. pause or stop any application currently using LDEV 0:01 2. suspend the BC pair 0:010:02 3. split the BC pair 0:010:02 to SMPL state 4. resume or restart any application effected in step 1 5. issue a paircreate on the FC pair 0:02 1:01 and wait for it to reach the PAIR state 6. split the FC pair 0:02 1:01 with pairsplit S 7. recreate the production BC pair 0:010:02 with a full initial copy via paircreate
Rev. 1 HP Confidential

10

Typical FlexCopy Procedure


Restore form an external copy (1:01) to LDEV 0:01:
1. split the BC pair 0:010:02 to SMPL mode 2. stop the application using LDEV 0:01 3. issue a paircreate on the FC pair 1:01 0:01 and wait for it to reach the PAIR state 4. split the FC pair 1:01 0:01 with pairsplit S 5. start the application previously stopped in step 2 6. recreate the production BC pair 0:010:02 with a full initial copy via paircreate

Rev. 1

HP Confidential

11

Limitations
FlexCopy Limitations FlexCopy is supported only with XP1024/128/12000. FlexCopy will not pair from or against any OPEN volumes that are not in SMPL state. Care must be taken to properly size LUs resident in external storage so that the XP CVS (VLL) function can be used to re-reference the external LU in terms of XP storage dimensions. Failure to match LU sizes will most likely result in data loss.

MSA Limitations MSA1000 controller failover is not supported for FlexCopy at this time. Attempts to configure MSA1000 LUs for FlexCopy using the XP configuration facilities while both controllers are visible to the XP will most likely result in the false/duplicative LUs being reported visible in FlexCopy configuration screens.

Rev. 1

HP Confidential

12

MSA1000 Configuration(1 -2)


Do not connect the path to the controller on the Standby side of the MSA1000 subsystem

The table below shows the port setting status of the XP disk array when you connect the MSA1000 external disk array.

Topology Loop Point-to-Point


Rev. 1

Fabric ON Supported Supported


HP Confidential

Fabric OFF Supported Not Supported


13

MSA1000 Configuration(2-2)
If you connect an MSA1000 as an external disk array, you need to set the host mode of the port to Windows. Please refer to the following documents for information on how to configure the MSA1000: HP StorageWorks Modular SAN Array 1000 QuickSpecs HP StorageWorks Modular SAN Array 1000 User Guide XP and the MSA1000 LUs used for FlexCopy should be of the same size. When creating LUs resident on the MSA1000 for use with FlexCopy that are to match their counterparts on the XP, is it is necessary to size these LUs slightly larger (2-3MB).This will allow to compensate for the ACU auto-resizing algorithm that is applied to each MSA1000 LU. These same principles apply when creating LUs on the XP to match FlexCopy LUs already defined on the MSA1000. However, when this direction is taken, it will be necessary to ensure that the XP OPEN-V LUs that are created are geometrically identical (same number of XP OPEN-V cylinders) to the referenced and re-defined MSA1000 LUs.
Rev. 1 HP Confidential

14

Adjusting LU capacity when setting Copy pairs

Rev. 1

HP Confidential

15

Actual Capacity Available


When an external LU is defined with an emulation of OPEV-V, the exact size of the external volume will be available to the HOST (the HOST itself will see the exact same value as expected from the original LU.

In the XP display however, the mapped LU may be displayed with a slightly larger size than it actually has. This is due to the slot management method in the XP.
Size displayed size to the HOST(s):
External Vol Capacity = 30GB 30GB = 31457265[Kbytes] 31457265 Kbytes = 62914530[LBA]

30GB

OPEN-V

Size displayed in the XP:

External Adjust Slot Count LU 62914530[LBA] 512 = 122879.9 122879.9 (round up) = 122880[SLOT] Convert to HBA again 122880 x 512 = 62914560[LBA] This is the capacity displayed in the Add LU SVP screen. Ext Volume capacity is 62914530 (LBA) Notes: 1. For OPEN-V, 1 SLOT has 512 LBA. 2. The volume is controlled by the # of slots used. This is part of the control method.
Rev. 1 HP Confidential

Adjusted capacity For internal control is 62914560 (LBA) 16

FlexCopy Operational Notes


Note 1 - If a host uses middleware such as Volume Manager, data in the destination LU (S-VOL) will not match data in the host until the data in the source LU (P-VOL) is exported from the host and applied to the disk array. Note 2 - If two or more Flex Copy pairs are located in the same parity group, the I/O performance on the host server may suffer. Note 3 - Flex Copy enables up to 64 concurrent copy operations. If the number of copy requests exceeds 64, the 65th and subsequent requests will not be processed until a copy operation in progress has completed. Note 4 - The local disk array does not force the external disk array to reserve the mapped external LU. Therefore, do not to write from the external disk array side to a mapped external LU whose IO Suppression mode is set to Disable.
Rev. 1 HP Confidential

17

FlexCopy Operational Notes


Note 5 - On the external LU used for Flex Copy operations, you must select IO Suppression mode when you map the external volume to an internal volume. Note 6 - If you use a mapped external LU as the P-VOL or S-VOL in a Flex Copy pair, then when you map the LU you must: set the emulation type to OPEN-V set IO Suppression mode to Enable Note 7 - An LU set for Auto LUN XP or Business Copy XP cannot be used as the copy pair LU for Flex Copy operations Note 8 FlexCopy P-Vol/S-Vol do not need to be mapped to XP hosts Note 9 WRITE IO will be impossible for FC volumes in any state
Rev. 1 HP Confidential

18

FlexCopy vs. External Storage


FlexCopy Features
A one-time, point-in-time copy of data from the local disk array to or from the external disk array Host access to the external array LU must be by direct connection to the external storage device -- it cannot be via the local disk array

External Storage Features


Real-time usage of external storage devices as additional local disk array storage,providing a total capacity of up to 32 peta-bytes and thousands of external LUs Host access to the external storage LU must be via the local disk array it cannot be by direct connection to the external disk array LU For external array LUs not involved with External Storage XP, direct access from a host is allowed with external XP disk arrays and disallowed with external MSA1000 disk arrays Local disk array LDEVs imported from external storage can be mapped in (from the XP12000's perspective) as any standard XP emulation type (with a few limitations

All Flex Copy LDEVs on the local disk array imported from external storage must be of OPEN-V emulation type

Rev. 1

HP Confidential

19

using Command View XP to add external storage

Rev. 1

HP Confidential

20

FlexCopy Preparing External Storage


Discover the external subsystem

Rev. 1

HP Confidential

21

FlexCopy Preparing External Storage


Discover the external subsystem

external LUN#

FlexCopy virtual disk group

Rev. 1

HP Confidential

22

FlexCopy Preparing External Storage


format external storage as OPEN-V

create smalled OPEN-V volumes later through standard CVS operation panels in Command View XP
Rev. 1 HP Confidential

23

using Command View XP for FlexCopy operations

Rev. 1

HP Confidential

24

Using FlexCopy via Command View (1)


select one or more potential P-Vols

Rev. 1

HP Confidential

25

Using FlexCopy via Command View (2)


assign S-Vols to P-Vols

Rev. 1

HP Confidential

26

Using FlexCopy via Command View (3)


apply changes

Rev. 1

HP Confidential

27

Using FlexCopy via Command View (4)


No Copy option only assigns the pairing relationship the FC pair will get the status NOCOPY Raidmanager is needed to initiate a copy process via pairresync command

through Command View only paircreate and pairsplit S operations can be performed

Rev. 1

HP Confidential

28

Using FlexCopy via Command View (5)


When you operate from the FlexCopy panel, following states are displayed: COPY (PD): Copy processing of all the data in the P-VOL To the S-VOL is in progress (COPY Pending) Copy processing has been complete The copy pair is set by FlexCopy, but the copy processing has not been executed, yet. To start the copy processing, you need to operate the copy pair using Raidmanager

PAIR: PAIR (NOCOPY):

Rev. 1

HP Confidential

30

using Raid Manager XP for FlexCopy operations

Rev. 1

HP Confidential

31

Limitations
There seems to be functions implemented to be compatible to standard Business copy FlexCopy does not support the -m (noread) option of the paircreate command. FlexCopy does not support the quick resync mode of the pairresync command. FlexCopy does not support the quick restore mode of the pairresync restore command. Write operations cannot be performed onto a P-Vol when the P-Vol is in any pairing relationship. Access to the S-Vol from MSA attached host in SMPL state only FlexCopy does not support the At-Time Split function.

Rev. 1

HP Confidential

32

Limitations
When you create a pair using an external volume that is mapped as an internal volume, RAID500 subsystem automatically decides whether to use FlexCopy or Business Copy depending on the attributes of the mapped volume FlexCopy volumes on MSA are NOT visible on attached hosts xpinfo will not show devices RAID Manager configuration files have to be created manually using the raidscan command

Rev. 1

HP Confidential

33

Commands supported
paircreate pairdisplay pairsplit pairresync pairevtwait pairmon pairvolchk raidscan

HORCM_MON #ip_address service 127.0.0.1 52050 HORCM_CMD #dev_name dev_name /dev/rdsk/c1t2d3

poll(10ms) timeout(10ms) 1000 3000

dev_name

HORCM_DEV #dev_group dev_name port# hicp hicpdev1 CL1-A 0

TargetID 0

LU# 0

MU#

HORCM_INST #dev_group ip_address service hicp 127.0.0.1 52051


Rev. 1 HP Confidential

34

Conclusion

FlexCopy for XP128/1024 do not over-sell it!

FlexCopy for XP12000 go for E-Lun

Rev. 1

HP Confidential

35

module end

Rev. 1

HP Confidential

36

FlexCopy findings
for RAID Manager usage, all external FC LDEVs needs to be mapped to a FC CHIP port use a dummy host group in order to avoid any problems (host scanning zero size disk LUNs)

Rev. 1

HP Confidential

37

FlexCopy findings
# Created by mkconf.sh on Tue Feb
HORCM_MON #ip_address 127.0.0.1 HORCM_CMD #dev_name /dev/rdsk/c4t0d0 HORCM_DEV #dev_group bc fc HORCM_INST #dev_group bc fc

1 13:36:18 MET 2005

service 55001

poll(10ms) 1000

timeout(10ms) 3000

dev_name /dev/rdsk/c7t0d0

dev_name

dev_name bc_000 fc_000

port# CL2-B CL2-B

TargetID 12 12

LU# 7 4

MU# 1

ip_address 127.0.0.1 127.0.0.1

service 55002 55002

Rev. 1

HP Confidential

38

FlexCopy findings
# Created by mkconf.sh on Tue Feb
HORCM_MON #ip_address 127.0.0.1 HORCM_CMD #dev_name /dev/rdsk/c4t0d0 HORCM_DEV #dev_group bc fc HORCM_INST #dev_group bc fc

1 13:36:18 MET 2005

service 55001

poll(10ms) 1000

timeout(10ms) 3000

dev_name /dev/rdsk/c7t0d0

dev_name

dev_name bc_000 fc_000

port# CL2-B CL2-B

TargetID 12 12

LU# 7 4

MU# 1

ip_address 127.0.0.1 127.0.0.1

service 55002 55002

Rev. 1

HP Confidential

39

FlexCopy findings

# pairdisplay -g bc -fcxe Group PairVol(L/R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, % ,P-LDEV# M CTG CM EM bc bc_000(L) (CL2-B ,12, 7-0 )50411 410.SMPL ----,--------- - - bc bc_000(R) (CL2-B ,12, 4-0 )50411 411.SMPL ----,--------- - - -

E-Seq# E-LDEV# -

# pairdisplay -g fc -fcxe Group PairVol(L/R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, % ,P-LDEV# M CTG CM EM E-Seq# E-LDEV# fc fc_000(L) (CL2-B ,12, 4-1 )50411 411.SMPL ----,--------- - - fc fc_000(R) (CL1-B ,15, 4-0 )50411 2c0.SMPL ----,--------- - - H 6350GX3QI0H1 3 Rev. 1 HP Confidential

40

FlexCopy findings
# raidscan -p CL1-B PORT# /ALPA/C,TID#, CL1-B /e8/ 1,15, CL1-B /e8/ 1,15, CL1-B /e8/ 1,15, CL1-B /e8/ 1,15, CL1-B /e8/ 1,15, CL1-B /e8/ 1,15, CL1-B /e8/ 1,17, CL1-B /e8/ 1,17, CL1-B /e8/ 1,17, -fxe LU#..Num(LDEV#....)...P/S, Status, LDEV#, 4-0 .1(2c0)...........SMPL ---- -----, 4-1 .1(2c0)...........SMPL ---- -----, 4-2 .1(2c0)...........SMPL ---- -----, 5-0 .1(2c1)...........SMPL ---- -----, 5-1 .1(2c1)...........SMPL ---- -----, 5-2 .1(2c1)...........SMPL ---- -----, 6-0 .1(2c2)...........SMPL ---- -----, 6-1 .1(2c2)...........SMPL ---- -----, 6-2 .1(2c2)...........SMPL ---- -----, E-Seq#,E-LDEV# 6350GX3QI0H1 3 6350GX3QI0H1 3 6350GX3QI0H1 3 6350GX3QI0H1 4 6350GX3QI0H1 4 6350GX3QI0H1 4 6350GX3QI0H1 5 6350GX3QI0H1 5 6350GX3QI0H1 5

pairdisplay -g fc -l -fcxe Group PairVol(L/R) (Port#,TID, LU-M) ,Seq#,LDEV#.P/S,Status, % ,P-LDEV# fc fc_000(L) (CL1-B ,15, 4-0 )50411 2c0.SMPL ----,--------fc fc_001(L) (CL1-B ,15, 5-0 )50411 2c1.SMPL ----,--------fc fc_002(L) (CL1-B ,17, 6-0 )50411 2c2.SMPL ----,---------

M CTG CM EM E-Seq# E-LDEV# - - H 6350GX3QI0H1 3 - - H 6350GX3QI0H1 4 - - H 6350GX3QI0H1 5

Rev. 1

HP Confidential

41

FlexCopy findings

Rev. 1

HP Confidential

42

Вам также может понравиться