The configuration of the main/backup functionality is done in the Main/Backup configuration file.Location:
Info |
---|
File location<WorkspaceDirectory>\ConfigFiles\ |
...
nxaXLink.40.cfg |
...
Within this configuration, all main/backup settings are specified. Each parameter is identified with a name. The name is case-insensitive (i.e. capitalization is not considered). The scope indicates the allowed values of the parameter. The default value specifies the values that is used when no value is set by the user.
...
Parameter
...
XLINK.Redundancy
...
Description
...
The IP address (e.g. 192.168.1.100) of the network interface of the main server.
...
Scope
...
ON, OFF
...
Unit
...
None
...
Default value
...
OFF
...
Parameter
...
XLINK.MainServerIPAddress
...
Description
...
The IP address (e.g. 192.168.1.100) of the network interface of the main server.
...
Scope
...
IP Address
...
Unit
...
None
...
Default value
...
None
...
Parameter
...
XLINK.BackupServerIPAddress
...
Description
...
The IP address (e.g. 192.168.1.100) of the network interface of the backup server.
...
Scope
...
IP Address
...
Unit
...
None
...
Default value
...
None
...
Parameter
...
XLINK.MainServerPort
...
Description
...
The TCP port used for TLS connection to the main server.
...
Scope
...
TCP Port
...
Unit
...
None
...
Default value
...
14732
...
Parameter
...
XLINK.BackupServerPort
...
Description
...
The TCP port used for TLS connection to the backup server.
...
Scope
...
TCP Port
...
Unit
...
None
...
Default value
...
14732
...
Parameter
...
XLINK.Password
...
Description
...
TLS connection password for second server.
...
Scope
...
String
...
Unit
...
None
...
Default value
...
None
...
Parameter
...
XLINK.PIN
...
Description
In Core Studio, the configuration can be accessed via Menu → Modules → Core → Main/Backup configuration …
Parameter | Description | Scope | Unit | Default value |
---|---|---|---|---|
XLINK.Redundancy | If ON, the main/backup functionality will be activated. | ON, OFF | None | OFF |
XLINK.MainServerIPAddress | The IP address of the main server's network interface. | IP address | None | None |
XLINK.BackupServerIPAddress | The IP address of the backup server's network interface. | IP address | None | None |
XLINK.MainServerPort | TCP port for secure connection to main server | 1 – 65535 | None | 14732 |
XLINK.Password | TLS connection password for second server | String | None | None |
XLINK.PIN | TLS connection PIN of this server. |
String |
None |
None |
XLINK.ConnectionTimeout |
Specifies the timeout for a detecting a lost connection to the second server. If the second server does not response within the given time interval, it will assume that the second server is down. |
Scope
1 - 600
Unit
seconds
Default value
1 – 600 | s | 10 | ||
XLINK.CommandTimeout | Specifies the timeout in seconds of VNET commands between main and backup server. | 1 – 10000 | s | 30 |
Article applies to the following products:
NETx BMS Platform
NETx Multi Protocol Server
...