Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Verify a Hitachi TrueCopy Replicated Global Device Group Configuration

Before You Begin

Before you verify the global device group, you must first create it. You can use a Solaris Volume Manager device group, a Veritas Volume Manager device group, or raw-disk device group. For information about creating a Solaris Volume Manager device group, see How to Add and Register a Device Group (Solaris Volume Manager). For information about creating a Veritas Volume Manager device group, see SPARC: How to Create a New Disk Group When Encapsulating Disks (Veritas Volume Manager).

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. Verify that the primary device group corresponds to the same node as the node that contains the primary replica.


    # pairdisplay -g group-name
    # cldevicegroup status -n nodename group-name
    
  2. Verify that the replication property is set for the device group.


    # cldevicegroup show -n nodename group-name
    
  3. Verify that the replicated property is set for the device.


    # usr/cluster/bin/cldevice status [-s state] [-n node[,?]] [+| [disk-device ]]
    
  4. Perform a trial switchover to ensure that the device groups are configured correctly and the replicas can move between nodes.

    If the device group is offline, bring it online.


    # cldevicegroup switch -n nodename group-name
    
    -n nodename

    The node to which the device group is switched. This node becomes the new primary

  5. Verify that the switchover was successful by comparing the output of the following commands.


    # pairdisplay -g group-name
    # cldevicegroup status -n nodename group-name