28.12.2012 Views

SAS 9.3 Web Applications: Clustering - Index of - SAS

SAS 9.3 Web Applications: Clustering - Index of - SAS

SAS 9.3 Web Applications: Clustering - Index of - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

32 Chapter 4 / Oracle <strong>Web</strong>Logic Server 11g <strong>Clustering</strong><br />

Pack the Domain and Unpack on Additional<br />

Machines<br />

For deployments that use multiple machines in the cluster, the domain used for the<br />

<strong>SAS</strong> <strong>Web</strong> applications must be copied to each additional machine in the cluster. This<br />

topology is <strong>of</strong>ten called a horizontal cluster. The information in this section does not<br />

apply to deployments that use a vertical cluster topology—where multiple server<br />

instances are deployed on a single machine.<br />

To pack the domain on the original machine and unpack the domain on an additional<br />

machine, follow these steps:<br />

1 Navigate to the WL_HOME bin directory, and use the pack command to pack<br />

<strong>SAS</strong>Domain. The following example uses UNIX syntax:<br />

cd /opt/Oracle/Middleware/wlserver_10.3/common/bin<br />

./pack.sh -managed=true -domain=/opt/<strong>SAS</strong>/Config/Lev1/<strong>Web</strong>/<strong>SAS</strong>Domain<br />

-template=/export/home/sas/midtier_template.jar -template_name="Managed<br />

Server <strong>SAS</strong>Domain"<br />

2 For each additional machine in the cluster, copy the midtier_template.jar file to<br />

the additional machine, and unpack the domain template. The following example<br />

uses UNIX syntax:<br />

cd /opt/WLS/wlserver_10.3/common/bin<br />

./unpack.sh -domain=/opt/<strong>SAS</strong>/Config/Lev1/<strong>Web</strong>/<strong>SAS</strong>Domain<br />

-template=temporary-location/midtier_template.jar<br />

3 Copy the WL_HOME/common/nodemanager/nodemanager.domains file to the<br />

<strong>SAS</strong>Domain/nodemanager directory:<br />

cp /opt/WLS/wlserver_10.3/common/nodemanager/nodemanager.domains<br />

/opt/<strong>SAS</strong>/Config/Lev1/<strong>Web</strong>/<strong>SAS</strong>Domain/nodemanager<br />

4 Start the node manager on each additional machine from the <strong>SAS</strong>Domain/bin<br />

directory with the startNodeManager.sh command.<br />

For information about the pack and unpack commands, see the Oracle <strong>Web</strong>Logic<br />

Server documentation.<br />

Add Additional Machines<br />

If the <strong>SAS</strong> <strong>Web</strong> applications will be deployed to application server instances on<br />

additional machines, follow these steps to add a new machine in the administrative<br />

console:<br />

1 Select <strong>SAS</strong>Domain � Environment � Machines and then click New.<br />

2 Enter the fully qualified domain name for the Name field, use the Machine OS<br />

menu to select the operating system type, and click OK.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!