TestConnectEnsemble
You can use the TestConnectEnsemble
method to verify connectivity with a specified database ensemble. By default it uses the ensemble for the cluster the node is associated with. Alternatively you can provide a different ensemble to test connectivity.
Parameters
This method has the following input parameter:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
ensemble |
A comma-separated list of ensemble node cluster IP addresses for connectivity testing. |
string |
None |
No |
Return value
This method has the following return value:
Name | Description | Type |
---|---|---|
details |
Objects returned:
|
JSON object |
Request example
Requests for this method are similar to the following example:
{ "method": "TestConnectEnsemble", "params": {}, "id": 1 }
Response example
This method returns a response similar to the following example:
{ "id": 1, "result": { "details": { "nodes": { "1:10.10.20.70": "Passed", "2:10.10.20.71": "Passed", "3:10.10.20.72": "Passed", "4:10.10.20.73": "Passed", "5:10.10.20.74": "Passed" } }, "duration": "00:00:00:756072", "result": "Passed" } }
New since version
9.6