Try TT Now

NYSE Liffe Gateway

Verifying Order Server Connectivity

Overview

TT provides a TT CCG Tester Tool to verify Order Server connectivity to the exchange. You can use the tool to verify the configuration settings present in the hostinfo.cfg file and to test each CCG connection.

Warning

The tester tools are version dependent. Therefore, you must ensure that the tool you use matches the TT Gateway Version.

Preparing to test the CCG Connections

To receive a copy of the TT CCG Tester Tool, log into the TT Customer Portal and download the http://customernet.tradingtechnologies.com/Extranet/Downloads/Files/NYSE_LIFFE_OrderAndConfig_Testing_Tools.zipNYSE LIFFE Order and Config Testing Tools�.zip file.

Note

You may need to enter your TT Customer Portal password to access the tool. The tool is listed under the Miscellaneous section on the Downloads page.

In addition to the tt_ccg_tester.exe file, you should receive the following files that accompany the tool in the .zip file:

  • msvcp100.dll
  • msvcr100.dll
  • tt_ace_vc100_5.4.dll
  • ttm_api_4.2.dll

You can use the tool on any machine that runs Guardian. This allows you to test the settings of a hostinfo.cfg file independent of the TT Gateway.

To prepare for the test, take notice of the location of the configured hostinfo.cfg file you wish to test. You may either copy this file to the same folder as the tt_ccg_tester.exe file or use the file's location for the test.

Testing the CCG Connections

To begin the test, you must open a command window. In the command window, navigate to the location of the tt_ccg_tester.exe file. You may use the following commands to execute the test:

TT CCG Tester parameters

Parameter

Description

tt_ccg_tester.exe nosvc l2c -hostinfo <filepath>

Sets the test to attempt to connect to each CCG connection and verify the configuration settings present in the hostinfo.cfg file listed as the <filepath> parameter. You must include the nosvc command to not run as a service and the l2c to log to the command window.

For example, to test the NYSE_LIFFE-chostinfo.cfg file located in the c:ttconfig directory, enter the following command:

tt_ccg_tester.exe nosvc l2c -hostinfo c:ttconfigNYSE_LIFFE-chostinfo.cfg

tt_ccg_tester.exe nosvc l2c -hostinfo <filepath> -config

Sets the test to only verify the configuration settings present in the hostinfo.cfg file listed as the <filepath> parameter. When you add the -config argument, the tool will not attempt to complete the connection to the CCG.

tt_ccg_tester.exe nosvc l2c -help

Sets the tool to provide a list of available commands.

Note

These commands must include the nosvc command to not run as a service and the l2c to log to the command window.

When the test executes, all output appears in the command window. In addition, the tool automatically creates a logfile in the ttlogfiles directory with the name tt_ccg_tester_Date.log where:

Date equals the four-digit year, two-digit month, and two-digit day based on the local TT Gateway server machine's date settings.

Interpreting the Results

Similar to an Order Server, the tool prints a copy of global aconfig.xml and hostinfo.cfg parameters and values. Near the end of the results, the tool produces a number of messages which either show that a test was successful or that the tool encoutered a number of errors.

Note

The tool writes a message similar to the following if it fails to find the hostinfo.cfg file:

25.01.2011 15:16:19.390 | TTGLOBALOrderServer/SIM | 6752 | ERROR | 00000000 | Please provide hostinfo file for TT_CCG_TESTER to validate.

A successful test produces the following message:

*** TT_CCG_TESTER_SUCCESSFUL!!! ***

If the hostinfo.cfg file is not properly configured, the tool returns a list of errors that have occured. Errors may arise due to the following:

  • Each Order Session must contain a unique pairing of SenderCompId (ITM) and Environment. If two Order Sessions contain the same ITM and Environment pairing, a message similar to the following appears in the log file:

    3808 | ERROR | 10087336 | OrderServerSession_FIN already has a route rule defined for 16E on environment FIN

  • If two Order Sessions are configured with the same combination of SenderCompId (ITM), Member, Environment and Exchange, a message similar to the following appears in the log file:

    324 | ERROR | 10087339 | OrderServerSession_FIN2 already has a route rule defined for ABC on environment FIN to exch A

  • If a SenderCompId (ITM) is misconfigured or if the same SenderCompId (ITM) is logged into the exchange via a different IP address, a message similar to the following appears in the log file:

    324 | WARNING | 10087344 | session LIFFE-FIN-4HA-FRM (“1”/0) logon rejected Ex: CompID problem (CompIDProblem)