listClusterResources

Lists the state of cluster resources. See Section A.3.2, Cluster Management Commands.

Request

 <ncsRequest>
   <clusterManage>
     <listClusterResources/>
   </clusterManage>
 </ncsRequest> 
 

Reply

 <ncsReply>
   <clusterManage>
     <listClusterResources>
       <resourceInfo>
         <name>
         <state>
         <location>
         <incarnation>
         <upSince>
       </resourceInfo>
       <result value=>
         <description>
       </result>
     </listClusterResources>
   </clusterManage>
 </ncsReply>
 

Elements

listClusterResources

List the state of cluster resources.

resourceInfo

Repeats the resource information for each of the following values:

Values

Description

name

(Required) The name of the resource.

resourceType

(Required) This will include a type for the master IP resource.

state

(Required) State will also contain alerts. Valid states are: Offline; Loading; Running; Unassigned; NDS Sync; Upgrade; Failback Alert; Failover Alert; and Start Alert.

location

(Required) The name of the node where the resource is located.

incarnation

(Required) Specifies the number of lives.

upSince

(Required) The generalized time format (YYYYMMDDHHSS).

result value

An error value and resulting text description, or zero for no error:

Values

Description

description

A text description for the result.