You are on page 1of 55

Advanced Replication and Disaster Recovery in a Linux on System z Environment

Gail Riley EMC March 15, 2010 9165

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

Replication Business Recovery Tools

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

Disaster Recovery versus Disaster Restart


Most business critical applications have some level of data interdependencies Disaster recovery Restoring previous copy of data and applying logs to that copy to bring it to a known point of consistency Generally implies the use of backup technology Data copied to tape and then shipped off-site Requires manual intervention during the restore and recovery processes Disaster restart Process of restarting mirrored consistent copies of data and applications Allows restart of all participating DBMS to a common point of consistency utilizing automated application of recovery logs during DBMS initialization The restart time is comparable to the length of time required for the application to restart after a power failure

Forms of Local Replication


Full Volume Copy - Clone Data is copied from the Source Device to a Target Device of equal size and emulation Source Target

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

TimeFinder Local Replication


Clone Provides up to 16 concurrent, instant Point-inTime:
Copies of a Volume or Dataset

Immediately accessible after activation


The CLONE is completed in the background in the Symmetrix

Source

MVS OS/390 Host

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

Production View Production View

Save Area

Cache-Based Pointer Map

Snapshot Snapshot View View


6

Forms of Remote Replication


Data Distribution Data is copied from one storage system to another without maintaining a consistent recoverable copy Source Target Synchronous Replication Identical copies of data across storage systems where writes are committed across to remote systems/sites first which increases execution time
Source = Target

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

Symmetrix Remote Data Facility: Two Site solutions


SRDF/Synchronous
No data exposure Some performance impact Limited distance
R1

Source Limited Distance

Target
R2

SRDF/Asynchronous
Predictable RPO No performance impact Unlimited distance Only two copies of data required

Source
R1

Target Unlimited Distance


R2

SRDF/AR
Data Movement solution No performance impact Unlimited distance

Source Unlimited Distance

Target
R2

R1

Creating a TimeFinder Consistent Copy


Different options depending on application and host requirements Server Pause I/O at the Server Level to provide a Consistent Point-in-Time Copy Application

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

SRDF/Consistency Groups Overview


Preserves dependent-write consistency of devices Ensures application dependent write consistency of the application data remotely mirrored by SRDF operations in the event of a rolling disaster Across multiple Symmetrix systems and/or multiple SRDF groups within a Symmetrix system A composite group comprised of SRDF logically R1 or R2 devices suspended Configured to act in unison to maintain the integrity of a database or application distributed across Symmetrix systems Included with SRDF/S and SRDF/A SRDF/S using Enginuity Consistency Assist (ECA) Fault event SRDF/A using Multi Session Consistency (MSC)

Ensures dependent-write consistency of the data remotely mirrored by SRDF


10

Linux on System z Replication Devices


The Symmetrix replicates disk drives FBA SCSI disk drives configured as zfcp devices CKD Dedicated to guest virtual machine

11

SRDF Lab Configuration


Primary Site Recovery Site Fibre Channel or GigE Switch R1 CKD Primary Site 192601700
V-Max
8F 9F 7F 10F

LPAR z11 z/VM Linux

LPAR x14 z/VM Linux

R2 CKD Recovery Site 192601715


V-Max

Source Symmetrix Symmetrix SID RDF Group Composite Group Name Remote Director

1700 4,10 zL1_rdfcg 8F, 9F

Remote Symmetrix Symmetrix SID Remote RDF Group Composite Group Name Remote Director

1715 4,10 zL1_rdfcg 7F,10F


12

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/VM LPAR Linux as a guest virtual machine running SE

z/OS LPAR

z/OS LPAR for Management via EzSM

13

EMC Replication Management Options


Solutions Enabler 7.1 On Linux SUSE 10/11 and Red Hat 5.4 Open Systems hosts Windows, Linux, UNIX Mainframe Enabler z/OS Symmetrix Management Console (SMC) Windows, Linux (x86), UNIX EMC z/OS Storage Manager (EzSM) ISPF like Panel Menu Interface EMC products for TPF TimeFinder Controls for TPF SRDF Controls for TPF ResourcePak for TPF
14

Replication Control for Linux on System z from Windows


Symmetrix Management Console

Replication Management: Web Interface


Symmetrix Management Console (SMC)
Web interface to interface directly with Storage System Used for general storage management and Local and Remote Replication operations

Provides Management at the Storage Subsystem Level

16

Local Replication Operations with SMC


TimeFinder operations are invoked by selecting a DG or CG and using the Replication option TimeFinder TimeFinder Operations in SMC Mirror (DMX-4 and below) Clone Snap SAVE Device Pool Management

17

TimeFinder/Clone Associate Pairs

18

TimeFinder/Clone Create Session

Clone Actions Create Activate Terminate Establish (Full/Incremental) Restore (Full/Incremental) Recreate
19

TimeFinder/Clone Activate Session

20

Building SRDF Configuration with SMC


Use SRDF Replication Wizard

21

Identify Configuration
Select between two site configurations

22

Identify Source Site


Select the Source Symmetrix and R1 Devices

23

Select Target Symmetrix and Create Group

24

Verify Symmetrix Device Pairs


Verify R1 to R2 as the R2 will be overwritten and any data on it lost

25

Automatically Create a Device Group


Device Group is required to perform SRDF operations

26

Summary of SRDF Process


Confirm SRDF configuration before execution

27

SRDF Operations Supported by SMC

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

SRDF - SMC Replication

28

SRDF Settings - Setting SRDF Mode

29

SRDF Control - Failover, Failback

30

Replication Control from z/OS


Mainframe Enabler for z/OS

Replication Management: z/OS


Mainframe Enabler for z/OS EMC ResourcePak Base for z/OS (Symmetrix Control Facility) EMC Consistency Groups for z/OS SRDF Host Component for z/OS EMC TimeFinder/Clone Mainframe SNAP Facility EMC TimeFinder/Mirror for z/OS EMC TimeFinder Utility EMC z/OS Storage Manager (EzSM) EMC products for TPF TimeFinder Controls for TPF SRDF Controls for TPF ResourcePak for TPF Provides Management at the Host and Storage Subsystem Level Allows for application level control at the z/OS LPAR

32

Mainframe Enabler for z/OS


The Enabler for EMCs z/OS TimeFinder and SRDF Business Continuance solutions Symmetrix Control Facility (SCF) address space
Persistent EMC Subsystem for SymmAPI functions: Gathering and maintaining device information Performing automation functions Multi LPAR coordination via Symmetrix Provides a Central Point of Control

Mainframe Enabler Components (e.g. TF SRDF HC) Or ISV Developed Products

Symmetrix Control Facility


EMCSAI SNAPAPI Automation Meta Data

z/OS

IOS

33

SRDF Host Component for z/OS


Host based utility for monitoring and managing of TimeFinder and SRDF solutions #SQ GLOBAL Runs as a started task #SQ LINK,0100,E #SQ RDFGRP,0100 Multiple user interfaces #SQ VOL,SCFG(CE01S02GNS) z/OS operator commands Batch Interface to ease automation ISPF like interface for ad-hoc usage REXX support for common procedures EMCSPE: Stored Procedure Executive, with common scripts

34

Replication Control from Linux for System z


Solutions Enabler for Linux on System z

SRDF Lab Configuration


LPAR z11

Primary Site

Recovery Site Fibre Channel or GigE Switch

LPAR x14

R1 CKD Primary Site 192601700


V-Max

8F 9F

7F 10F

R2 CKD Recovery Site 192601715


V-Max

Source Symmetrix Symmetrix SID RDF Group Composite Group Name Remote Director

1700 4,10 zL1_rdfcg 8F, 9F

Remote Symmetrix Symmetrix SID Remote RDF Group Composite Group Name Remote Director

1715 4,10 zL1_rdfcg 7F,10F


36

CKD Lab Environment Primary Site


LN150148 Red Hat 5.x EMC Solutions Enabler LN150150 SLES EMC Solutions Enabler

FICON
CHPID 82 CHPID 83

z/VM 5.4 LPAR

Symmetrix Guest z/VM Logical Dev IODEVICE Volumes (R1) Addr

Local Clone SLV

Remote SLV (R2)

00e7 1196-119D

2147 128a1291

0100 128a1291

00AA -

00e7 022A0231

6g:0 9g:0

V-Max serial number 1700


1700
37

SYMM

CKD Lab Environment Recovery Site


DR150148 Red Hat 5.x EMC Solutions Enabler DR150150 SLES EMC Solutions Enabler

FICON
CHPID 88 CHPID 89

z/VM 5.4 LPAR

Symmetrix Guest z/VM Logical Dev IODEVICE Volumes (R2) Addr

Local Clone SLV

Remote SLV

00e7 022A - 0231

23FA 26F026F7

0100

00EA

7g:0 8g:0

128A- 02901291 0297

V-Max serial number 1715


1715
38

SYMM

Replication Management: Linux on System z


Solutions Enabler 7.1
Linux on System z SLES 10/11 and Redhat 5.4 Open Systems hosts Windows, Linux, UNIX

Provides Management at the Host and Storage Subsystem Level


Allows for application level control at the Linux on System z Server

39

List Linux Virtual Machines Devices


Use vmcp to query the virtual machine devices Make sure virtual addresses are consistent across sites
# vmcp q v all # vmcp q v all DASD 0100 ON DASD DASD 0100 ON DASD DASD 128A ON DASD DASD 128A ON DASD DASD 128B ON DASD DASD 128B ON DASD DASD 128C ON DASD DASD 128C ON DASD DASD 128D ON DASD DASD 128D ON DASD DASD 128E ON DASD DASD 128E ON DASD DASD 128F ON DASD DASD 128F ON DASD DASD 1290 ON DASD DASD 1290 ON DASD DASD 1291 ON DASD DASD 1291 ON DASD

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

List Symmetrix Devices


Verify Symmetrix Devices are available on each Symmetrix
# symdev list -range 1196:119d -sid 1700 # symdev list -range 1196:119d -sid 1700 Symmetrix ID: 000192601700 Symmetrix ID: 000192601700 Device Name Device Name --------------------------------------------Cap Cap Sym Physical Sym Physical --------------------------------------------1196 Not Visible 1196 Not Visible 1197 Not Visible 1197 Not Visible 1198 Not Visible 1198 Not Visible 1199 Not Visible 1199 Not Visible 119A Not Visible 119A Not Visible 119B Not Visible 119B Not Visible 119C Not Visible 119C Not Visible 119D Not Visible 119D Not Visible Directors Device Directors Device ------------- ------------------------------------------------ -----------------------------------SA :P DA :IT SA :P DA :IT ------------------------***:* 06B:D7 ***:* 06B:D7 ***:* 09B:D2 ***:* 09B:D2 ***:* 05C:C0 ***:* 05C:C0 ***:* 09A:C0 ***:* 09A:C0 ***:* 06D:C0 ***:* 06D:C0 ***:* 09D:C1 ***:* 09D:C1 ***:* 05A:D7 ***:* 05A:D7 ***:* 10C:C1 ***:* 10C:C1 Config Attribute Sts (MB) Config Attribute Sts (MB) --------------------------------------------------------------------------RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902 RDF1+Mir Grp'd RW 902

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 Name: Group Name:

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

TimeFinder/Clone Create Protected Tracks


All tracks marked as protected
# symclone -g zL_cl_dg1 create # symclone -g zL_cl_dg1 create Execute 'Create' operation for Execute 'Create' operation for 'zL_cl_dg1' (y/[n]) ? y 'zL_cl_dg1' (y/[n]) ? y -tgt -tgt device group device group

'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

Creating Dynamic SRDF Groups


# symrdf -v addgrp -label rdf-10 -rdfg 10 -sid 1700 -dir 8F -remote_rdfg # symrdf -v addgrp -label rdf-10 -rdfg 10 -sid 1700 -dir 8F -remote_rdfg 10 -remote_sid 1715 -remote_dir 7F noprompt 10 -remote_sid 1715 -remote_dir 7F noprompt # symcfg list -ra 8f -sid 1700 # symcfg list -ra 8f -sid 1700 Symmetrix ID: 000192601700 Symmetrix ID: 000192601700 S Y M M E T R I X S Y M M E T R I X R D F R D F D I R E C T O R S D I R E C T O R S

Ident Ident RF-8F RF-8F

Symb Symb 08F 08F

Num Num 88 88

Slot Slot 8 8

Type Type RDF-R1 RDF-R1

Attr Attr -

Remote Remote SymmID SymmID

Local Local RA Grp RA Grp

Remote Remote RA Grp RA Grp

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

RDF Group Details


# symcfg -rdfg all list -sid 1700 # symcfg -rdfg all list -sid 1700 Symmetrix ID : 000192601700 Symmetrix ID : 000192601700 S Y M M E T R I X S Y M M E T R I X Local Local --------------------------LL LL RA-Grp (sec) RA-Grp (sec) --------------------------4 ( 3) 10 4 ( 3) 10 10 ( 9) 10 10 ( 9) 10 11 ( A) 10 11 ( A) 10 R D F R D F G R O U P S G R O U P S RDFA Info RDFA Info --------------------------------Flags Cycle Flags Cycle CSRM time Pri CSRM time Pri ----- ----- ------- ----- ---IS30 33 -IS30 33 -IS30 33 -IS30 33 .AS30 33 .AS30 33

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

Remote Remote -----------------------------------------

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

Create SRDF Pair Example


# symrdf file pair.txt sid 1700 rdfg 4 type r1 establish createpair # symrdf file pair.txt sid 1700 rdfg 4 type r1 establish createpair An RDF 'Create Pair' operation execution is in progress for device An RDF 'Create Pair' operation execution is in progress for device file 'pairf'. Please wait... file 'pairf'. Please wait... Create RDF Pair in (0398,04)....................................Done. Create RDF Pair in (0398,04)....................................Done. Mark target device(s) in (0398,04) for full copy from source....Started. Mark target device(s) in (0398,04) for full copy from source....Started. Device: 0330 .................................................. Marked. Device: 0330 .................................................. Marked. Mark target device(s) in (0398,04) for full copy from source....Done. Mark target device(s) in (0398,04) for full copy from source....Done. Merge track tables between source and target in (0398,01).......Started. Merge track tables between source and target in (0398,01).......Started. Device: 01D0 .................................................. Merged. Device: 01D0 .................................................. Merged. Merge track tables between source and target in (0398,01).......Done. Merge track tables between source and target in (0398,01).......Done. Resume RDF link(s) for device(s) in (0398,04)...................Started. Resume RDF link(s) for device(s) in (0398,04)...................Started. Resume RDF link(s) for device(s) in (0398,04)...................Done. Resume RDF link(s) for device(s) in (0398,04)...................Done. The RDF 'Create Pair' operation successfully executed for device The RDF 'Create Pair' operation successfully executed for device file pair'. file pair'.

51

Linux Replica Device Considerations


Both Local and Remote Replication have device access considerations Dedicated CKD or FCP/FBA devices are supported Use device-by-path, not device-id for device setup Replicated devices have the same virtual addresses at both sites SCSI LUN mapping is the same at both sites for both Symmetrix Other considerations Identify/minimize hardcoded application dependencies
Network IP, hostname, etc.

Update network, DNS as appropriate Automate the process wherever possible

52

Solutions Enabler Considerations


Gatekeeper devices are required for Solutions Enabler communication to the Symmetrix Use Group Name Services (GNS) If booting off a Symmetrix device, at backup site, run symcfg discover to refresh Symmetrix connectivity If Linux is running under z/VM with CKD Solutions Enabler with only CKD devices requires gatekeeper devices be setup as rdev unsupported devclass DASD because CP prevents certain calls These devices will be seen as CGK from Solutions Enabler Devices must be referenced by Symmetrix Device Name Create special CKD gatekeeper devices at backup site also PAV is not supported with rdev unsupported devices so ensure gatekeeper devices are across multiple paths

53

Solutions Enabler Considerations


If Linux is running under z/VM FCP/FBA
Assign SCSI gatekeeper devices Devices can be referenced by Symmetrix Logical Device name Create gatekeeper devices accessible on backup site virtual machine If booting off Symmetrix, at backup site, run symcfg discover to refresh Symmetrix connectivity
If Linux is running native in a LPAR There are no special considerations for Solutions Enabler

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

You might also like