Anda di halaman 1dari 33

EMC Corporation

Technology Solutions

SRDF/A Config Guide Alcoa Corporation


Date: Feb 08, 2006

Prepared for:

Prepared by:

Alcoa Corporation
Alcoa Technical Center 100 Technical Drive Alcoa Corporation Center, PA 15069-0001 USA Date# $e r!ar% 0&, "006

EMC Corporation
1160 Omega Corporate Drive Pitts !rgh, PA 15"05 USA

EMC SOW Number# A'COA06"("005

1
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

"
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Table of Contents
2 Table of Contents...............................................................................................................3 Introduction.........................................................................................................................5 Introduction.........................................................................................................................5 Purpose...............................................................................................................................5 Purpose...............................................................................................................................5 Descriptions of SRDF/A.....................................................................................................5 Descriptions of SRDF/A.....................................................................................................5 Sy cli Co Sy cli Co ands.............................................................................................................5 ands.............................................................................................................5

Split......................................................................................................................................! Split......................................................................................................................................! Full Restore.........................................................................................................................! Full Restore.........................................................................................................................! Failo"er................................................................................................................................# Failo"er................................................................................................................................# Failbac$...............................................................................................................................# Failbac$...............................................................................................................................# Suspend...............................................................................................................................% Suspend...............................................................................................................................% Resu e................................................................................................................................% Resu e................................................................................................................................% SRDF Control &perations................................................................................................'( SRDF Control &perations................................................................................................'( SRDF Pair States..............................................................................................................'' SRDF Pair States..............................................................................................................'' S)itc*in+ fro S)itc*in+ fro SRDF/A to Anot*er ,ode ....................................................................'' SRDF/A to Anot*er ,ode ....................................................................''

-nablin+ and Disablin+ Consistency ............................................................................'2 -nablin+ and Disablin+ Consistency ............................................................................'2 )
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Reco"erin+ after .oss of .in$s ......................................................................................'2 Reco"erin+ after .oss of .in$s ......................................................................................'2 SRDF/A and Rollin+ Disasters .......................................................................................'3 SRDF/A and Rollin+ Disasters .......................................................................................'3 /o) to create De"ice 0roup...........................................................................................'1 /o) to create De"ice 0roup...........................................................................................'1 /o) to i port or e2port De"ice 0roup..........................................................................'1 /o) to i port or e2port De"ice 0roup..........................................................................'1 De"ice +roup "erification.................................................................................................'1 De"ice +roup "erification.................................................................................................'1 3arious Re ote Confi+urations.....................................................................................'5 3arious Re ote Confi+urations.....................................................................................'5 Alcoa SRDF/A Planned &uta+es procedures )*ere "alidate R2 data )it* no i pact to R' production...............................................................................................................'4 Alcoa SRDF/A Planned &uta+es procedures )*ere "alidate R2 data )it* no i pact to R' production...............................................................................................................'4 Alcoa SRDF/A True DR Procedures5 /o) to Failo"er and Failbac$ )*ere R2 data )ill propa+ate bac$ to R'................................................................................................2' Alcoa SRDF/A True DR Procedures5 /o) to Failo"er and Failbac$ )*ere R2 data )ill propa+ate bac$ to R'................................................................................................2' Database Reco"erable Copy Fro Database Reco"erable Copy Fro 6C3 7Apply to &racle only8.................................21 6C3 7Apply to &racle only8.................................21

R-F-R-9C-S...................................................................................................................33 R-F-R-9C-S...................................................................................................................33

*
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Introduction
This +oc!ment is prepare+ ,or c!stomers -ho have little .no-le+ge o, /0C pro+!cts 12ar+-are an+ So,t-are3 -ith s%stems a+ministration ac.gro!n+4 S5D$6A is one o, the /0C pro+!cts in the S5D$ ,amil% that -or.s on top o, the ase S5D$ mo+es4 The ,eat!res o, S5D$6A are# 7o per,ormance impact on the pro+!ction s%stems Unlimite+ +istance 0in!tes o, +ata e8pos!re

Purpose
The p!rpose o, this +oc!ment is to provi+e +etails o, the scripts, installation an+ con,ig!ration 1,or more +etails, re,er the Operational 9!i+e3 relate+ to the Alcoa S5D$6A pro:ect4 The intentions o, the scripts are to provi+e the ,!nctionalit% o, S5D$6A comman+s, so that comman+ line entr% -ill not e re;!ire+, an+ th!s re+!ce ris.s -hen e8ec!ting the comman+s4

Descriptions of SRDF A
<n the S5D$6As%nchrono!s mo+e 1S5D$6A3, the S%mmetri8 arra% provi+es a consistent point-in-time image on the target 15"3 +evice, -hich is a short perio+ o, time ehin+ the so!rce 1513 +evice4 0anage+ in sessions, S5D$6A trans,ers +ata in pre+e,ine+ time+ c%cles or delta sets to ens!re that +ata at the remote 15"3 site is dependent write consistent4 This mo+e re;!ires an S5D$6A license4 The S%mmetri8 arra% ac.no-le+ges all -rites to the so!rce 1513 +evices as i, the% -ere local +evices4 2ost -rites acc!m!late on the so!rce 1513 si+e !ntil the c%cle time is reache+ an+ are then trans,erre+ to the target 15"3 +evice in one +elta set4 =rite operations to the target +evice can e con,irme+ -hen the c!rrent S5D$6A c%cle commits the +ata to +is. % s!ccess,!ll% +e-staging it to the 5" storage +evices4 >eca!se the -rites are trans,erre+ in c%cles, an% +!plicate trac.s -ritten to can e eliminate+ thro!gh S%mmetri8 ordered write processing, -hich trans,ers the change+ trac.s over the lin. onl% once -ithin an% single c%cle4

S!mcli Commands
<nitiali?e the S@0AP< +ata ase that maintains con,ig!ration an+ stat!s in,ormation a o!t all +evices in the s%mmetri8 !nits# s%mc,g +iscover On a U7<A s%stem, -hen %o! r!n s%mc,g +iscover, a S%mmetri8 host +ata ase ,ile, s%mapiB+ 4 in, is create+ in# 6var6s%mapi6+ 5
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation
On =in+o-s, the +ata ase ,ile is ,o!n+ !n+er# C#CProgram $ilesC/0CCS@0AP<C+

Technology Solutions

"erfi! SRDF lin# $rom >oth hosts, iss!e a SYMRDF PING comman+ to veri,% that the S5D$ lin. is comm!nicating properl%4 Displa! t$e status of t$e Remote %in# Directors s!mcf& 'RA all list Findin& SRDF De(ices @o! can ,in+ all S%mmetri8 arra%s that are reacha le via the S5D$ lin.s4 $or e8ample, to vieho- S%mmetri8 arra%s are attache+ to %o!r host, enter# s%mc,g list De(ice )roups To vie- all +evice gro!ps that have een create+ in %o!r host +ata ase ,ile, enter# s%m+g list %istin& SRDF De(ices @o! can list the S5D$ +evices that are visi le to %o!r host, or S5D$ +evices that are con,ig!re+ on a given S%mmetri8 arra%4 s%mr+, list p+ %istin& SRDF A Capable De(ices The S5D$6A-capa le +evice option 1-r+,a3 allo-s %o! to list +evices that are S5D$6A-capa le4 7ote# >eginning -ith /ngin!it% 56(1, all +evices are S5D$6A-capa le an+ the comman+ -ill +ispla% all +evices4 %istin& RDF )roup De(ices The 5D$9 1-rdfg3 option applies a S%mmetri8 5D$ 15A3 gro!p n!m er to the comman+ to restrict the list to :!st the 5D$ +evices o, an 5D$ gro!p4 =hen !se+ -ith control, veri,%, an+ ;!er% actions, this option targets a speci,ic 5D$ gro!p n!m er or all gro!ps -hen +evices are con,ig!re+ 5D$ conc!rrent4 The 5D$ gro!p s%nta8 ,or all the composite comman+s is -r+,g nnD All4 2ere is the comman+ ,or listing all r+, gro!ps +e,ine+ on S%mm# s!mcf& 'sid %#id& *rdf& %rdf'group(A))& 6
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Full Establis$ To initiate a ,!ll esta lish, all 5D$ pairs in the gro!p m!st alrea+% e in one o, the ,ollo-ing states# Split S!spen+e+ an+ =rite Disa le+ or 7ot 5ea+% at the so!rce <nvali+, 51 an+ 5" are 7ot 5ea+% an+ the lin. is 5ea+% 51 Up+ate+ or $aile+ Over an+ the 51 is not visi le to an% host s%mr+, -g Dg7ame esta lish -,!ll Incremental Establis$ To invo.e this operation, the 5D$ pair1s3 m!st alrea+% e in one o, the ,ollo-ing 5D$ states# Split S!spen+e+ <nvali+, 51 an+ 5" are 7ot 5ea+% an+ the lin. is 5ea+% s%mr+, -g Dg7ame esta lish Split To invo.e a split, the 5D$ pair1s3 m!st alrea+% e in one o, the ,ollo-ing states# S%nchroni?e+ S!spen+e+ 51 Up+ate+ S%nc<nProg an+ the -,orce option is speci,ie+ s%mr+, -g Dg7ame split Full Restore To invo.e this operation, the 5D$ pair1s3 m!st alrea+% e in one o, the ,ollo-ing 5D$ states# Split S!spen+e+ an+ =rite Disa le+ at the so!rce S!spen+e+ an+ 7ot 5ea+% at the so!rce <nvali+, 51 an+ 5" are 7ot 5ea+% an+ the lin. is 5ea+% s%mr+, -g Dg7ame restore E,!ll Incremental Restore To invo.e this operation, the 5D$ pair m!st alrea+% e in one o, the ,ollo-ing states# Split S!spen+e+ an+ =rite Disa le+ at the so!rce (
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation
S!spen+e+ an+ 7ot 5ea+% at the so!rce S!spen+e+ an+ the ,orce 1-,orce3 option is speci,ie+ <nvali+, 51 an+ 5" are 7ot 5ea+% an+ the lin. is 5ea+% s%mr+, -g Dg7ame restore

Technology Solutions

Failo(er To invo.e a ,ailover, the 5D$ pair1s3 m!st alrea+% e in one o, the ,ollo-ing states# S%nchroni?e+ S!spen+e+ 51 Up+ate+ Partitione+ 1-hen %o! are invo.ing this operation ,rom the target si+e3 s%mr+, -g Dg7ame ,ailover $ailover operation -ill e re:ecte+ i, an% o, the +evice pairs are in the ,ollo-ing states -itho!t speci,%ing the -,orce option# Split S%nc<nProg 51 Up+<nProg <nvali+ Failbac# To invo.e a ,ail ac., the 5D$ pair1s3 m!st alrea+% e in one o, the ,ollo-ing states# $aile+ Over S!spen+e+ an+ =rite Disa le+ at the so!rce S!spen+e+ an+ 7ot 5ea+% at the so!rce 51 Up+ate+ 51 Up+<nProg s%mr+, -g Dg7ame ,ail ac. +pdate R, Mirror =hile the target 15"3 +evice is still operational 1=rite /na le+ to its local host1s33, an incremental +ata cop% ,rom the target 15"3 +evice to the so!rce 1513 +evice can e initiate+ in or+er to update the R1 m rror -ith change+ trac.s ,rom the target 15"3 +evice4 To invo.e this operation, the 5D$ pair m!st alrea+% e in one o, the ,ollo-ing states# 51 Up+ate+ $aile+ Over S!spen+e+ an+ =rite Disa le+ at the so!rce S!spen+e+ an+ 7ot 5ea+% at the so!rce s%mr+, -g Dg7ame !p+ate

&
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Continuous R, +pdates The !ntil 1-!ntil3 option -hen !se+ -ith the !p+ate arg!ment chec.s the n!m er o, invali+ trac.s that are allo-e+ to !il+ !p ,rom the active 5" local <6O e,ore another !p+ate 15" to 51 cop%3 is retriggere+4 The !p+ate se;!ence loops !ntil the invali+ trac. co!nt is less than the n!m er speci,ie+ ,or the -!ntil val!e4 7ote that these !p+ate se;!ences start -ith an imme+iate !p+ate once this comman+ is starte+ as ,ollo-s# 14 Up+ate 51 mirror4 "4 Change+ trac.s !il+ !p on 5"4 )4 Chec. invali+ trac. co!nt4 $or e8ample, to !p+ate the 51 mirror -hen trac. changes are in e8cess o, )000 on the 5", enter# s%mr+, -g Dg7ame !p+ate -!ntil )000 <n this e8ample, the 51 mirror -ill e contin!o!sl% !p+ate+ !ntil the n!m er o, trac.s to e copie+ is elo- )0004 Suspend To invo.e a s!spen+, the 5D$ pair1s3 m!st alrea+% e in one o, the ,ollo-ing states# S%nchroni?e+ 51 Up+ate+ s%mr+, -g Dg7ame s!spen+ =hen the s!spen+ has complete+ s!ccess,!ll%, the +evices -ill e s!spen+e+ on the S5D$ lin.s an+ their lin. stat!s set to 7ot 5ea+% 17534 This operation -ill e re:ecte+ i, an% o, the ,ollo-ing occ!r# <, the so!rce has invali+ local 1513 trac.s <, an% o, the +evice pairs are in one o, the ,ollo-ing states an+ the -,orce option is not speci,ie+# o S%nc<nProg state o Up+<nProg state o <nvali+ state o Split state an+ the lin. stat!s is =rite Disa le+ o S!spen+e+ state an+ the lin. stat!s is =rite Disa le+ o Device Domino mo+e o =hen the so!rce has invali+ remote 15"3 trac.s o =hen the target has invali+ local 15"3 trac.s o =hen consistenc% is ena le+ an+ the -,orce option isnFt speci,ie+ Resume The res!me action arg!ment res!mes <6O tra,,ic on the S5D$ lin.s ,or all remotel% mirrore+ 5D$ pairs in the gro!p or +evice ,ile4 s%mr+, -g Dg7ame res!me

9
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

SRDF Control Operations

10
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

SRDF Pair States

S-itc$in& from SRDF A to Anot$er Mode


<t is sometimes necessar% to change ,rom S5D$6A mo+e to A+aptive Cop% Dis. mo+e +!e to temporar% operational necessities4 To accomplish this, consistenc% protection m!st e ,irst +isa le+ as sho-n earlier4 <, mo+e s-itching is per,orme+ -hile the lin.s are intact an+ tra,,ic is ,lo-ing across the lin.s, the comman+s# s%mr+, Eg Dg7ame set mo+e acpB+is. s%mr+, Eg Dg7ame set mo+e as%nc -ill ca!se the c!rrent Appl% an+ Transmit65eceive +elta sets 1N!2 an+ N!1 c%cles3 to e complete+ an+ the o!tstan+ing <6Os in the Capt!re +elta set 1N c%cle3 to e mar.e+ as 5" invali+s on the 51 si+e4 As long as the t-o si+es are not ,!ll% s%nchroni?e+, consistenc% is no longer preserve+ on the 5" si+e4 <tFs recommen+e+ to change acpB+is. mo+e to as%nc -hen 51 an+ 5" onl% have G)0. invali+ trac.s4

11
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Enablin& and Disablin& Consistenc! The primar% val!e proposition o, S5D$6A is to provi+e a consistent restarta le image o, !ser +ata at the remote site -itho!t a,,ecting application per,ormance4 >e s!re there are 0 invali+ trac.s et-een 51 an+ 5" e,ore ena le consistenc%4 To ena le consistenc% protection, it is necessar% to iss!e the comman+# s%mr+, Eg Dg7ame ena le /na ling consistenc% g!arantees consistenc% o, the 5" cop% o, +ata at all times4 <, the logical connection et-een the t-o si+es is interr!pte+, either +!e to a planne+ or !nplanne+ event, consistenc% m!st e e8plicitl% ena le+ a,ter the res!mption o, lin. tra,,ic4 =hen an e8it ,rom S5D$6A mo+e is planne+, consistenc% can e +isa le+ % !sing the comman+# s%mr+, Eg Dg7ame +isa le Reco(erin& after %oss of %in#s Prior to starting a res%nchroni?ation a,ter lin. recover%, /0C recommen+s that a >CH cop% o, the 5" vol!mes e split o,, an+ set asi+e to g!arantee the availa ilit% o, a consistent image o, +ata, to g!ar+ against an !n,oreseen interr!ption o, the res%nchroni?ation process4 <, logical connection et-een the t-o si+es is lost ,or a long perio+ o, time allo-ing ,or the !il+!p o, a large n!m er o, 5" invali+s on the 51 si+e, res!mption o, the lin.s -ith S5D$6A ena le+ 1the +e,a!lt ehavior in open s%stems3 can ca!se a heav% s!rge o, lin. tra,,ic, create+ % the ac.log o, invali+ trac.s eing a++e+ to the c%cles generate+ % the pro+!ction tra,,ic4 This can lea+ to an !naccepta l% high +eman+ eing place+ on S%mmetri8 cache, ca!sing S5D$6A to +rop again4 To avoi+ this ris., it is est to rie,l% +isa le S5D$6A -hen restarting a,ter the !il+ !p o, invali+ trac.s4 <t is s!ggeste+ that res%nchroni?ation e !n+erta.en at a time -hen there is a relativel% lo- amo!nt o, incoming host -rites4 5ecommen+e+ metho+s o, getting ac. to stea+% state in s!ch an event are# o Set the S5D$ mo+e to A+aptive Cop% Dis. mo+e % !sing the comman+# s%mr+, Eg Dg7ame set mo+e acpB+is. <n this mo+e, the invali+ trac.s -ill e s%nchroni?e+ an+ ne- -rites -ill e !,,ere+ in cache an+ sent across -itho!t impacting the host application4 As long as the rate o, incoming -rites is less than the lin. an+-i+th, this mo+e o, operation -ill allo- pro+!ction to contin!e -hile contin!ing to re+!ce the ac.log o, invali+ trac.s4 The res%nchroni?ation process ma% e relativel% slo-4 =hile invali+ trac.s are eing applie+ +!ring the res%nchroni?ation process, the 5" +ata is not consistent4 o Set the S5D$ mo+e to As%nchrono!s an+ allo- the res%nchroni?ation to occ!r -hen invali+ trac.s G)0.4 The +ata on the 5" is not consistent !ntil the invali+ trac.s have een re+!ce+ to ?ero4 o <, the potentiall% e8ten+e+ res%nchroni?ation time an+ the conse;!ent e8pos!re to +ata loss in the event o, a complete so!rce site ,ail!re +!ring res%nchroni?ation are +eeme+ !naccepta le, then the pro+!ction application -ill have to e halte+ -hile the res%nchroni?ation process completes4 1"
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

<t is recommen+e+ that S5D$6A e ena le+ onl% a,ter the t-o si+es are s%nchroni?e+ an+ 0 invali+ trac.s4

SRDF A and Rollin& Disasters /0C +e,ines a rolling +isaster as t-o s!ccessive ,ail!res, -here the secon+ ,ail!re occ!rs e,ore recover% proce+!res relate+ to the ,irst one -ere complete+4 S5D$6A ens!res that the +ata on the 5" si+e is consistent at all times, even -hen the so!rce site is !navaila le4 As mentione+ previo!sl%, once the so!rce an+ target have lost connectivit%, it is important to split o,, a >CH cop% o, the 5" +ata, before a res%nchroni?ation is attempte+4 The scenario +escri e+ ne8t is one that co!l+ happen -ith S5D$6A4 'et !s pres!me that there is a !il+!p o, invali+ trac.s eca!se the 51 -as eing -ritten to -hile the target -as !nreacha le4 This can e the res!lt o, a planne+ or !nplanne+ logical s!spension o, lin.s4 7e8t, the lin.s are res!me+ an+ a res%nchroni?ation is initiate+ ,rom the 51 to the 5"4 <mme+iatel% a,ter the start o, res%nchroni?ation, the trac.s to e copie+ ,rom the 51 to the 5" get mar.e+ as local invali+s on the 5" si+eImeaning that the% nee+ to e ro!ght across ,rom the 514 <, S5D$6A is ena le+ prior to oth si+es reaching s%nchroni?ation 1not recommen+e+3, the invali+ trac.s are sent across in +elta sets along -ith the -rite <6Os4 <, an !ne8pecte+ loss o, lin.s no- occ!rs e,ore the state o, the S5D$ vol!mes is "o#$ $te#t, the 5" -ill no- contain local invali+s 1ca!se+ +!ring the prior res%nchroni?ation3 an+ remote invali+s 1ca!se+ % the trac.s elonging to the incomplete receive +elta set34 <n S5D$, this is a pro lem re;!iring h!man intervention4 <n S5D$6A, this is an accepta le, tho!gh not +esira le, state o, a,,airs4 This is -h% it is recommen+e+ that S5D$6A e ena le+ onl% after oth si+es are s%nchroni?e+4

1)
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation .o- to create De(ice )roup

Technology Solutions

To chec. the con,ig!ration o, S5D$ +evices e,ore a++ing them to a +evice gro!p or composite gro!p, %o! can !se the s%mr+, list comman+ to list S5D$ +evices con,ig!re+ on S%mmetri8 arra%s attache+ to %o!r host# s%mr+, list =hen %o! a++ a +evice to a +evice gro!p, a logical +evice name is assigne+ to it either % %o!r speci,%ing a logical name on the comman+ line or % +e,a!lt4 The ,ollo-ing se;!ence creates an 5D$1 t%pe +evice gro!p an+ a++s an 51 +evice to the gro!p# 14 Create a +evice gro!p name+ D97ame# s%m+g create D97ame Et%pe r+,1 "4 A++ an 51 +evice 1S%mmetri8 +evice name 00"(3 to the +evice gro!p on S%mmetri8 n!m er SA"&(&900"(4 A +e,a!lt logical name o, the ,orm D/H001 is assigne+ to the 51 +evice in r+, gro!p 5# s%ml+ -g D97ame Esi+ 00"( a++ +ev 0&5 Er+,g 5 or a++ a range o, +evices s%ml+ -g D97ame -si+ 00"( a++ +ev -range Gstart#en+J )4 <, %o! -ant to a++ +evices 1nee+e+ to appen+ ,e- +evices in ,!t!re gro!ps3 to the e8isting +evice gro!p, !se the ,ollo-ing comman+s4 s%ml+ -g D97ame -si+ 00"( a++ +ev GD/H KJ

.o- to import or e/port De(ice )roup


To iss!e the same S5D$ comman+s ,rom the target-si+e host as ,rom the so!rce-si+e host, it is necessar% to !il+ an 5D$" target-si+e +evice gro!p that has the same +e,initions as the 5D$1 so!rce-si+e +evice gro!p4 The s%m+g e8port comman+ creates a te8t ,ile 15+,19rp4t8t3 that contains the 5D$1 gro!p +e,initions4 @o! then !se rcp 1or ,tp3 to trans,er that ,ile to the target host4 srcK s!md& e/port Rdf,)rp *f Rdf,)rp0t/t *rdf srcK rcp Rdf,)rp0t/t tar&et*side1$ost2 0 On the target host, the s%m+g import comman+ !il+s the 5D$" +evice gro!p !sing the +e,initions ,rom the te8t ,ile4 tgtK s!md& import Rdf3)rp *f Rdf,)rp0t/t

De(ice &roup (erification


To veri,% the +evice gro!p, the ,ollo-ing comman+s can e iss!e+# s%m+g list 1all the +evice gro!ps create+ on the that s%stem3 s%ml+ Eg Ggro!p nameJ list 1gives the mem ers o, the gro!p3 s%m+g sho- Ggro!p nameJ 1gives all the +etails incl!+ing the 5D$ mo+es an+ 5D$ state3 1*
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

"arious Remote Confi&urations

15
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Alcoa SRDF A Planned Outa&es procedures -$ere (alidate R3 data -it$ no impact to R, production
14 Hali+ate host con,ig in /0CFs Open S%stem S!pport 0atri8 1OSS03 $rom the latest OSS0# o 2ost, host components 1+rivers, patches, 2>As, etc43 are s!pporte+ in accor+ance -ith the OSS0 "4 Hali+ate c!rrent level o, S%mmetri8L microco+e 156(0 or higher34 )4 <nstall Sol!tions /na ler 6404"4 /ns!re 'icenses to r!n S5D$6A4 De,a!lt installs sol!tion ena ler v640" on hosts that control S5D$6A comman+ an+ operations4 To chec. version o, s%mcli install on host
C#CDoc!ments an+ SettingsCrootJs%mcli

Set PathM c#Cprogram ,ilesCemcCs%mcliC in To install licenses !se comman+# s%mlm, 7ote# 'icense ,ile resi+es on c#Cprogram ,ilesCemcCs%mapiCcon,igCs%mapiBlicenses4+at
C#CDoc!ments an+ SettingsCrootJs%mlm,

*4 Chec. S%mmetri8 Con,ig!ration an+ Stat!s4 <nitiali?e the S@0AP< +ata ase that maintains con,ig!ration an+ stat!s in,ormation a o!t all +evices in the s%mmetri8 !nits4 Heri,% S5D$ lin.4 $rom >oth hosts, iss!e a S@05D$ P<79 comman+ to veri,% that the S5D$ lin. is comm!nicating properl%4
C#CDoc!ments an+ SettingsCrootJs%mc,g +iscover This operation ma% ta.e !p to a ,e- min!tes4 Please e patient444

To vie- ho- S%mmetri8 arra%s are attache+ to %o!r host

C#CDoc!ments an+ SettingsCrootJs%mc,g list

Displa% the stat!s o, the 5emote 'in. Directors % !sing comman+# s%mc,g E5A all list 54 /ns!re proper ><7 ,ile con,ig!ration4 Chec. -ith C/ to e s!re o, this tas. is complete+4 64 On =in+o-s, the +ata ase ,ile is ,o!n+ !n+er# C#CProgram $ilesC/0CCS@0AP<C+ (4 Displa%s a listing o, 51, 5" an+ >CH +evices4 'ist the 51, 5", an+ >CH +evices % r!nning comman+s# s%m+ev list Esi+ 88 -51 s%m+ev list Esi+ 88 -5" s%m+ev list Esi+ 88 E cv

16
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

&4 Create a +evice gro!p ,or S5D$6A +evices Use comman+, a++ +evices in +evice gro!p, sho- gro!pname, gro!p t%pe, S%mm<D, n!m er o, +evices, a list o, them, stat!s o, 5=, +evice gro!p 5D$ in,o, 51 to 5" relationship, list o, +evices, lin. state an+ 5D$ pair state4 s%m+g list 1S%m+g list -ill sho- the +evice gro!p on that s%mm3 s%m+g create Dg7ame Et%pe 5D$1 or 5D$", N5D$1 is so!rce, 5D$" is targetO3 s%ml+ Eg Dg7ame a++ +ev 888 Esi+ 88 -r+,g 5 1a++ one +evice at a time ,or an r+,gro!p 3 s%ml+ Eg Dg7ame a++all +ev Erange 888#888 Esi+ 88 -r+,g 5 1a++ m!ltiple +evices -ith one comman+3 s%mr+, - g Dg7ame ;!er% Er+,a A++ remote >CH s%m cv Eg Ggro!pnameJ -r+, a++all +ev Erange nnn#nnn Esi+ 8888 1a++ m!ltiple +evices -ith one comman+3 94 Set operational mo+e A+aptive Cop% Dis. 0o+e s%mr+, Eg Dg7ame set mo+e acpB+is.
C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a set mo+e acpB+is. /8ec!te an 5D$ Set PACp Dis. 0o+e O7P operation ,or +evice gro!p Pp599Bsr+,aP 1%6NnO3 Q % An 5D$ Set PACp Dis. 0o+e O7P operation e8ec!tion is in progress ,or +evice gro!p Pp599Bsr+,aP4 Please -ait444 The 5D$ Set PACp Dis. 0o+e O7P operation s!ccess,!ll% e8ec!te+ ,or +evice gro!p Pp599Bsr+,aP4

104 Start S5D$ operations, 5es%nchroni?e 51 R 5"4 Then Hali+ate esta lish is complete et-een 5D$ pairs4 s%mr+, Eg Dg7ame esta lish 1<, this is an initial replication, please !se E,!ll option3 s%mr+, -g Dg7ame ;!er% Er+,a 5!n ;!er% to see the state o, 5D$ Pairs an+ ma.e s!re invali+ trac.s G)0. e,ore set mo+e as%nc
C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a ;!er% -i )0

114 Set operational as%nc mo+e an+ -hen invali+ trac.s is 0, /na le consistenc% protection s%mr+, Eg Dg7ame set mo+e as%nc s%mr+, Eg Dg7ame ena le
C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a set mo+e as%nc /8ec!te an 5D$ Set PAs%nchrono!s 0o+eP operation ,or +evice gro!p Pp599Bsr+,aP 1%6NnO3 Q % An 5D$ Set PAs%nchrono!s 0o+eP operation e8ec!tion is in progress ,or +evice gro!p Pp599Bsr+,aP4 Please -ait444 The 5D$ Set PAs%nchrono!s 0o+eP operation s!ccess,!ll% e8ec!te+ ,or +evice gro!p Pp599Bsr+,aP4

1(
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a ena le /8ec!te an 5D$ P/na leP operation ,or +evice gro!p Pp599Bsr+,aP 1%6NnO3 Q % An 5D$ P/na leP operation e8ec!tion is in progress ,or +evice gro!p Pp599Bsr+,aP4 Please -ait444 The 5D$ P/na leP operation s!ccess,!ll% e8ec!te+ ,or +evice gro!p Pp599Bsr+,aP4 C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a ;!er% -r+,a

Split +evices so -e can vali+ate 5" an+ not impact 51 pro+!ction

C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a split

SSSSSSSSAt this time, 51 an+ 5" are oth 56=4 To change ac. to S5D$6A normal operations -here 51 56=, 5" =6D an+ 'in. is ac. to 5=, please ,ollo- elo- proce+!res#
C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a set mo+e acpB+is. -nop C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a esta lish -nop C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a set mo+e as%nc /8ec!te an 5D$ Set PAs%nchrono!s 0o+eP operation ,or +evice gro!p Pp599Bsr+,aP 1%6NnO3 Q % An 5D$ Set PAs%nchrono!s 0o+eP operation e8ec!tion is in progress ,or +evice gro!p Pp599Bsr+,aP4 Please -ait444 The 5D$ Set PAs%nchrono!s 0o+eP operation s!ccess,!ll% e8ec!te+ ,or +evice gro!p Pp599Bsr+,aP4 C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a ena le /8ec!te an 5D$ P/na leP operation ,or +evice gro!p Pp599Bsr+,aP 1%6NnO3 Q % An 5D$ P/na leP operation e8ec!tion is in progress ,or +evice gro!p Pp599Bsr+,aP4 Please -ait444 The 5D$ P/na leP operation s!ccess,!ll% e8ec!te+ ,or +evice gro!p Pp599Bsr+,aP4

1"4 To +ispla% the total cache !tili?ation ,or all S5D$6A sessions that are active 1or have non?ero cache !sage3 s%mstat Esi+ 1""9 Et%pe cache -5epT%pe r+,a Ei )0 1)4 To +ispla% c%cle in,ormation ,or all S5D$6A sessions that are active 1or have non-?ero cache !sage3# s%mstat Esi+ 1""9 Et%pe c%cle -5epT%pe r+,a Ei )0 1&
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

C#CDoc!ments an+ SettingsCrootJs%mstat -si+ 1""9 -t%pe c%cle -5epT%pe r+,a Ei )0

1*4 Sim!late Une8pecte+ 'in. $ail!re % ,orce a lin. s!spension to sim!late a lin. +rop4 s%mr+, -g Dg7ame s!spen+ Eimme+iate E,orce
C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a s!spen+ -imme+iate -,orce /8ec!te an 5D$ PS!spen+P operation ,or +evice gro!p Pp599Bsr+,aP 1%6NnO3 Q % An 5D$ PS!spen+P operation e8ec!tion is in progress ,or +evice gro!p Pp599Bsr+,aP4 Please -ait444 S!spen+ 5D$ lin.1s3444444444444444444444444444444444444444Starte+4 S!spen+ 5D$ lin.1s3444444444444444444444444444444444444444Done4 The 5D$ PS!spen+P operation s!ccess,!ll% e8ec!te+ ,or +evice gro!p Pp599Bsr+,aP4

To chec. event -ith start +ate o, 0)611606, start time at 15#*(#00, en+ +ate 0)611606 an+ en+ time at 15#59#00

C#CDoc!ments an+ SettingsCrootJs%mevent list -start 0)611606#15#*(#00 -en+ 0)611606#15#59#00 -si+ 00"(

154 Determine ca!se o, ,ail!re s!me(ent list 'start mm dd !ear ' end mm dd !ear 'sid //
C#CDoc!ments an+ SettingsCrootJs%mevent list -start 11610605#15#*(#00 -en+ 1 1611605#15#59#00 -si+ 00"(

164 5ecover% ,rom Une8pecte+ 'in. $ail!re4 Set mo+e to a+aptive cop% +is. instea+ o, S5D$6A mo+e to avoi+ s!rge o, heav% tra,,ic4 Once %o! have complete+ the proce+!res -here S5D$6A an+ Consistenc% are ena le, no- %o! can esta lish et-een 5" an+ 5emote >CH4 s%mr+, Eg Dg7ame set mo+e acpB+is. s%mr+, Eg Dg7ame esta lish s%mr+, Eg Dg7ame set mo+e as%nc s%mr+, Eg Dg7ame ena le
C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a set mo+e acpB+is. -nop C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a esta lish C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a set mo+e as%nc /8ec!te an 5D$ Set PAs%nchrono!s 0o+eP operation ,or +evice gro!p Pp599Bsr+,aP 1%6NnO3 Q % An 5D$ Set PAs%nchrono!s 0o+eP operation e8ec!tion is in progress ,or +evice gro!p Pp599Bsr+,aP4 Please -ait444 The +evice is alrea+% in the re;!este+ 5D$ mo+e C#CDoc!ments an+ SettingsCrootJs%mr+, -g p599Bsr+,a ena le /8ec!te an 5D$ P/na leP operation ,or +evice

19
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation
gro!p Pp599Bsr+,aP 1%6NnO3 Q % An 5D$ P/na leP operation e8ec!tion is in progress ,or +evice gro!p Pp599Bsr+,aP4 Please -ait444 The +evice is alrea+% in the re;!este+ 5D$ state C#CDoc!ments an+ SettingsCrootJ

Technology Solutions

$!ll esta lish o, the remote >CHs an+ !se ;!er% to ens!re >CH is ,!ll% s%nchroni?e+ -ith 5" s%mmir Eg Ggro!pnameJ Er+, E,!ll est Ee8act s%mmir Eg Ggro!pnameJ Er+, ;!er% s%mmir Eg Ggro!pnameJ Er+, veri,% -s%nchroni?e+ Split the >CHs ,rom the 5" !sing the comman+ symmir -r+, -consistent split. s%mmir -g gro!pname Er+, split Econsistent

"0
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Alcoa SRDF A True DR Procedures2 .o- to Failo(er and Failbac# -$ere R3 data -ill propa&ate bac# to R,
14 Hie- S%mm, lin.s, an+ 5D$ pairs in,o ,rom so!rce or target host4 D!ring S5D$6A normal operation, 51 56=, 5" =6D, 'in. 56=4 s%mc,g +iscover s%mc,g list s%mr+, ping s%mr+, -g Dg7ame veri,% -consistent s%mr+, -g Dg7ame ;!er% Er+,a

"4 <nvo.e a chec.point4 Chec.point -aits " c%cles to ens!re last -rite is iss!e+ e,ore the chec.point is committe+ to the other si+e4 Split 5" an+ 5emote >CH e,ore ,ailover4 s%mr+, -g Dg7ame chec.point )4 Disa le consistenc% protection s%mr+, -g Dg7ame +isa le *4 Per,orm a ,ailover4 S-itches +ata processing ,rom the so!rce 1513 to the target 15"3 si+e4 a4 /8pecte+ 5es!lts# 5D$ T$ailoverF operation in progress4 4 =rite +isa le +evices at so!rce 1513-+one4 S!spen+ 5D$ lin.s E +one4 c4 5ea+6=rite ena le +evices at target 15"3 Operation s!ccess,!l s%mr+, -g Dg7ame ,ailover "1
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

SSSSSSSSSOnce ,ailover is complete+, 51 =6D, 5" 56=, 'in. 7654 5" is no- rea+% to !se ,or pro+!ction4 =hen itFs time to ,ail ac., please ,ollo- elo- proce+!res# 54 Chec. +ata s%mr+, -g Dg7ame ;!er% 64 Per,orm a ,ail ac.4 S-itches +ata processing ac. to the so!rce 1513 si+e U44VVV a4 5D$ T$ail ac.F operation in progress4 4 =rite +isa le +evices at target 15"3 c4 S!spen+ 5D$ lin.s +4 0erge +evice trac. ta les starte+ e4 Sho-s +evice list ,4 0erge +evice trac. ta les +one g4 5es!me 5D$ lin.s h4 5ea+6=rite ena le +evices at so!rce 15134 i4 Operation s!ccess,!l s%mr+, Eg Dg7ame ,ail ac. (4 Chec. +ata s%mr+, Eg Dg7ame ;!er% &4 >e s!re Device 9ro!p is As%nc 0o+e4 <, necessar%, change mo+e s%mr+, Eg Dg7ame set mo+e as%nc 94 /na le consistenc% protection s%mr+, -g Dg7ame ena le ""
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

VVV<, ,or reason there are too man% invali+ trac.s to ,ail ac., option are to !se# 14 !p+ate !ntil )0000 invali+ trac.s s%mr+, -g Dg7ame !p+ate -!ntil )0000 "4 =hen invali+ trac.s reach )0000, please sh!t+o-n all applications that mo!nt to 5" +evices )4 >e s!re that 5" an+ 5emote >CH is s%nchroni?e+ state4 Split 5emote >CH -ith 5" to .eep a goo+ cop%4 Then Place mo+e into ACPBD<SW 0o+e s%mr+, Eg Dg7ame set mo+e acpB+is. *4 Per,orm a ,ail ac. s%mr+, Eg Dg7ame ,ail ac. 54 Chec. +ata s%mr+, Eg Dg7ame ;!er% 64 Place mo+e into As%nc 0o+e s%mr+, Eg Dg7ame set mo+e as%nc (4 /na le consistenc% protection s%mr+, -g Dg7ame ena le

")
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Database Reco(erable Cop! From 4C" 5Appl! to Oracle onl!6


14 /sta lish " sets o, >CHs to the target 15"3 +evices a4 $irst hol+s +ata ,iles i4 <, gro!p incl!+es all +ata, control an+ re+o log ,iles E remote +ata ase image restarta le 4 Secon+ ,or archive logs "4 =ait !ntil >CHs are ,!ll% s%nchroni?e+ s!mmir (erif! *i 78 )4 5ecommen+e+ to per,orm +ata ase log s-itch a4 0inimi?es +irt% loc.s in !,,er cache 4 alter s%stem s-itch log,ile *4 Place the +ata ase in hot ac.!p mo+e 54 Per,orm s%mr+, chec.point s!mrdf *& D&Name c$ec#point a4 =ait ,or 5" +ata ,iles to e !p+ate+ -ith egin hot ac.!p mar. 64 5emote consistent split +ata ,ile >CHs (4 Ta.e +ata ase o!t o, hot ac.!p mo+e &4 $orce the +ata ase to archive c!rrent re+o log a4 alter s%stem archive log c!rrent 94 Create a ac.!p control ,ile a4 alter +ata ase ac.!p control,ile to U 4 7OT/# recommen+e+ to create a inar% ac.!p control,ile an+ place it in the archive logs mo!ntpoint4 Other-ise ma.e s!re the ac.!p control,ile is availa le at the remote site ,or ac.!p6recover% 104 Per,orm s%mr+, chec.point a4 =ait ,or 5" archive logs to e !p+ate+ -ith en+ hot ac.!p mar. 114 5emote consistent split archive logs >CHs

E C SRDF and *i+eFinder Script Docu+entation,

"*
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Table of Contents
Introduction.........................................................................................................25 Purpose................................................................................................................25 -n"iron ent........................................................................................................25 Installation...........................................................................................................24 Details of t*e Scripts and its functionality.......................................................2! Script/Function/usa+e details............................................................................2# :seful Co ands..............................................................................................2% Troubles*ootin+..................................................................................................2%

"5
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Introduction#
This +oc!ment is prepare+ ,or the c!stomers -ho have little .no-le+ge a o!t the /0C pro+!cts 12ar+-are an+ So,t-are3 -ith s%stems a+ministration ac.gro!n+4 S5D$6A is one o, the /0C pro+!cts ,rom the S5D$ ,amil% an+ provi+es the +ata replication ,rom the pro+!ction to the the remote site4 The ,eat!res o, S5D$6As%nchrono!s are# 14 'ess +ata e8pos!re, i4e4, the target is 100X is in consistent -ith the So!rce +evices4 "4 'ess an+ -i+th compare to the YS%nchrono!sZ +ata trans,er Time$in+er6>CH is one o, the /0C pro+!cts ,rom the Time$in+er ,amil% provi+es an e8tra cop% o, +ata ,or D5, ac.!p, +evelopment or testing p!rpose4 The ,eat!res o, Time$in+er6>CH are# 1 " Provi+es an e8tra cop% -ith o!t +ist!r ing the pro+!ction cop% ,or ac.!p or testing p!rpose4 /as% +ata recover% ,rom the >CH cop% in case o, +ata corr!ption on the pro+!ction set4

Purpose#
The p!rpose o, this +oc!ment is to provi+e +etails o, the scripts !se+ in this environment4 The p!rpose o, the scripts are to monitor the health o, S5D$6A an+ to ta.e a cop% o, the pro+!ction +ata on 9ol+ >CHs4

-n"iron ent#
There are t-o s%mmetri8s in this environment[ one is at Alcoa center in Pitts !rgh 100"( E D0A )0003 an+ another is at Tennessee 11")9 E D0A "00034 0co+e Cache 7!m Ph%s 7!m S%mm S%mm<D Attachment 0o+el Hersion Si?e 10>3 Devices Devices 000"&(&900"( 'ocal D0A)000 56(1 9&)0* "&& *1(5 0001&((51")9 5emote "000S-0" 56(1 9&)0* 0 "*)) The control server in Alcoa center is Ya+e++*6pZ Operating S%stem /0C so,t-are 2P-UA 11411 S@0C'<6H64041

"6
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

Installation5
To r!n the S5D$6A an+ Time$in+er6>CH, the ,ollo-ing so,t-are an+ the licenses are re;!ire+[ S@0C'< 1H640413 >ase 'icense Time$in+er S5D$ S5D$6A

=e nee+ to create the /0C Device gro!p1s3 to ma.e !se o, these S5D$6A an+ Time$in+er6scripts 1one time onl%3 an+ also e8port the Hol!me gro!ps that contains the application6+ata ase6archive logs ,rom the application6+ata ase server to the +isaster an+ recover% server 1one time onl%3 to veri,% the cop% o, 5" an+ 9>CHs4 7ote# All the S5D$6A +evices are o!n+ to a 5D$ gro!p n!m er an+ +evices can not s-appe+ ,rom one +evice gro!p to another +evice !nless changing the 5D$ gro!p n!m er on the +evice4

Details of t*e Scripts and its functionality5


There are ,o!r +evice gro!ps in this environment[ Name r+,g01 r+,g0) r+,g0* r+,g0" T!pe 5D$1 5D$1 5D$1 5D$1 "alid S!mmetri/ ID De(s )9s 4C"s "DE"s @es @es @es @es 000"&(&900"( 000"&(&900"( 000"&(&900"( 000"&(&900"( 61 15 ) )& 0 0 0 0 61 15 ) )& 0 0 0 0

All the scripts e8pecting comman+ line arg!ments[ a Con,ig!ration ,iles -ith all the +etails an+ the tas. that nee+s to e per,orme+4 All these scripts are the -rappers ,or the Ys%mr+, an+ s%mmirZ comman+s an+ ,or more options an+ ,eat!res o, these comman+s re,er to the S@0C'< +oc!mentation4

D!ring the script e8ec!tion time, all the errors relate+ to the in+ivi+!al process -ill go in to the +e,a!lt log 6var6s%mapi6log6s%mapi-G+ateJ4log an+ the S5D$6A an+ Time$in+er process +etails in log 1grpBname4log3 that is +e,ine+ in the con,ig!ration ,ile 16opt6emc6li 6grpBname4con,34 The error log contains the +etails o, the process, i4e4 hostname, +ate, time an+ ca!se o, the pro lem4

"(
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation /o) to create t*e de"ice 0roups5

Technology Solutions

14 Prepare the +evice list 1have t-o col!mns 151, 5>CH3[ $in+ the 51 s !n+erneath the application6+ata ase ,ile s%stems $in+ the availa le 9>CHs that -ere not associate+ -ith an% 5"s on the remote S%mm4 s%m cv list Esi+ GS<D KJ Select the >CHs that has the same si?e6con,ig!ration as the 5165"s "4 5!n the S@0C'< comm+ns to create the +evice gro!ps on the control server[ s%m+g create GgrpBnameJ -t%pe 5D$1 1so!rce si+e3 s%ml+ -g Ggro!pBnameJ -si+ GS<D KJ a++ +ev GD/H KJ s%m cv -g Ggro!pBnameJ associate +ev G>CHD/H KJ -r+,

/o) to find t*e -,C de"ices under t*e file syste s 7/P;:<85
$in+ all the ,ile s%stems elongs to the +ata ase6application 9et the correspon+ing logical vol!mes K +, G,ile s%stemsJ 9et the ph%sical +evice !n+erneath the logical vol!me Klv+ispla% Ev Glogical Hol!meJ D grep Ev c!rrent D grep 6+ev6+s. \!er% the ph%sical vol!me ,rom the /0C +evices list 1s%min; o!tp!t3 Ks%min; JJin;4o!t Kgrep G6+ev6r+s.6c8t8+8J in;4o!t

De"ice +roup "erification5


s%m+g list 1sho- all the +evice gro!ps create+ on that s%stem3 s%ml+ Eg Ggro!p nameJ list 1gives the mem ers o, the gro!p3 s%m+g sho- Ggro!p nameJ 1gives all the +etails incl!+ing the >CH +evices an+ +evice YstateZ +etails3

6opt6emc6 is the main +irector% ,or the YS5D$ an+ Time$in+er6>CHZ scripts, con,ig!ration an+ logs an+ the str!ct!re is as ,ollo-s[ scripts li logs Scripts relate+ to S5D$ an+ Time$in+er Con,ig!ration ,iles6parameters S5D$ an+ Time$in+er stat!s logs

/opt/emc/ /scripts r+,amain /opt/emc/lib maillist GgrpBnameJ4con, "&


Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation
/opt/emc/logs GgrpBnameJBg cv4log GgrpBnameJBmon4log port+o-n4log lin.+o-n4log r+,mo+e4log r+,state4log avgc%ltime4log -pcache4log

Technology Solutions

Script/Function/usa+e details5
rdfamain2 To monitor6chec. the lin., ports on So!rce an+ Target s%mms, r+, mo+e an+ r+, states et-een 51 an+ 5" +evices an+ also ta.es cop% o, 5" on to 9>CH +evices !sing Time$in+er6mirror4 5!nning Yr+,amainZ script -itho!t an% options provi+es the !sage o, the script4 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] /55O510# The ^con,ig!ration^ ,ile has not een s!pplie+ USA9/#46r+,amain Gcon,igB,ileJ GTASWJ Speci,% the e8act path o, the con,ig!ration ,ile The vali+ TASWs are ^r+,amonitor^ or ^g cvcop%^4 ]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] rdfamain :confi&uration file; rdfamonitor# 7ote# /8pecting to r!n this script in YcronZ contin!o!sl% -ith an interval +e,ine+ % the client4

14 This script -ill chec. ,or the connectivit% et-een the So!rce an+ Target s%mmetri8, i, the% are online, it -ill chec. ,or the in+ivi+!al port stat!s an+ i, the% is an error it -ill sent page6mail to the personal liste+ in the YmaillistZ4 "4 Chec. ,or the 5D$ mo+e ,or YAs%nchrono!sZ an+ the state o, the 51 an+ 5" +evices +e,ine+ in the +evice gro!p ,or YconsistentZ an+ also the gro!p Consistenc% Protection4 <, an% one these are not met, it -ill generate an error sent a page6mail liste+ in maillist4 )4 Once all are -or.ing ,ine, it -ill chec. the percentage o, Cache !tili?ation an+ the C%cle time that is ta.en ,or each rotation4

"9
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation
rdfamain :confi&uration file; &bc(cop!#

Technology Solutions

14 The Yg cvcop%Z option chec.s ,or the initial state o, the 9>CH +evices, i, the% are in YsplitZ state, it -ill initiate an Yesta lishZ operation other-ise, it -ill generate an error an+ Ypage6mailZ the error to the concern liste+ in YmaillistZ s!pplie+ in the con,ig!ration ,ile4 "4 A,ter the re,resh 1Yesta lishZ3 it -ill r!n Ysr+,6a chec.pointZ 1to ,l!sh the +ata that is cache to the +is.3 r!n the Time$in+er split4 An% errors +!ring the process -ill e logge+ an+ also sent to the concern liste+ in the YmaillistZ 7ote# /8pecting to r!n this script in YcronZ an+ ma.e s!re that the 9>CHs are !n-mo!nt a,ter the ac.!p ,or the ne8t +a%s Ys%nc!pZ

Confi&uration files details2


SRCDIR=/opt/emc LOGDIR=${SRCDIR}/logs ETCDIR=${SRCDIR}/lib grp_ !me=r"#g$% LOG=${LOGDIR}/${grp_ !me}_mo .log &C'LOG=${LOGDIR}/${grp_ !me}_gbc(.log SSID=$$)* TSID=%)+, em!il_list=${ETCDIR}/m!illist m!-pc!c.e=/$ i t(!l0e=1$ sy c_time=1$ split_time=1$

SRCDIR2 So!rce +irector% -here all the scripts, con,ig!ration an+ log ,iles are availa le4 %O)DIR# /rror an+ stat!s log ,iles ETCDIR2 Con,ig!ration ,iles ,or all the +evice gro!ps &rp1name2 Device gro!p ,or -hich the S5D$6A an+ Time$in+er operation carrie+ o!t4 %O)2 log ,ile ,or the monitoring operation 4C"%O)2 'og ,ile ,or 9lo+ >CH cop% operation4 SSID2 So!ce S%mmetri8 <D TSID2 Target S%mmetri8 <D email1list2 'ist o, the e-mail6pager a++ress o, the concern ma/pcac$e2 Percentage o, cache ,or S5D$6A e,ore raising a ,lag int(alue2 interval val!e 1,re;!enc% to chec. the internal process o, Ys%ncZ or splitZ operations3 s!nc1time2 =aiting time ,or Ys%ncZ operation to ,inish split1time2 =aiting time ,or YsplitZ operation to ,inish

)0
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation

Technology Solutions

:seful Co
Gcomman+J -h s%mc,g Eh

ands#

Some !se,!l comman+s to tro! leshoot the Ys%mmirZ pro lems[ 1An% S@0C'< comman+ ,ollo-s -ith Y-hZ -ill give %o! the help6!sage3 1Sho-s all the !sage an+ options o, s%mc,g comman+3 s%mc,g s%nc 1re,resh the local +ata ase -ith respect to the S%mmetri83 s%mc,g +iscover 1to create6recreate s%mapiB+ 4 in on the local s%stem3 s%m+g list 1to ,in+ the +evice gro!ps e8isting on the local s%stem3 s%mp+ list Esi+ GS<D KJ 1to ,in+ all the +evices that are visi le to the s%stem3 s%m+ev list Esi+ GS<D KJ 1to ,in+ all the +evices that are con,ig!re+ on the S%mmetri83 s%mmir Eg GgrpBnameJ ;!er% -r+, 1to ,in+ the +etails o, the 5"69>CHs3 s%mmir Eg GgrpBnameJ ;!er% E g -r+, 1to ,in+ the +etails o, the split that is happening in the ac. gro!n+ relate+ to 5"69>CHs3 s%mmir Eg GgrpBnameJ veri,% GstateJ s%mr+, Eg GgrpBnameJ ;!er% 1to ,in+ the +etails o, the 5165"s3 s%mr+, Eg GgrpBnameJ ;!er% Er+,a 1to ,in+ the +etails o, 5D$A +evices3 1$or more +etails re,er the S@0C'< man!al3

Troubles*ootin+#
All the YS5D$6Time$in+erZ relate+ error messages go to either the +e,a!lt log ,ile in 6var6s%mapi6log6s%mapi4G+ateJ4log or 6opt6emc66logs6GgrpBnameJBg cv4log an+ GgrpBnameJBmon4log >ase+ on the con+ition o, the +evices, ta.e appropriate action 1,or more +etails o, the con+itions, please re,er to the man!als3 5ecreating the +evice gro!p# The +evice gro!ps can e recreate+ in case o, an acci+ental +elete !sing the import option availa le -ith Ys%m+gZ comman+ 14 Create an YasciiZ ,ile % e8porting the e8isting +evice gro!p Ks%m+g E, GasciiB,ileBnameJ e8port G+eviceBgro!pJ Ks%m+g E, GgrpBnameJ4t8t e8port GgrpBnameJ 1to create gro!ps on So!rce si+e3 Ks%m+g E, GgrpBnameJBr"g cv4t8t e8port GgrpBnameJ *rdf 1to create gro!ps on Target si+e3 "4 <mport the +evices ,rom the a ove ,ile ta.en -hen ever%thing is in a -or.ing con+ition4 )1
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation
Ks%m+g E, GgrpBnameJ4t8t import GgrpBnameJ

Technology Solutions

Addin& ne- de(ices in to t$e e/istin& &roups2 The elo- proce+!re is !se,!l to a++ ne- +evices in to the e8isting gro!ps 15D$A3[ S5D$6A operations[ 14 Create a ,ile -ith t-o col!mns, 51 an+ 5" +evices 1 ase+ on the app34 "4 /8ec!te the 5D$ comman+s on the ,ile % speci,%ing the 5D$9 n!m er -here 5D$9 n!m er is the one that -as given at the time o, +evice creation4 s%mr+, Esi+ GSS<DJ -,ile Gr1r",ileJ -5D$9 GKJ Gtas.J a4 s%mr+, Esi+ 00"( E,ile Ga c1")J set mo+e acpB+is. 4 s%mr+, Esi+ 00"( E,ile Ga c1")J -5D$9 " est E,!ll 7ote# >% +e,a!lt the ne- +evices are in Ys%ncZ mo+e change them to YacpB+is.Z )4 A,ter the a ove 51 an+ 5" +evices are in complete Ys%ncZ, then Disa le the consistenc% protection o, the +evice gro!p ,or -hich the a ove 51 an+ 5" are going to :oin4 An+ change the 5D$ mo+e ,rom YAs%nchromo!sZ to YAcpB+is.Z A++ the a ove +evices to the a ove gro!p !sing Ys%ml+Z Again change the 5D$ mo+e ,rom YacpB+is.Z to Yas%ncZ 1ma.e s!re the invali+ trac.s are less than )0W3 /na le the gro!p Consistenc% protection4 Wor#in& on fe- de(ices in an E/istin& &roup2 14 "4 )4 *4 54 64 Ta.e o,, the protection 1consistenc%3 remove those +evices ,rom the gro!p /8ec!te the tas.s Then t!rn the gro!p into ACPB+is. mo+e an+ :oin the +evices ac. =hen the trac.s are less than )0W, s-itch the mo+e Yas%ncZ /na le the Protection4

Error Codes2
Script name rdfamain Exit code Exit 10 Exit 20 Exit 30 Exit 0 Exit 21 Description Script usage error Device group parameter is empty in the configuration file Device group specified in Configuration file is not available on the system Configuration file supplied is not available at specified location !D" #in$ is Do%n

)"
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"

EMC Corporation
Exit 22 Exit 31 Exit 32 Exit 33 Exit 3, Exit 3 Exit 31 Exit 12 Exit 13 Exit 1, Exit 1 Exit 11

Technology Solutions
!D" ports are &""#'(E Device group is not in )*sync) mode !Df device pairs are not in )consistent) state +roup device protection is not )enabled) Cache used for the S!D"/* is excceded the limit set in the -.conf file *verage cycle time exceeded the limit /10 minutes0 Chec$point operation failed +2C3 devices are not in the )split) state Establish operation failed Establish operation )exceeded) the time set in the configuration file )"oreground split) operation failed )2ac$ground split or exceeded the time set in the configuration file

REFERENCES
Sol!tions /na Sol!tions /na Sol!tions /na Sol!tions /na Sol!tions /na Sol!tions /na ler 5elease 7otes ler S%mmetri8 C'< Comman+ 5e,erence ler S%mmetri8 C'< \!ic. 5e,erence ler S%mmetri8 >ase management C'< Pro+!ct 9!i+e ler S%mmetri8 S5D$ $amil% C'< Pro+!ct 9!i+e ler S%mmetri8 Time,in+er $amil% C'< Pro+!ct 9!i+e

7ote# The a ove Pro+!ct 9!i+es can e +o-nloa+e+ ,rom https4//po%erlin$.emc.com

FOR .ARDWARE SOFTWARE PRO4%EMS OPEN SAC CASE


https4//po%erlin$.emc.com

O5 CA''# &00-SHC*-/0C &00-(&"*-)6"

))
Copyright 2002 - 2006 E C! Corporation" All right# re#er$ed"