How to model and clone between heterogeneous machines and/or between different web application directories

Technote (FAQ)
Problem
Environment:
WebSphere App Server (WAS) 3.0.2.1 or higher (including 3.5 and up). Machines sharing the same WAS repository database have to have the same WAS version installed on all machines. WAS 3.0.x and WAS 3.5 machines can't be mixed together.
Solution
Normally, creating a model and clone across AIX and Solaris platforms require changing the directories where the web application files are located to be changed to be the same on both platforms, and modeling and cloning between NT and Unix platforms is not possible. These steps show how to have clones point to different directory structures and/or across different platforms whose directory syntaxes are different:
  1. Create a model of the application server to be cloned on one machine node. Choose to make the application server a clone and recursively model all instances under the application server. If modeling the Default Server, make sure that the Default Server is not installed on the other machines.
  2. Create a clone from the model on another machine (regardless of platform as long as both share the same WAS repository database).
  3. Copy the web application files (servlets, EJBs, JSPs, HTMLs, etc.) to the other machine in a different directory structure if desired.
  4. Modify the following properties on the clone on the other machine so that the directory structure of these fields match the directory structure of the WAS installation and the web application file locations on the other machine. Make sure to Apply all changes. This will not make the clones freestanding:

    - Cloned application server's Standard Output field
    - Cloned application server's Standard Error field
    - Cloned EJBs' JAR File field
    - Cloned web applications' Document Root field
    - Cloned web applications' Classpath table
  5. Repeat steps 2 through 4 as many times as required.
  6. Start the cloned application servers individually (WAS 3.0.2.1 does not start the User Profile Manager and Session Manager when trying to start the clones by starting the model. This may be fixed in future releases)
  7. Test the workload management across the clones using the http://localhost/webapp/examples/showCfg servlet.
Historical Number
, ,











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Servlet Engine/Web Container
Operating system(s): AIX, NT, Solaris, Linux, Win2000, HP-UX
Software version: 3.0.2.1, 3.5
Software edition: Standard, Advanced
Reference #: 1008218
IBM Group: Software Group
Modified date: 2001-05-04