Configuring the Trading Environment
Configuring the NIC Setup
TT recommends using a dual-NIC (network interface card) setup for all MEFF Gateways. This includes:
- One NIC facing the customer’s local network
- One NIC facing the customer’s HF MEFFGate Server
Configuring Price Server Failover
You can set up a second machine to function as a backup Price Server. You can run the MEFF 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.
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 MEFF Gateway continues to seamlessly receive and broadcast price updates.
Configuring Order Server Failover
MEFF Gateways do not support Order Server failover. If the TT Gateway experiences an Order Server disconnect, all working orders are canceled at the exchange. Once the Order Server reconnects, the MEFF Gateway resynchronizes the order book with data from the exchange.