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 device groups from Solaris Volume Manager, Veritas Volume Manager , ZFS, or raw-disk. For more information, consult the following:

Caution – Caution –

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

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