Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. download latest package from https://clientspace.b2bits.com/product-42 (fixedge-java-1.9.1-1.el7.x86_64.rpm or fixedge-java_1.9.1_amd64.deb)
  2. install rpm package fixedge-java-1.109.2.9901-1.el7.x86_64.rpm on Centos

    Code Block
    languagebash
    rpm -i fixedge-java-1.9.1-1.el7.x86_64.rpm

    or install deb package on Ubuntu

    Code Block
    languagebash
    sudo dpkg -i fixedge-java_1.9.1_amd64.deb
  3. copy your fixaj2-license.bin file into your /etc/fixedge-java directory
  4. in /etc/fixedge-java/fixedge.properties replace the line

    Code Block
    languagebash
    #rest.service.name=REST-AdminAPI

    with 

    Code Block
    languagebash
    rest.service.name=REST-AdminAPI

    and replace the line

    Code Block
    languagebash
    metrics.enable=false

    with 

    Code Block
    languagebash
    metrics.enable=true


    then replace Discovery Service Configuration section with the following one:

    Code Block
    languagecss
    ###################################################################
    #################  DISCOVERY SERVICE CONFIGURATION  ###############
    ###################################################################
    # Name of server, if it is not empty, server will be registered in Discovery by this name. Otherwise, it will not be registered.
    server.name=ServerA
    # Name of protocol, used for server registration in Service Discovery
    protocol.name=FIX
    
    service.discovery.enabled=true
    
    # Health check interval (Service Discovery)
    service.discovery.healthcheck.interval=10
    
    # Service Discovery attempt period, milliseconds
    service.discovery.attempt.period=10000
    
    # To use original sessionConfigManager and scheduleConfigManager beans set 'false' or comment it
    # To use fixxicch2 session and schedule config managers set 'true'
    server.useFixicch2ConfigManager=true
    server.useFixicch2RoutingConfigManager=true
    
    fixicch2.enable=true
    
    # Fixicch2 service name in Service Discovery
    fixicch2.service=FIXICC-H2-Secure
    
    # Fixicch2 URL prefix if Service Discovery is used to define IP and port
    fixicch2.url.prefix=https
    
    # Timeout for attempts to connect to Service Discovery, mc
    fixicch2.service.discovery.connection.timeout=60000
    
    # Max time to wait Service Discovery Fixicc H2 health status update, min
    fixicch2.service.discovery.status.update.timeout=10
    
    # Pause to reconnect to FIXICC H2 URL in case of errors, mc
    fixicch2.reconnect.pause=2000
    
    fixicch2.reconnect.attempt=3
    
    consul.host = 127.0.0.1
    consul.port = 8501
    server.checkHost = 127.0.0.1
    
    # True if insecure connection through https to FIXICC H2 is enabled.
    fixicch2.insecure.connection.enabled=false
    
    # FIXICC H2 client keystore properties
    fixicch2.keystore.path=/etc/fixedge-java/ssl/fixicch2/keystore.jks
    fixicch2.keystore.password=fixicch2
    
    service.discovery.encrypted.connection=true
    service.discovery.insecure.connection.enabled=true
    
    fixicch2.cache.path=/var/log/fixedge-java/cache
  5. copy fixicc-h2 keystore

    Code Block
    languagebash
    cp /etc/fixicc-h2/keystore.jks /etc/fixedge-java/ssl/fixicch2/keystore.jks 
    chown fixedge-java:fixedge-java /etc/fixedge-java/ssl/fixicch2/keystore.jks
  6. enable and start fej server:

    Code Block
    languagebash
    systemctl enable --now fixedge-java
    systemctl start fixedge-java
  7. after startup fej server should appear in fixicc-h2 UI

...