Repository: couchdb-documentation Updated Branches: refs/heads/master 74da74bda -> 4810d1c63
More command cleanup PR: #86 PR-URL: https://github.com/apache/couchdb-documentation/pull/86 Reviewed-By: Robert Kowalski <r...@kowalski.gd> Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/4810d1c6 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/4810d1c6 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/4810d1c6 Branch: refs/heads/master Commit: 4810d1c631728b0cf8fecedf7fa289ba9bc78304 Parents: 74da74b Author: James Seigel <git...@paddlethis.com> Authored: Sat Oct 22 20:35:47 2016 -0600 Committer: Robert Kowalski <robertkowal...@apache.org> Committed: Thu Dec 1 03:12:35 2016 +0100 ---------------------------------------------------------------------- src/cluster/setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/4810d1c6/src/cluster/setup.rst ---------------------------------------------------------------------- diff --git a/src/cluster/setup.rst b/src/cluster/setup.rst index 6bea63a..0d97927 100644 --- a/src/cluster/setup.rst +++ b/src/cluster/setup.rst @@ -215,7 +215,7 @@ To add a node run these two commands: .. 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, "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": "garren", "password":"password"}' -H "Content-Type: application/json" + 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"}' This will join the two nodes together. Keep running the above commands for each