YUKI Hiroshi
null+****@clear*****
Wed Jun 25 16:17:34 JST 2014
YUKI Hiroshi 2014-06-25 16:17:34 +0900 (Wed, 25 Jun 2014) New Revision: 3435d30f6d59894a9f7d32f68994cde574925baa https://github.com/droonga/droonga.org/commit/3435d30f6d59894a9f7d32f68994cde574925baa Message: Add expected result of other nodes 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 (+28 -0) =================================================================== --- _po/ja/tutorial/1.0.4/add-replica/index.po 2014-06-25 16:11:32 +0900 (017fd89) +++ _po/ja/tutorial/1.0.4/add-replica/index.po 2014-06-25 16:17:34 +0900 (2d823f3) @@ -487,6 +487,34 @@ msgid "" " }\n" " }\n" "}\n" +"# curl \"http://192.168.0.11:10041/droonga/status\"\n" +"{\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" +" \"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.11:10031/droonga\": {\n" +" \"live\": true\n" +" },\n" +" \"192.168.0.12:10031/droonga\": {\n" +" \"live\": true\n" +" }\n" +" }\n" +"}\n" "~~~" msgstr "" Modified: ja/tutorial/1.0.4/add-replica/index.md (+28 -0) =================================================================== --- ja/tutorial/1.0.4/add-replica/index.md 2014-06-25 16:11:32 +0900 (0e31ea0) +++ ja/tutorial/1.0.4/add-replica/index.md 2014-06-25 16:17:34 +0900 (39c92e3) @@ -306,6 +306,34 @@ cronjobとして実行されるバッチスクリプトによって `load` コ } } } +# curl "http://192.168.0.11:10041/droonga/status" +{ + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true + }, + "192.168.0.11: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.11:10031/droonga": { + "live": true + }, + "192.168.0.12:10031/droonga": { + "live": true + } + } +} ~~~ いずれのノードも同じ結果を返します。 Modified: tutorial/1.0.4/add-replica/index.md (+28 -0) =================================================================== --- tutorial/1.0.4/add-replica/index.md 2014-06-25 16:11:32 +0900 (36514f3) +++ tutorial/1.0.4/add-replica/index.md 2014-06-25 16:17:34 +0900 (7add7bb) @@ -302,6 +302,34 @@ You can confirm that, via the `status` command: } } } +# curl "http://192.168.0.11:10041/droonga/status" +{ + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true + }, + "192.168.0.11: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.11:10031/droonga": { + "live": true + }, + "192.168.0.12:10031/droonga": { + "live": true + } + } +} ~~~ Any node returns same result. -------------- next part -------------- HTML����������������������������...Download