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_r173703550
 
 

 ##########
 File path: src/cluster/setup.rst
 ##########
 @@ -211,12 +214,11 @@ requires all other nodes to be able to see it and vice 
versa.
 Set up will not work with unavailable nodes.
 The notion of "setup coordination node" will be gone once the setup is 
finished.
 From then on, the cluster will no longer have a "setup coordination node".
-To add a node run these two commands:
+To add a node run these commands for each node you want to add:
 
 .. code-block:: bash
-
     curl -X POST -H "Content-Type: application/json" 
http://admin:password@127.0.0.1:5984/_cluster_setup -d '{"action": 
"enable_cluster", "bind_address":"0.0.0.0", "username": "admin", 
"password":"password", "port": 15984, "node_count": "3", "remote_node": 
"<remote-node-ip>", "remote_current_user": "<remote-node-username>", 
"remote_current_password": "<remote-node-password>" }'
-    curl -X POST -H "Content-Type: application/json" 
http://admin:password@127.0.0.1:5984/_cluster_setup -d '{"action": "add_node", 
"host":"<remote-node-ip>", "port": "<remote-node-port>", "username": "admin", 
"password":"password"}'
+    curl -X POST -H "Content-Type: application/json" 
http://admin:password@127.0.0.1:5984/_cluster_setup -d '{"action": "add_node", 
"host":"<remote-node-ip>", "port": <remote-node-port>, "username": "admin", 
"password":"password"}'
 
 Review comment:
   @flimzy sure of that the port doesnt need to be string.

----------------------------------------------------------------
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