<< Click to Display Table of Contents >> Navigation: Technical Documentation > MosGateway > Workflow > NCS Double server configuration > Connection and reconnection to servers |
NCS double server configuration workflow:
By default, NMG connects to the primary server.
If the server does not reply, NMG tries to reconnect 3 times.
•After 3 tries, NMG tries to connect on the secondary server (3 times)
•After 3 tries on the secondary server, NMG tries to connect back to the primary server.
•If NMG is connected on the secondary server, on each message reception, it will try to connect back to the primary server.
•If the primary server is live, NMG will rollback on the primary sever.
Remarks:
•The connexions try interval is set in variable « socketSafetyConnectionPeriodInSeconds » of the XML configuration file of the NMG. Default value is set at 10 seconds, that means that rollback from primary to secondary takes at least 30 seconds.
•If NMG is connected on the backup server and no message is sent, reconnection to the primary sevrver will be try at each heartbeat.