A newer release of this product is available.
GetClusterState
Suggest changes
You can use the GetClusterState
API method to indicate if a node is part of a cluster or not.
Parameters
This method has no input parameters.
Return values
This method has the following return values:
Name | Description | Type |
---|---|---|
cluster |
Name of the cluster. |
string |
state |
|
string |
Request example
Requests for this method are similar to the following example:
{ "method": "GetClusterState", "params": {}, "id" : 1 }
Response example
This method returns a response similar to the following example:
{ "id" : 1, "result" : "cluster" : "Cluster101" "state" : "Active" }
New since version
9.6