NODE_CLUSTER_STATE
TOC
Collapse the table of content
Expand the table of content

NODE_CLUSTER_STATE enumeration

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

Syntax


typedef enum NODE_CLUSTER_STATE { 
  ClusterStateNotInstalled   = 0,
  ClusterStateNotConfigured  = CLUSTER_INSTALLED,
  ClusterStateNotRunning     = CLUSTER_INSTALLED | CLUSTER_CONFIGURED,
  ClusterStateRunning        = CLUSTER_INSTALLED | CLUSTER_CONFIGURED | CLUSTER_RUNNING
} NODE_CLUSTER_STATE, _NODE_CLUSTER_STATE;

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.

ConstantValue

CLUSTER_INSTALLED

0x00000001

CLUSTER_CONFIGURED

0x00000002

CLUSTER_RUNNING

0x00000010

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

Header

ClusAPI.h;
MsClus.h

See also

Failover Cluster Enumerations
GetNodeClusterState

 

 

Show:
© 2016 Microsoft