Skip to content

Commit

Permalink
Add actual output
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jul 29, 2014
1 parent 0c17751 commit d5e7e15
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
19 changes: 17 additions & 2 deletions _po/ja/tutorial/1.0.5/add-replica/index.po
Expand Up @@ -303,7 +303,12 @@ msgid ""
" (on 192.168.0.12)\n"
" # cd ~/droonga\n"
" # droonga-engine-join --host=192.168.0.12 \\\n"
" --replica-source-host=192.168.0.10"
" --replica-source-host=192.168.0.10\n"
" --replica-source-host=192.168.100.51Joining new replica to the cluster...\n"
" ...\n"
" Update existing hosts in the cluster...\n"
" ...\n"
" Done."
msgstr ""

msgid ""
Expand Down Expand Up @@ -411,7 +416,10 @@ msgstr ""
msgid ""
" (on 192.168.0.10)\n"
" # cd ~/droonga\n"
" # droonga-engine-unjoin --host=192.168.0.12"
" # droonga-engine-unjoin --host=192.168.0.12\n"
" Unjoining replica from the cluster...\n"
" ...\n"
" Done."
msgstr ""

msgid ""
Expand Down Expand Up @@ -507,6 +515,13 @@ msgstr ""
msgid "Then, join the node to the cluster."
msgstr "そうしたら、そのノードをクラスタに参加させましょう。"

msgid ""
" (on 192.168.0.12)\n"
" # cd ~/droonga\n"
" # droonga-engine-join --host=192.168.0.12 \\\n"
" --replica-source-host=192.168.0.10"
msgstr ""

msgid ""
"Finally a Droonga cluster constructed with two nodes `192.168.0.10` and `192.1"
"68.0.12` is here."
Expand Down
8 changes: 8 additions & 0 deletions ja/tutorial/1.0.5/add-replica/index.md
Expand Up @@ -171,6 +171,11 @@ cronjobとして実行されるバッチスクリプトによって `load` コ
# cd ~/droonga
# droonga-engine-join --host=192.168.0.12 \
--replica-source-host=192.168.0.10
--replica-source-host=192.168.100.51Joining new replica to the cluster...
...
Update existing hosts in the cluster...
...
Done.

* `--host` オプションで、その新しいreplicaノードのホスト名またはIPアドレスを指定して下さい。
* `--replica-source-host` オプションで、クラスタ中の既存のノードの1つのホスト名またはIPアドレスを指定して下さい。
Expand Down Expand Up @@ -225,6 +230,9 @@ Droongaクラスタ内のノードは互いに監視しあっており、動作
(on 192.168.0.10)
# cd ~/droonga
# droonga-engine-unjoin --host=192.168.0.12
Unjoining replica from the cluster...
...
Done.

* `--host` オプションで、クラスタから削除するノードのホスト名またはIPアドレスを指定して下さい。
* コマンドは `catalog.json` が置かれたディレクトリで実行するか、もしくはそのディレクトリのパスを `--base-dir` オプションで指定して下さい。
Expand Down
8 changes: 8 additions & 0 deletions tutorial/1.0.5/add-replica/index.md
Expand Up @@ -163,6 +163,11 @@ To add a new replica node to an existing cluster, you just run a command `droong
# cd ~/droonga
# droonga-engine-join --host=192.168.0.12 \
--replica-source-host=192.168.0.10
--replica-source-host=192.168.100.51Joining new replica to the cluster...
...
Update existing hosts in the cluster...
...
Done.

* You must specify the host name or the IP address of the new replica node, via the `--host` option.
* You must specify the host name or the IP address of an existing node of the cluster, via the `--replica-source-host` option.
Expand Down Expand Up @@ -217,6 +222,9 @@ To remove a replica from an existing cluster, you just run the `droonga-engine-u
(on 192.168.0.10)
# cd ~/droonga
# droonga-engine-unjoin --host=192.168.0.12
Unjoining replica from the cluster...
...
Done.

* You must specify the host name or the IP address of an existing node to be removed from the cluster, via the `--host` option.
* You must run the command in the directory `catalog.json` is located, or specify path to the directory via the `--base-dir` option.
Expand Down

0 comments on commit d5e7e15

Please sign in to comment.