Navigation Menu

Skip to content

Commit

Permalink
Add final expected status
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 25, 2014
1 parent a094452 commit 6d4b43f
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 0 deletions.
27 changes: 27 additions & 0 deletions _po/ja/tutorial/1.0.4/add-replica/index.po
Expand Up @@ -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 "## まとめ"

Expand Down
26 changes: 26 additions & 0 deletions ja/tutorial/1.0.4/add-replica/index.md
Expand Up @@ -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
}
}
}
~~~

## まとめ

Expand Down
26 changes: 26 additions & 0 deletions tutorial/1.0.4/add-replica/index.md
Expand Up @@ -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

Expand Down

0 comments on commit 6d4b43f

Please sign in to comment.