Notifications
Clear all

How can I configure InstanceConfig.xml for my instance with values not available in node.properties?

1 Posts
1 Users
0 Reactions
4,046 Views
0
Topic starter

How can I configure InstanceConfig.xml for my instance with values not available in node.properties?

For example, I want to configure the following in the Platform InstanceConfig section:


  com.onenetwork.arcm.bo.CustomDeliveryStrategy

1 Answer
0
Topic starter

To manually configure your InstanceConfig.xml, you can do the following:

  1. Make sure node.properties has setup.instanceConfig=false for all nodes except 1 in your cluster. (Doesn't matter which node you pick to be the 1 where you keep it as true)
  2. On the node where setup.instanceConfig=true, copy the InstanceConfig.xml and place it at /one/PLT/InstanceConfig.xml

You can now modify InstanceConfig.xml manually. Every time you run the installer, it will override the generated InstanceConfig.xml with this manually-created one, so server restart will pickup your preferred config.