Note:
Before starting configuration, a new module instance must be created. Click here for more information about creating Module instances.
Connection Setup
.png)
The Redundancy Agent module allows for unlimited redundant connections. As shown in the image above, new connections can be created by clicking on the burger menu icon. Each pair of redundant connections to the corresponding pair of Hosts/Devices is named Connection. Below are the settings needed to connect N3uron to both a primary and backup pair.
Each connection offers the following configuration options:
Setting | Description |
|---|---|
Enabled | Enables or disables communication to the redundant hosts. |
Network interface | Specifies the network interface to accept connections. Valid values are All interfaces (the server listens for connections on all network interfaces available in the host machine) and Localhost only (the server listens only for localhost connections). It is also possible to use a custom IP address corresponding to a specific network interface. |
Incoming connection - TCP port | TCP port to listen for incoming connections. Valid range: 1 to 65535. Important: make sure the port is not used by any other application in the same machine. |
Primary connection - Auto-reconnect | When enabled, the connection returns automatically to the primary server when it is back online after a disconnection. When disabled, the agent keeps the connection to the backup server and switches back to the primary only when the backup fails. |
Primary connection - Host | Specifies the IP address of the primary host. |
Primary connection - TCP port | Specifies the port to connect to for the primary host. Valid range: 1 to 65535. |
Backup connection - Host | Specifies the IP address of the backup host. |
Backup connection - TCP port | Specifies the port to connect to for the backup host. Valid range: 1 to 65535. |
Advanced - Connect timeout | Maximum time in seconds to wait for a TCP connection to be established before trying the next destination. Valid range: 1 to 300. Default: 20. |
Note:
The Connect timeout option is available from N3uron version 1.22.4. It adds a connection timeout mechanism that proactively detects and handles stale or unresponsive servers.
.png)