Section sites
Description
List of sites.
The section contains a list of all sites of the current configuration and their parameters. Servers are not related to the parameters. Binding of servers to sites is performed in the section structure.
Partition parameters
Specification | Description |
---|---|
Key: |
String, may consist of Latin letters and numbers, must begin with a letter |
Key: |
Site Type.
|
Key: |
List of domains served on the site. Specified by names, not by fqdn. If any domain is listed on site A, and not listed on site B, with one of its parent domains listed on site B, then this domain and domains from its child tree are served only on site B. Thus each domain of the full domain tree is served on at least one of the sites - where it is explicitly specified, or explicitly specified its parent domain and so on up to the master domain. The master domain is automatically linked exclusively to the master site and does not need to be specified separately. |
Key: |
Site Description. Default: not set |
Key: |
List of domains that can be managed through a connection to the current site. |
Key: |
Numeric site number of three digits to apply in site element names |
Key: |
A three-character letter prefix for use in site element names |
Key: |
Site quorum accounting switch. Quorum - a group of actively linked and accessible servers on a site totaling more than half. The special case of even halves is solved using arbitration servers (parameter |
Key: |
Offline server state accounting switch (unavailability of arbitration servers). Offline state is a condition where the server has no access to arbitration servers ( |
Key: |
The address or domain name of the third-party server that acts as the odd arbitrator server in determining quorum among an even number of servers on the site. Arbitration servers are checked for availability:
|
Key: |
The name of another site in the system, the main site for the domain group that is assigned to serve the current site. |
Default logging level applied to nodes served by this site’s servers. Applies to those nodes that do not have a default logging level set server configuration settings. If no level is specified, the value of this parameter from global configuration settings is applied. Possible values:
|
|
Storage time in seconds for call statistical information. Applies to monitoring requests /api/monitor/v1/trace/calls. If no value is given, the value of this parameter from global configuration settings is applied. Possible values from 0 to 86400. 0 - no saving is performed. |
|
Time to store in seconds the statistical information about the mappings between Call-Id of phone calls of one session to calculate closures. It is used when building call diagrams. If no value is specified, the value of this parameter from global configuration settings is applied. Possible values from 0 to 86400. 0 - no saving is performed. |
Example of field value
{
...
"sites": [
{
"descr": "Main Domain",
"domains": [
"td2",
"td3",
"td4"
],
"name": "slave2",
"sitetype": "communication"
},
{
"ctrl_domains": [
"td3"
],
"descr": "Main Domain2",
"domains": [
"td_main",
"td2",
"td3",
"td_test",
"td5",
"td6"
],
"name": "central",
"sitetype": "master_communication"
}
],
...
}