Go to main content

Administering an Oracle® Solaris Cluster 4.4 Configuration

Exit Print View

Updated: November 2019

How to Display Configured Resource Types, Resource Groups, and Resources

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.

Note -  You can also view resources and resource groups through the Oracle Solaris Cluster Manager browser interface. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager.

Before You Begin

Users other than the root role require solaris.cluster.read authorization to use this subcommand.

  • Display the cluster's configured resource types, resource groups, and resources.
    phys-schost# cluster show -t resource,resourcetype,resourcegroup

    Perform all steps of this procedure from a node of the global cluster. For information about individual resources, resource groups, and resource types, use the show subcommand with one of the following commands:

    • resource

    • resource group

    • resourcetype

Example 2  Displaying Configured Resource Types, Resource Groups, and Resources

The following example shows the resource types (RT Name), resource groups (RG Name), and resources (RS Name ) configured for the cluster schost.

phys-schost# cluster show -t resource,resourcetype,resourcegroup

=== Registered Resource Types ===

Resource Type:                                SUNW.sctelemetry
RT_description:                                sctelemetry service for Oracle Solaris Cluster
RT_version:                                    1
API_version:                                   7
RT_basedir:                                    /usr/cluster/lib/rgm/rt/sctelemetry
Single_instance:                               True
Proxy:                                         False
Init_nodes:                                    All potential masters
Installed_nodes:                               <All>
Failover:                                      False
Pkglist:                                       <NULL>
RT_system:                                     True
Global_zone:                                   True

=== Resource Groups and Resources ===

Resource Group:                               tel-rg
RG_description:                                <NULL>
RG_mode:                                       Failover
RG_state:                                      Managed
Failback:                                      False
Nodelist:                                      phys-schost-2 phys-schost-1

--- Resources for Group tel-rg ---

Resource:                                     tel-res
Type:                                          SUNW.sctelemetry
Type_version:                                  4.0
Group:                                         tel-rg
Resource_project_name:                         default
Enabled{phys-schost-2}:                        True
Enabled{phys-schost-1}:                        True
Monitored{phys-schost-2}:                      True
Monitored{phys-schost-1}:                      True