Configuring Core Engines

You must run the multiple Core Engine instances as Active to achieve load balancing. Out of the box, API Exchange Gateway provides the configuration parameters for load balancing, which are set in the ASG_HOME/bin/asg_core.cdd file. You can run multiple instances of the Core Engine using the configuration parameters set in the ASG_HOME/bin/asg_core.cdd file. By default, you can run unlimited number of instances.

Note: For the Core Engine Active Active instances, Max Active and Priority parameters are not applicable.

Example Settings for Core Engine Instance

Just as a reference, this section shows the sample settings for the Core Engines in the ASG_HOME/bin/asg_core.cdd (XML file). By default, no changes are required to run multiple instances of the Core Engine.

<inference-agent-class id="core-class">
    <load>
       <max-active/>
    </load>