ClusterServerTypes
- Last UpdatedJul 18, 2023
- 1 minute read
This function allows the user to determine which servers are defined for a given cluster.
Syntax
ClusterServerTypes(ClusterName)
sClusterName:
The name of the cluster to query enclosed in quotation marks "".
Return Value
Logical OR of the following server flags:
-
0001 - 1st bit set means an Alarm Server is configured
-
0010 - 2nd bit set means a Trend Server is configured
-
0100 - 3rd bit set means a Report Server is configured
-
1000 - 4th bit set means an IO Server is configured
For example, a return value of 14 indicates an I/O Server, a Report Server, and a Trend Server are configured.
Related Functions
ClusterActivate, ClusterDeactivate, ClusterFirst, ClusterIsActive, ClusterNext, ClusterStatus, ClusterSwapActive, TaskCluster