指示群集的状态。 GetNodeClusterState 函数使用此枚举。
语法
typedef enum NODE_CLUSTER_STATE {
ClusterStateNotInstalled = 0x00000000,
ClusterStateNotConfigured,
ClusterStateNotRunning,
ClusterStateRunning
} ;
常量
ClusterStateNotInstalled值: 0x00000000 节点上未安装群集服务。 |
ClusterStateNotConfigured群集服务已安装在节点上,但尚未配置。 |
ClusterStateNotRunning群集服务已在节点上安装和配置,但当前未运行。 |
ClusterStateRunning群集服务在节点上安装、配置和运行。 |
注解
以下常量在 ClusAPI.h 中定义。
| 常数 | Value |
|---|---|
| CLUSTER_INSTALLED | 0x00000001 |
| CLUSTER_CONFIGURED | 0x00000002 |
| CLUSTER_RUNNING | 0x00000010 |
要求
| 要求 | 值 |
|---|---|
| 最低受支持的客户端 | 无受支持的版本 |
| 最低受支持的服务器 | Windows Server 2008 企业版、Windows Server 2008 Datacenter |
| 标头 | clusapi.h |