Load balancing multiple instances connected to one database

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Load balancing multiple instances connected to one database

skhan
I have the instances load balanced (5 servers). I have modified the entityengine.xml in each instance to point to the same database server.

I have modified the "unique.instanceId" in framework/common/config/general.properties for each of the ofbiz instances so that they all have their own ids (ofbiz1-5)

Also modified the catalina/ofbiz-component.xml so that each instance has a unique jvm-route property value (jvm1-5).

I just wanted to check if there are any other settings that I need to modify in order to make sure they are not going to conflict with each other when storing data into the database (ie, no duplicate entry errors or data overwriting another because more then 1 ofbiz instance decided to use the same primary key).

Thanks.