From a7f1a9d415210f030467da16c37edc4a636daf69 Mon Sep 17 00:00:00 2001 From: Yusuke Komatsu Date: Tue, 22 Sep 2015 01:31:05 +0900 Subject: [PATCH 1/2] [WIP] on #275 From 4694c6c6f1d210db80fdd27e37e62e44fbd95582 Mon Sep 17 00:00:00 2001 From: Yusuke Komatsu Date: Tue, 22 Sep 2015 01:43:54 +0900 Subject: [PATCH 2/2] Resolved #275 --- .../admin/REST/rest-cluster-removenode.dita | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/ja/learn/admin/REST/rest-cluster-removenode.dita b/ja/learn/admin/REST/rest-cluster-removenode.dita index 1b3a518..0ac77a8 100644 --- a/ja/learn/admin/REST/rest-cluster-removenode.dita +++ b/ja/learn/admin/REST/rest-cluster-removenode.dita @@ -1,22 +1,21 @@ - - Removing nodes from clusters - Nodes are removed from clusters with the POST /controller/ejectNode HTTP method and URI. + + クラスタからノードの削除 + クラスタからノードを削除するには、POST /controller/ejectNode HTTP メソッドとURIを使用します。 -
HTTP method and URI -

Server nodes are typically removed from a cluster when the node is temporarily or permanently - down.

+
HTTPメソッドとURI +

ノードが一時的もしくは恒久的にダウンした場合、通常はサーバノードが削除されます。

POST /controller/ejectNode
-
Syntax +
シンタックス -

HTTP request syntax:

+

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

POST /controller/ejectNode Host: [localhost]:8091 Authorization: Basic xxxxxxxxxxxx @@ -26,15 +25,15 @@ Content-Type: application/x-www-form-urlencoded otpNode=[node@hostname] -

Curl request syntax:

+

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

curl -u admin:password -d otpNode=[node@hostname] \ http://[localhost]:8091/controller/ejectNode
-
Example -

HTTP request example:

+
+

HTTPリクエスト例:

POST /controller/ejectNode Host: 192.168.0.106:8091 Authorization: Basic xxxxxxxxxxxx @@ -44,13 +43,13 @@ Content-Type: application/x-www-form-urlencoded otpNode=ns_1@192.168.0.107 -

Curl request example:

+

Curlリクエスト例:

curl -u admin:password -d otpNode=ns_1@192.168.0.107 \ http://192.168.0.106:8091/controller/ejectNode
-
Response codes +
レスポンスコード 200 OK - node ejected 400 Error, the node to be ejected does not exist 401 Unauthorized - Credentials were not supplied and are required