The term JBoss uses to deploy to a cluster is farming; the <JBdir>/server/
server_name
/farm
directory is used to deploy your ATG application.
To deploy your application:
Copy your application EAR files to the main directory of one server in each partition.
When the JBoss instances are running, the EAR files will be copied to their respective
/farm
directories, and “farmed out” to the other servers in the partition.Open up a session for each server and go to
<JBdir>
.Note: It is important to invoke the
run
command from the<JBdir>
directory.Start up each server. The run command ties the JBoss instance to a particular ATG server:
bin\run or bin/run.sh -c
server_name
-Datg.dynamo.server.name=ATG_server
When the JBoss servers are running, copy the datasource file into the
/farm
directory of one server in each partition. JBoss deploys it to all servers in the partition.Copy the application EAR file into the
/farm
directory of one server in each partition. JBoss deploys it and starts the application in each server in the partition.
See the JBoss documentation for information about creating JBoss servers and clusters. For information about creating ATG server configurations, see Creating Additional Dynamo Server Instances in the Configuring Nucleus Components chapter.