Professional Documents
Culture Documents
Objectives
After completing this session, you will be able to: Discuss the basic considerations when implementing replication Understand the basic tasks needed to configure Local and Remote Replication on a Symmetrix Describe the processes for accessing a Local and Remote replica in a Linux on System z environment
TimeFinder Local Replication Provides multiple point-in-time copies of data to distribute business tasks
This allows for simultaneous action of previously sequential business tasks An example of this is the ability to backup a point-in-time copy of critical data while production operations continue on the source data
Linux Linux
Forms of Local Replication include stand alone point-in-time copies and capacity savings point-in-time views SRDF Remote Replication Allows the movement of data between storage systems in the same room, to different buildings located across town, or thousands of miles apart Offers various disaster recovery levels Enables the following operations: Linux Linux
Disaster recovery, Disaster restart testing Recovery from planned outages, Remote backup Data center migration, Data replication and mobility
3
Pointer Based Replication - Snap The Target Device is a virtual device housing a collection of pointer between the Source and a reserve area for a point-in-time view
Source Target
Source
LPAR
Target device can be larger than Source Snap SNAPS create logical point-in-time snapshots of a source volume Requires only a fraction of the source volumes capacity (based on percentage of writes) Multiple Snapshots can be created from a source volume and are available immediately Snapshots support read / write processing Supports mainframe and open systems host environments
Target
LPAR
Save Area
Asynchronous Replication Data is a point-in-time consistent copy but writes happen locally and are sent across to remote systems/sites at a predetermined time Source Target
7
Target
R2
SRDF/Asynchronous
Predictable RPO No performance impact Unlimited distance Only two copies of data required
Source
R1
SRDF/AR
Data Movement solution No performance impact Unlimited distance
Target
R2
R1
Stop the application and unmount the file system prior to activate or split Database hot backup mode Database freeze/thaw
Symmetrix based
Linux Linux
Enginuity Consistency Assist (ECA) holds IO at the Symmetrix until all Splits/Activate complete
11
Source Symmetrix Symmetrix SID RDF Group Composite Group Name Remote Director
Remote Symmetrix Symmetrix SID Remote RDF Group Composite Group Name Remote Director
Replication Management
Open Systems
Solutions Enabler (SE) Symmetrix Management Console
Open Systems host over an IP Network SMC or SE
IP Network
z/OS
Resource Pak EMC z/OS Storage Manager (EzSM)
Client
Guest Guest
z/OS LPAR
13
16
17
18
Clone Actions Create Activate Terminate Establish (Full/Incremental) Restore (Full/Incremental) Recreate
19
20
21
Identify Configuration
Select between two site configurations
22
23
24
25
26
27
SRDF Control Perform Disaster Recover or Concurrent operations on SRDF Devices SRDF Settings Set the replication operation mode for SRDF devices SRDF Configuration Manage SRDF Groups Manipulate SRDF Pairs
28
29
30
32
z/OS
IOS
33
34
Primary Site
LPAR x14
8F 9F
7F 10F
Source Symmetrix Symmetrix SID RDF Group Composite Group Name Remote Director
Remote Symmetrix Symmetrix SID Remote RDF Group Composite Group Name Remote Director
FICON
CHPID 82 CHPID 83
00e7 1196-119D
2147 128a1291
0100 128a1291
00AA -
00e7 022A0231
6g:0 9g:0
SYMM
FICON
CHPID 88 CHPID 89
Remote SLV
23FA 26F026F7
0100
00EA
7g:0 8g:0
SYMM
39
2147 R/W 0X0100 SUBCHANNEL = 000C 2147 R/W 0X0100 SUBCHANNEL = 000C 128A 128A 128B 128B 128C 128C 128D 128D 128E 128E 128F 128F 1290 1290 1291 1291 R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W 0X128A 0X128A 0X128B 0X128B 0X128C 0X128C 0X128D 0X128D 0X128E 0X128E 0X128F 0X128F 0X1290 0X1290 0X1291 0X1291 SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL SUBCHANNEL = = = = = = = = = = = = = = = = 000E 000E 000F 000F 0010 0010 0011 0011 0013 0013 0014 0014 0015 0015 0016 0016
40
41
TimeFinder/Clone Operations
Create device group Add source device and associate target to device group
# # # # # # # # symdg symdg symld symld symld symld symdg symdg create -type rdf1 zL_cl_dg1 create -type rdf1 zL_cl_dg1 -g zL_cl_dg1 add dev 00e7 -g zL_cl_dg1 add dev 00e7 -g zL_cl_dg1 add dev 00aa -tgt -g zL_cl_dg1 add dev 00aa -tgt show zL_cl_dg1 show zL_cl_dg1 zL_cl_dg1 zL_cl_dg1
Group Type : RDF1 (RDFA) Group Type : RDF1 (RDFA) Standard (STD) Devices (1): Standard (STD) Devices (1): { { --------------------------------------------------------------------------------------------------------------------------------------Sym Cap Sym Cap LdevName PdevName Dev Att. Sts (MB) LdevName PdevName Dev Att. Sts (MB) --------------------------------------------------------------------------------------------------------------------------------------DEV001 N/A 00E7 RW 8120 DEV001 N/A 00E7 RW 8120 } } TGT Devices Locally-associated (1): TGT Devices Locally-associated (1): { { --------------------------------------------------------------------------------------------------------------------------------------Sym Cap Sym Cap LdevName PdevName Dev Att. Sts (MB) LdevName PdevName Dev Att. Sts (MB) --------------------------------------------------------------------------------------------------------------------------------------TGT001 N/A 00AA RW 8120 TGT001 N/A 00AA RW 8120
42
TimeFinder/Clone Operations
Creating a session builds relationship between the source and target No data is immediately copied unless the precopy flag is specified Use the differential
If the Clone will be repeatedly refreshed (recreate) If Clone might be used for incremental restore back to the source
# symclone -g zL_cl_dg1 create -tgt -precopy -differential # symclone -g zL_cl_dg1 create -tgt -precopy -differential Execute 'Create' operation for device group Execute 'Create' operation for device group 'zL_cl_dg1' (y/[n]) ? y 'zL_cl_dg1' (y/[n]) ? y 'Create' operation execution is in progress for 'Create' operation execution is in progress for device group 'zL_cl_dg1'. Please wait... device group 'zL_cl_dg1'. Please wait... 'Create' operation successfully executed for device group 'Create' operation successfully executed for device group 'zL_cl_dg1'. 'zL_cl_dg1'.
43
TimeFinder/Clone Operations
Session created Review PreCopy status
# symclone -g zL_cl_dg1 query # symclone -g zL_cl_dg1 query Device Group (DG) Name: zL_cl_dg1 Device Group (DG) Name: zL_cl_dg1 DG's Type : RDF1 DG's Type : RDF1 DG's Symmetrix ID : 000192601700 DG's Symmetrix ID : 000192601700 Source Device Source Device ----------------------------------------------------------------Protected Modified Protected Modified Logical Sym Tracks Tracks Logical Sym Tracks Tracks ----------------------------------------------------------------DEV001 00E7 102936 0 DEV001 00E7 102936 0 Total Total Track(s) Track(s) MB(s) MB(s) -------- --------------- -------102936 0 102936 0 5562.6 0.0 5562.6 0.0 Target Device Target Device ------------------------------------------------------Modified Modified Logical Sym Tracks CGDP Logical Sym Tracks CGDP ------------------------------------------------------TGT001 00AA 0 XXX. TGT001 00AA 0 XXX. --------------0 0 0.0 0.0 State Copy State Copy ------------ --------------- ---SRC <=> TGT (%) SRC <=> TGT (%) ------------ --------------- ---PreCopy 31 PreCopy 31
Legend: Legend: (C): X = The background copy setting is active for this pair. (C): X = The background copy setting is active for this pair. . = The background copy setting is not active for this pair. . = The background copy setting is not active for this pair. (G): X = The Target device is associated with this group. (G): X = The Target device is associated with this group. . = The Target device is not associated with this group. . = The Target device is not associated with this group. . .
44
TimeFinder/Clone Operations
activate a session makes a Target R/W accessible to host Establishes point-in-time copy Three copy options:
Copy on Access (default) Copy on Write (-nocopy when session created) Full background copy (-copy)
# symclone -g zL_cl_dg1 activate -tgt # symclone -g zL_cl_dg1 activate -tgt Execute 'Activate' operation for device group Execute 'Activate' operation for device group 'zL_cl_dg1' (y/[n]) ? y 'zL_cl_dg1' (y/[n]) ? y 'Activate' operation execution is in progress for 'Activate' operation execution is in progress for device group 'zL_cl_dg1'. Please wait... device group 'zL_cl_dg1'. Please wait... 'Activate' operation successfully executed for device group 'Activate' operation successfully executed for device group 'zL_cl_dg1'. 'zL_cl_dg1'.
45
'Create' operation execution is in progress for 'Create' operation execution is in progress for device group 'zL_cl_dg1'. Please wait... device group 'zL_cl_dg1'. Please wait... 'Create' operation successfully executed for device group 'Create' operation successfully executed for device group 'zL_cl_dg1'. 'zL_cl_dg1'. # symclone -g zL_cl_dg1 query # symclone -g zL_cl_dg1 query Device Group (DG) Name: zL_cl_dg1 Device Group (DG) Name: zL_cl_dg1 DG's Type : RDF1 DG's Type : RDF1 DG's Symmetrix ID : 000192601700 DG's Symmetrix ID : 000192601700
Source Device Source Device ----------------------------------------------------------------Protected Modified Protected Modified Logical Sym Tracks Tracks Logical Sym Tracks Tracks ----------------------------------------------------------------DEV001 00E7 150255 0 DEV001 00E7 150255 0 Total Total Track(s) Track(s) MB(s) MB(s) -------- --------------- -------150255 0 150255 0 8119.6 0.0 8119.6 0.0
Target Device Target Device ------------------------------------------------------Modified Modified Logical Sym Tracks CGDP Logical Sym Tracks CGDP ------------------------------------------------------TGT001 00AA 0 XXX. TGT001 00AA 0 XXX. --------------0 0 0.0 0.0
State Copy State Copy ------------ --------------- ---SRC <=> TGT (%) SRC <=> TGT (%) ------------ --------------- ---Created 0 Created 0
46
TimeFinder/Clone Operations
Recreate Clone session Establishes new point-in-time copy after activation Only the changed tracks since last activation are copied
Session must have been created with copy or precopy and differential option
# symclone -g zL_cl_dg1 recreate -tgt # symclone -g zL_cl_dg1 recreate -tgt Execute 'Recreate' operation for device group Execute 'Recreate' operation for device group 'zL_cl_dg1' (y/[n]) ? y 'zL_cl_dg1' (y/[n]) ? y 'Recreate' operation execution is in progress for 'Recreate' operation execution is in progress for device group 'zL_cl_dg1'. Please wait... device group 'zL_cl_dg1'. Please wait... 'Recreate' operation successfully initiated for device group 'Recreate' operation successfully initiated for device group 'zL_cl_dg1'. 'zL_cl_dg1'. [root@ln150148 ~]# symclone -g zL_cl_dg1 activate -tgt [root@ln150148 ~]# symclone -g zL_cl_dg1 activate -tgt Execute 'Activate' operation for device group Execute 'Activate' operation for device group 'zL_cl_dg1' (y/[n]) ? y 'zL_cl_dg1' (y/[n]) ? y 'Activate' operation execution is in progress for 'Activate' operation execution is in progress for device group 'zL_cl_dg1'. Please wait... device group 'zL_cl_dg1'. Please wait... 'Activate' operation successfully executed for device group 'Activate' operation successfully executed for device group
47
TimeFinder/Clone Operations
Terminate deletes the pairing information If not in a COPIED state, target will not be a complete copy and thus unusable
# symclone -g zL_cl_dg1 terminate -tgt # symclone -g zL_cl_dg1 terminate -tgt Execute 'Terminate' operation for device group Execute 'Terminate' operation for device group 'zL_cl_dg1' (y/[n]) ? y 'zL_cl_dg1' (y/[n]) ? y 'Terminate' operation execution is in progress for 'Terminate' operation execution is in progress for device group 'zL_cl_dg1'. Please wait... device group 'zL_cl_dg1'. Please wait... 'Terminate' operation successfully executed for device group 'Terminate' operation successfully executed for device group 'zL_cl_dg1'. 'zL_cl_dg1'.
48
Num Num 88 88
Slot Slot 8 8
Attr Attr -
Status Status
000192601715 4 (03) 4 (03) Online 000192601715 4 (03) 4 (03) Online 000192601715 10 (09) 10 (09) 000192601715 10 (09) 10 (09) 000192601715 11 (0A) 11 (0A) 000192601715 11 (0A) 11 (0A)
49
Group Group --------------------------------------------Flags Dir Flags Dir RA-Grp SymmID T Name LPDS Cfg RA-Grp SymmID T Name LPDS Cfg --------------------- ------------------------------------------- ----------------------4 ( 3) 000192601715 D RDF-4 XX.. F-S 4 ( 3) 000192601715 D RDF-4 XX.. F-S 10 ( 9) 000192601715 D RDF-10 .X.. F-S 10 ( 9) 000192601715 D RDF-10 .X.. F-S 11 ( A) 000192601715 D RDFG_11 .X.. F-S 11 ( A) 000192601715 D RDFG_11 .X.. F-S
Legend: Legend: ? ? Group (T)ype Group (T)ype Director (C)onfig Director (C)onfig
: Unknown : Unknown : S = Static, D = Dynamic : S = Static, D = Dynamic : F-S = Fibre-Switched, F-H = Fibre-Hub : F-S = Fibre-Switched, F-H = Fibre-Hub G = GIGE, E = ESCON, T = T3, - = N/A G = GIGE, E = ESCON, T = T3, - = N/A Group Flags : Group Flags : Prevent Auto (L)ink Recovery : X = Enabled, . = Disabled Prevent Auto (L)ink Recovery : X = Enabled, . = Disabled Prevent RAs Online Upon (P)ower On: X = Enabled, . = Disabled Prevent RAs Online Upon (P)ower On: X = Enabled, . = Disabled Link (D)omino : X = Enabled, . = Disabled Link (D)omino : X = Enabled, . = Disabled (S)TAR mode : N = Normal, R = Recovery, . = OFF (S)TAR mode : N = Normal, R = Recovery, . = OFF RDFA Flags : RDFA Flags : (C)onsistency : X = Enabled, . = Disabled, - = N/A (C)onsistency : X = Enabled, . = Disabled, - = N/A . .
50
51
52
53
54
Summary
Planning is key to successful replication Local replication is very flexible SNAP CLONE Remote Replication has several options depending on RPO/RTO Sync Async Data Mobility Management of the Symmetrix and replication can by done by Linux on System z z/OS Open Systems Linux, Unix, Windows
55