[Groonga-commit] droonga/droonga.org at 19ea598 [gh-pages] Add steps to confirm three-nodes cluster

Back to archive index

SHIMODA Piro Hiroshi null+****@clear*****
Mon Oct 6 14:40:51 JST 2014


SHIMODA "Piro" Hiroshi	2014-10-06 14:40:51 +0900 (Mon, 06 Oct 2014)

  New Revision: 19ea59813b6020de802d0aecd64dfc9837011858
  https://github.com/droonga/droonga.org/commit/19ea59813b6020de802d0aecd64dfc9837011858

  Message:
    Add steps to confirm three-nodes cluster

  Modified files:
    _po/ja/tutorial/1.0.7/benchmark/index.po
    ja/tutorial/1.0.7/benchmark/index.md
    tutorial/1.0.7/benchmark/index.md

  Modified: _po/ja/tutorial/1.0.7/benchmark/index.po (+28 -0)
===================================================================
--- _po/ja/tutorial/1.0.7/benchmark/index.po    2014-10-06 14:36:27 +0900 (ac96ae1)
+++ _po/ja/tutorial/1.0.7/benchmark/index.po    2014-10-06 14:40:51 +0900 (7c13a10)
@@ -510,6 +510,34 @@ msgstr ""
 "注意: `droonga-http-server`をGroongaとは別のポート番号で起動するために、ここでは`PORT`環境変数を使って上記のようにして`"
 "10042`のポートで起動するように指定しています。"
 
+msgid ""
+"Make sure that Droonga's HTTP server is actualy listening the port `10042` and"
+" it is working as a cluster with three nodes:"
+msgstr ""
+"DroongaのHTTPサーバが動作しており、`10042`番のポートを監視していることと、3つのノードからなるクラスタとして動作していることを確認しておき"
+"ましょう:"
+
+msgid ""
+"~~~\n"
+"(on node0)\n"
+"% sudo apt-get install -y jq\n"
+"% curl \"http://node0:10042/droonga/system/status\" | jq .\n"
+"{\n"
+"  \"nodes\": {\n"
+"    \"node0:10031/droonga\": {\n"
+"      \"live\": true\n"
+"    },\n"
+"    \"node1:10031/droonga\": {\n"
+"      \"live\": true\n"
+"    },\n"
+"    \"node2:10031/droonga\": {\n"
+"      \"live\": true\n"
+"    }\n"
+"  }\n"
+"}\n"
+"~~~"
+msgstr ""
+
 msgid "### Synchronize data from Groonga to Droonga"
 msgstr "### GroongaからDroongaへとデータを同期する"
 

  Modified: ja/tutorial/1.0.7/benchmark/index.md (+21 -0)
===================================================================
--- ja/tutorial/1.0.7/benchmark/index.md    2014-10-06 14:36:27 +0900 (1f2290d)
+++ ja/tutorial/1.0.7/benchmark/index.md    2014-10-06 14:40:51 +0900 (7cf6c9b)
@@ -246,6 +246,27 @@ HTTP経由での動作をベンチマーク測定するので、`droonga-engine`
 
 注意: `droonga-http-server`をGroongaとは別のポート番号で起動するために、ここでは`PORT`環境変数を使って上記のようにして`10042`のポートで起動するように指定しています。
 
+DroongaのHTTPサーバが動作しており、`10042`番のポートを監視していることと、3つのノードからなるクラスタとして動作していることを確認しておきましょう:
+
+~~~
+(on node0)
+% sudo apt-get install -y jq
+% curl "http://node0:10042/droonga/system/status" | jq .
+{
+  "nodes": {
+    "node0:10031/droonga": {
+      "live": true
+    },
+    "node1:10031/droonga": {
+      "live": true
+    },
+    "node2:10031/droonga": {
+      "live": true
+    }
+  }
+}
+~~~
+
 
 ### GroongaからDroongaへとデータを同期する
 

  Modified: tutorial/1.0.7/benchmark/index.md (+21 -0)
===================================================================
--- tutorial/1.0.7/benchmark/index.md    2014-10-06 14:36:27 +0900 (0e56c4e)
+++ tutorial/1.0.7/benchmark/index.md    2014-10-06 14:40:51 +0900 (8ef25d7)
@@ -237,6 +237,27 @@ Because we are benchmarking it via HTTP, you have to install both services `droo
 
 Note: to start `droonga-http-server` with a port number different from Groonga, we should specify another port `10042` via the `PORT` environment variable, like above.
 
+Make sure that Droonga's HTTP server is actualy listening the port `10042` and it is working as a cluster with three nodes:
+
+~~~
+(on node0)
+% sudo apt-get install -y jq
+% curl "http://node0:10042/droonga/system/status" | jq .
+{
+  "nodes": {
+    "node0:10031/droonga": {
+      "live": true
+    },
+    "node1:10031/droonga": {
+      "live": true
+    },
+    "node2:10031/droonga": {
+      "live": true
+    }
+  }
+}
+~~~
+
 
 ### Synchronize data from Groonga to Droonga
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index