Sie sind auf Seite 1von 12

BCR – Business Continuance Remote (Windows) BCR – Lab Doc

Lab Exercise 6: SRDF/A Multi Session Consistency

This exercise is designed to guide students through the Multi


Purpose: Session Consistency (MSC) setup and activation of SRDF/A.
Students will create a device group from dynamic RDF
volumes then convert a device group to composite group. The
lab will also demonstrate an environment where Veritas
volume manager is integrated with MSC.

Following this exercise, participants should be able to:


Objectives:
1. Create a composite group from a device group
2. Add device to a composite group
3. Implement RDF consistency of a composite group
4. Prepare and manipulate Multi Session SRDF/A
environment

References: EMC Solutions Enabler – Ver 6.0


PRODUCT GUIDE P/N - 300-000-877 - REV A06

EMC Solutions Enabler – Ver 6.0 – Release Notes


PRODUCT GUIDE P/N - 300-002-095 - REV A01

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 52 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

Lab 6 Part 1: Create composite group / RDF Consistency Lab

STEP ACTION -

1 Fill in all of the fields with the appropriate information for both the Source and Target
Symmetrix disk arrays. . Ask the instructor for the RDF group numbers.

Local Symmetrix Remote Symmetrix


SID SID
RDF Group #1 Remote Group #1
RDF Group #2 Remote Group #2
Remote Director1 Remote Director1
Remote Director2 Remote Director2
SYM Device #1 SYM Device #1
SYM Device #2 SYM Device #2
Perform the following to fill in the above table.

List existing RDF groups

# symcfg –rdfg all –sid <SYM> list

Or

# symcfg –RA all list

List RDF dynamic capable devices

# symdev list -dynamic

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 53 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

1 On the local host, create two RDF group

c:\> symrdf addgrp -label rdfg<RDF Group #1> -rdfg <RDF


Group #1> -sid <SYM> -dir <DIR1>,<DIR2> -remote_sid
<REMOTE_SYM> -remote_dir <REMOTE_DIR1>,<REMOTE_DIR2> -
remote_rdfg -remote_rdfg <Remote Group #1> –nop

c:\> symrdf addgrp -label rdfg<RDF Group #2> -rdfg <RDF


Group #2> -sid <SYM> -dir <DIR1>,<DIR2> -remote_sid
<REMOTE_SYM> -remote_dir <REMOTE_DIR1>,<REMOTE_DIR2> -
remote_rdfg <Remote Group #2> –nop

2 Verify that the RDF groups were created

c:\> symcfg -sid <SYM> list -rdfg all

3 Create a text file, pairone.txt , in c:\students\<SGN> directory with the first


pair of devices.

For example:
c:\> more pairone.txt
100 200

4 Create a dynamic pair in the first RDF group.

c:\> symrdf createpair –f pairone.txt –sid <SYM>


–rdfg <RDF Group#1> –type r1 –est –g onedg<SGN> -nop

5 Create a text file, pairtwo.txt , , containing the second pair of devices.

For example:
c:\> more pairtwo.txt
101 201

6 Create another dynamic pair in the other RDF group.

c:\> symrdf createpair –f pairtwo.txt –sid <SYM>


–rdfg <RDF Group#2> –type r1 –est –g twodg<SGN> –nop

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 54 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

7 Verify that the storapid and storrdfd daemons is running

c:\> stordaemon list

If the daemons are not running, what is the command to start them?

storapid ______________________________________________________

storrdfd _______________________________________________________

8 Convert the the first device group to a composite group


#symdg dg2cg onedg<SGN> msc<SGN> –rdf_consistency

9 Merge the second device group to the composite group.


#symdg dg2cg twodg<SGN> msc<SGN> –rdf_consistency –rename

Note: The –rename generates new logical device name for the devices

10 Verify that the composite group was created properly.

C:\> symcg show msc<SGN>

Activate SRDF/A

C:\> symrdf –cg msc<SGN> set mode async

Enable remote consistency protection

C:\> symrdf –cg msc<SGN> enable

Query the status of SRDF/A

C:\> symrdf –cg msc<SGN> query -rdfa

Is MSC Session Status active? ____________________________________

What is the MSC Consistency State? _______________________________

How many RDF pairs are in the group? _____________________________

What is the state of the RDF pairs? ________________________________

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 55 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

11 Create an NTFS file system on the first R1 device and assign drive letter X: to it

15 Copy the contents of c:\progam files\EMC to X:

16 List RDF/A information

c:\> symrdf -cg msc<SGN> query -rdfa

How may invalid tracks are there? _________________________________

17 Split the RDF link to manually trip consistency group protection

c:\> symrdf –cg msc<SGN> split –immediate –force –nop

18 List RDF/A information.

c:\> symrdf -cg msc<SGN> query -rdfa

Is MSC Session Status active? ____________________________________

What is the MSC Consistency State? _______________________________

What is the cycle number of all the SRDF/A sessions? _________________

How may invalid tracks are there? _________________________________

19 Reboot the remote host so that the R2 status change from WD to RW is


recognized by the host. Once the host comes back online, make sure that the
corresponding R2 device is accessible. then, use Disk Management to assign
drive letter X: to the R2.

What are the directories on X: drive? _____________


Are there files in them?_________________________

20 On the remote host, unassign drive letter X:

21 On the local host, list RDF/A information.

c:\> symrdf -cg msc<SGN> query -rdfa

How may invalid tracks are there? _________________________________

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 56 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

22 On the local host, establish the RDF link.

c:\> symrdf -cg msc<SGN> est –nop

23 Monitor the RDFA MSC Info until the Consistency State becomes
CONSISTENT.
c:\> symrdf -cg msc<SGN> query -rdfa

How many cycles did MSC take to become CONSISTENT? ______________

24 Cleanup

On local host:

Unassign X: drive letter


c:\> symcg –cg cg msc<SGN> disable
c:\> symrdf –cg suspend
c:\> symcg delete msc –force
c:\> symrdf deletepair -f pairone.txt -sid <SYM> -nop -rdfg
<RDF Group#1>
c:\> symrdf deletepair –f pairtwo.txt -sid <SYM> -nop -rdfg
<RDF Group#2>
c:\> symrdf removegrp –sid <SYM> -label rdfg<RDF Group #1>
c:\> symrdf removegrp –sid <SYM> -label rdfg<RDF Group #2>

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 57 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

Lab Exercise 7: SRDF/AR Open Systems Lab

This exercise is designed to lead the student through the basic


Purpose: operations and set up activities for a single-hop replication for
two host environments. Participants will identify relevant
devices, create SYMCLI device groups to support the
replication, and perform the initial setup activities to achieve
the correct device states prior to initial SRDF/AR cycle.
Single-hop replication using symreplicate will be initiated,
monitored and stopped.

Following this exercise, participants should be able to:


Objectives:
ƒ Create device groups consisting of devices of the
appropriate SRDF/AR configuration
ƒ Configure a replication options file
ƒ Perform manual initial setup activities for single-hop
replication
ƒ Initiate single-hop automated replication

References: EMC Solutions Enabler – Ver 6.0


PRODUCT GUIDE P/N - 300-000-877 - REV A06

EMC Solutions Enabler – Ver 6.0 – Release Notes


PRODUCT GUIDE P/N - 300-002-095 - REV A01

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 58 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

Lab 7 Part 1: SRDF/AR Functionality

STEP ACTION -

1
Verify the Topology and Configuration Information for both the source
and target Symmetrix.

Identify and record the required information.

c:\> symcfg list

Local Symm ID ____________________ Remote Symm ID _________________________

Determine device requirements for single-hop SRDF/AR replication. Enter the


appropriate command against the appropriate host.

c:\> sympd list (on the source host – identify standard devices)
c:\> symrdf list (on the source host – identify source R1/BCVs)
c:\> symrdf list (on the target host – identify target R2)
c:\> symdev list –sid SymmID (on the target host- identify target
BCVs)

SOURCE SOURCE TARGET TARGET


(STD) (R1/BCV) (R2) (BCV)

SRDF/AR Dev 1

SRDF/AR Dev 2

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 59 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

2 Create a device group, add standard devices and associate BCVs and
gatekeeper devices. The device group type should be of type REGULAR

device group name: ______________________________________________

Create a regular device group with the name singledg<SGN>.

c:\> symdg -type REGULAR create singledg<SGN>

Add the two standard devices to the device group. Add the first device using its
Physical Device Name (c#t#d#s2), and the second device using its
Symmetrix Device Name (eg. 088).

c:\> symld -g singledg<SGN> add pd PdevName


c:\> symld -g singledg<SGN> add dev SymDevName

Associate the BCVs you identified, with the device group singledg<SGN>.

c:\> symbcv -g singledg<SGN> associate dev SymDevName


c:\> symbcv -g singledg<SGN> associate dev SymDevName

Associate the “remote” BCVs devices you identified, with the device group
singledg<SGN>.

c:\> symbcv -g singledg<SGN> –bcv –rdf associate dev


SymDevName
c:\> symbcv -g singledg<SGN> –bcv –rdf associate dev
SymDevName

Show detailed information about your device group and record the Logical
Device Names (LdevName) given to your two Standard Volumes.

Standard R1/BCV R2
Device 1

Device 2

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 60 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

3 Perform initial setup operations


In order for symreplicate to start, there are specific device states required for
each of the device types.

Verify the state of the STD and R1/BCV devices.

c:\> symmir –g singledg<SGN> query

Verify the state of the R1/BCV and R2 devices

c:\> symrdf –g singledg<SGN> query –bcv

Verify the state of the R2 and BCV devices

c:\> symmir –g singledg<SGN> query –bcv


–rdf

4 Establish and Split the pairing between the R1/BCVs and the Standard
Volumes. It is a must to use the appropriate option to create BCV pairs in the
exact order they were added. This synchronizes the contents of the BCVs with
those of the Standard Volumes. Remember that there may be mixed operating
system devices in the group and planning should occur prior to creating the
group.

Establish a R1/BCV with each standard device in your device group. Use the -
full and -exact options.

c:\> symmir –g singledg<SGN> establish


-full -exact

Query the status of the devices. Obtain the synchronization rate, estimated
time to completion. The command below repeats the query every 5 seconds,
10 times.

c:\> symmir –g singledg<SGN> query -i 5


-c 10
c:\> symmir –g singledg<SGN> verify
-synched -i 5

When the devices are fully synchronized, perform a consistent split on the
STD/R1-BCV pairs.

c:\> symmir –g singledg<SGN> split


–consistent(or –ppath -instant <stddevs> depending on ECA
or PowerPath consistent split)

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 61 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

5 Resume the SRDF relationship between the R1-BCV and its R2.

Resume the SRDF relationship between the R1-BCV and its R2.

c:\> symrdf –g singledg<SGN> resume –bcv

Query or verify that the synchronization is complete

c:\> symrdf –g singledg<SGN> query -bcv


c:\> symrdf –g singledg<SGN> verify –bcv –synchronized -i
5

When the devices are fully synchronized, suspend the RDF relationship
between the R1-BCV/R2 pairs.

c:\> symrdf –g singledg<SGN> suspend –bcv

Perform an establish operation on the R2s and the Target BCVs. Use the
appropriate option to create BCV pairs in the exact order they were added.
Remember that there are mixed operating system devices in the group.

c:\> symmir –g singledg<SGN> –full est


–bcv –rdf –exact –noprompt

When the devices are fully synchronized, split the R2/BCV pairs.

c:\> symmir –g singledg<SGN> split –bcv


–rdf –noprompt

Re-establish the STDs and the R1-BCVs.


c:\> symmir –g singledg<SGN> establish
–noprompt

6 Configure the symreplicate options file.

Create a very simple options file specifying the following replication option
parameters. Using a text editor, specify a file name and make the following
entries:

SYMCLI_REPLICATE_HOP_TYPE=SINGLE
SYMCLI_REPLICATE_CYCLE=5
SYMCLI_REPLICATE_NUM_CYCLES=1
SYMCLI_REPLICATE_LOG_STEP=TRUE

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 62 of 63
BCR – Business Continuance Remote (Windows) BCR – Lab Doc

7 Verify Device pairing states.


In order for symreplicate to start, there are specific device states required for
each of the device types.

Verify the state of the STD and R1/BCV devices.

c:\> symmir –g singledg<SGN> query

Verify the state of the R1/BCV and R2 devices

c:\> symrdf –g singledg<SGN> query –bcv

Verify the state of the R2 and BCV devices

c:\> symmir –g singledg<SGN> query –bcv


–rdf

8 Start the SRDF/AR Cycle.


Use symreplicate to start the SRDF/AR cycle.

Start the SAR cycle

c:\> symreplicate –g singledg<SGN> –options options_file start –


consistent (-ppath –instant for PowerPath consistent split)

Perform a query on the replication

c:\> symreplicate –g singledg<SGN> query

View the symapi log to see the results of each replication step.

Stop the SRDF/AR Cycle.

c:\> symreplicate –g singledg<SGN> stop

This concludes the BCR (Business Continuance Remote) - SRDF/AR -lab

*****************************************************
File - BCR_LG_Win_V21a.Doc
Date – 26-Jul-2005
Ver - 2.1a

Copyright © 2005 EMC Corporation. All Rights Reserved. Version 2.1a Page 63 of 63

Das könnte Ihnen auch gefallen