Overview

This article is intended to help customers who use ICE Trade Capture connection to upgrade their FIXEdge based solution to the latest version. The article provides upgrade instruction for the following scenarios:

Please note, if you have multiple connections (not only ICE Trade Capture) on the same FIXEdge instance, contact SupportFIXAntenna@epam.com to get full upgrade instruction.

Pure installation of the new version of ICE Trade Capture solution

This section shows how to setup new version of ICE Trade Capture solution. It is assumed that:

Preparation

  1. Make sure you have sufficient administration permissions for further uninstall/install procedures;
  2. Download new ICE Trade Capture solution package for the corresponding OS version from the Client Space;
  3. Keep your current installation for back-up purposes;
  4. Make a copy of your current Database scheme;
  5. Make a copy of your current license (engine.license).
    If your license has expired or was lost, contact sales@btobits.com to obtain the new one;

Upgrade Process

  1. Unpack new version of ICE Trade Capture solution to the separate folder;
  2. Take the details from you current installation and adjust the configuration following the step 3 from ICE Trade Capture FAQ # How to deploy the package and make it work;
  3. In case several ICE Handler components should be used to connect to multiple ICE Trade Capture feeds:
    1. Create copies of the ICE Handler from the new package (libICEHandler-gcc44-MD-x64.so in Linux package and ICEHandler-vc10-MD-x64.dll in Windows package), give them names according to your specifics and put to the /bin folder;
    2. Adjust configuration accordingly;
  4. Copy your FIXEdge license into the license file path;
  5. Stop your current FIXEdge instance;
  6. Stop your current FIXICC-agent instance;
  7. Uninstall your current FIXEdge and FIXICC Agent instances (means deregister these services from the system):
    1. For Windows: run FIXEdge1.uninstall.cmd from /bin directory and uninstallService.FIXEdge1.bat from fixicc-agent\bat directory
    2. For Linux: run uninstallDaemon.sh from fixicc-agent\bat directory
  8. Remove all the files except servers.xml from FIXICC's working dir .fixicc/dev normally placed in C:\Users\%USER%\AppData\Roaming directory;
  9. Upgrade the Database scheme with the new one provided in the package in DB_script directory;
  10. Execute 'MSSQL_ICETrdCapt.sql', 'MSSQL_ICESecDef.sql', and 'MSSQL_ICEStrategies.sql' scripts against the database to create or upgrade stored procedures (adjust change the database name if necessary
  11. Install new FIXEdge and FIXICC Agent instances (means register these services in the system):
    1. For Windows: run FIXEdge1.install.cmd from /bin directory and installService.FIXEdge1.bat from fixicc-agent\bat directory
    2. For Linux: run installDaemon.sh from fixicc-agent\bat directory
  12. Start the new FIXICC-agent instance;
  13. Start FIXEdge via FIX Integrated Control Center (FIXICC)

In order to ensure that upgraded ICE Trade Capture solution was successfully setup, please check the FixEdge.log file:

  • Find the following record with the target FIXEdge version:

    2016-09-20 10:46:19,459 UTC   INFO    [CC_Layer]  5552  FIXEdge Version X.Y.Z (rxyz) started
  • Make sure there are no [ERROR] records in the log file.

How to revert upgrade procedure

If you need to revert changes in order to use your original ICE Trade Capture version (that was used before the upgrade), you need to do the following steps:

  1. Stop the FIXEdge instance;
  2. Stop the FIXICC-agent instance;
  3. Uninstall the FIXEdge and FIXICC Agent instances (means deregister them from the system);
  4. Remove all the files except servers.xml from FIXICC's working dir .fixicc/dev normally placed in C:\Users\%USER%\AppData\Roaming directory;
  5. Restore the Database scheme used previously
  6. Install the FIXEdge instance of the previously used ICE Trade Capture package;
  7. Install the FIXICC-agent instance of the previously used ICE Trade Capture package;
  8. Start the FIXICC-agent process of the previously used ICE Trade Capture package;
  9. Start the FIXEdge process of the previously used ICE Trade Capture package.

Upgrade of the existing ICE Trade Capture setup

This section shows how to upgrade existing version of ICE Trade Capture solution. It is assumed that after the upgrade:

Upgrade Preparation

  1. Make sure you have sufficient administration permissions for further uninstall/install procedures.
  2. Download new ICE Trade Capture solution package for the corresponding OS version from the Client Space;
  3. Stop the FIXEdge instance;
  4. Stop the FIXICC-agent instance;
  5. Remove all the files except servers.xml from FIXICC's working dir .fixicc/dev normally placed in C:\Users\%USER%\AppData\Roaming directory;
  6. Make a backup copy of your current installation (configuration and binaries);
  7. Make a backup copy of your current license (engine.license).
    If your license has expired or was lost, contact sales@btobits.com to obtain the new one;

Upgrade Process

  1. Upgrade FIXEdge:
    1. For Windows version:
      Replace* all the files in <bin> directory with new binaries from the package;
    2. For Linux version:
      Replace* files in  <bin> directory with new binaries from the package - all except *.sh files;

      In case you have several ICE Handlers in <bin> directory, update all of them. To do that you need to create copies of the ICE Handler from the new package, give them names according to your specifics and replace your current binaries with new ones.
  2. Upgrade FIXICC:
    1. Replace* the whole <fixicc-agent> directory with new one from the package;
    2. Replace* the whole <fixicc> directory with new one from the package;

    "Replace" in this context means that files should be deleted from the current FIXEdge directory and new files from the package should be added there. This clarification is made in order to avoid the situation when two (or more) same libraries with different versions appear in the directory as it may cause issues.

  3. Replace <jre> directory with new one from the package;
  4. Update all the files in the FIXEdge /conf directory with files from the new package except the following ones which should be preserved from your current installation:
    1. FIXEdge.properties
    2. ICEProperties.properties
    3. BL_Config.xml
  5. Update database stored procedures, using 'MSSQL_ICETrdCapt.sql', 'MSSQL_ICESecDef.sql', and 'MSSQL_ICEStrategies.sql' scripts (adjust change the database name if necessary
  6. Start the FIXICC-agent instance;
  7. Start the FIXEdge via FIX Integrated Control Center (FIXICC)

In order to ensure that upgraded ICE Trade Capture solution was successfully setup, please check the FixEdge.log file:

  • Find the following record with the target FIXEdge version:

    2016-09-20 10:46:19,459 UTC   INFO    [CC_Layer]  5552  FIXEdge Version X.Y.Z (rxyz) started
  • Make sure there are no [ERROR] records in the log file.

How to revert upgrade procedure

In order to revert the upgrade, you should take your made backup copy and go through all the steps described above. 

In other words, the procedure is absolutely the same, the only difference is that your backup copy is the target solution version in this case.

Upgrade of the existing configuration files to FIXEdge 6.7.1

We recommend upgrading to a new version of ICE TC Solution

This section contains a list of changes that need to be made to update the ICE Trade Capture Solution configuration. The upgrade process is similar to the process described in this section Upgrade of the existing ICE Trade Capture setup. But, no migration of existing data from the current database to the new upgraded database takes place (means new clean Database from the package to be setup).

ICE Trade Capture configuration update (instead of Upgrade of the existing ICE Trade Capture setup, step 4)

Update all the files in the FIXEdge /conf directory with files from the new package except the following ones which should be preserved from your current installation:

  1. engine.properties
  2. FIXEdge.properties
  3. ICEProperties.properties
  4. BL_Config.xml

Adjust ICE Trade Capture configuration (typically located here ‘C:/B2BITS/FIXEdge/FIXEdge1/conf/’). Make a backup copy of your current configuration before. 

See AdditionalParsersList also


See Configuring FIX Sessions also


Parameter values SecurityDefinitionSubscriptions and UDSSubscriptions must be unique. Names of subscriptions should not be the same for receiving Security Definition response (35=d) and Defined Strategies (35=UDS) messages.

See Defined Strategies Subscriptions also


Database Schema update