[Groonga-commit] droonga/droonga.org at 8a50a2d [gh-pages] Update description how to use droonga-engine-unjoin

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Sun Nov 30 01:38:00 JST 2014


YUKI Hiroshi	2014-11-30 01:38:00 +0900 (Sun, 30 Nov 2014)

  New Revision: 8a50a2d9e73e04607968bcef95dc53978252a838
  https://github.com/droonga/droonga.org/commit/8a50a2d9e73e04607968bcef95dc53978252a838

  Message:
    Update description how to use droonga-engine-unjoin

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

  Modified: _po/ja/tutorial/1.0.9/add-replica/index.po (+25 -21)
===================================================================
--- _po/ja/tutorial/1.0.9/add-replica/index.po    2014-11-29 16:58:01 +0900 (dffeca7)
+++ _po/ja/tutorial/1.0.9/add-replica/index.po    2014-11-30 01:38:00 +0900 (1960492)
@@ -317,16 +317,16 @@ msgid ""
 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.\n"
-" * You must specify the host name of the working machine via the `--receiver-h"
-"ost` option."
+" * You must specify the host name (or the IP address) of the new replica node,"
+" via the `--host` option.\n"
+" * You must specify the host name (or the IP address) of an existing node of t"
+"he cluster, via the `--replica-source-host` option.\n"
+" * You must specify the host name (or the IP address) of the working machine v"
+"ia the `--receiver-host` option."
 msgstr ""
-" * `--host` オプションで、その新しいreplicaノードのホスト名を指定して下さい。\n"
-" * `--replica-source-host` オプションで、クラスタ中の既存のノードの1つのホスト名を指定して下さい。\n"
-" * `--receiver-host` オプションで、コマンドを実行しているマシン自身のホスト名を必ず指定して下さい。"
+" * `--host` オプションで、その新しいreplicaノードのホスト名(またはIPアドレス)を指定して下さい。\n"
+" * `--replica-source-host` オプションで、クラスタ中の既存のノードの1つのホスト名(またはIPアドレス)を指定して下さい。\n"
+" * `--receiver-host` オプションで、コマンドを実行しているマシン自身のホスト名(またはIPアドレス)を必ず指定して下さい。"
 
 msgid ""
 "Then the command automatically starts to synchronize all data of the cluster t"
@@ -416,16 +416,21 @@ msgstr "### 既存のreplicaをクラスタから分離する"
 
 msgid ""
 "To remove a replica from an existing cluster, you just run the `droonga-engine"
-"-unjoin` command on any existing node in the cluster, in the directory the `ca"
-"talog.json` is located, like:"
+"-unjoin` command on any existing node in the cluster, like:"
 msgstr ""
-"新しいreplicaノードを既存のクラスタから削除するには、クラスタ内のいずれかのノードの上で、`catalog.json` が置かれたディレクトリにおいて"
-" `droonga-engine-unjoin` コマンドを実行します:"
+"replicaノードを既存のクラスタから削除するには、クラスタ内のいずれかのノードの上で、以下のようにして `droonga-engine-unjoin` "
+"コマンドを実行します:"
 
 msgid ""
 "~~~\n"
 "(on node0)\n"
-"$ droonga-engine-unjoin --host=node2\n"
+"$ droonga-engine-unjoin --host=node2 \\\n"
+"                        --receiver-host=node0\n"
+"Start to unjoin a node node2\n"
+"                    by node0 (this host)"
+msgstr ""
+
+msgid ""
 "Unjoining replica from the cluster...\n"
 "...\n"
 "Done.\n"
@@ -433,14 +438,13 @@ msgid ""
 msgstr ""
 
 msgid ""
-" * You must specify the host name or the IP address of an existing node to be "
-"removed from the cluster, via the `--host` option.\n"
-" * You must run the command in the directory `catalog.json` is located, or spe"
-"cify path to the directory via the `--base-dir` option."
+" * You must specify the host name (or the IP address) of an existing node to b"
+"e removed from the cluster, via the `--host` option.\n"
+" * You must specify the host name (or the IP address) of the working machine v"
+"ia the `--receiver-host` option."
 msgstr ""
-" * `--host` オプションで、クラスタから削除するノードのホスト名またはIPアドレスを指定して下さい。\n"
-" * コマンドは `catalog.json` が置かれたディレクトリで実行するか、もしくはそのディレクトリのパスを `--base-dir` オプションで"
-"指定して下さい。"
+" * `--host` オプションで、クラスタから削除するノードのホスト名(またはIPアドレス)を指定して下さい。\n"
+" * `--receiver-host` オプションで、コマンドを実行しているマシン自身のホスト名(またはIPアドレス)を必ず指定して下さい。"
 
 msgid ""
 "Then the specified node automatically unjoins from the cluster, and all nedes'"

  Modified: ja/tutorial/1.0.9/add-replica/index.md (+12 -8)
===================================================================
--- ja/tutorial/1.0.9/add-replica/index.md    2014-11-29 16:58:01 +0900 (1e9f5e3)
+++ ja/tutorial/1.0.9/add-replica/index.md    2014-11-30 01:38:00 +0900 (41beb5e)
@@ -165,7 +165,7 @@ Update existing hosts in the cluster...
 Done.
 ~~~
 
-このコマンドは、以下のようにして別のノード上で実行することもできます:
+このコマンドは以下のように、別のノード上で実行することもできます:
 
 ~~~
 (on node1)
@@ -177,9 +177,9 @@ Start to join a new node node2
                      via node1 (this host)"
 ~~~
 
- * `--host` オプションで、その新しいreplicaノードのホスト名を指定して下さい。
- * `--replica-source-host` オプションで、クラスタ中の既存のノードの1つのホスト名を指定して下さい。
- * `--receiver-host` オプションで、コマンドを実行しているマシン自身のホスト名を必ず指定して下さい。
+ * `--host` オプションで、その新しいreplicaノードのホスト名(またはIPアドレス)を指定して下さい。
+ * `--replica-source-host` オプションで、クラスタ中の既存のノードの1つのホスト名(またはIPアドレス)を指定して下さい。
+ * `--receiver-host` オプションで、コマンドを実行しているマシン自身のホスト名(またはIPアドレス)を必ず指定して下さい。
 
 コマンドを実行すると、自動的に、クラスタのデータが新しいreplicaノードへと同期され始めます。
 データの同期が完了すると、ノードが自動的に再起動してクラスタに参加します。
@@ -225,18 +225,22 @@ Droongaクラスタ内のノードは互いに監視しあっており、動作
 
 ### 既存のreplicaをクラスタから分離する
 
-新しいreplicaノードを既存のクラスタから削除するには、クラスタ内のいずれかのノードの上で、`catalog.json` が置かれたディレクトリにおいて `droonga-engine-unjoin` コマンドを実行します:
+replicaノードを既存のクラスタから削除するには、クラスタ内のいずれかのノードの上で、以下のようにして `droonga-engine-unjoin` コマンドを実行します:
 
 ~~~
 (on node0)
-$ droonga-engine-unjoin --host=node2
+$ droonga-engine-unjoin --host=node2 \
+                        --receiver-host=node0
+Start to unjoin a node node2
+                    by node0 (this host)
+
 Unjoining replica from the cluster...
 ...
 Done.
 ~~~
 
- * `--host` オプションで、クラスタから削除するノードのホスト名またはIPアドレスを指定して下さい。
- * コマンドは `catalog.json` が置かれたディレクトリで実行するか、もしくはそのディレクトリのパスを `--base-dir` オプションで指定して下さい。
+ * `--host` オプションで、クラスタから削除するノードのホスト名(またはIPアドレス)を指定して下さい。
+ * `--receiver-host` オプションで、コマンドを実行しているマシン自身のホスト名(またはIPアドレス)を必ず指定して下さい。
 
 すると、ノードがクラスタから自動的に離脱し、すべてのノードの `catalog.json` も同時に更新されます。
 これで、ノードはクラスタから無事離脱しました。

  Modified: ja/tutorial/1.0.9/dump-restore/index.md (+1 -1)
===================================================================
--- ja/tutorial/1.0.9/dump-restore/index.md    2014-11-29 16:58:01 +0900 (3b74eef)
+++ ja/tutorial/1.0.9/dump-restore/index.md    2014-11-30 01:38:00 +0900 (cf3ca9e)
@@ -462,7 +462,7 @@ Absorbing...
 Done.
 ~~~
 
-このコマンドは、以下のようにして別のノード上で実行することもできます:
+このコマンドは以下のように、別のノード上で実行することもできます:
 
 ~~~
 (on node2)

  Modified: tutorial/1.0.9/add-replica/index.md (+11 -7)
===================================================================
--- tutorial/1.0.9/add-replica/index.md    2014-11-29 16:58:01 +0900 (b20f760)
+++ tutorial/1.0.9/add-replica/index.md    2014-11-30 01:38:00 +0900 (aae0dc5)
@@ -169,9 +169,9 @@ Start to join a new node node2
                      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.
+ * 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.
+ * You must specify the host name (or the IP address) 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.
@@ -217,18 +217,22 @@ Assume that there is a Droonga cluster constructed with trhee replica nodes `nod
 
 ### Unjoin an existing replica from the cluster
 
-To remove a replica from an existing cluster, you just run the `droonga-engine-unjoin` command on any existing node in the cluster, in the directory the `catalog.json` is located, like:
+To remove a replica from an existing cluster, you just run the `droonga-engine-unjoin` command on any existing node in the cluster, like:
 
 ~~~
 (on node0)
-$ droonga-engine-unjoin --host=node2
+$ droonga-engine-unjoin --host=node2 \
+                        --receiver-host=node0
+Start to unjoin a node node2
+                    by node0 (this host)
+
 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.
+ * 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 specify the host name (or the IP address) of the working machine via the `--receiver-host` option.
 
 Then the specified node automatically unjoins from the cluster, and all nedes' `catalog.json` are also updated.
 Now, the node has been successfully unjoined from the cluster.
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る