diff --git a/ja/learn/admin/REST/rest-cluster-autofailover-enable.dita b/ja/learn/admin/REST/rest-cluster-autofailover-enable.dita index f996eed..75948de 100644 --- a/ja/learn/admin/REST/rest-cluster-autofailover-enable.dita +++ b/ja/learn/admin/REST/rest-cluster-autofailover-enable.dita @@ -1,38 +1,40 @@ - - Enabling and disabling auto-failover - Auto-failover is enabled and disabled the POST /settings/autoFailover HTTP method and URI. + + オートフェイルオーバの有効化と無効化 + オートフェイルオーバはPOST /settings/autoFailover HTTPメソッドとURIで有効化・無効化します。 -
HTTP method and URI -

This is a global setting that applies to all clusters. Authentication is required to change this value.

+
HTTPメソッドとURI +

これは全てのクラスタに適応されるグローバル設定です。この値を変更するには認証が必要です。

POST /settings/autoFailover -

Parameters include:

+

パラメータは以下を含む:

    -
  • enabled: Value is true or false. Indicates whether Couchbase Server - performs auto-failover for the cluster or not.
  • -
  • timeout: Positive integer between 30 and 3600. The number of seconds a - node must be down before Couchbase Server performs auto-failover on the node. Required if - enabled=true; optional when enabled=false.
  • +
  • + enabled: 値は true か false です。Couchbaseサーバがクラスタのオートフェイルオーバを実行するか否かを指定します。 +
  • +
  • + timeout: 30〜3600の間の正の整数です。Couchbaseサーバがノードのオートフェイルオーバを実行する前にノードが落ちている秒数です。 + enabled=trueの時は必須ですが、enabled=falseの場合は任意です。 +
-
Syntax -

Curl request syntax:

+
シンタックス +

Curlリクエストシンタックス:

curl -u [admin]:[password] http://[localhost]:8091/settings/autoFailover -d [parameter]
-
Example -

Curl request example:

+
+

Curlリクエスト例:

curl -i -u admin:password http://10.5.2.54:8091/settings/autoFailover \ -d 'enabled=true&timeout=600' -

Raw HTTP request example:

+

Raw HTTPリクエスト例:

POST /settings/autoFailover HTTP/1.1 Host: 10.5.2.54:8091 Content-Type: application/x-www-form-urlencoded @@ -44,14 +46,14 @@ enabled=true&timeout=600
-
Response codes +
レスポンスコード HTTP/1.1 200 OK Server: Couchbase Server Pragma: no-cache Date: Sat, 18 Oct 2014 00:26:28 GMT Content-Length: 0 Cache-Control: no-cache -

The possible errors include:

+

エラーを含む場合:

400 Bad Request, The value of "enabled" must be true or false. 400 Bad Request, The value of "timeout" must be a positive integer bigger or equal to 30. 401 Unauthorized