YUKI Hiroshi
null+****@clear*****
Wed May 14 11:51:03 JST 2014
YUKI Hiroshi 2014-05-14 11:51:03 +0900 (Wed, 14 May 2014) New Revision: 4ee8a3dcacf51ebcf3942ffa020968f4c0592b1c https://github.com/droonga/droonga.org/commit/4ee8a3dcacf51ebcf3942ffa020968f4c0592b1c Merged 4dd99bc: Merge remote-tracking branch 'origin/master' into gh-pages Message: Update translation Modified files: _po/ja/tutorial/groonga/index.po ja/tutorial/groonga/index.md Modified: _po/ja/tutorial/groonga/index.po (+20 -3) =================================================================== --- _po/ja/tutorial/groonga/index.po 2014-05-14 11:43:55 +0900 (7a75191) +++ _po/ja/tutorial/groonga/index.po 2014-05-14 11:51:03 +0900 (6862fcd) @@ -270,8 +270,7 @@ msgid "" " --daemon \\\n" " --pid-file=$PWD/droonga-http-server.pid\n" " # serf agent -node=\"${node}:10031\" -bind=$host \\\n" -" -event-handler=\"droonga-handle-serf-event --base-dir=$PWD\" &\n" -" # cat $! > $PWD/droonga-serf-agent.pid" +" -event-handler=\"droonga-handle-serf-event --base-dir=$PWD\"" msgstr "" msgid "" @@ -291,13 +290,31 @@ msgid "" " ..." msgstr "" +msgid "" +"After that, run following command to start alive monitoring, on the node \"192." +"168.0.10\":" +msgstr "その後、死活監視のために、\"192.168.0.10\" のノードにおいて以下のコマンドを実行します:" + +msgid " # serf join 192.168.0.11" +msgstr "" + +msgid "" +"By the command two nodes construct a cluster and they monitor each other.\n" +"If one of nodes dies and there is any still alive node, survivor(s) will work " +"as the Droonga cluster.\n" +"Then you can recover the dead node and re-join it to the cluster secretly." +msgstr "" +"このコマンドにより、2つのノードはクラスタを形成し、互いの生死を監視するようになります。もしクラスタ内のどれか1つのノードが機能を停止し、他のノードがまだ機" +"能し続けていた場合には、残ったノードがDroongaクラスタとして動作し続けます。そのため、そのような事態が起こっても秘密裏に、機能停止したノードを復旧した" +"りクラスタに復帰させたりすることができます。" + msgid "To stop services, run commands like following on each Droonga node:" msgstr "サービスを停止するには、以下のコマンドを各Droongaノード上で実行します:" msgid "" " # kill $(cat ~/droonga/droonga-engine.pid)\n" " # kill $(cat ~/droonga/droonga-http-server.pid)\n" -" # kill $(cat ~/droonga/droonga-serf-agent.pid)" +" # serf leave" msgstr "" msgid "### Create a table" Modified: ja/tutorial/groonga/index.md (+8 -3) =================================================================== --- ja/tutorial/groonga/index.md 2014-05-14 11:43:55 +0900 (4c35754) +++ ja/tutorial/groonga/index.md 2014-05-14 11:51:03 +0900 (797c8b7) @@ -137,8 +137,7 @@ GroongaをHTTPサーバとして使う場合は、以下のように `-d` オプ --daemon \ --pid-file=$PWD/droonga-http-server.pid # serf agent -node="${node}:10031" -bind=$host \ - -event-handler="droonga-handle-serf-event --base-dir=$PWD" & - # cat $! > $PWD/droonga-serf-agent.pid + -event-handler="droonga-handle-serf-event --base-dir=$PWD" いくつかのオプションにおいて、そのDroongaノード自身のホスト名を指定する必要がある事に注意して下さい。 この情報は、クラスタ無いのたのDroongaノードとの通信のために使われます。 @@ -149,11 +148,17 @@ GroongaをHTTPサーバとして使う場合は、以下のように `-d` オプ # droonga-engine --host=$host \ ... +その後、死活監視のために、"192.168.0.10" のノードにおいて以下のコマンドを実行します: + + # serf join 192.168.0.11 + +このコマンドにより、2つのノードはクラスタを形成し、互いの生死を監視するようになります。もしクラスタ内のどれか1つのノードが機能を停止し、他のノードがまだ機能し続けていた場合には、残ったノードがDroongaクラスタとして動作し続けます。そのため、そのような事態が起こっても秘密裏に、機能停止したノードを復旧したりクラスタに復帰させたりすることができます。 + サービスを停止するには、以下のコマンドを各Droongaノード上で実行します: # kill $(cat ~/droonga/droonga-engine.pid) # kill $(cat ~/droonga/droonga-http-server.pid) - # kill $(cat ~/droonga/droonga-serf-agent.pid) + # serf leave ### Create a table -------------- next part -------------- HTML����������������������������...Download