Legacy platform

Defining new agent parameters and overriding default JVM parameters for agent and Integration servers

You can define new parameters and also override default JVM parameters (including heap and stack parameters) for agent and integration servers to tune them for your performance requirements. You can specify different amount of heap memory to different agent and integration servers based on your performance requirements by overriding the default JVM parameters.

While starting the agent, you can provide the JVM parameters ( including heap and stack parameters) to agent and integration server JVM instance.

Before you begin

Ensure that you complete the following tasks:
  • Added agent and integration server names and trigger nodes.

Procedure

  1. Accessing the IBM UrbanCode Deploy Selfserv tool dashboard.
  2. From the Dashboard tab, click the main Resources tab.
  3. Click the Resource Tree tab and find your IBM Sterling Order Management System application.
  4. Expand the collapsible sections within the resource tree for your application and the environments within the application.
  5. To override the default JVM parameters:
    1. From the list of environment resources, expand the collapsible sections to find where the agent component (OMS-AGENT) or the integration component (OMS-INTG) is mapped to a resource for the environment.
    2. Click the image OMS-AGENT tag for overriding JVM parameters for an agent server and Click the image OMS-INTG tag for overriding JVM parameters for an integration server. The resource page for the selected component opens.
    3. Click the Configuration tab. Then, click the Resource Properties tab.
    4. Click Add Property.
    5. Enter ${AGENT_SERVER_NAME}.jvmParams or ${INTEG_SERVER_NAME}.jvmParams for the Name field. For example, if you want to override the JVM parameters for the CreateOrder agent then enter CreateOrder.jvmParams for the Name field.
    6. Enter the JVM parameter value for the Value field. For example, if you want to override the minimum or maximum heap size JVM parameter for the CreateOrder agent, then enter -Xms1024m -Xmx1024m for the Value field.
    7. Click Save.
  6. To add the any new parameters for an agent server:
    1. From the list of environment resources, expand the collapsible sections to find where the agent component (OMS-AGENT) is mapped to a resource for the environment.
    2. Click the image OMS-AGENT tag for the agent. The resource page for the agent component opens.
    3. Click the Configuration tab. Then, click the Resource Properties tab.
    4. Click Add Property.
    5. Enter ${AGENT_SERVER_NAME}.agentParams for the Name field. For example, if you want to add new parameters for the PurgeOrder agent then enter PurgeOrder.agentParams for the Name field.
    6. Enter the new parameter value for the Value field. For example, if you want to provide value for the new parameter for the PurgeOrder agent then enter -jvminstance PurgeJVMInstance -jvmid PurgeJVM for the Value field.
    7. Click Save.