Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Configure DID Devices for Replication Using EMC SRDF

This procedure configures the device identifier (DID) driver that the replicated device uses.

Before You Begin

The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.

This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.

  1. Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any node of the cluster.

  2. Determine which DID devices correspond to the configured RDF1 and RDF2 devices.


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

    Note –

    If your system does not display the entire Solaris device patch, set the environment variable SYMCLI_FULL_PDEVNAME to 1 and retype the symdg -show command.


  3. Determine which DID devices correspond to the Solaris devices.


    # cldevice list -v
    
  4. For each pair of matched DID devices, combine the instances into a single replicated DID device. Run the following command from the RDF2/secondary side.


    # cldevice combine -t srdf -g replication-device-group \
     -d destination-instance source-instance
    

    Note –

    The -T option is not supported for SRDF data replication devices.


    -t replication-type

    Specifies the replication type. For EMC SRDF, type SRDF.

    -g replication-device-group

    Specifies the name of the device group as shown in the symdg show command.

    -d destination-instance

    Specifies the DID instance that corresponds to the RDF1 device.

    source-instance

    Specifies the DID instance that corresponds to the RDF2 device.


    Note –

    If you combine the wrong DID device, use the -b option for the scdidadm command to undo the combining of two DID devices.


    # scdidadm -b device 
    
    -b device

    The DID instance that corresponded to the destination_device when the instances were combined.


  5. If the name of a replication device group changes, additional steps are required for Hitachi TrueCopy and SRDF. After you complete steps 1 through 4, perform the appropriate additional step.

    Item 

    Description 

    TrueCopy 

    If the name of the replication device group (and the corresponding global device group) changes, you must rerun the cldevice replicate command to update the replicated device information.

    SRDF 

    If the name of the replication device group (and the corresponding global device group) changes, you must update the replicated device information by first using the scdidadm -b command to remove the existing information. The last step is to use the cldevice combine command to create a new, updated device.

  6. Verify that the DID instances have been combined.


    # cldevice list -v device
    
  7. Verify that the SRDF replication is set.


    # cldevice show device
    
  8. On all nodes, verify that the DID devices for all combined DID instances are accessible.


    # cldevice list -v
    
Next Steps

After you have configured the device identifier (DID) driver that the replicated device uses, you must verify the EMC SRDF replicated global device group configuration.