YUKI Hiroshi
null+****@clear*****
Wed Jun 25 17:07:48 JST 2014
YUKI Hiroshi 2014-06-25 17:07:48 +0900 (Wed, 25 Jun 2014) New Revision: 6d4b43fea3b4e5056b9857c6fabd5164d6d0194c https://github.com/droonga/droonga.org/commit/6d4b43fea3b4e5056b9857c6fabd5164d6d0194c Message: Add final expected 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 (+27 -0) =================================================================== --- _po/ja/tutorial/1.0.4/add-replica/index.po 2014-06-25 17:02:37 +0900 (803caf7) +++ _po/ja/tutorial/1.0.4/add-replica/index.po 2014-06-25 17:07:48 +0900 (424d8c3) @@ -873,6 +873,33 @@ msgid "" "68.0.12` is here." msgstr "最終的に、`192.168.0.10` と `192.168.0.12` の2つのノードからなるDroongaクラスタができあがりました。" +msgid "" +"~~~\n" +"# curl \"http://192.168.0.10:10041/droonga/status\"\n" +"{\n" +" \"nodes\": {\n" +" \"192.168.0.10:10031/droonga\": {\n" +" \"live\": true\n" +" },\n" +" \"192.168.0.12:10031/droonga\": {\n" +" \"live\": true\n" +" }\n" +" }\n" +"}\n" +"# curl \"http://192.168.0.12:10041/droonga/status\"\n" +"{\n" +" \"nodes\": {\n" +" \"192.168.0.10:10031/droonga\": {\n" +" \"live\": true\n" +" },\n" +" \"192.168.0.12:10031/droonga\": {\n" +" \"live\": true\n" +" }\n" +" }\n" +"}\n" +"~~~" +msgstr "" + msgid "## Conclusion" msgstr "## まとめ" Modified: ja/tutorial/1.0.4/add-replica/index.md (+26 -0) =================================================================== --- ja/tutorial/1.0.4/add-replica/index.md 2014-06-25 17:02:37 +0900 (d95916c) +++ ja/tutorial/1.0.4/add-replica/index.md 2014-06-25 17:07:48 +0900 (2e9bc31) @@ -562,6 +562,32 @@ Droongaクラスタ内のノードは互いに監視しあっており、動作 最終的に、`192.168.0.10` と `192.168.0.12` の2つのノードからなるDroongaクラスタができあがりました。 +この事は、`status` コマンドの結果を見ると確認できます: + +~~~ +# curl "http://192.168.0.10:10041/droonga/status" +{ + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true + }, + "192.168.0.12:10031/droonga": { + "live": true + } + } +} +# curl "http://192.168.0.12:10041/droonga/status" +{ + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true + }, + "192.168.0.12:10031/droonga": { + "live": true + } + } +} +~~~ ## まとめ Modified: tutorial/1.0.4/add-replica/index.md (+26 -0) =================================================================== --- tutorial/1.0.4/add-replica/index.md 2014-06-25 17:02:37 +0900 (01e38c4) +++ tutorial/1.0.4/add-replica/index.md 2014-06-25 17:07:48 +0900 (c454456) @@ -560,6 +560,32 @@ Re-generate `catalog.json` and spread it to all nodes in the cluster: Finally a Droonga cluster constructed with two nodes `192.168.0.10` and `192.168.0.12` is here. +You can confirm that, via the `status` command: + +~~~ +# curl "http://192.168.0.10:10041/droonga/status" +{ + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true + }, + "192.168.0.12:10031/droonga": { + "live": true + } + } +} +# curl "http://192.168.0.12:10041/droonga/status" +{ + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true + }, + "192.168.0.12:10031/droonga": { + "live": true + } + } +} +~~~ ## Conclusion -------------- next part -------------- HTML����������������������������...Download