raghavtan commented on a change in pull request #219: Fix _cluster_setup api | 
couchdb node name changes | verify cluster setup  
URL: 
https://github.com/apache/couchdb-documentation/pull/219#discussion_r173704340
 
 

 ##########
 File path: src/cluster/setup.rst
 ##########
 @@ -227,6 +230,39 @@ following command to complete the setup and add the 
missing databases:
 
     curl -X POST -H "Content-Type: application/json" 
http://admin:password@127.0.0.1:5984/_cluster_setup -d '{"action": 
"finish_cluster"}'
 
+Verify install:
+
+.. code-block:: bash
+
+    curl http://admin:password@127.0.0.1:5984/_cluster_setup
+
+Response:
+
+.. code-block:: bash
+
+    {"state":"cluster_finished"}
+
+Verify cluster nodes:
+
+.. code-block:: bash
+
+    curl http://admin:password@127.0.0.1:5984/_membership
+
+Response:
+
+.. code-block:: bash
+
+    {
+        "all_nodes": [
+            "couchdb@couch1",
+            "couchdb@couch2",
+        ],
+        "cluster_nodes": [
+            "couchdb@couch1",
+            "couchdb@couch2",
+        ]
+    }
+
 
 Review comment:
   @wohali np

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to