1. Étapes initiales
Lister vos baies et les attributs des LUN disponibles
Pour lister vos baies procédez comme suit :
#symcfg list
S Y M M E T R I X
Mcode Cache Num Phys Num Symm
SymmID Attachment Model Version Size (MB) Devices Devices
00019010XXXX Local DMX4-24 5773 262144 18 4343
00019010XXXX Local DMX4-24 5773 262144 18 6195
00019010XXXX Local DMX4-24 5773 262144 20 4499
00028470XXXX Local 8730 5568 24576 10 3239
00029010XXXX Local DMX4-24 5773 147456 18 9654
00029010XXXX Local DMX4-24 5773 262144 12 17833
00029010XXXX Local DMX4-24 5773 262144 20 13803
00029010XXXX Local DMX4-24 5773 262144 18 12192
00029010XXXX Local DMX4-24 5773 262144 12 4343
Pour lister les LUN procédez comme suit :
#symdev -sid XXXX list -noport -noreserved
Symmetrix ID: 00029010XXXX
Device Name Directors Device
————————— ————- ————————————-
Cap
Sym Physical SA 😛 DA :IT Config Attribute Sts (MB)
————————— ————- ————————————-
00F9 Not Visible ???:? 06C:D0 2-Way Mir N/Grp’d RW 3
00FA Not Visible ???:? 15B:C1 2-Way Mir N/Grp’d RW 3
00FB Not Visible ???:? 11B:C1 2-Way Mir N/Grp’d RW 3
1062 Not Visible ???:? 02B:C2 RAID-5 N/Grp’d (M) RW 27885
10BA Not Visible ???:? 02B:C6 RAID-5 N/Grp’d (M) RW 55770
10C2 Not Visible ???:? 02B:C2 RAID-5 N/Grp’d (M) RW 55770
10CA Not Visible ???:? 02B:C0 RAID-5 N/Grp’d (M) RW 55770
10D2 Not Visible ???:? 02B:C8 RAID-5 N/Grp’d (M) RW 55770
1EA5 Not Visible ???:? 01A:C4 RAID-5 N/Grp’d (M) RW 446160
1EF1 Not Visible ???:? 02A:C9 RAID-5 N/Grp’d (M) RW 111540
20A9 Not Visible ???:? 02A:CB RAID-5 N/Grp’d RW 27885
238D Not Visible ???:? 01A:C6 RAID-5 N/Grp’d (M) RW 55770
2AA3 Not Visible ???:? 12C:D14 2-Way Mir N/Grp’d RW 516
2AA4 Not Visible ???:? 01D:C15 2-Way Mir N/Grp’d RW 516
2AA5 Not Visible ???:? 05B:D14 2-Way Mir N/Grp’d RW 516
2AA6 Not Visible ???:? 16A:D14 2-Way Mir N/Grp’d RW 516
2AA7 Not Visible ???:? 05D:C15 2-Way Mir N/Grp’d RW 516
2AA8 Not Visible ???:? 16B:C14 2-Way Mir N/Grp’d RW 516
2AA9 Not Visible ???:? 05A:C16 2-Way Mir N/Grp’d RW 516
2AAA Not Visible ???:? 16C:C15 2-Way Mir N/Grp’d RW 516
2AAB Not Visible ???:? 12C:C15 2-Way Mir N/Grp’d RW 516
2AB8 Not Visible ???:? 16B:D15 2-Way Mir N/Grp’d RW 516
2AB9 Not Visible ???:? 12A:C15 2-Way Mir N/Grp’d RW 516
2ABA Not Visible ???:? 01C:D15 2-Way Mir N/Grp’d RW 516
2ABB Not Visible ???:? 05C:D15 2-Way Mir N/Grp’d RW 516
Pour lister les LUN disponibles en RAID :
$ symdev -sid XXXX list -noport -noreserved -meta |grep RAID
1062 Not Visible RAID-5 N/Grp’d Striped 960k 4 27885
10BA Not Visible RAID-5 N/Grp’d Striped 960k 8 55770
10C2 Not Visible RAID-5 N/Grp’d Striped 960k 8 55770
10CA Not Visible RAID-5 N/Grp’d Striped 960k 8 55770
10D2 Not Visible RAID-5 N/Grp’d Striped 960k 8 55770
1EA5 Not Visible RAID-5 N/Grp’d Striped 960k 16 446160
1EF1 Not Visible RAID-5 N/Grp’d Striped 960k 4 111540
238D Not Visible RAID-5 N/Grp’d Striped 960k 2 55770
!!!!!!!!!!!!!!!!!PARTICULARITES!!!!!!!!!!!!!!!!
Dans le cadre ou des disques spécifiques seraient déjà réservés :
Pour vérifier les LUN réservées procédez comme suit :
$ symdev -sid YYYY list –reserved
Pour supprimer une réservation afin d’utiliser une LUN, procédez comme suit :
$ symconfigure -sid YYYY -reserve_id 000001 release
Pour réserver des disques procédez comme suit :
Créer un fichier texte contenant les disques à réserver :
************************* symconfigure FILE *************************
reserve dev dev1;
reserve dev dev2;
reserve dev dev3;
************************* symconfigure FILE *************************
Procédez à la reservation en utilisant la syntaxe ci-dessous :
$ symconfigure -sid YYYY -f [FILE] -owner REPLICATION -comment « DELIVRI [DATE : YYYYMMDD] » reserve
2. Création de l’appairage
Ces actions sont à mener sur le R1.
Création du fichier d’appairage:
$ vi liste_pair_02072013.txt
1EF1 252E
:wq
« liste_pair_02072013.txt » [New file] 1 line, 10 characters
Vérification de la baie distante et du RA groupe :
$ symcfg -sid XXXX list -RA all
Symmetrix ID: 00029010XXXX
S Y M M E T R I X R D F D I R E C T O R S
Remote Local Remote
Ident Symb Num Slot Type Attr SymmID RA Grp RA Grp Status
RF-3D 03D 51 3 RDF-BI-DIR – 00029010ZZZZ 3 (02) 3 (02) Online
RF-8D 08D 56 8 RDF-BI-DIR – 00029010ZZZZ 3 (02) 3 (02) Online
– – 4 (03) –
– – 5 (04) –
– – 7 (06) –
– – 10 (09) –
– – 13 (0C) –
RF-9D 09D 57 9 RDF-BI-DIR – 00029010ZZZZ 3 (02) 3 (02) Online
– – 4 (03) –
– – 5 (04) –
– – 7 (06) –
– – 10 (09) –
– – 13 (0C) –
RF-14D 14D 62 14 RDF-BI-DIR – 00029010ZZZZ 3 (02) 3 (02) Online
Vérification des LUN attribuées au host :
$ symmaskdb -sid XXXX list capac -host BUVH107
Symmetrix ID : 00029010XXXX
Host Name : BUVH107
Identifiers Found : 10000000c9a21376
10000000c9f0bb0e
Device Cap(MB) Attr Dir:P
—— ——- —- —-
1158 27885 (M) 7B:0,10B:0
218A 27885 7B:0,10B:0
221B 27885 7B:0,10B:0
2854 55770 (M) 7B:0,10B:0
2856 55770 (M) 7B:0,10B:0
2858 27885 7B:0,10B:0
2859 27885 7B:0,10B:0
2FBD 55770 (M) 7B:0,10B:0
—————————–
MB Total: 306735
GB Total: 299.5
Vérification des LUN afin de confirmer que le groupe trouvé précédemment est le bon :
$ symrdf -gdev -sid XXXX show 2856 |grep « Device Group »
$ symdev -sid XXXX show 2856 |grep « Device Group »
$ symdev -sid XXXX show 2859 |grep « Device Group »
$ symdev -sid XXXX show 2FBD |grep « Device Group »
$ symdev -sid XXXX show 221B |grep « Device Group »
$ symdev -sid XXXX show 218A |grep « Device Group »
$ symdev -sid XXXX show 18A |grep « Device Group »
$ symdev -sid XXXX show 1158 |grep « Device Group »
$ symdev -sid XXXX show 2854 |grep « Device Group »
Lancement de l’appairage :
$ symrdf -sid XXXX createpair -f liste_pair_02072013.txt -type RDF1 -rdfg 3 -invalidate R2
Execute an RDF ‘Create Pair’ operation for device file
‘liste_pair_02072013.txt’ (y/[n]) ? y
An RDF ‘Create Pair’ operation execution is in progress for device
file ‘liste_pair_02072013.txt’. Please wait…
Create RDF Pair in (XXXX,003)………………………………Started.
Create RDF Pair in (XXXX,003)………………………………Done.
Mark target device(s) in (XXXX,003) to refresh from source…….Started.
Devices: 252E-2531 in (XXXX,003)…………………………. Marked.
Mark target device(s) in (XXXX,003) to refresh from source…….Done.
Mark target device(s) in (XXXX,003) for full copy from source….Started.
Devices: 1EF1-1EF4 in (XXXX,003)…………………………. Marked.
Mark target device(s) in (XXXX,003) for full copy from source….Done.
The RDF ‘Create Pair’ operation successfully executed for device
file ‘liste_pair_02072013.txt’.
Vérification que l’appairage est bien réalisé :
$ symrdf -sid XXXX -f liste_pair_02072013.txt -rdfg 3 query
Symmetrix ID : 00029010XXXX (Microcode Version: 5773)
Remote Symmetrix ID : 00029010ZZZZ (Microcode Version: 5773)
RDF (RA) Group Number : 3 (02)
Source (R1) View Target (R2) View MODES
——————————– ———————— —– ————
ST LI ST
Standard A N A
Logical T R1 Inv R2 Inv K T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MDA STATE
——————————– — ———————— —– ————
N/A 1EF1 RW 0 1784640 NR 252E WD 0 1784640 S.. Suspended
Total ——– ——– ——– ——–
Track(s) 0 1784640 0 1784640
MB(s) 0 111540 0 111540
Legend for MODES:
M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
D(omino) : X = Enabled, . = Disabled
A(daptive Copy) : D = Disk Mode, W = WP Mode, . = ACp off
Lancement de la synchronisation SRDF en full copy :
$ symrdf -sid XXXX -f liste_pair_02072013.txt -rdfg 3 establish -full
Execute an RDF ‘Incremental Establish’ operation for device file
‘liste_pair_02072013.txt’ (y/[n]) ? y
An RDF ‘Incremental Establish’ operation execution is in progress for device
file ‘liste_pair_02072013.txt’. Please wait…
Suspend RDF link(s) for device(s) in (XXXX,003)………………Done.
Merge track tables between source and target in (XXXX,003)…….Started.
Devices: 1EF1-1EF4 in (XXXX,003)…………………………. Merged.
Merge track tables between source and target in (XXXX,003)…….Done.
Resume RDF link(s) for device(s) in (XXXX,003)……………….Started.
Resume RDF link(s) for device(s) in (XXXX,003)……………….Done.
The RDF ‘Incremental Establish’ operation successfully initiated for device
file ‘liste_pair_02072013.txt’.
Vérification de l’état de la copie :
$ symrdf -sid XXXX -f liste_pair_02072013.txt -rdfg 3 query
Symmetrix ID : 00029010XXXX (Microcode Version: 5773)
Remote Symmetrix ID : 00029010ZZZZ (Microcode Version: 5773)
RDF (RA) Group Number : 3 (02)
Source (R1) View Target (R2) View MODES
——————————– ———————— —– ————
ST LI ST
Standard A N A
Logical T R1 Inv R2 Inv K T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MDA STATE
——————————– — ———————— —– ————
N/A 1EF1 RW 0 1783160 RW 252E WD 0 1781934 S.. SyncInProg
Total ——– ——– ——– ——–
Track(s) 0 1783160 0 1781934
MB(s) 0 111448 0 111371
Legend for MODES:
M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
D(omino) : X = Enabled, . = Disabled
A(daptive Copy) : D = Disk Mode, W = WP Mode, . = ACp off
Vérification de l’état de la copie à intervalles réguliers :
$ symrdf -sid XXXX -f liste_pair_02072013.txt -rdfg 3 query -i 5
Symmetrix ID : 00029010XXXX (Microcode Version: 5773)
Remote Symmetrix ID : 00029010ZZZZ (Microcode Version: 5773)
RDF (RA) Group Number : 3 (02)
Source (R1) View Target (R2) View MODES
——————————– ———————— —– ————
ST LI ST
Standard A N A
Logical T R1 Inv R2 Inv K T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MDA STATE
——————————– — ———————— —– ————
N/A 1EF1 RW 0 1633244 RW 252E WD 0 1615435 S.. SyncInProg
Total ——– ——– ——– ——–
Track(s) 0 1633244 0 1615435
MB(s) 0 102078 0 100965
Legend for MODES:
M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
D(omino) : X = Enabled, . = Disabled
A(daptive Copy) : D = Disk Mode, W = WP Mode, . = ACp off
Symmetrix ID : 00029010XXXX (Microcode Version: 5773)
Remote Symmetrix ID : 00029010ZZZZ (Microcode Version: 5773)
RDF (RA) Group Number : 3 (02)
Source (R1) View Target (R2) View MODES
——————————– ———————— —– ————
ST LI ST
Standard A N A
Logical T R1 Inv R2 Inv K T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MDA STATE
——————————– — ———————— —– ————
N/A 1EF1 RW 0 1577975 RW 252E WD 0 1565091 S.. SyncInProg
Total ——– ——– ——– ——–
Track(s) 0 1577975 0 1565091
MB(s) 0.0 98623.4 0.0 97818.2
Synchronization rate : 215.9 MB/S
Estimated time to completion : 00:07:36
Legend for MODES:
M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
D(omino) : X = Enabled, . = Disabled
A(daptive Copy) : D = Disk Mode, W = WP Mode, . = ACp off
3. Rajout des LUN dans le groupe RDF
Ces actions sont à mener sur le R1 et le R2.
Lister les groupes portant le nom du projet :
#symdg -sid XXXX list –v | grep 119
NAE_i_hpi119_hpi1* RDF1 Yes 00029010XXXX 3 0 0 0 0
MODEC_i_hi119_hi1* RDF2 Yes 00029010XXXX 2 0 0 0 0
PRI7_i_hii119_hii* RDF1 Yes 00029010XXXX 10 0 0 0 0
EVDV2_i_hi119_hi1* RDF1 Yes 00029010XXXX 1 0 0 0 0
INFRAP_i_hii119_h* RDF1 Yes 00029010XXXX 1 0 0 0 0
Créer un groupe si aucun groupe ne correspond :
$ symdg create G2E_i_buvh107_awin133_s -type RDF1
Passer cette étape si le groupe RDF existe déjà.
$ symrdf -sid XXXX -f liste_pair_02072013.txt -rdfg 3 query -i 5
Passer cette étape si le groupe RDF existe déjà
Vérifiez les propriétés du groupe RDF :
#symrdf -g EVDV2_i_hi119_hi119_s query
Device Group (DG) Name : EVDV2_i_hi119_hi119_s
DG’s Type : RDF1
DG’s Symmetrix ID : 00029010XXXX (Microcode Version: 5773)
Remote Symmetrix ID : 00029010ZZZZ (Microcode Version: 5773)
RDF (RA) Group Number : 3 (02)
Source (R1) View Target (R2) View MODES
——————————– ———————— —– ————
ST LI ST
Standard A N A
Logical T R1 Inv R2 Inv K T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MDA STATE
——————————– — ———————— —– ————
DEV001 211F RW 0 0 RW 2702 WD 0 0 S.. Synchronized
Total ——– ——– ——– ——–
Track(s) 0 0 0 0
MB(s) 0.0 0.0 0.0 0.0
Legend for MODES:
M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
D(omino) : X = Enabled, . = Disabled
A(daptive Copy) : D = Disk Mode, W = WP Mode, . = ACp off
Rajoutez vos LUN à votre groupe RDF :
$ symld -sid XXXX -g G2E_i_buvh107_awin133_s add dev 1EF1
Vérifiez que votre LUN a bien été intégrée au groupe RDF :
$ symrdf -g G2E_i_buvh107_awin133_s query
Device Group (DG) Name : G2E_i_buvh107_awin133_s
DG’s Type : RDF1
DG’s Symmetrix ID : 00029010XXXX (Microcode Version: 5773)
Remote Symmetrix ID : 00029010ZZZZ (Microcode Version: 5773)
RDF (RA) Group Number : 3 (02)
Source (R1) View Target (R2) View MODES
——————————– ———————— —– ————
ST LI ST
Standard A N A
Logical T R1 Inv R2 Inv K T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MDA STATE
——————————– — ———————— —– ————
DEV001 1EF1 RW 0 1343921 RW 252E WD 0 1343788 S.. SyncInProg
Total ——– ——– ——– ——–
Track(s) 0 1343921 0 1343788
MB(s) 0.0 83995.1 0.0 83986.8
Legend for MODES:
M(ode of Operation): A = Async, S = Sync, E = Semi-sync, C = Adaptive Copy
D(omino) : X = Enabled, . = Disabled
A(daptive Copy) : D = Disk Mode, W = WP Mode, . = ACp off
Effectuez votre mapping comme décrit ci-dessous :
$ vi mapping_01072013.txt
map dev 1EF1 to dir 7B:0 lun=109, wwn=10000000c9a21376;
map dev 1EF1 to dir 10B:0 lun=109, wwn=10000000c9f0bb0e;
:wq
« mapping_01072013.txt » [New file] 2 lines, 115 characters
$ symconfigure -sid XXXX -f « mapping_01072013.txt » prepare
Execute a symconfigure operation for symmetrix ‘00029010XXXX’ (y/[n]) ? y
A Configuration Change operation is in progress. Please wait…
Establishing a configuration change session……………Established.
Processing symmetrix 00029010XXXX
Performing Access checks…………………………….Allowed.
Checking Device Reservations…………………………Allowed.
Submitting configuration changes……………………..Submitted
Locking devices…………………………………….Locked.
Validating configuration changes……………………..Validated.
Initiating PREPARE of configuration changes……………Prepared.
Closing configuration change request………………….Closed.
Terminating the configuration change session…………..Done.
The configuration change session has completed successfully.
$ symconfigure -sid XXXX -f « mapping_01072013.txt » commit
Execute a symconfigure operation for symmetrix ‘00029010XXXX’ (y/[n]) ? y
A Configuration Change operation is in progress. Please wait…
Establishing a configuration change session……………Established.
Processing symmetrix 00029010XXXX
Performing Access checks…………………………….Allowed.
Checking Device Reservations…………………………Allowed.
Submitting configuration changes……………………..Submitted
Locking devices…………………………………….Locked.
Validating configuration changes……………………..Validated.
Initiating PREPARE of configuration changes……………Prepared.
Initiating COMMIT of configuration changes…………….Queued.
COMMIT requesting required resources………………….Obtained.
Step 002 of 014 steps……………………………….Executing.
Step 002 of 014 steps……………………………….Executing.
Step 003 of 014 steps……………………………….Executing.
Step 009 of 014 steps……………………………….Executing.
Step 011 of 014 steps……………………………….Executing.
Step 011 of 014 steps……………………………….Executing.
Polling……………………………………………Timed out.
Local: COMMIT……………………………………..Done.
Terminating the configuration change session…………..Done.
The configuration change session has successfully completed.
Terminez par un refresh de votre baie :
$ symmask -sid XXXX refresh
Refresh Symmetrix FA directors with contents of SymMask database 00029010XXXX (y/[n]) ? y
Symmetrix FA directors updated with contents of SymMask Database 00029010XXXX