Suppose you want to set up a site consisting of an Administration Server, three servers that serve pages, one server that runs the ATG lock manager, and one server that runs the process editor server. Here’s an example of how you might do this:
Start up WebLogic Server using the
startWebLogic
script. This starts up the WebLogic Administration Server (default namemyserver
, default port 7001).In the WebLogic Console, create servers named
pageServer1
,pageServer2
, andpageServer3
. Assign each server port number 7700. Assign a unique IP address to each server (i.e., an IP address used by no other server in the domain).Create a cluster named
pageCluster
. PutpageServer1
,pageServer2
, andpageServer3
into this cluster.Create servers named
procedit
andlockmgr
. Assign each server the port number 7800. Assign each server a unique IP address.Create a cluster named
serviceCluster
. Putprocedit
andlockmgr
into this cluster.Assign the two clusters different multicast addresses.
Using either the Dynamo Administration UI or the
makeDynamoServer
script, create ATG servers namedpageServer1
,pageServer2
,pageServer3
,procedit
, andlockmgr
. (You do not need to give the ATG servers the same names as the WebLogic servers, but it is a good idea do so.)Configure the ATG
lockmgr
server to run the ATGServerLockManager
. (See Enabling the Repository Cache Lock Managers for more information.)Configure the ATG Scenario Manager to run the process editor server on the ATG
procedit
server. (See the ATG Personalization Programming Guide for more information.)Set up ATG session backup, as discussed in Enabling Session Backup.
Assemble your application, deploy it on each server in both clusters, and configure each instance to use the ATG server corresponding to the WebLogic server the instance is running on. (This process is discussed in Assembling for a WebLogic Cluster.)
Undeploy any applications that are deployed on the Administration Server.
Configure your HTTP server to serve pages from each server in
pageCluste
r (but not any of the other servers).Shut down the Administration Server and then restart it. This will ensure that all of the changes you made will take effect.
Start up the managed servers you created, using the
startManagedWebLogic
script. The syntax of this script is:startManagedWebLogic
WebLogicServer
adminURL
where
WebLogicServer
is the name of the WebLogic server, andadminURL
is the URL of the WebLogic Administration Server. Let’s assume that the hostname for the Administration Server ismyMachine
. To start up the WebLogicpageServer1
, the command would be:startManagedWebLogic pageServer1 http://myMachine/7001