To remove an
SRDF/Metro Smart DR environment, use the
symmdr environment -remove command. The end result is a CRDF setup with one mirror that is an SRDF/Metro session and one mirror that is the DR, that is either an SRDF/A session or in adaptive copy disk mode.
When removing a
SRDF/Metro Smart DR environment, users can choose to keep the DR that originates from either the MetroR1 side or the MetroR2 side.
If the SRDF/Metro state is ActiveActive and the DR leg being removed is the MetroR1 to DR, the existence of the other DR leg results in the SRDF/Metro witness to prefer the side with the DR. After completing a Smart DR environment removal, the MetroR2 that was configured for Smart DR is reported as MetroR1.
The successful removal of an SRDF/Metro Smart DR environment results in the following:
the state of the SRDF/Metro session does not change
the state of the SRDF/Metro Smart DR session does not change (unless a
-force option is required)
if the DR mode is Asynchronous at the time of issuing the
symmdr env -remove command, the devices remain enabled.
Using the
-force option is required for removing a SRDF/Metro Smart DR environment when:
the SRDF/Metro state is SyncInProg or ActiveActive, and
the DR state is Synchronized, SyncInProg, or Consistent, and
MetroR2_DR is Suspended and the MetroR1_DR is being removed.
Use the
symmdr -sid 048 -name Alaska query command to see details of the
Alaska Smart DR environment before its removal. The SRDF/Metro pair is Suspended.
Array ID: 000197900048
Name : Alaska
Service State : Normal
Capacity : 1.8 GB
Exempt Devices: No
MetroR1: 000197900048
MetroR2: 000197802041
DR : 000197801702
MetroR1 MetroR2 MetroR1 <-> MetroR2
--------------------- --------------------- -----------------------
MetroR1 MetroR2 MetroR1 MetroR2
Invalids Invalids Flg Invalids Invalids Flg Flags Done
(GB) (GB) HA (GB) (GB) HA LW ES State (%)
-------- -------- --- -------- -------- --- ----- ------------ ----
0.0 0.0 -. 0.0 0.0 -. .. .I Suspended -
Metro DR Metro <-> DR
----------------- ----------------- ------------------------------------------------------
Metro DR Metro DR Cycle
Invalids Invalids Invalids Invalids Flags Done Time
(GB) (GB) (GB) (GB) LM ES State (%) (sec) DR Consistent Image Time
-------- -------- -------- -------- ----- ------------ ---- ----- ------------------------
0.0 0.0 0.0 0.0 .A .A Consistent - 15 Thu Apr 23 15:33:30 2020
Legend:
Metro Flags:
(H)ost Connectivity: . = Normal, X = Degraded
(A)rray Health : . = Normal, X = Degraded
MetroR1 <-> MetroR2 Flags:
(L)ink State : . = Online, X = Offline
(W)itness State : . = Available, D = Degraded, X = Failed
(E)xempt Devices : . = No Exempt Devices, X = Exempt Devices
(S)ervice State : H = Active HA, A = Active, I = Inactive, D = Degraded
Metro <-> DR Flags:
(L)ink State : . = Online, X = Offline, 1 = MetroR1_DR Offline, 2 = MetroR2_DR Offline
(M)ode : A = Async, D = Adaptive Copy
(E)xempt Devices : . = No Exempt Devices, X = Exempt Devices
(S)ervice State : H = Active HA, A = Active, I = Inactive, D = Degraded
Array ID: 000197900048
Name : Alaska
Service State : Normal
Capacity : 1.8 GB
Exempt Devices: No
MetroR1: 000197900048
MetroR2: 000197802041
DR : 000197801702
MetroR1 MetroR2 MetroR1 <-> MetroR2
--------------------- --------------------- -----------------------
MetroR1 MetroR2 MetroR1 MetroR2
Invalids Invalids Flg Invalids Invalids Flg Flags Done
(GB) (GB) HA (GB) (GB) HA LW ES State (%)
-------- -------- --- -------- -------- --- ----- ------------ ----
0.0 0.0 -. 0.0 0.0 -. .. .I Suspended -
Metro DR Metro <-> DR
----------------- ----------------- ------------------------------------------------------
Metro DR Metro DR Cycle
Invalids Invalids Invalids Invalids Flags Done Time
(GB) (GB) (GB) (GB) LM ES State (%) (sec) DR Consistent Image Time
-------- -------- -------- -------- ----- ------------ ---- ----- ------------------------
0.0 0.0 0.0 0.0 .A .A Consistent - 15 Thu Apr 23 15:33:30 2020
Legend:
Metro Flags:
(H)ost Connectivity: . = Normal, X = Degraded
(A)rray Health : . = Normal, X = Degraded
MetroR1 <-> MetroR2 Flags:
(L)ink State : . = Online, X = Offline
(W)itness State : . = Available, D = Degraded, X = Failed
(E)xempt Devices : . = No Exempt Devices, X = Exempt Devices
(S)ervice State : H = Active HA, A = Active, I = Inactive, D = Degraded
Metro <-> DR Flags:
(L)ink State : . = Online, X = Offline, 1 = MetroR1_DR Offline, 2 = MetroR2_DR Offline
(M)ode : A = Async, D = Adaptive Copy
(E)xempt Devices : . = No Exempt Devices, X = Exempt Devices
(S)ervice State : H = Active HA, A = Active, I = Inactive, D = Degraded
Use the
symmdr -sid 48 -dr_rdfg 55 -name Alaska -nop env -remove command to remove the
Alaska Smart DR environment with the DR leg remaining on MetroR1.
A MetroDR 'Environment Remove' operation is in progress
for 'Alaska'. Please wait...
Update environment attributes .................................Started.
MetroR1_ArrayID: 000197900048, Metro_RDFG : 0099, DR_RDFG : 0055
MetroR2_ArrayID: 000197802041, Metro_RDFG : 0089, DR_RDFG : 0102
DR_ArrayID : 000197801702, MetroR1_RDFG: 0077, MetroR2_RDFG: 0130
DR Mode : Asynchronous, MetroDR Devs: 2
Update environment attributes .................................Done.
Stop Data Repl (Host Access [MetroR1:Enable,DR:Disable]).......Started.
Stop Data Repl (Host Access [MetroR1:Enable,DR:Disable]).......Done.
Clear HA Data Repl (Metro,DR)..................................Started.
Clear HA Data Repl (Metro,DR)..................................Not Needed.
Delete RDF Pair(s) (MetroR1,DR)................................Started.
Delete RDF Pair(s) (MetroR1,DR)................................Done.
Clear environment attributes ..................................Started.
Clear environment attributes ..................................Done.
The MetroDR 'Environment Remove' operation successfully executed
for 'Alaska'.
After removing the
Alaska Smart DR environment, use the
symrdf -sid 048 query -rdfg 99 command to see details of the SRDF/Metro pair. The SRDF/Metro pair state remained Suspended after the removal.
Symmetrix ID : 000197900048 (Microcode Version: 5978)
Remote Symmetrix ID : 000197802041 (Microcode Version: 5978)
RDF (RA) Group Number : 99 (62)
Source (R1) View Target (R2) View FLAGS
--------------------------------- ------------------------ ----- ------------
ST LI ST
Standard A N A
Logical Sym T R1 Inv R2 Inv K Sym T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MCES STATE
--------------------------------- -- ------------------------ ----- ------------
N/A 00F9C RW 0 0 NR 00C58 WD 0 0 TX.E Suspended
N/A 00F9D RW 0 0 NR 00C59 WD 0 0 TX.E Suspended
Total ------- ------- ------- -------
Track(s) 0 0 0 0
MB(s) 0.0 0.0 0.0 0.0
Legend for FLAGS:
(M)ode of Operation : A = Async, S = Sync, E = Semi-sync, D = Adaptive Copy Disk Mode
: W = Adaptive Copy WP Mode, M = Mixed, T = Active
(C)onsistency State : X = Enabled, . = Disabled, M = Mixed, - = N/A
(E)xempt : X = Enabled, . = Disabled, M = Mixed, - = N/A
R1/R2 Device (S)ize : E = R1 EQ R2, 1 = R1 GT R2, 2 = R2 GT R1, - = N/A
Use the
symrdf -sid 041 query -rdfg 102 command to see details of the remaining DR pair.
Symmetrix ID : 000197802041 (Microcode Version: 5978)
Remote Symmetrix ID : 000197801702 (Microcode Version: 5978)
RDF (RA) Group Number : 102 (65)
Source (R1) View Target (R2) View FLAGS
--------------------------------- ------------------------ ----- ------------
ST LI ST
Standard A N A
Logical Sym T R1 Inv R2 Inv K Sym T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MCES STATE
--------------------------------- -- ------------------------ ----- ------------
N/A 00C58 RW 0 0 NR 07FF2 WD 0 0 AX.E Suspended
N/A 00C59 RW 0 0 NR 07FF3 WD 0 0 AX.E Suspended
Total ------- ------- ------- -------
Track(s) 0 0 0 0
MB(s) 0.0 0.0 0.0 0.0
Legend for FLAGS:
(M)ode of Operation : A = Async, S = Sync, E = Semi-sync, D = Adaptive Copy Disk Mode
: W = Adaptive Copy WP Mode, M = Mixed, T = Active
(C)onsistency State : X = Enabled, . = Disabled, M = Mixed, - = N/A
(E)xempt : X = Enabled, . = Disabled, M = Mixed, - = N/A
R1/R2 Device (S)ize : E = R1 EQ R2, 1 = R1 GT R2, 2 = R2 GT R1, - = N/A
Example 2: DR leg remaining on MetroR1 when SRDF/Metro state is ActiveActive
Use the
symmdr -sid 048 -name Alaska query command to see details of the
Alaska Smart DR environment before its removal. The SRDF/Metro pair is ActiveActive.
Array ID: 000197900048
Name : Alaska
Service State : Normal
Capacity : 1.8 GB
Exempt Devices: No
MetroR1: 000197900048
MetroR2: 000197802041
DR : 000197801702
MetroR1 MetroR2 MetroR1 <-> MetroR2
--------------------- --------------------- -----------------------
MetroR1 MetroR2 MetroR1 MetroR2
Invalids Invalids Flg Invalids Invalids Flg Flags Done
(GB) (GB) HA (GB) (GB) HA LW ES State (%)
-------- -------- --- -------- -------- --- ----- ------------ ----
0.0 0.0 .. 0.0 0.0 .. .. .H ActiveActive -
Metro DR Metro <-> DR
----------------- ----------------- ------------------------------------------------------
Metro DR Metro DR Cycle
Invalids Invalids Invalids Invalids Flags Done Time
(GB) (GB) (GB) (GB) LM ES State (%) (sec) DR Consistent Image Time
-------- -------- -------- -------- ----- ------------ ---- ----- ------------------------
0.0 0.0 0.0 0.0 .A .A Consistent - 15 Thu Apr 23 16:11:44 2020
Legend:
Metro Flags:
(H)ost Connectivity: . = Normal, X = Degraded
(A)rray Health : . = Normal, X = Degraded
MetroR1 <-> MetroR2 Flags:
(L)ink State : . = Online, X = Offline
(W)itness State : . = Available, D = Degraded, X = Failed
(E)xempt Devices : . = No Exempt Devices, X = Exempt Devices
(S)ervice State : H = Active HA, A = Active, I = Inactive, D = Degraded
Metro <-> DR Flags:
(L)ink State : . = Online, X = Offline, 1 = MetroR1_DR Offline, 2 = MetroR2_DR Offline
(M)ode : A = Async, D = Adaptive Copy
(E)xempt Devices : . = No Exempt Devices, X = Exempt Devices
(S)ervice State : H = Active HA, A = Active, I = Inactive, D = Degraded
Use the
symmdr -sid 48 -dr_rdfg 55 -name Alaska -nop env -remove command to remove the
Alaska Smart DR environment.
A MetroDR 'Environment Remove' operation is in progress
for 'Alaska'. Please wait...
Update environment attributes .................................Started.
MetroR1_ArrayID: 000197900048, Metro_RDFG : 0099, DR_RDFG : 0055
MetroR2_ArrayID: 000197802041, Metro_RDFG : 0089, DR_RDFG : 0102
DR_ArrayID : 000197801702, MetroR1_RDFG: 0077, MetroR2_RDFG: 0130
DR Mode : Asynchronous, MetroDR Devs: 2
Update environment attributes .................................Done.
Stop Data Repl (Host Access [MetroR1:Enable,DR:Disable]).......Started.
Stop Data Repl (Host Access [MetroR1:Enable,DR:Disable]).......Done.
Clear HA Data Repl (Metro,DR)..................................Started.
Clear HA Data Repl (Metro,DR)..................................Done.
Delete RDF Pair(s) (MetroR1,DR)................................Started.
Delete RDF Pair(s) (MetroR1,DR)................................Done.
Clear environment attributes ..................................Started.
Clear environment attributes ..................................Done.
The MetroDR 'Environment Remove' operation successfully executed
for 'Alaska'.
As the SRDF/Metro state is ActiveActive and the DR leg being removed is the MetroR1 to DR, the witness decided that it should indicate the side with the active DR as the MetroR1.
After removing the
Alaska Smart DR environment, use the
symrdf -sid 048 query -rdfg 99 command from the MetroR1 array to see details of the SRDF/Metro pair.
Symmetrix ID : 000197900048 (Microcode Version: 5978)
Remote Symmetrix ID : 000197802041 (Microcode Version: 5978)
RDF (RA) Group Number : 99 (62)
Target (R2) View Source (R1) View FLAGS
--------------------------------- ------------------------ ----- ------------
ST LI ST
Standard A N A
Logical Sym T R1 Inv R2 Inv K Sym T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MCES STATE
--------------------------------- -- ------------------------ ----- ------------
N/A 00F9C RW 0 0 RW 00C58 RW 0 0 TX.E ActiveActive
N/A 00F9D RW 0 0 RW 00C59 RW 0 0 TX.E ActiveActive
Total ------- ------- ------- -------
Track(s) 0 0 0 0
MB(s) 0.0 0.0 0.0 0.0
Legend for FLAGS:
(M)ode of Operation : A = Async, S = Sync, E = Semi-sync, D = Adaptive Copy Disk Mode
: W = Adaptive Copy WP Mode, M = Mixed, T = Active
(C)onsistency State : X = Enabled, . = Disabled, M = Mixed, - = N/A
(E)xempt : X = Enabled, . = Disabled, M = Mixed, - = N/A
R1/R2 Device (S)ize : E = R1 EQ R2, 1 = R1 GT R2, 2 = R2 GT R1, - = N/A
Use the
symrdf -sid 041 query -rdfg 89 command from the MetroR2 array to see details of the SRDF/Metro pair.
Symmetrix ID : 000197802041 (Microcode Version: 5978)
Remote Symmetrix ID : 000197900048 (Microcode Version: 5978)
RDF (RA) Group Number : 89 (58)
Source (R1) View Target (R2) View FLAGS
--------------------------------- ------------------------ ----- ------------
ST LI ST
Standard A N A
Logical Sym T R1 Inv R2 Inv K Sym T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MCES STATE
--------------------------------- -- ------------------------ ----- ------------
N/A 00C58 RW 0 0 RW 00F9C RW 0 0 TX.E ActiveActive
N/A 00C59 RW 0 0 RW 00F9D RW 0 0 TX.E ActiveActive
Total ------- ------- ------- -------
Track(s) 0 0 0 0
MB(s) 0.0 0.0 0.0 0.0
Legend for FLAGS:
(M)ode of Operation : A = Async, S = Sync, E = Semi-sync, D = Adaptive Copy Disk Mode
: W = Adaptive Copy WP Mode, M = Mixed, T = Active
(C)onsistency State : X = Enabled, . = Disabled, M = Mixed, - = N/A
(E)xempt : X = Enabled, . = Disabled, M = Mixed, - = N/A
R1/R2 Device (S)ize : E = R1 EQ R2, 1 = R1 GT R2, 2 = R2 GT R1, - = N/A
Use the
symrdf -sid 041 query -rdfg 102 command to see details of the remaining DR pair. After the removal, the opposite side of the SRDF/Metro leg that used to be MetroR2 is now reported as MetroR1.
Symmetrix ID : 000197802041 (Microcode Version: 5978)
Remote Symmetrix ID : 000197801702 (Microcode Version: 5978)
RDF (RA) Group Number : 102 (65)
Source (R1) View Target (R2) View FLAGS
--------------------------------- ------------------------ ----- ------------
ST LI ST
Standard A N A
Logical Sym T R1 Inv R2 Inv K Sym T R1 Inv R2 Inv RDF Pair
Device Dev E Tracks Tracks S Dev E Tracks Tracks MCES STATE
--------------------------------- -- ------------------------ ----- ------------
N/A 00C58 RW 0 0 RW 07FF2 WD 0 0 AX.E Consistent
N/A 00C59 RW 0 0 RW 07FF3 WD 0 0 AX.E Consistent
Total ------- ------- ------- -------
Track(s) 0 0 0 0
MB(s) 0.0 0.0 0.0 0.0
Legend for FLAGS:
(M)ode of Operation : A = Async, S = Sync, E = Semi-sync, D = Adaptive Copy Disk Mode
: W = Adaptive Copy WP Mode, M = Mixed, T = Active
(C)onsistency State : X = Enabled, . = Disabled, M = Mixed, - = N/A
(E)xempt : X = Enabled, . = Disabled, M = Mixed, - = N/A
R1/R2 Device (S)ize : E = R1 EQ R2, 1 = R1 GT R2, 2 = R2 GT R1, - = N/A
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\