Section servers
Description
Server List.
The section contains a list of all servers of the current configuration and their parameters. Roles are not related to parameters. Binding of servers to sites and roles to servers is performed in the section structure.
Partition parameters
Specification | Description |
---|---|
Key: |
The site name specified when setting other configuration items. |
The alias of the interface on the server on which the servershell node is raised is the server’s central node. |
|
IPv4 network interfaces available on the server. [
|
|
Key: |
Server Description. |
Key: |
Port for erlang virtual machine nodes to communicate with each other. |
The range of ports to be used for role nodes. |
|
Path to the globalshare directory on the server. |
|
Path to the siteshare directory on the server. |
|
Path to the local directory on the server. |
|
Path to the :SYNC directory on the server (synchronized by the fsync role and the application syncthing). |
|
Enumeration of directories for storing call recordings on the current server. [
|
|
Default logging level applied to nodes served on this server. The current logging level of a specific node can be changed using the API and from the master domain administrator application. Such changes are reset when the corresponding node is restarted. If no level is specified, the value of this parameter from configuration settings of the current site 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 specified, the value of this parameter from configuration settings of the current site 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 the configuration settings of the current site is applied. Possible values from 0 to 86400. 0 - no saving is performed. |
Example of field value
{
...
"servers": [
{
"descr": "Central server1. Srv2",
"erlangtcp": 4369,
"ifaces": [
{
"key": "eth0",
"value": "192.168.0.124"
}
],
"logiface": "eth0",
"name": "worksrv1",
"recstorepaths": [
{
"key": "main5",
"value": "alias://paths/h"
},
{
"key": "main4",
"value": "alias://paths/g"
}
]
},
{
"descr": "admin srv 101 ipshnik. Srv2",
"erlangtcp": 4369,
"ifaces": [
{
"key": "eth0",
"value": "192.168.0.123"
}
],
"logiface": "eth0",
"name": "lwm123",
"recstorepaths": [
{
"key": "main4",
"value": "alias://paths/f"
}
],
"sitesharepath": "alias://paths/e"
},
{
"descr": "admin srv 101 ipshnik. Srv22222",
"erlangtcp": 4369,
"ifaces": [
{
"key": "eth0",
"value": "192.168.0.127"
}
],
"logiface": "eth0",
"name": "lwm101",
"recstorepaths": [
{
"key": "main4",
"value": "alias://paths/f"
}
],
"sitesharepath": "alias://paths/e"
}
],
...
}