Piro / YUKI Hiroshi
null+****@clear*****
Fri May 8 02:36:41 JST 2015
Piro / YUKI Hiroshi 2015-05-08 02:36:41 +0900 (Fri, 08 May 2015) New Revision: 8ad63f6d68d0db81fdefd6bd9e5ecc0bb4ee2804 https://github.com/droonga/droonga.org/commit/8ad63f6d68d0db81fdefd6bd9e5ecc0bb4ee2804 Message: Complete reference of droonga-engine-unjoin Modified files: reference/1.1.1/command-line-tools/droonga-engine-unjoin/index.md Modified: reference/1.1.1/command-line-tools/droonga-engine-unjoin/index.md (+43 -2) =================================================================== --- reference/1.1.1/command-line-tools/droonga-engine-unjoin/index.md 2015-05-08 02:36:12 +0900 (8d08659) +++ reference/1.1.1/command-line-tools/droonga-engine-unjoin/index.md 2015-05-08 02:36:41 +0900 (e31b78f) @@ -8,11 +8,52 @@ layout: en ## Abstract {#abstract} -(TBD) +`droonga-engine-unjoin` removes a Droonga Engine node from an existing Droonga cluster. + +For example, if there is an existing Droonga Engine node `192.168.100.50` which is a replica node in a cluster and you are logged in to a computer `192.168.100.10` in the same network segment, the command line to remove the node `192.168.100.50` from the cluster is: + +~~~ +(on 192.168.100.10) +$ droonga-engine-unjoin --host 192.168.100.50 \ + --receiver-host 192.168.100.10 +Start to unjoin a node 192.168.100.50:10031/droonga + by 192.168.100.10 (this host) + +Unjoining replica from the cluster... +Done. +~~~ + +See also [the tutorial about adding new replica to a Droonga cluster](/tutorial/add-replica/). + ## Parameters {#parameters} -(TBD) +`--host=NAME` +: Host name of the node to be removed. + A guessed host name of the computer you are running the command, by default. + +`--port=PORT` +: Port number to communicate with the engine node. + `10031` by default. + +`--tag=TAG` +: Tag name to communicate with the engine node. + `droonga` by default. + +`--dataset=NAME` +: Dataset name the node is going to be removed from. + `Default` by default. + +`--receiver-host=NAME` +: Host name of the computer you are running this command. + A guessed host name of the computer, by default. + +`--verbose` +: Output details for internal operations. + This is mainly for debugging. + +`-h`, `--help` +: Shows the usage of the command. ## How to install {#install} -------------- next part -------------- HTML����������������������������...Download