How do I Deploy Applications on Cluster Node Using Deploy Tool?
Deploying an application on a cluster node is the same as deploying it on a Standalone Server. However, following are the effects of deploying an application on a cluster node:
- An application deployed on one node is available to all the running nodes of the cluster.
- Even if a cluster node (say N2) is shutdown when the application is deployed on another cluster node (say N1), the application is available on N2 after you start it.
- Any change in the application state is reflected on all the nodes.
- All resources used by an application, such as Datasources, Connector, Mail, etc. are available on all the nodes of a cluster.
To deploy an application on a cluster node:
- Start and connect to the cluster node.
- Click Start > Programs > Pramati <version_no> > Deploy Tool. The Connect To Server window appears, and asks you to enter the password for the realm system and user name root. The default password to be entered is pramati.
- Click Connect. The Deploy Tool UI is displayed.
- Click Archive > Open. Browse to the location of the application that is to be deployed.
- The number of tasks that you need to resolve appear in the Status bar. Resolve all the tasks, and click Archive > Deploy. The application is automatically deployed on all the running nodes of the cluster.
Where are the Extracted Applications Located?
An application deployed on a specific cluster node is extracted to <install_dir>\server\nodes\<node_name>\archives\
How do I Deploy Applications on Cluster Node Using Command Prompt?
Enter the following at the command prompt to deploy an application on J2EE cluster:
j2eeadmin@clusternode1 deploy[path_to_app]
Related Topics: