SRDF Replication Initial Setup

Step 1: Create Source Device group

Identify the source and target device needed to perform Remote replication. It can be found using command “syminq” or “symrdf list pd”

Create a Device group using command “ symdg create ‘DG Name’ –type RDF1” Type is important while creating a device group. Add the device which needs to be replicated using command “symdg –g ‘DG Name’ add dev “Device Id”

image001

Step 2: Similarly Create Target Device group type attribute will be RDF2

image002

Step 3: Based on the requirement, Logical name for the device can be changed.

image003

image004

Prerequisite for configuring SRDF operation.

For initial configuration RDF group needs to be created. Below is the command to create a RDF group.

“symrdf addgrp -label rdfg<RDF Group#1> -sid <local sid> -remote_sid <remote sid> -dir <local RA 1>,<local RA 2> –remote_dir <remote RA 1>,<remote RA 2> -rdfg <RDF Group#1> -remote_rdfg <REMOTE_GROUP#1>”

To verify the RDF group use the below command.

“symcfg –rdfg all –sid <local sid> list”

image005

Step 4:  Create a text file and add the source and target device needs to be replicated and perform Dynamic pair creation.

image006

Pair can be created using below command.

“symrdf -file pair.txt -sid <local sid> -rdfg <local RDF GROUP#1> -type r1 -establish -g dg<SGN> createpair”

image007

Pair status can be checked using command symrdf –g dg_name query “ the status will be that pair has been created.

 image008

Step 5: As per the requirement the modes can be set as Synchronous or Asynchronous and replication will get configured between devices.

Command to set mode:

“symrdf –g dg<SGN> set mode async –nop “

In most of the environment to copy the Invalid tracks  from R1 to R2 device mode will be set to acp_wp or acp_disk and later mode can be changed to Asynchronous mode.

image009

The status of pair will in SyncInProg when changed to acp_disk.

image010

This is the basic operations in SRDF configuration. In my next blog i will explain about SRDF disaster recovery and decision support operations.