Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

FIXEdge Java packages are cluster ready. Minimal changes are required.

Please refer to the Quick Start Guide for installation instructions and setup several nodes on different boxes. After installation, update the configuration

  1. Define a unique node name for each instance (conf/cluster.xml):

    <instance-name>fej1</instance-name>
  2. Enable the Hazelcast Cluster Quorum mechanism and define the minimum number of machines required in a cluster for the cluster to remain in an operational state (conf/cluster.xml): 

        <quorum enabled="true" name="fixedgeJQuorum">
            <quorum-size>1</quorum-size>
        </quorum>
    

    Please note that the minimum value for quorum-size is 2.

  3. Update the profile parameter to fej-ha in wrapper configuration (conf/wrapper.conf) to enable the HA functionality:

    # Java Additional Parameters
    wrapper.java.additional.1a = -Dspring.profiles.active=fej-ha
    
  4. Define parameters for FIX session replication in session configuration (for example, in conf/session/samples/s_fixDefault.propertiesto enable for all FIX session samples)
    # use the Persistence API for storing the FIX session state
    storageFactory=com.epam.fixengine.storage.persistence.PersistenceEnableFactory
    # use the Persistence API implementation with replication between nodes
    storage.persistenceFactoryBuilder=com.epam.fixengine.storage.persistence.ReplicatedPersistenceFactoryBuilder
    # replication timeout in milliseconds. A zero value for this option will enable asynchronous replication for the FIX session.
    replicationTimeout=0
    
  • No labels