NODE_CLUSTER_STATE Enumeration

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

Syntax

typedef enum NODE_CLUSTER_STATE {
  ClusterStateNotInstalled   ,
  ClusterStateNotConfigured  ,
  ClusterStateNotRunning     ,
  ClusterStateRunning
} ;

Constants

ClusterStateNotInstalled 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

   
Windows version None supported Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header clusapi.h

See Also

Failover Cluster Enumerations

GetNodeClusterState