Machines

URL:
https://<root>/machines
Methods:
GET
Operations:
Status, Unregister Machine
Child Resources:
Machine
Required Capability:
Access allowed only with the default administrator role
Version Introduced:
10.4

Description

The machines resource lists all machines registered with the portal site. The response also returns the information for each machine, such as each machine's admin URL and its OS platform information. Each machine can have its status polled to check whether the machine is ready to accept requests.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample request URL used to access the machines resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/portaladmin/machines?f=pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
{
  "machines": [
    {
      "machineName": "<machine name>",
      "adminURL": "<admin URL>",
      "role": "<standby|primary>",
      "platform": "<OS platform information>"
    }
  ]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "machines": [
    {
      "machineName": "machine1.domain.com",
      "adminURL": "https://machine1.domain.com:7443/arcgis",
      "role": "standby",
      "platform": "Linux-amd64-5.4.17-2136.301.1.4.el8uek.x86_64"
    },
    {
      "machineName": "machine2.domain.com",
      "adminURL": "https://machine2.domain.com:7443/arcgis",
      "role": "primary",
      "platform": "Linux-amd64-5.4.17-2136.301.1.4.el8uek.x86_64"
    }
  ]
}

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