From 84dcde19b101dfac5b240344e4d411f37a3c6ad8 Mon Sep 17 00:00:00 2001 From: Yusuke Komatsu Date: Sun, 23 Aug 2015 21:54:31 +0900 Subject: [PATCH 1/2] [WIP] on #265 From e4d1ec0585c8a2e2ea8b17a6908eb1fe6e9774d5 Mon Sep 17 00:00:00 2001 From: Yusuke Komatsu Date: Sun, 23 Aug 2015 22:06:29 +0900 Subject: [PATCH 2/2] Resolved #265 --- .../REST/rest-cluster-autofailover-reset.dita | 30 +++++++++++-------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/ja/learn/admin/REST/rest-cluster-autofailover-reset.dita b/ja/learn/admin/REST/rest-cluster-autofailover-reset.dita index f4b6279..043a2d1 100644 --- a/ja/learn/admin/REST/rest-cluster-autofailover-reset.dita +++ b/ja/learn/admin/REST/rest-cluster-autofailover-reset.dita @@ -1,13 +1,17 @@ - - Resetting auto-failover - Auto-failover is reset with the POST /settings/autoFailover/resetCount HTTP method and URI. + + オートフェイルオーバの再設定 + オートフェイルオーバはPOST /settings/autoFailover/resetCount HTTPメソッドとURIでリセットします。 -
HTTP method and URI -

Resets the number of nodes that Couchbase Server has automatically failed over. A request - can be sent to reset the auto-failover number to 0. This is a global setting for all - clusters. Authenticated is required to change this value. No parameters are required.

+
HTTPメソッドとURI +

+ Couchbase Serverが自動的にフェールオーバしたノード数をリセットします。 + リクエストを送ることでオートフェイルオーバ数を0にリセット出来ます。 + This is a global setting for all clusters. + これはcluster全体のグローバルな設定です。 + 認証されている場合はこの値を変更する必要があります。パラメータは必要ありません。 +

POST /settings/autoFailover/resetCount @@ -15,21 +19,21 @@ POST /settings/autoFailover/resetCount
-
Syntax +
シンタックス curl -X POST -i -u [admin]:[password] \ http://localhost:8091/settings/autoFailover/resetCount
-
Example -

Curl request example:

+
+

Curlリクエスト例:

curl -X POST -i -u admin:password \ http://10.5.2.54:8091/settings/autoFailover/resetCount -

Raw HTTP request example:

+

Raw HTTPリクエスト例:

POST /settings/autoFailover/resetCount HTTP/1.1 Host: localhost:8091 @@ -38,9 +42,9 @@ Authorization: Basic YWRtaW46YWRtaW4=
-
Response codes +
レスポンスコード HTTP/1.1 200 OK -

Possible errors include:

+

エラーを含む場合:

This endpoint isn't available yet. 401 Unauthorized