25.12.2012 Views

TT CME Gateway System Administration Manual - Trading ...

TT CME Gateway System Administration Manual - Trading ...

TT CME Gateway System Administration Manual - Trading ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6<br />

Single <strong>Gateway</strong> Failure<br />

<strong>CME</strong> <strong>Gateway</strong> <strong>System</strong> <strong>Administration</strong> <strong>Manual</strong> 111<br />

<strong>Trading</strong> Technologies International, Inc.<br />

Disaster Recovery<br />

<strong>Gateway</strong> Behavior When a single <strong>CME</strong> <strong>Gateway</strong> fails during trading hours, updated Order Book<br />

information is not available until the <strong>CME</strong> <strong>Gateway</strong> reconnects to the exchange,<br />

and traders cannot submit orders via the <strong>CME</strong> <strong>Gateway</strong>. All orders currently in the<br />

market remain as working orders. If traders want to cancel their orders, they<br />

must call the exchange. Clients (e.g., X_TRADER® workstations) can remain<br />

connected to the <strong>CME</strong> <strong>Gateway</strong> while the gateway reconnects to the exchange.<br />

<strong>Gateway</strong> Recovery: Fills After the <strong>CME</strong> <strong>Gateway</strong> begins accepting fills again, X_TRADER® refreshes the Fill<br />

window by downloading the fill information stored in the *.bof file (located in<br />

:\tt\datfiles). Additionally, while the <strong>CME</strong> <strong>Gateway</strong> is down, <strong>CME</strong><br />

Group queues any fills that occur. When the gateway reconnects, <strong>CME</strong> Group<br />

sends these fills.<br />

<strong>Gateway</strong> Recovery:<br />

Prices<br />

<strong>Gateway</strong> Recovery:<br />

Order Routers<br />

<strong>Gateway</strong> Recovery:<br />

Orders<br />

After it is restarted after a failure, the Price Server goes through the normal price<br />

feed connection process as described in the section called Price Server Data<br />

Flow on page 48.<br />

Order Routers exist on the <strong>CME</strong> <strong>Gateway</strong> as threads in the Order Server. Thus, if<br />

an Order Router loses its connection, the Order Server restarts it.<br />

When an Order Router thread loses its connection to <strong>CME</strong> Group, it begins the<br />

recovery process detailed below. If at anytime the Order Router regains its<br />

connection, it begins communicating with the exchange as normal and the<br />

recovery process stops:<br />

• The Order Router attempts to reconnect to the IP address and port set in<br />

the PrimaryIP and PrimaryPort parameters<br />

• The Order Router continues to reconnect using the primary IP address.<br />

While Order Routers cycle, they appear in Guardian in a “feed down” state.<br />

When it reconnects to the exchange, the <strong>CME</strong> <strong>Gateway</strong> automatically requests all<br />

Order Book information from the exchange host. Because the exchange host<br />

queues all messages that occur while the <strong>CME</strong> <strong>Gateway</strong> is disconnected, no order<br />

or fill information is lost.<br />

When the Order Server starts, it determines the current Order Book from the<br />

*_mode_orders.tbl file, which contains a record of active orders (i.e., working<br />

or partially filled orders). Because the Order Server records all order activity to<br />

the *_mode_orders.tbl file, the size of this file depends upon the volume of<br />

trading activity prior to the failure (i.e., the more the trading activity, the larger<br />

the file).<br />

Warning: Because the *_mode_orders.tbl file contains a record of all orders, do<br />

not delete it! Doing so destroys the <strong>CME</strong> <strong>Gateway</strong>’s record regarding order book<br />

information. While orders remain active in the market, traders cannot access them<br />

through the <strong>CME</strong> <strong>Gateway</strong> to change or delete them.<br />

On the <strong>CME</strong> <strong>Gateway</strong>, if the Order Server is unable to start up after recovering<br />

from the failure (i.e., if it continually restarts), use the -r command line<br />

parameter to start the Order Server.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!