YUKI Hiroshi
null+****@clear*****
Wed Jun 25 11:44:20 JST 2014
YUKI Hiroshi 2014-06-25 11:44:20 +0900 (Wed, 25 Jun 2014) New Revision: e5bb95ee3aabf01eb6d51c519c85ad2c968b2582 https://github.com/droonga/droonga.org/commit/e5bb95ee3aabf01eb6d51c519c85ad2c968b2582 Message: Use "status" command to check the current status Modified files: _po/ja/tutorial/1.0.4/add-replica/index.po ja/tutorial/1.0.4/add-replica/index.md tutorial/1.0.4/add-replica/index.md Modified: _po/ja/tutorial/1.0.4/add-replica/index.po (+35 -13) =================================================================== --- _po/ja/tutorial/1.0.4/add-replica/index.po 2014-06-25 11:21:58 +0900 (671f163) +++ _po/ja/tutorial/1.0.4/add-replica/index.po 2014-06-25 11:44:20 +0900 (a834c05) @@ -205,19 +205,21 @@ msgstr "" " * 1つのreplicaを含む新しいクラスタ。以下、*「beta」*と仮称します。\n" " * `192.168.0.12`" -msgid "You can confirm that, via the status file `live-nodes.json` on each node:" -msgstr "この事は、各ノード上にあるステータスファイル `live-nodes.json` を見ると確認できます:" +msgid "You can confirm that, via the `status` command:" +msgstr "この事は、`status` コマンドの結果を見ると確認できます:" msgid "" "~~~\n" -"(on 192.168.0.10, 192.168.0.11)\n" -"# cat ~/droonga/state/live-nodes.json\n" +"(for the cluster alpha)\n" +"# curl \"http://192.168.0.10:10041/droonga/status\"\n" "{\n" -" \"192.168.0.10:10031/droonga\": {\n" -" \"serfAddress\": \"192.168.100.52:7946\"\n" -" },\n" -" \"192.168.0.11:10031/droonga\": {\n" -" \"serfAddress\": \"192.168.100.50:7946\"\n" +" \"nodes\": {\n" +" \"192.168.0.10:10031/droonga\": {\n" +" \"live\": true\n" +" },\n" +" \"192.168.0.11:10031/droonga\": {\n" +" \"live\": true\n" +" }\n" " }\n" "}\n" "~~~" @@ -225,11 +227,13 @@ msgstr "" msgid "" "~~~\n" -"(on 192.168.0.12)\n" -"# cat ~/droonga/state/live-nodes.json\n" +"(for the cluster beta)\n" +"# curl \"http://192.168.0.12:10041/droonga/status\"\n" "{\n" -" \"192.168.0.12:10031/droonga\": {\n" -" \"serfAddress\": \"192.168.100.51:7946\"\n" +" \"nodes\": {\n" +" \"192.168.0.12:10031/droonga\": {\n" +" \"live\": true\n" +" }\n" " }\n" "}\n" "~~~" @@ -366,6 +370,24 @@ msgstr "" " * `192.168.0.11`\n" " * `192.168.0.12`" +msgid "You can confirm that, via the status file `live-nodes.json` on each node:" +msgstr "この事は、各ノード上にあるステータスファイル `live-nodes.json` を見ると確認できます:" + +msgid "" +"~~~\n" +"(on 192.168.0.10, 192.168.0.11)\n" +"# cat ~/droonga/state/live-nodes.json\n" +"{\n" +" \"192.168.0.10:10031/droonga\": {\n" +" \"serfAddress\": \"192.168.100.52:7946\"\n" +" },\n" +" \"192.168.0.11:10031/droonga\": {\n" +" \"serfAddress\": \"192.168.100.50:7946\"\n" +" }\n" +"}\n" +"~~~" +msgstr "" + msgid "" "~~~\n" "(on 192.168.0.12)\n" Modified: ja/tutorial/1.0.4/add-replica/index.md (+16 -12) =================================================================== --- ja/tutorial/1.0.4/add-replica/index.md 2014-06-25 11:21:58 +0900 (57e1757) +++ ja/tutorial/1.0.4/add-replica/index.md 2014-06-25 11:44:20 +0900 (9f76df3) @@ -107,27 +107,31 @@ Droongaのノードの集合には、「replica」と「slice」という2つの * 1つのreplicaを含む新しいクラスタ。以下、*「beta」*と仮称します。 * `192.168.0.12` -この事は、各ノード上にあるステータスファイル `live-nodes.json` を見ると確認できます: +この事は、`status` コマンドの結果を見ると確認できます: ~~~ -(on 192.168.0.10, 192.168.0.11) -# cat ~/droonga/state/live-nodes.json +(for the cluster alpha) +# curl "http://192.168.0.10:10041/droonga/status" { - "192.168.0.10:10031/droonga": { - "serfAddress": "192.168.100.52:7946" - }, - "192.168.0.11:10031/droonga": { - "serfAddress": "192.168.100.50:7946" + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true + }, + "192.168.0.11:10031/droonga": { + "live": true + } } } ~~~ ~~~ -(on 192.168.0.12) -# cat ~/droonga/state/live-nodes.json +(for the cluster beta) +# curl "http://192.168.0.12:10041/droonga/status" { - "192.168.0.12:10031/droonga": { - "serfAddress": "192.168.100.51:7946" + "nodes": { + "192.168.0.12:10031/droonga": { + "live": true + } } } ~~~ Modified: tutorial/1.0.4/add-replica/index.md (+16 -12) =================================================================== --- tutorial/1.0.4/add-replica/index.md 2014-06-25 11:21:58 +0900 (bb335ec) +++ tutorial/1.0.4/add-replica/index.md 2014-06-25 11:44:20 +0900 (1c867a4) @@ -101,27 +101,31 @@ Then there are two separate Droonga clusters on this time. Let's give a name *"beta"* to it, for now. * `192.168.0.12` -You can confirm that, via the status file `live-nodes.json` on each node: +You can confirm that, via the `status` command: ~~~ -(on 192.168.0.10, 192.168.0.11) -# cat ~/droonga/state/live-nodes.json +(for the cluster alpha) +# curl "http://192.168.0.10:10041/droonga/status" { - "192.168.0.10:10031/droonga": { - "serfAddress": "192.168.100.52:7946" - }, - "192.168.0.11:10031/droonga": { - "serfAddress": "192.168.100.50:7946" + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true + }, + "192.168.0.11:10031/droonga": { + "live": true + } } } ~~~ ~~~ -(on 192.168.0.12) -# cat ~/droonga/state/live-nodes.json +(for the cluster beta) +# curl "http://192.168.0.12:10041/droonga/status" { - "192.168.0.12:10031/droonga": { - "serfAddress": "192.168.100.51:7946" + "nodes": { + "192.168.0.12:10031/droonga": { + "live": true + } } } ~~~ -------------- next part -------------- HTML����������������������������...Download