- URL:https://<cluster-url>/machines/add
(POST only)
- Required Capability:Administrator
- Version Introduced:10.1
Description
Note:
Clusters have been deprecated. The use of clusters for new deployments is strongly discouraged and existing deployments are advised to migrate away from use of clusters as part of ongoing maintenance and upgrades.
This operation adds new server machines to a cluster. When a server machine is added to a cluster, it pulls all the GIS services that were deployed to the cluster and prepares to run them. Before a server machines can be added to a cluster, the machine will need to be registered with the site prior to completing this operation.
Note:
A server machine can only participate in one cluster at any time.
Request parameters
Parameter | Details |
---|---|
machineNames | A comma-separated list of machine names. The machines must be registered prior to completing this operation. Example
|
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for add:
POST /webadaptor/admin/clusters/MapsCluster/machines/add HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
machineNames=MACHINE1.DOMAIN.COM,MACHINE2.DOMAIN.COM&f=json
JSON Response example
{"status": "success"}