The term JBoss uses for deployment to a cluster is farming; the <JBdir>/server/
server_name
/farm
directory is used to deploy your ATG application.
To deploy your application:
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 ATG Server Instances in the Configuring Nucleus Components chapter.