Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Configure an EMC SRDF Replication Group

Before You Begin

EMC Solutions Enabler software must be installed on all cluster nodes before you configure an EMC Symmetrix Remote Data Facility (SRDF) replication group. First, configure the EMC SRDF device groups on shared disks in the cluster. For more information about how to configure the EMC SRDF device groups, see your EMC SRDF product documentation.

When using EMC SRDF, use dynamic devices instead of static devices. Static devices require several minutes to change the replication primary and can impact failover time.

Caution – Caution –

The name of the Sun Cluster device group that you create (Solaris Volume Manager, Veritas Volume Manager, or raw-disk) must be the same as the name of the replicated device group.

  1. Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on all nodes connected to the storage array.

  2. On each node configured with the replicated data, discover the symmetrix device configuration.

    This might take a few minutes.

    # /usr/symcli/bin/symcfg discover
  3. If you have not already created the replica pairs, create them now.

    Use the symrdf command to create your replica pairs. For instructions on creating the replica pairs, refer to your SRDF documentation.

  4. On each node configured with replicated devices, verify that data replication is set up correctly.

    # /usr/symcli/bin/symdg show group-name
  5. Perform a swap of the device group.

    1. Verify that the primary and secondary replicas are synchronized.

      # /usr/symcli/bin/symrdf -g group-name verify -synchronized
    2. Determine which node contains the primary replica and which node contains the secondary replica by using the symdg show command.

      # /usr/symcli/bin/symdg show group-name

      The node with the RDF1 device contains the primary replica and the node with the RDF2 device state contains the secondary replica.

    3. Enable the secondary replica.

      # /usr/symcli/bin/symrdf -g group-name failover
    4. Swap the RDF1 and RDF2 devices.

      # /usr/symcli/bin/symrdf -g group-name swap -refresh R1
    5. Enable the replica pair.

      # /usr/symcli/bin/symrdf -g group-name establish
    6. Verify that the primary node and secondary replicas are synchronized.

      # /usr/symcli/bin/symrdf -g group-name verify -synchronized
  6. Repeat all of step 5 on the node which originally had the primary replica.

Next Steps

After you have configured a device group for your EMC SRDF replicated device, you must configure the device identifier (DID) driver that the replicated device uses.