diff --git a/ja/learn/admin/REST/rest-cluster-autofailover-settings.dita b/ja/learn/admin/REST/rest-cluster-autofailover-settings.dita index 5061373..4abfd21 100644 --- a/ja/learn/admin/REST/rest-cluster-autofailover-settings.dita +++ b/ja/learn/admin/REST/rest-cluster-autofailover-settings.dita @@ -1,44 +1,42 @@ - - Retrieving auto-failover settings - Auto-failover setting are retrieved with the GET /settins/autoFailover HTTP method and URI. + + オートフェイルオーバ設定の取得 + オートフェイルオーバの設定はGET /settins/autoFailover HTTPメソッドとURIを使用して取得します。 -
HTTP method and URI -

Use this request to retrieve any auto-failover settings for a cluster. Auto-failover is a - global setting for all clusters. Authenticated is required to read this value.

+
HTTPメソッドとURI +

+ クラスタのオートフェイルオーバの設定はこのリクエストを使用して取得します。オートフェイルオーバは全てのクラスタのグローバル設定です。 + この値を参照するには認証が必要です。 +

GET /settings/autoFailover -

Parameters include:

+

パラメータは次のものを含みます:

    -
  • enabled: Value is true or false. True if auto-failover is enabled; - False if it is not.
  • -
  • timeout: Seconds that must elapse before auto-failover executes on a - cluster.
  • -
  • count: Value is 0 or 1. Number of times any node in a cluster can be - automatically failed-over. After one auto-failover occurs, the count is set to 1 and - Couchbase server does not perform auto-failover for the cluster again unless the count is - reset to 0. To failover more than one node at a time in a cluster, perform a manual - failover.
  • +
  • enabled: 値は true か false です。Trueはオートフェイルオーバを有効にし、Falseは無効にします。
  • +
  • timeout: オートフェイルオーバがクラスタで実行するまでに経過する秒数です。
  • +
  • count: 値は 0 か 1です。クラスタのノードが自動的にフェイルオーバできる回数です。 + オートフェイルオーバが1度発生した後、カウントが 1 に設定され、カウントが 0 にリセットされない限りCouchbaseサーバはクラスタのオートフェイルオーバを再び行うことはありません。 + 一度に複数のノードのフェイルオーバを行うには手動でフェイルオーバを実行します。
-
Syntax -

Curl request syntax:

+
シンタックス +

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

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

Curl request example

+
+

Curlリクエスト例

curl -u admin:password http://10.5.2.54:8091/settings/autoFailover
-
Response -

If successful Couchbase Server returns any auto-failover settings for the cluster:

+
レスポンス +

クラスタのオートフェイルオーバの設定が成功した場合、Couchbaseサーバは以下のように返します:

{ "count": 0, "enabled": false, @@ -48,8 +46,8 @@
-
Response codes -

Possible errors include:

+
レスポンスコード +

エラーを含む場合:

HTTP/1.1 401 Unauthorized This endpoint isn't available yet.