Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to List a Device Group Configuration

You do not need to be superuser to list the configuration. However, you do need authorization.

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. Use one method from the following list.

    Sun Cluster Manager GUI

    See the Sun Cluster Manager online help for more information.

    cldevicegroup show

    Use cldevicegroup show to list the configuration for all device groups in the cluster.

    cldevicegroup show devicegroup

    Use cldevicegroup show devicegroup to list the configuration of a single device group.

    cldevicegroup status devicegroup

    Use cldevicegroup status devicegroup to determine the status of a single device group.

    cldevicegroup status +

    Use cldevicegroup status + to determine the status of all device groups in the cluster.

    Use the -v option with any of these commands to obtain more detailed information.

Example 5–34 Listing the Status of All Device Groups

# cldevicegroup status +

=== Cluster Device Groups ===

--- Device Group Status ---

Device Group Name    Primary         Secondary        Status
-----------------    -------         ---------        ------
dg-schost-1          phys-schost-2   phys-schost-1    Online
dg-schost-2          phys-schost-1   --               Offline
dg-schost-3          phys-schost-3   phy-shost-2      Online

Example 5–35 Listing the Configuration of a Particular Device Group

# cldevicegroup show dg-schost-1

=== Device Groups ===                          

Device Group Name:                              dg-schost-1
  Type:                                           SVM
  failback:                                       yes
  Node List:                                      phys-schost-2, phys-schost-3
  preferenced:                                    yes
  numsecondaries:                                 1
  diskset names:                                   dg-schost-1