[Groonga-commit] droonga/droonga.org at abb48e0 [gh-pages] Describe how to run absorb-data and join commands on other nodes

Back to archive index

YUKI Hiroshi null+****@clear*****
Sat Nov 29 16:58:01 JST 2014


YUKI Hiroshi	2014-11-29 16:58:01 +0900 (Sat, 29 Nov 2014)

  New Revision: abb48e011aa45dd6d1f49fc311746935a470fe78
  https://github.com/droonga/droonga.org/commit/abb48e011aa45dd6d1f49fc311746935a470fe78

  Message:
    Describe how to run absorb-data and join commands on other nodes

  Modified files:
    _po/ja/reference/index.po
    _po/ja/tutorial/1.0.9/add-replica/index.po
    _po/ja/tutorial/1.0.9/dump-restore/index.po
    _po/ja/tutorial/index.po
    ja/reference/index.md
    ja/tutorial/1.0.9/add-replica/index.md
    ja/tutorial/1.0.9/dump-restore/index.md
    ja/tutorial/index.md
    tutorial/1.0.9/add-replica/index.md
    tutorial/1.0.9/dump-restore/index.md

  Modified: _po/ja/reference/index.po (+3 -2)
===================================================================
--- _po/ja/reference/index.po    2014-11-29 09:09:45 +0900 (f63549b)
+++ _po/ja/reference/index.po    2014-11-29 16:58:01 +0900 (62e793e)
@@ -27,19 +27,20 @@ msgstr "次期リリースも含めすべてのリリースのリファレンス
 msgid "## The current release"
 msgstr "## 現行リリース"
 
-msgid "* [1.0.7](1.0.7/)"
+msgid "* [1.0.8](1.0.8/)"
 msgstr ""
 
 msgid "## The next release"
 msgstr "## 次期リリース"
 
-msgid "* [1.0.8](1.0.8/)"
+msgid "* [1.0.9](1.0.9/)"
 msgstr ""
 
 msgid "## Old releases"
 msgstr "## 古いリリース"
 
 msgid ""
+"* [1.0.7](1.0.7/)\n"
 "* [1.0.6](1.0.6/)\n"
 "* [1.0.5](1.0.5/)\n"
 "* [1.0.4](1.0.4/)\n"

  Modified: _po/ja/tutorial/1.0.9/add-replica/index.po (+28 -3)
===================================================================
--- _po/ja/tutorial/1.0.9/add-replica/index.po    2014-11-29 09:09:45 +0900 (f0f1987)
+++ _po/ja/tutorial/1.0.9/add-replica/index.po    2014-11-29 16:58:01 +0900 (dffeca7)
@@ -285,7 +285,14 @@ msgid ""
 "~~~\n"
 "(on node2)\n"
 "$ droonga-engine-join --host=node2 \\\n"
-"                      --replica-source-host=node0\n"
+"                      --replica-source-host=node0 \\\n"
+"                      --receiver-host=node2\n"
+"Start to join a new node node2\n"
+"       to the cluster of node0\n"
+"                     via node2 (this host)\""
+msgstr ""
+
+msgid ""
 "Joining new replica to the cluster...\n"
 "...\n"
 "Update existing hosts in the cluster...\n"
@@ -294,14 +301,32 @@ msgid ""
 "~~~"
 msgstr ""
 
+msgid "You can run the command on different node, like:"
+msgstr "このコマンドは以下のように、別のノード上で実行することもできます:"
+
+msgid ""
+"~~~\n"
+"(on node1)\n"
+"$ droonga-engine-join --host=node2 \\\n"
+"                      --replica-source-host=node0 \\\n"
+"                      --receiver-host=node1\n"
+"Start to join a new node node2\n"
+"       to the cluster of node0\n"
+"                     via node1 (this host)\"\n"
+"~~~"
+msgstr ""
+
 msgid ""
 " * You must specify the host name of the new replica node, via the `--host` op"
 "tion.\n"
 " * You must specify the host name of an existing node of the cluster, via the "
-"`--replica-source-host` option."
+"`--replica-source-host` option.\n"
+" * You must specify the host name of the working machine via the `--receiver-h"
+"ost` option."
 msgstr ""
 " * `--host` オプションで、その新しいreplicaノードのホスト名を指定して下さい。\n"
-" * `--replica-source-host` オプションで、クラスタ中の既存のノードの1つのホスト名を指定して下さい。"
+" * `--replica-source-host` オプションで、クラスタ中の既存のノードの1つのホスト名を指定して下さい。\n"
+" * `--receiver-host` オプションで、コマンドを実行しているマシン自身のホスト名を必ず指定して下さい。"
 
 msgid ""
 "Then the command automatically starts to synchronize all data of the cluster t"

  Modified: _po/ja/tutorial/1.0.9/dump-restore/index.po (+25 -2)
===================================================================
--- _po/ja/tutorial/1.0.9/dump-restore/index.po    2014-11-29 09:09:45 +0900 (4fdb38b)
+++ _po/ja/tutorial/1.0.9/dump-restore/index.po    2014-11-29 16:58:01 +0900 (4df4125)
@@ -620,11 +620,13 @@ msgstr ""
 
 msgid ""
 "~~~\n"
-"(on node0 or node1)\n"
+"(on node1)\n"
 "$ droonga-engine-absorb-data --source-host=node0 \\\n"
-"                             --destination-host=node1\n"
+"                             --destination-host=node1 \\\n"
+"                             --receiver-host=node1\n"
 "Start to absorb data from node0\n"
 "                       to node1\n"
+"                      via node1 (this host)\n"
 "  dataset = Default\n"
 "  port    = 10031\n"
 "  tag     = droonga"
@@ -637,6 +639,27 @@ msgid ""
 "~~~"
 msgstr ""
 
+msgid "You can run the command on different node, like:"
+msgstr "このコマンドは、以下のようにして別のノード上で実行することもできます:"
+
+msgid ""
+"~~~\n"
+"(on node2)\n"
+"$ droonga-engine-absorb-data --source-host=node0 \\\n"
+"                             --destination-host=node1 \\\n"
+"                             --receiver-host=node2\n"
+"Start to absorb data from node0\n"
+"                       to node1\n"
+"                      via node2 (this host)\n"
+"...\n"
+"~~~"
+msgstr ""
+
+msgid ""
+"Note that you must specify the host name (or the IP address) of the working ma"
+"chine via the `--receiver-host` option."
+msgstr "この時、コマンドを実行するノードのホスト名かIPアドレスを`--receiver-host`オプションで指定する必要があることに注意してください。"
+
 msgid ""
 "After that contents of these two clusters are completely synchronized. Confirm"
 " it:"

  Modified: _po/ja/tutorial/index.po (+3 -2)
===================================================================
--- _po/ja/tutorial/index.po    2014-11-29 09:09:45 +0900 (ba4a240)
+++ _po/ja/tutorial/index.po    2014-11-29 16:58:01 +0900 (d3474c7)
@@ -27,19 +27,20 @@ msgstr "次期リリースも含めすべてのリリースのチュートリア
 msgid "## The current release"
 msgstr "## 現行リリース"
 
-msgid "* [1.0.7](1.0.7/)"
+msgid "* [1.0.8](1.0.8/)"
 msgstr ""
 
 msgid "## The next release"
 msgstr "## 次期リリース"
 
-msgid "* [1.0.8](1.0.8/)"
+msgid "* [1.0.9](1.0.9/)"
 msgstr ""
 
 msgid "## Old releases"
 msgstr "## 古いリリース"
 
 msgid ""
+"* [1.0.7](1.0.7/)\n"
 "* [1.0.6](1.0.6/)\n"
 "* [1.0.5](1.0.5/)\n"
 "* [1.0.4](1.0.4/)\n"

  Modified: ja/reference/index.md (+3 -2)
===================================================================
--- ja/reference/index.md    2014-11-29 09:09:45 +0900 (aae2a3a)
+++ ja/reference/index.md    2014-11-29 16:58:01 +0900 (bcc1eda)
@@ -16,14 +16,15 @@ layout: ja
 
 ## 現行リリース
 
-* [1.0.7](1.0.7/)
+* [1.0.8](1.0.8/)
 
 ## 次期リリース
 
-* [1.0.8](1.0.8/)
+* [1.0.9](1.0.9/)
 
 ## 古いリリース
 
+* [1.0.7](1.0.7/)
 * [1.0.6](1.0.6/)
 * [1.0.5](1.0.5/)
 * [1.0.4](1.0.4/)

  Modified: ja/tutorial/1.0.9/add-replica/index.md (+19 -1)
===================================================================
--- ja/tutorial/1.0.9/add-replica/index.md    2014-11-29 09:09:45 +0900 (02c2c2b)
+++ ja/tutorial/1.0.9/add-replica/index.md    2014-11-29 16:58:01 +0900 (1e9f5e3)
@@ -152,7 +152,12 @@ cronjobとして実行されるバッチスクリプトによって `load` コ
 ~~~
 (on node2)
 $ droonga-engine-join --host=node2 \
-                      --replica-source-host=node0
+                      --replica-source-host=node0 \
+                      --receiver-host=node2
+Start to join a new node node2
+       to the cluster of node0
+                     via node2 (this host)"
+
 Joining new replica to the cluster...
 ...
 Update existing hosts in the cluster...
@@ -160,8 +165,21 @@ Update existing hosts in the cluster...
 Done.
 ~~~
 
+このコマンドは、以下のようにして別のノード上で実行することもできます:
+
+~~~
+(on node1)
+$ droonga-engine-join --host=node2 \
+                      --replica-source-host=node0 \
+                      --receiver-host=node1
+Start to join a new node node2
+       to the cluster of node0
+                     via node1 (this host)"
+~~~
+
  * `--host` オプションで、その新しいreplicaノードのホスト名を指定して下さい。
  * `--replica-source-host` オプションで、クラスタ中の既存のノードの1つのホスト名を指定して下さい。
+ * `--receiver-host` オプションで、コマンドを実行しているマシン自身のホスト名を必ず指定して下さい。
 
 コマンドを実行すると、自動的に、クラスタのデータが新しいreplicaノードへと同期され始めます。
 データの同期が完了すると、ノードが自動的に再起動してクラスタに参加します。

  Modified: ja/tutorial/1.0.9/dump-restore/index.md (+19 -2)
===================================================================
--- ja/tutorial/1.0.9/dump-restore/index.md    2014-11-29 09:09:45 +0900 (624eee4)
+++ ja/tutorial/1.0.9/dump-restore/index.md    2014-11-29 16:58:01 +0900 (3b74eef)
@@ -446,11 +446,13 @@ $ curl "http://node1:10041/d/select?table=Store&output_columns=name&limit=10" |
 2つのクラスタの間でデータをコピーするには、いずれかのノード上で以下のように `droonga-engine-absorb-data` コマンドを実行します:
 
 ~~~
-(on node0 or node1)
+(on node1)
 $ droonga-engine-absorb-data --source-host=node0 \
-                             --destination-host=node1
+                             --destination-host=node1 \
+                             --receiver-host=node1
 Start to absorb data from node0
                        to node1
+                      via node1 (this host)
   dataset = Default
   port    = 10031
   tag     = droonga
@@ -460,6 +462,21 @@ Absorbing...
 Done.
 ~~~
 
+このコマンドは、以下のようにして別のノード上で実行することもできます:
+
+~~~
+(on node2)
+$ droonga-engine-absorb-data --source-host=node0 \
+                             --destination-host=node1 \
+                             --receiver-host=node2
+Start to absorb data from node0
+                       to node1
+                      via node2 (this host)
+...
+~~~
+
+この時、コマンドを実行するノードのホスト名かIPアドレスを`--receiver-host`オプションで指定する必要があることに注意してください。
+
 以上の操作で、2つのクラスタの内容が完全に同期されました。確かめてみましょう:
 
 ~~~

  Modified: ja/tutorial/index.md (+3 -2)
===================================================================
--- ja/tutorial/index.md    2014-11-29 09:09:45 +0900 (c2873ee)
+++ ja/tutorial/index.md    2014-11-29 16:58:01 +0900 (5d7e887)
@@ -16,14 +16,15 @@ layout: ja
 
 ## 現行リリース
 
-* [1.0.7](1.0.7/)
+* [1.0.8](1.0.8/)
 
 ## 次期リリース
 
-* [1.0.8](1.0.8/)
+* [1.0.9](1.0.9/)
 
 ## 古いリリース
 
+* [1.0.7](1.0.7/)
 * [1.0.6](1.0.6/)
 * [1.0.5](1.0.5/)
 * [1.0.4](1.0.4/)

  Modified: tutorial/1.0.9/add-replica/index.md (+19 -1)
===================================================================
--- tutorial/1.0.9/add-replica/index.md    2014-11-29 09:09:45 +0900 (ddd7709)
+++ tutorial/1.0.9/add-replica/index.md    2014-11-29 16:58:01 +0900 (b20f760)
@@ -144,7 +144,12 @@ To add a new replica node to an existing cluster, you just run a command `droong
 ~~~
 (on node2)
 $ droonga-engine-join --host=node2 \
-                      --replica-source-host=node0
+                      --replica-source-host=node0 \
+                      --receiver-host=node2
+Start to join a new node node2
+       to the cluster of node0
+                     via node2 (this host)"
+
 Joining new replica to the cluster...
 ...
 Update existing hosts in the cluster...
@@ -152,8 +157,21 @@ Update existing hosts in the cluster...
 Done.
 ~~~
 
+You can run the command on different node, like:
+
+~~~
+(on node1)
+$ droonga-engine-join --host=node2 \
+                      --replica-source-host=node0 \
+                      --receiver-host=node1
+Start to join a new node node2
+       to the cluster of node0
+                     via node1 (this host)"
+~~~
+
  * You must specify the host name of the new replica node, via the `--host` option.
  * You must specify the host name of an existing node of the cluster, via the `--replica-source-host` option.
+ * You must specify the host name of the working machine via the `--receiver-host` option.
 
 Then the command automatically starts to synchronize all data of the cluster to the new replica node.
 After data is successfully synchronized, the node restarts and joins to the cluster automatically.

  Modified: tutorial/1.0.9/dump-restore/index.md (+19 -2)
===================================================================
--- tutorial/1.0.9/dump-restore/index.md    2014-11-29 09:09:45 +0900 (3431925)
+++ tutorial/1.0.9/dump-restore/index.md    2014-11-29 16:58:01 +0900 (8b6791c)
@@ -441,11 +441,13 @@ $ curl "http://node1:10041/d/select?table=Store&output_columns=name&limit=10" |
 To copy data between two clusters, run the `droonga-engine-absorb-data` command on a node, like:
 
 ~~~
-(on node0 or node1)
+(on node1)
 $ droonga-engine-absorb-data --source-host=node0 \
-                             --destination-host=node1
+                             --destination-host=node1 \
+                             --receiver-host=node1
 Start to absorb data from node0
                        to node1
+                      via node1 (this host)
   dataset = Default
   port    = 10031
   tag     = droonga
@@ -455,6 +457,21 @@ Absorbing...
 Done.
 ~~~
 
+You can run the command on different node, like:
+
+~~~
+(on node2)
+$ droonga-engine-absorb-data --source-host=node0 \
+                             --destination-host=node1 \
+                             --receiver-host=node2
+Start to absorb data from node0
+                       to node1
+                      via node2 (this host)
+...
+~~~
+
+Note that you must specify the host name (or the IP address) of the working machine via the `--receiver-host` option.
+
 After that contents of these two clusters are completely synchronized. Confirm it:
 
 ~~~
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index