EMC – SRDF Status

Print Friendly

This post illustrates the outcome of various SRDF commands, prerequisites to run them, and a one liner description of various opertations.

Various Pair Status:

Synchronized – R1 and R2s are in synchronized state, and both have same content with no invalid tracks between R1/R2.

SyncInProg – Synchronization is underway between R1 and R2 because there are invalid tracks between R1/R2.

Consistent – Same as Synchronized but for SRDF/A devices.

Transmit Idle – SRDF/A can’t push the data in the transmit cycle because the link is down.

Split – Both R1 and R2 are RW available to their respective hosts, but the link is not ready and no data is being transferred between R1/R2.

R1 Updated – R1s are WD, and have no invalid tracks. The link is RW.

R1 UpdInProg – R1s are WD, and have invalid tracks, data is being copied from R2 to R1, and the link is RW.

Failed Over – R1 is WD and R2 is RW. No data is being transferred between R1/R2.

Partitioned – SYMAPI can’t communicate with the remote Symmetrix to show its correct status.

Suspended – No data is being transferred between R1/R2. IOs on R1 will accumulate as invalid tracks and will be transmitted to R2 upon resumption of the link.

Mixed – A SRDF group has devices with more than one pair status.

Invalid – Default state when no other SRDF state applies.

Outcome of SRDF commands:

Failover – Disable writes on Source R1s, enable writes on Destination R2s, no replication in any direction. To invoke a failover, the SRDF pair status must be one of synchronized/Suspended/R1 Updated/Partitioned (when you are invoking this operation from the target side).

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Failed Over

Swap – Suspends the replication, swaps the devices personality (Disables writes on Source R1s, enable writes on Destination R2s), resumes replication from R1s to R2s (roles are reversed). There are 2 ways swap can be invoked.

First way to perform “swap”: failover -establish

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover -establish
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 RW 1600 RW       0        0 S...  Synchronized

OR

Second way to perform “swap”: failover/swap/establish

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover -nop
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Failed Over

# symrdf -sid 1234 -rdfg 2 -f srdf_devs swap -nop
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs establish -nop
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 RW 1600 RW       0        0 S...  Synchronized

CAVEAT:

# symrdf -sid 3775 -rdfg 2 -f srdf_devs failover
# symrdf -sid 3775 -rdfg 2 -f srdf_devs establish

is NOT same as

# symrdf -sid 3775 -rdfg 2 -f srdf_devs failover -establish

First 2 commands will bring the devices back to the same status as they were before. Second command will reverse the roles and direction of replication.

Failback – Disables writes on Destination R2s (which were RW until now), suspends replication, merges the disk tracks, resumes replication from R1s to R2s, write enables Source R1s, updates the changed data. To invoke a failback, the SRDF pair(s) must already be in Failed over/Suspended and Write Disabled at the source/Suspended and Not Ready at the source/R1 Updated/R1 UpdInProg.

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Failed Over

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failback
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

Update – Initiates copying of invalid tracks before disabling any disks. It leaves the service state as it is, merges the tracks, and copies invalid tracks.

Command

# symrdf –sid 1234 -f file –rdfg 2 update

Split – Suspends the replication, Enables writes on both Source R1s and Destination R2s. No replication in any direction after the split. To invoke a split, the SRDF pair(s) must already be in “synchronised/Suspended/R1 Updated” status.

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs split
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 RW       0        0 S...  Split

After split, you will have R1 and R2s both RW. If you want to preserve the data on R2, you will run symrdf restore which will copy the data from R2 to R1 and then resume the replication from R1 to R2 after sync is complete. If you want to disarcd the cahnges on R2, you will run symrdf establish.

Establish – Write disables Destination R2s, suspends the replication, Synchronises Destination R2s with data from Source R1s, resumes replication from R1s to R2s. If after the split, you want to preserve the data on Source R1s, you will run establish. Source R1 data is retained, and destination R2 data is overwritten.

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 RW       0        0 S...  Split

# symrdf -sid 1234 -rdfg 2 -f srdf_devs establish -nop
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

Restore – Write disable Destination R2s and Source R1s, suspend the replication, Synchronises Source R1s with data from Destination R2s, resumes replication from R1s to R2s, write enables Source R1s, and write disables Destination R2s. If after the split, you want to preserve the data on destination R2s, you will run restore.

Command

# symrdf –sid 1234 –f srdf_devs -rdfg 2 restore

Suspend – It is a command for changing the link status. It stops replication across the link (link status set to Not Ready), leaving devices in the state they were before. To invoke suspend, the SRDF pair(s) must already be in Synchronized/R1 Updated state.

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs suspend
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 WD       0        0 S...  Suspended

Resume – It is a command for changing the link status. It resumes the replication across the link, leaving the devices in the state they were before. It works on the link only. To invoke resume, the SRDF pair(s) must already be in Suspended state.

       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 WD       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs resume
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

SUMMARY OF STATUS BEFORE and AFTER the operation:

  Source Destination Replication RDF Status
Before After Before After Before After Before After
Failover RW WD WD RW RW NR Synchronized, Suspended Failed Over
Swap RW WD WD RW RW RW Failed Over, Split Suspended from Failed Over, Split from Split
Failback RW RW RW WD NR RW Failed Over, Split Synchronized
Split RW RW WD RW RW NR Synchronized, Suspended Split
Establish RW RW RW WD NR RW Split, Suspended Synchronized
Suspend RW RW WD WD RW NR Synchronized Suspended
Resume RW RW WD WD NR RW Suspended Synchronized

Quick handy notes

* Reverse the replication – failover/swap/resume OR failover/swap/establish OR failover -establish

* Making R2s available for read-write and R1s WD with no replication, and then coming back to original position – failover/failback

* Making R2s available for read-write at the same time having R1s as read-write with no replication, and then coming back to original state – split/failback or split/establish

* To suspend the replication between R1s and R2s, and then resume the replication again – suspend/resume or suspend/establish

* To suspend the replication between R1s and R2s, and then reverse the replication after swapping the personality – suspend/split/swap/establish

* Suspend/failover is same as failover

* Swap will change the personalities if RDF status is either “Failed Over” (changes status to Suspended), and “Split” (leaves status as Split). It will not work if the status is “Suspended”.

* Resume will resume the replication from R1s to R2s when RDF status is “Suspended”. It will not work if the status is either “Failed Over” or “Split”. (Not allowed – failover/resume, split/resume)

* Establish will resume the replication from R1 to R2 when RDF status is either “Suspended”, and “Split”. It will not work if the status is “Failed Over”. (Not allowed – failover/establish)

* Only way to come out of “Failed Over” is either to run “swap” to change the status to “Suspended” and run resume/establish (reverses the R1/R2 roles and replication) OR use failback (brings back to original status).

* Failback will resume the replication from R1 to R2 when RDF status is either “Failed Over” or “Split”. It will not work when the status is “Suspended”.

Commands with output for reference


===========================
SWAP - failover/swap/resume
===========================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Failed Over

# symrdf -sid 1234 -rdfg 2 -f srdf_devs swap
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs resume
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 RW 1600 RW       0        0 S...  Synchronized

==========================
SWAP - failover -establish
==========================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover -establish
       Target(R2) View                  Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 RW 1600 RW       0        0 S...  Synchronized

==============================
SWAP - failover/swap/establish
==============================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover -nop
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Failed Over

# symrdf -sid 1234 -rdfg 2 -f srdf_devs swap -nop
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs establish -nop
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 RW 1600 RW       0        0 S...  Synchronized

==================
Failover/establish
==================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Failed Over

# symrdf -sid 1234 -rdfg 2 -f srdf_devs establish
An RDF 'Incremental Establish' operation execution is in progress for device
file 'srdf_devs'. Please wait...

The device is not in a valid RDF state for this operation

===============
failover/resume
===============
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Failed Over

# symrdf -sid 1234 -rdfg 2 -f srdf_devs resume -nop
An RDF 'Resume' operation execution is in progress for device
file 'srdf_devs'. Please wait...

The device is not in a valid RDF state for this operation

=================
failover/failback
=================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Failed Over

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failback
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

==============
Split/failback
==============
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs split
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 RW       0        0 S...  Split

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failback
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

============
split/resume
============
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs split
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 RW       0        0 S...  Split

# symrdf -sid 1234 -rdfg 2 -f srdf_devs resume
An RDF 'Resume' operation execution is in progress for device
file 'srdf_devs'. Please wait...

The device is not in a valid RDF state for this operation

===============
split/establish
===============
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
ource (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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs split
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 RW       0        0 S...  Split

# symrdf -sid 1234 -rdfg 2 -f srdf_devs establish -nop
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

================
suspend/failback
================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs suspend
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 WD       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failback
An RDF 'Failback' operation execution is in progress for device
file 'srdf_devs'. Please wait...

The device is not in a valid RDF state for this operation

=========================
suspend/failover/failback
=========================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs suspend
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 WD       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failover
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 NR 1600 RW       0        0 S...  Failed Over

# symrdf -sid 1234 -rdfg 2 -f srdf_devs failback
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

==============
suspend/resume
==============
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs suspend
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 WD       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs resume
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

=================
suspend/establish
=================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs suspend
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 WD       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs establish
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

============
suspend/swap
============
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs suspend
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 WD       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs swap -nop
An RDF 'Swap Personality' operation execution is in progress for device
file 'srdf_devs'. Please wait...

The device does not have a valid SA status for this operation

=========================
suspend/split/swap/resume
=========================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs suspend
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 WD       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs split
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 RW       0        0 S...  Split

# symrdf -sid 1234 -rdfg 2 -f srdf_devs swap
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 RW       0        0 S...  Split

# symrdf -sid 1234 -rdfg 2 -f srdf_devs resume -nop
An RDF 'Resume' operation execution is in progress for device
file 'srdf_devs'. Please wait...

The device is not in a valid RDF state for this operation

============================
suspend/split/swap/establish
============================
# symrdf -sid 1234 -rdfg 2 -f srdf_devs query
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 RW 1600 WD       0        0 S...  Synchronized

# symrdf -sid 1234 -rdfg 2 -f srdf_devs suspend
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 WD       0        0 S...  Suspended

# symrdf -sid 1234 -rdfg 2 -f srdf_devs split
       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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 RW       0        0 S...  Split

# symrdf -sid 1234 -rdfg 2 -f srdf_devs swap
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 RW       0        0 NR 1600 RW       0        0 S...  Split

# symrdf -sid 1234 -rdfg 2 -f srdf_devs establish -nop
       Target (R2) View                 Source (R1) 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 MDAE  STATE
-------------------------------- -- ------------------------ ----- ------------
N/A     1F00 WD       0        0 RW 1600 RW       0        0 S...  Synchronized

, , , , , , ,

sanaswati

2 Responses to “EMC – SRDF Status”

  1. Dabbrata Bose 21/10/2014 at 12:44 am # Reply

    Thanks for such great notes on SRDF first of all …..Well I am not sure about this since I have just started learning SRDF ,

    Please correct me if I am wrong.

    in the section “Commands with output for reference ” the output for the second command under “SWAP – failover -establish”
    ..shouldnt it be WD for R1 , RW for Links , and RW for R2 ?

    • Ketan Patel
      Ketan Patel 22/10/2014 at 7:57 am # Reply

      You are correct. Thanks for pointing out the error. Its now corrected.

Leave a Reply

*