Navigation Menu

Skip to content

Commit

Permalink
Use droonga-engine-absorb-data command
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 27, 2014
1 parent 29172fd commit 7deccdd
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 50 deletions.
31 changes: 9 additions & 22 deletions _po/ja/tutorial/1.0.4/add-replica/index.po
Expand Up @@ -323,36 +323,23 @@ msgstr "### 既存のクラスタから新しいreplicaへデータを複製す

msgid ""
"Duplicate data from the cluster alpha to the cluster beta.\n"
"It can be done by `drndump` and `droonga-request` commands.\n"
"(You have to install `drndump` and `droonga-client` gem packages.)"
"It can be done by the command `droonga-engine-absorb-data`.\n"
"Run it *on the new replica node*, like:"
msgstr ""
"クラスタ alpha からクラスタ beta へデータを複製します。\n"
"これは `drndump` と `droonga-request` の各コマンドを使って行います。\n"
"(Gemパッケージ `drndump` と `droonga-client` をあらかじめインストールしておいて下さい。)"
"これは `droonga-engine-absorb-data` コマンドを使って行います。\n"
"*新しいreplicaノード上で*、以下のようにコマンドを実行して下さい:"

msgid ""
" (on 192.168.0.12)\n"
" # drndump --host=192.168.0.10 \\\n"
" --receiver-host=192.168.0.12 | \\\n"
" droonga-request --host=192.168.0.12 \\\n"
" --receiver-host=192.168.0.12"
msgstr ""

msgid ""
"Note that you must specify the host name or the IP address of the machine via "
"the `--receiver-host` option.\n"
"If you run the command line on the node `192.168.0.11`, then:"
" # droonga-engine-absorb-data --source-host=192.168.0.10 \\\n"
" --receiver-host=192.168.0.12"
msgstr ""
"`--receiver-host` オプションに作業マシン自身のホスト名またはIPアドレスを指定しておく必要がある事に注意して下さい。\n"
"ノード `192.168.0.11` の上で作業する場合であれば、コマンド列は以下の通りです:"

msgid ""
" (on 192.168.0.11)\n"
" # drndump --host=192.168.0.10 \\\n"
" --receiver-host=192.168.0.11 | \\\n"
" droonga-request --host=192.168.0.12 \\\n"
" --receiver-host=192.168.0.11"
msgstr ""
"Note that you must specify the host name or the IP address of the new replica "
"node itself, via the `--receiver-host` option."
msgstr "`--receiver-host` オプションに新しいreplicaノード自身のホスト名またはIPアドレスを指定しておく必要がある事に注意して下さい。"

msgid "### Join the new replica to the cluster"
msgstr "### 新しいreplicaをクラスタに参加させる"
Expand Down
19 changes: 5 additions & 14 deletions ja/tutorial/1.0.4/add-replica/index.md
Expand Up @@ -181,23 +181,14 @@ cronjobとして実行されるバッチスクリプトによって `load` コ
### 既存のクラスタから新しいreplicaへデータを複製する

クラスタ alpha からクラスタ beta へデータを複製します。
これは `drndump``droonga-request` の各コマンドを使って行います
(Gemパッケージ `drndump``droonga-client` をあらかじめインストールしておいて下さい。)
これは `droonga-engine-absorb-data` コマンドを使って行います
*新しいreplicaノード上で*、以下のようにコマンドを実行して下さい:

(on 192.168.0.12)
# drndump --host=192.168.0.10 \
--receiver-host=192.168.0.12 | \
droonga-request --host=192.168.0.12 \
--receiver-host=192.168.0.12
# droonga-engine-absorb-data --source-host=192.168.0.10 \
--receiver-host=192.168.0.12

`--receiver-host` オプションに作業マシン自身のホスト名またはIPアドレスを指定しておく必要がある事に注意して下さい。
ノード `192.168.0.11` の上で作業する場合であれば、コマンド列は以下の通りです:

(on 192.168.0.11)
# drndump --host=192.168.0.10 \
--receiver-host=192.168.0.11 | \
droonga-request --host=192.168.0.12 \
--receiver-host=192.168.0.11
`--receiver-host` オプションに新しいreplicaノード自身のホスト名またはIPアドレスを指定しておく必要がある事に注意して下さい。

### 新しいreplicaをクラスタに参加させる

Expand Down
19 changes: 5 additions & 14 deletions tutorial/1.0.4/add-replica/index.md
Expand Up @@ -176,23 +176,14 @@ If you are reading this tutorial sequentially after the [previous topic](../dump
### Duplicate data from the existing cluster to the new replica

Duplicate data from the cluster alpha to the cluster beta.
It can be done by `drndump` and `droonga-request` commands.
(You have to install `drndump` and `droonga-client` gem packages.)
It can be done by the command `droonga-engine-absorb-data`.
Run it *on the new replica node*, like:

(on 192.168.0.12)
# drndump --host=192.168.0.10 \
--receiver-host=192.168.0.12 | \
droonga-request --host=192.168.0.12 \
--receiver-host=192.168.0.12
# droonga-engine-absorb-data --source-host=192.168.0.10 \
--receiver-host=192.168.0.12

Note that you must specify the host name or the IP address of the machine via the `--receiver-host` option.
If you run the command line on the node `192.168.0.11`, then:

(on 192.168.0.11)
# drndump --host=192.168.0.10 \
--receiver-host=192.168.0.11 | \
droonga-request --host=192.168.0.12 \
--receiver-host=192.168.0.11
Note that you must specify the host name or the IP address of the new replica node itself, via the `--receiver-host` option.

### Join the new replica to the cluster

Expand Down

0 comments on commit 7deccdd

Please sign in to comment.