GMEX Gateway Documentation
- GMEX Gateway And The Exchange
- Installing And Upgrading
- Configuring Global Settings
- Configuring Market Data
- Configuring Order Management
- Disaster Recovery
Price Server Failover
You can setup a secondary Price Server to continue to receive price updates in the event the Price Server becomes inactive. When properly configured, Price Server failover occurs seamlessly.
You can set up a second machine to function as a backup Price Server. You can run the GMEX Gateway installation on the machine that you want to host your secondary Price Server. You must ensure that both machines use the same exchange-flavor and share the same multicast. In addition, you should configure the [PriceServer] sections in the hostinfo.cfg file on both machines with the same connection values however, each TT Gateway must use a different Price Server Id (i.e., ExchangeSessionId in the hostinfo.cfg file).
Next, set up ttchron.ini on the secondary TT Gateway so only the Price Server component runs. Comment out the Order Server and Fill Server sections in ttchron.ini on the secondary TT Gateway.
Once properly configured, prices continue to update even if the primary Price Server goes down.
Price Server Functionality Failover
In a Price Server failover pair, only one runs as an active Price Server component at any given time. The other Price Server remains in Standby mode and displays as half-green and half-yellow in Guardian. Although idle, this Price Server is connected to the exchange and ready to request product information.
When the primary Price Server fails and turns red in Guardian, the idle Price Server automatically becomes active and begins requesting products and prices to which traders subscribe. It can take several minutes before the Price Server displays green in Guardian however, the GMEX Gateway continues to seamlessly receive and broadcast price updates.