We are using "RFA_ConfigGuide.pdf" to setup failover support such that we receive data without any interruptions in case of server failure. "serverList" property is the one which we are using mainly to achieve failover support. However failover is working when the service is stopped on the server, but not when entire server goes offline (say in case of power failure in the building)
Below is the configuration that we are currently using.
\Connections\Connection_RSSL\connectionType = "RSSL"
\Connections\Connection_RSSL\rsslPort = "14002"
\Connections\Connection_RSSL\ServerList = "server1,server2,server3,server4"
\Connections\Connection_RSSL\serverSelectionOrder = False
\Connections\Connection_RSSL\connectionWaitTimeout = 30000
\Connections\Connection_RSSL\connectRetryInterval = 15000
\Connections\Connection_RSSL\failoverConnectionRetryInterval = 15000
\Connections\Connection_RSSL\maxRetryCount = -1
Could you please let us know why this configuration is not working when the server is shut down completely?
Also could you please let us know the difference between RSSL and SSLED connection types
The API uses TCP/IP protocol to establish a connection to a server. It will failover to another server if it is unable to establish a connection to the current server.
Moreover, the API has a ping mechanism to detect if the server is still active or alive. It will cut the connection if it misses three ping messages and then reconnects to the server.
First, you need to check the version of the RFA that you are using. If it is an old version, you can upgrade to the latest version.
Please also refer to the API Compatibility Matrix for supported platforms.
You may enable the RFA log to verify what the application was doing when the server was down.
If you have an RDC contact, you can contact the API support team directly via Contact Premium Support to investigate this issue.
The SSLED connection type is a legacy protocol to retrieve real-time data in the Marketfeed format. The default TCP port of the SSLED connection is 8101. It is available in RFA 7.x.
The RSSL connection type is a new protocol to retrieve real-time data in the Open Message Model (OMM) format. The default TCP port of the RSSL connection is 14002. It is available in RFA 7.x and RFA 8.x.