NODE_CLUSTER_STATE enumeration (clusapi.h)

Indicates the state of the cluster. The GetNodeClusterState function uses this enumeration.

Syntax

typedef enum NODE_CLUSTER_STATE {
  ClusterStateNotInstalled = 0x00000000,
  ClusterStateNotConfigured,
  ClusterStateNotRunning,
  ClusterStateRunning
} ;

Constants

 
ClusterStateNotInstalled
Value: 0x00000000
The Cluster service is not installed on the node.
ClusterStateNotConfigured
The Cluster service is installed on the node but has not yet been configured.
ClusterStateNotRunning
The Cluster service is installed and configured on the node but is not currently running.
ClusterStateRunning
The Cluster service is installed, configured, and running on the node.

Remarks

The following constants are defined in ClusAPI.h.

Constant Value
CLUSTER_INSTALLED 0x00000001
CLUSTER_CONFIGURED 0x00000002
CLUSTER_RUNNING 0x00000010

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header clusapi.h

See also

Failover Cluster Enumerations

GetNodeClusterState