Skip to content

Latest commit

 

History

History
82 lines (67 loc) · 1.75 KB

reference_element_api_testlocatecluster.adoc

File metadata and controls

82 lines (67 loc) · 1.75 KB
permalink sidebar keywords summary
api/reference_element_api_testlocatecluster.html
sidebar
test,testing,cluster,locate,configuration,TestLocateCluster
You can use the TestLocateCluster method to validate that the node can locate the cluster specified in the cluster configuration. The output validates that the cluster has been created and lists the nodes in the cluster ensemble.

TestLocateCluster

You can use the TestLocateCluster method to validate that the node can locate the cluster specified in the cluster configuration. The output validates that the cluster has been created and lists the nodes in the cluster ensemble.

Parameters

This method has no input parameters.

Return value

This method has the following return value:

Name Description Type

details

Information about the test operation success or failure.

JSON object

Request example

Requests for this method are similar to the following example:

{
   "method": "TestLocateCluster",
   "params": {},
   "id" : 1
}

Response example

This method returns a response similar to the following example:

{
   "id": 1,
   "result": {
      "details": {
         "complete": true,
         "ensemble": {
            "nodes": [
               {
                 "IP": "10.10.5.94",
                 "nodeID": 1
               },
               {
                 "IP": "10.10.5.107",
                 "nodeID": 2
               },
               {
                 "IP": "10.10.5.108",
                 "nodeID": 3
               }
            ]
         },
         "version": "5.749"
      },
      "duration": "0.0384478sec",
      "result": "Passed"
   }
}

New since version

9.6