Add a node to a cluster

Prev Next

Adds a node (VX2) to an existing managed MVX cluster (VX1).

API URL

POST https://<VX2_MGMT_IP>/wsapis/v2.0.0/proxy/clustermgmt/v1/mvx/node/self --data '{"access_token": "<VX1_X-FeApi-Token>", "cluster_address": "VX1_MGMT_IP"}'

Sample curl request

curl -k -v -H "X-FeApi-Token: <VX2_X-FeApi-Token>" -H "Content-Type: application/json" --request POST https://172.16.161.165/wsapis/v2.0.0/proxy/clustermgmt/v1/mvx/cluster/self --data '{"access_token": "<VX1_X-FeApi-Token>", "cluster_address": "172.16.161.166}'

Availability

This command is available on the following appliances:

  • MVX

Parameters

None

Response

HTTP OK with JSON containing the array of node objects:

{"access_token": "<VX1_X-FeApi-Token>", "cluster_address": "VX1_MGMT_IP"}

or

Error JSON with displayable message

Authentication

Standard WSAPI authentication

Response mime type

application/json