WebSphere Extended Deployment, Version 6.0.x
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


Creating a dynamic cluster for the execution environment

All execution environments and long-running applications are deployed to dynamic clusters just like transactional applications. The dynamic cluster is the deployment target for the Java 2 Platform Enterprise Edition (J2EE) Enterprise Archive (EAR) files for both the execution environment and your long-running application.

Before you begin

Deploy each long-running application to its own dynamic cluster to provide the grid placement logic the greatest flexibility in managing instances of your long-running applications.
Create a set of extra virtual host ports.
  1. Select Environment > Virtual Host > default_host > Host Aliases > New.
  2. Keep the default asterisk for the Host Name, and specify a number for the Port. Repeat this step so that, as a result, you have two ports defined.
You can use these ports later when you define dynamic cluster servers. Use one port for the scheduler and one for the execution server. If you define multiple nodes for each server, then you will need a port for each one.
Avoid trouble: Do not assign these ports to a variable name of WC_defaulthost. Once the ports are defined, they will automatically be used properly when you define dynamic cluster servers. gotcha

About this task

Define a dynamic cluster to create a deployment target for a new long-running application.
Creating a node group and dynamic cluster causes WebSphere Extended Deployment to create an application server for the dynamic cluster on each node in the node group. Perform the following steps for each application server created for the dynamic cluster you created. If you add nodes to the node group later, repeat these steps for the newly-created application servers.
  1. In the administrative console, select Server > Dynamic Clusters.
  2. Click New.
  3. Type an appropriate name for the dynamic cluster. For example, LongRunningApplicationDC.
  4. In the Map to node group menu, select the node group in which to create the dynamic cluster.
  5. In the Default application server template menu, select defaultXD.
  6. Set other dynamic cluster properties as appropriate for the dynamic cluster.
  7. Click Next, then Finish.
  8. If you want WebSphere Extended Deployment to automatically start and stop instances of this dynamic cluster as needed, select Automatic in the menu, click the box for the dynamic cluster you created, then click Set mode.

Results

Creating a node group and dynamic cluster causes WebSphere Extended Deployment to create an application server for the dynamic cluster on each node in the node group.

What to do next

Perform the following steps for each application server created for the dynamic cluster you created. If you add nodes to the node group, repeat these steps for the newly-created application servers.
  1. In the administrative console, select Servers > Application servers.
  2. Click on the name of the application server in the dynamic cluster. The application server's name will be in the form dynamicclustername_nodename.
  3. Select Container Services > Startup beans service.
  4. Check the box next to Enable service at server startup and click OK.
  5. Repeat for other application servers in the dynamic cluster.
  6. Set job capacity for endpoints:
    1. Click Servers > Dynamic clusters.
    2. Click the dynamic cluster for the execution environment.
    3. Under Additional Properties, click Custom Properties > New. enter
    4. In the Name field, type com.ibm.websphere.longrun.EndPointCapacity.
    5. In the Value field, type an integer value, for example, 10, that represents the job capacity per endpoint. The default maximum job capacity per endpoint is 2.
    6. Click Apply and save the configuration.



Related tasks
Installing the execution environment to a dynamic cluster
Installing the long-running application
Sample Compute Grid applications
Task topic    

Terms of Use | Feedback

Last updated: Oct 16, 2009 11:08:29 AM EDT
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=/com.ibm.websphere.xd.doc/info/scheduler/tbgncltr.html