[Groonga-commit] droonga/droonga.org at dc76556 [gh-pages] Update command name to get system status information

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jun 25 18:03:29 JST 2014


YUKI Hiroshi	2014-06-25 18:03:29 +0900 (Wed, 25 Jun 2014)

  New Revision: dc765565c9400905c6af3f08d304e966145eb5bb
  https://github.com/droonga/droonga.org/commit/dc765565c9400905c6af3f08d304e966145eb5bb

  Message:
    Update command name to get system status information

  Modified files:
    _po/ja/tutorial/1.0.4/add-replica/index.po
    _po/ja/tutorial/1.0.4/dump-restore/index.po
    tutorial/1.0.4/add-replica/index.md
    tutorial/1.0.4/dump-restore/index.md

  Modified: _po/ja/tutorial/1.0.4/add-replica/index.po (+29 -29)
===================================================================
--- _po/ja/tutorial/1.0.4/add-replica/index.po    2014-06-25 17:58:01 +0900 (424d8c3)
+++ _po/ja/tutorial/1.0.4/add-replica/index.po    2014-06-25 18:03:29 +0900 (ac2eee8)
@@ -43,19 +43,19 @@ msgid ""
 "* You must know how to duplicate data between multiple clusters.\n"
 "  Please complete the [\"How to backup and restore the database?\" tutorial](../"
 "dump-restore/) before this.\n"
-"* Your `catalog.json` must have the plugin `status` in the list of plugins.\n"
+"* Your `catalog.json` must have the plugin `system` in the list of plugins.\n"
 "  Otherwise, you must add it, like:"
 msgstr ""
 "* 何らかのデータが格納されている状態の[Droonga][]クラスタがあること。\n"
 "  このチュートリアルを始める前に、[「使ってみる」のチュートリアル](../groonga/)を完了している事が望ましいです\n"
 "* 複数のクラスタの間でのデータの複製方法を把握していること。\n"
 "  このチュートリアルを始める前に、[バックアップと復元のチュートリアル](../dump-restore/)を完了しておいてください。\n"
-"* `catalog.json`に`status`プラグインが登録済みであること。\n"
-"  未登録の場合は、以下のようにして`plugins`の一覧に`status`を追加しておいて下さい:"
+"* `catalog.json`に`system`プラグインが登録済みであること。\n"
+"  未登録の場合は、以下のようにして`plugins`の一覧に`system`を追加しておいて下さい:"
 
 msgid ""
 "      - \"plugins\": [\"groonga\", \"crud\", \"search\", \"dump\"],\n"
-"      + \"plugins\": [\"groonga\", \"crud\", \"search\", \"dump\", \"status\"],"
+"      + \"plugins\": [\"groonga\", \"crud\", \"search\", \"dump\", \"system\"],"
 msgstr ""
 
 msgid "## What's \"replica\"?"
@@ -207,13 +207,13 @@ msgstr ""
 " * 1つのreplicaを含む新しいクラスタ。以下、*「beta」*と仮称します。\n"
 "   * `192.168.0.12`"
 
-msgid "You can confirm that, via the `status` command:"
-msgstr "この事は、`status` コマンドの結果を見ると確認できます:"
+msgid "You can confirm that, via the `system.status` command:"
+msgstr "この事は、`system.status` コマンドの結果を見ると確認できます:"
 
 msgid ""
 "~~~\n"
 "(for the cluster alpha)\n"
-"# curl \"http://192.168.0.10:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.10:10041/droonga/system/status\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -224,7 +224,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"# curl \"http://192.168.0.11:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.11:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -253,7 +253,7 @@ msgstr "他方、`192.168.0.12` は以下のような結果を返します:"
 msgid ""
 "~~~\n"
 "(for the cluster beta)\n"
-"# curl \"http://192.168.0.12:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.12:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.12:10031/droonga\": {\n"
@@ -400,8 +400,8 @@ msgstr ""
 "   * `192.168.0.11`\n"
 "   * `192.168.0.12`"
 
-msgid "You can confirm that, via the `status` command for each cluster:"
-msgstr "この事は、各クラスタに対する `status` コマンドの実行結果を見ると確認できます:"
+msgid "You can confirm that, via the `system.status` command for each cluster:"
+msgstr "この事は、各クラスタに対する `system.status` コマンドの実行結果を見ると確認できます:"
 
 msgid ""
 "Because `catalog.json` on nodes `192.168.0.10` and `192.168.0.11` have no chan"
@@ -425,7 +425,7 @@ msgstr ""
 msgid ""
 "~~~\n"
 "(for the cluster charlie)\n"
-"# curl \"http://192.168.0.12:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.12:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -473,7 +473,7 @@ msgstr ""
 
 msgid ""
 "~~~\n"
-"# curl \"http://192.168.0.10:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.10:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -487,7 +487,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"# curl \"http://192.168.0.11:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.11:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -501,7 +501,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"# curl \"http://192.168.0.12:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.12:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -613,7 +613,7 @@ msgstr ""
 msgid ""
 "~~~\n"
 "(for the cluster charlie)\n"
-"# curl \"http://192.168.0.11:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.11:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -627,7 +627,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"# curl \"http://192.168.0.12:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.12:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -661,7 +661,7 @@ msgstr ""
 msgid ""
 "~~~\n"
 "(for the cluster delta)\n"
-"# curl \"http://192.168.0.10:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.10:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -706,7 +706,7 @@ msgstr ""
 msgid ""
 "~~~\n"
 "(for the cluster delta)\n"
-"# curl \"http://192.168.0.10:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.10:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -717,7 +717,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"# curl \"http://192.168.0.11:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.11:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -728,7 +728,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"# curl \"http://192.168.0.12:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.12:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -797,14 +797,14 @@ msgstr "これで、ノード `192.168.0.11` がクラスタから無事に分
 
 msgid ""
 "Now there is a cluster without the node `192.168.0.11`.\n"
-"You can confirm that via the `status` command:"
+"You can confirm that via the `system.status` command:"
 msgstr ""
 "この時点で、ノード `192.168.0.11` を含まないクラスタが存在するという状態になっています。\n"
-"これは `status` コマンドで確認できます:"
+"これは `system.status` コマンドで確認できます:"
 
 msgid ""
 "~~~\n"
-"# curl \"http://192.168.0.10:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.10:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -821,15 +821,15 @@ msgstr "### 新しいreplicaを追加する"
 msgid ""
 "Next, setup the new replica.\n"
 "Construct a temporary cluster with only one node `192.168.0.12`.\n"
-"The result of the `status` command will be:"
+"The result of the `system.status` command will be:"
 msgstr ""
 "次に、新しいreplicaをセットアップします。\n"
 "1つのノード `192.168.0.12` だけを含む仮のクラスタを作ってください。\n"
-"`status` コマンドの結果はこのようになります:"
+"`system.status` コマンドの結果はこのようになります:"
 
 msgid ""
 "~~~\n"
-"# curl \"http://192.168.0.12:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.12:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.12:10031/droonga\": {\n"
@@ -875,7 +875,7 @@ msgstr "最終的に、`192.168.0.10` と `192.168.0.12` の2つのノードか
 
 msgid ""
 "~~~\n"
-"# curl \"http://192.168.0.10:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.10:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"
@@ -886,7 +886,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"# curl \"http://192.168.0.12:10041/droonga/status\"\n"
+"# curl \"http://192.168.0.12:10041/droonga/system/status\\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"192.168.0.10:10031/droonga\": {\n"

  Modified: _po/ja/tutorial/1.0.4/dump-restore/index.po (+4 -4)
===================================================================
--- _po/ja/tutorial/1.0.4/dump-restore/index.po    2014-06-25 17:58:01 +0900 (85c2d11)
+++ _po/ja/tutorial/1.0.4/dump-restore/index.po    2014-06-25 18:03:29 +0900 (53b5406)
@@ -51,16 +51,16 @@ msgid ""
 msgstr ""
 
 msgid ""
-"* Your `catalog.json` must have `dump` and `status` plugins in the list of plu"
+"* Your `catalog.json` must have `dump` and `system` plugins in the list of plu"
 "gins.\n"
 "  Otherwise, you must add them to the list of `plugins`, like:"
 msgstr ""
-"* `catalog.json`に`dump`プラグインと`status`プラグインが登録済みであること。\n"
-"  未登録の場合は、以下のようにして`plugins`の一覧に`dump`と`status`を追加しておいて下さい:"
+"* `catalog.json`に`dump`プラグインと`system`プラグインが登録済みであること。\n"
+"  未登録の場合は、以下のようにして`plugins`の一覧に`dump`と`system`を追加しておいて下さい:"
 
 msgid ""
 "      - \"plugins\": [\"groonga\", \"crud\", \"search\"],\n"
-"      + \"plugins\": [\"groonga\", \"crud\", \"search\", \"dump\", \"status\"],"
+"      + \"plugins\": [\"groonga\", \"crud\", \"search\", \"dump\", \"system\"],"
 msgstr ""
 
 msgid ""

  Modified: tutorial/1.0.4/add-replica/index.md (+29 -29)
===================================================================
--- tutorial/1.0.4/add-replica/index.md    2014-06-25 17:58:01 +0900 (c454456)
+++ tutorial/1.0.4/add-replica/index.md    2014-06-25 18:03:29 +0900 (8d5f461)
@@ -16,11 +16,11 @@ Learning steps to add a new replica node, remove an existing replica, and replac
   Please complete the ["getting started" tutorial](../groonga/) before this.
 * You must know how to duplicate data between multiple clusters.
   Please complete the ["How to backup and restore the database?" tutorial](../dump-restore/) before this.
-* Your `catalog.json` must have the plugin `status` in the list of plugins.
+* Your `catalog.json` must have the plugin `system` in the list of plugins.
   Otherwise, you must add it, like:
   
       - "plugins": ["groonga", "crud", "search", "dump"],
-      + "plugins": ["groonga", "crud", "search", "dump", "status"],
+      + "plugins": ["groonga", "crud", "search", "dump", "system"],
   
 
 ## What's "replica"?
@@ -102,11 +102,11 @@ 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` command:
+You can confirm that, via the `system.status` command:
 
 ~~~
 (for the cluster alpha)
-# curl "http://192.168.0.10:10041/droonga/status"
+# curl "http://192.168.0.10:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -117,7 +117,7 @@ You can confirm that, via the `status` command:
     }
   }
 }
-# curl "http://192.168.0.11:10041/droonga/status"
+# curl "http://192.168.0.11:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -137,7 +137,7 @@ On the other hand, `192.168.0.12` returns a result like:
 
 ~~~
 (for the cluster beta)
-# curl "http://192.168.0.12:10041/droonga/status"
+# curl "http://192.168.0.12:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.12:10031/droonga": {
@@ -216,11 +216,11 @@ Then there are two overlapping Droonga clusters theoretically on this time.
    * `192.168.0.11`
    * `192.168.0.12`
 
-You can confirm that, via the `status` command for each cluster:
+You can confirm that, via the `system.status` command for each cluster:
 
 ~~~
 (for the cluster alpha)
-# curl "http://192.168.0.10:10041/droonga/status"
+# curl "http://192.168.0.10:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -231,7 +231,7 @@ You can confirm that, via the `status` command for each cluster:
     }
   }
 }
-# curl "http://192.168.0.11:10041/droonga/status"
+# curl "http://192.168.0.11:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -252,7 +252,7 @@ It knows the cluster charlie includes three nodes, even if other two existing no
 
 ~~~
 (for the cluster charlie)
-# curl "http://192.168.0.12:10041/droonga/status"
+# curl "http://192.168.0.12:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -285,10 +285,10 @@ Then there is just one Droonga clusters on this time.
    * `192.168.0.11`
    * `192.168.0.12`
 
-You can confirm that, via the `status` command:
+You can confirm that, via the `system.status` command:
 
 ~~~
-# curl "http://192.168.0.10:10041/droonga/status"
+# curl "http://192.168.0.10:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -302,7 +302,7 @@ You can confirm that, via the `status` command:
     }
   }
 }
-# curl "http://192.168.0.11:10041/droonga/status"
+# curl "http://192.168.0.11:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -316,7 +316,7 @@ You can confirm that, via the `status` command:
     }
   }
 }
-# curl "http://192.168.0.12:10041/droonga/status"
+# curl "http://192.168.0.12:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -375,11 +375,11 @@ Then there are two overlapping Droonga clusters theoretically on this time.
    * `192.168.0.10`
    * `192.168.0.11`
 
-You can confirm that, via the `status` command for each cluster:
+You can confirm that, via the `system.status` command for each cluster:
 
 ~~~
 (for the cluster charlie)
-# curl "http://192.168.0.11:10041/droonga/status"
+# curl "http://192.168.0.11:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -393,7 +393,7 @@ You can confirm that, via the `status` command for each cluster:
     }
   }
 }
-# curl "http://192.168.0.12:10041/droonga/status"
+# curl "http://192.168.0.12:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -415,7 +415,7 @@ On the other hand, the node `192.168.0.10` with new `catalog.json` knows the clu
 
 ~~~
 (for the cluster delta)
-# curl "http://192.168.0.10:10041/droonga/status"
+# curl "http://192.168.0.10:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -442,11 +442,11 @@ Then there is only one Droonga cluster on this time.
    * `192.168.0.10`
    * `192.168.0.11`
 
-You can confirm that, via the `status` command for each cluster:
+You can confirm that, via the `system.status` command for each cluster:
 
 ~~~
 (for the cluster delta)
-# curl "http://192.168.0.10:10041/droonga/status"
+# curl "http://192.168.0.10:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -457,7 +457,7 @@ You can confirm that, via the `status` command for each cluster:
     }
   }
 }
-# curl "http://192.168.0.11:10041/droonga/status"
+# curl "http://192.168.0.11:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -468,7 +468,7 @@ You can confirm that, via the `status` command for each cluster:
     }
   }
 }
-# curl "http://192.168.0.12:10041/droonga/status"
+# curl "http://192.168.0.12:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -510,10 +510,10 @@ Re-generate `catalog.json` without the node to be removed, and spread it to othe
 After that the node `192.168.0.11` unjoins from the cluster successfully.
 
 Now there is a cluster without the node `192.168.0.11`.
-You can confirm that via the `status` command:
+You can confirm that via the `system.status` command:
 
 ~~~
-# curl "http://192.168.0.10:10041/droonga/status"
+# curl "http://192.168.0.10:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -527,10 +527,10 @@ You can confirm that via the `status` command:
 
 Next, setup the new replica.
 Construct a temporary cluster with only one node `192.168.0.12`.
-The result of the `status` command will be:
+The result of the `system.status` command will be:
 
 ~~~
-# curl "http://192.168.0.12:10041/droonga/status"
+# curl "http://192.168.0.12:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.12:10031/droonga": {
@@ -560,10 +560,10 @@ 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:
+You can confirm that, via the `system.status` command:
 
 ~~~
-# curl "http://192.168.0.10:10041/droonga/status"
+# curl "http://192.168.0.10:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {
@@ -574,7 +574,7 @@ You can confirm that, via the `status` command:
     }
   }
 }
-# curl "http://192.168.0.12:10041/droonga/status"
+# curl "http://192.168.0.12:10041/droonga/system/status"
 {
   "nodes": {
     "192.168.0.10:10031/droonga": {

  Modified: tutorial/1.0.4/dump-restore/index.md (+2 -2)
===================================================================
--- tutorial/1.0.4/dump-restore/index.md    2014-06-25 17:58:01 +0900 (3f5eb9c)
+++ tutorial/1.0.4/dump-restore/index.md    2014-06-25 18:03:29 +0900 (c9f2e3c)
@@ -21,11 +21,11 @@ Learning steps to backup and restore data by your hand.
       -   "Starbucks": {
       +   "Default": {
   
-* Your `catalog.json` must have `dump` and `status` plugins in the list of plugins.
+* Your `catalog.json` must have `dump` and `system` plugins in the list of plugins.
   Otherwise, you must add them to the list of `plugins`, like:
   
       - "plugins": ["groonga", "crud", "search"],
-      + "plugins": ["groonga", "crud", "search", "dump", "status"],
+      + "plugins": ["groonga", "crud", "search", "dump", "system"],
   
 * Your `catalog.json` must not have any information in its `schema` section.
   Otherwise, you must make the `schema` section empty, like:
-------------- next part --------------
HTML����������������������������...
Télécharger 



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