Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Verify Replicated Global Device Group Configuration

Before You Begin

Before you verify the global device group, you must first create them. For information about creating a Solstice DiskSuite or 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).

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 A, 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. 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

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


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