When you assemble your application, the application assembler includes all of the ATG servers you have configured. This means that you can build your application once, deploy it on each WebSphere application server, and enable the appropriate ATG server on each WebSphere instance simply by changing the value of the atg.dynamo.server.name
system property when you start up WebSphere.
Do the following for each server.
In the WebSphere Administration console, go to Server > Application Servers.
Click the link for the server you want to configure.
On the right hand side, go to Server Infrastructure > Java and process management > Process Definition > Additional Properties > Java Virtual Machine.
Enter an initial and maximum heap size; the recommended value is at least 512/512.
Return to the Java Virtual Machine page.
Go to Custom Properties > New.
Create a new system property named
atg.dynamo.server.name
. The value should be the ATG server instance you want to associate with this WebSphere server.If applicable, return to the Java Virtual Machine page to enable server mode. In the Generic JVM Arguments field, enter
–server
.Save all changes to the master repository; make sure sync node is enabled.