Go to main content

Administering an Oracle® Solaris Cluster 4.4 Configuration

Exit Print View

Updated: November 2019

How to List a Device Group Configuration

You do not need to be the root role to list the configuration. However, you do need solaris.cluster.read 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 Oracle Solaris Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical.

  • Use one method from the following list.
    Oracle Solaris Cluster Manager browser interface

    See Using the Oracle Solaris Cluster Manager Browser Interface 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 37  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 38  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