Machines In Cluster

URL:
https://<cluster-url>/machines
Methods:
GET
Version Introduced:
10.1

Description

This resource lists all the server machines that are currently participating in the cluster. Each server machine listing is accompanied by its status indicating whether the server machine is running or stopped. The list of server machines is dynamic, as machines can be added or removed from the cluster.

Request parameters

ParameterDetails

f

The response format. The default response format is html .

Values: html | json | pjson

Example usage

Below is a sample request URL for the machines resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/admin/clusters/MapsCluster/machines?f=json

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "machines": [
    {
      "configuredState": "<STARTED|STOPPPED>",
      "realTimeState": "<STARTED|STOPPPED>",
      "machineName": "<machine1>"
    },
    {
      "configuredState": "<STARTED|STOPPPED>",
      "realTimeState": "<STARTED|STOPPPED>",
      "machineName": "<machine2>"
    }
  ]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "machines": [
    {
     "configuredState": "STARTED",
     "realTimeState": "STARTED",
     "machineName": "SERVER1.DOMAIN.COM"
    },
    {
     "configuredState": "STOPPPED",
     "realTimeState": "STOPPPED",
     "machineName": "SERVER2.DOMAIN.COM"
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.