Section structure

Description

JSON-A structure that combines sites, servers, and roles into a single configuration.

Represents a list of sites, each contains a list of servers, each contains a list of roles. One server can belong to only one site, one role instance can belong to only one server.

[
  {
    "site": <SITE_NAME>,
    "servers": [
      {
        "server": <SERVER_NAME>,
        "roles": [
          <ROLE_NAME>,
          ...
        ]
      },
      ...
    ]
  },
  ...
]

Partition parameters

Table 1. Partition parameters
Specification Description

<SITE_NAME>
Mandatory: yes

Site name from the sites section, field name.

<SERVER_NAME>
Mandatory: yes

Server name from the servers section, field name.

<ROLE_NAME>
Mandatory: yes

Role instance name from roles section, field name.

Example of field value

{
  ...
  "structure": [
    {
      "servers": [
        {
          "roles": [
            "w2b2bua",
            "w2cdr2",
            "w2gate",
            "w2hunt2",
            "w2ic2",
            "w2ivr",
            "w2mg",
            "w2mgc",
            "w2rot1",
            "w2rot12",
            "w2rpci22",
            "w2rpco22",
            "w2statestore22",
            "w2usr1"
          ],
          "server": "worksrv2"
        },
        {
          "roles": [
            "wb2bua",
            "wgate",
            "whunt2",
            "wic2",
            "wivr",
            "wmg",
            "wmgc",
            "wmware1",
            "wrot1",
            "wrot12",
            "wrpci22",
            "wrpco22",
            "wsdc2",
            "wstatestore22",
            "wstore2",
            "wusr1",
            "wws1"
          ],
          "server": "worksrv1"
        }
      ],
      "site": "slave2"
    }
  ],
  ...
}