Creating the EJB cluster
We continue by creating the EJB cluster, which we shall refer to as "EJBcluster". This cluster will be used to serve Enterprise beans that access data services when needed, as well as house all the business logic.
1. Log on to the WebSphere Administrative Console and select Servers -> Clusters. In the right pane, a list of all clusters defined for the cell is shown. The Web cluster should be listed here. Naturally, the second cluster is also created by clicking New (see Figure 7-21). 2. Enter the basic cluster information on the Step 1 window of the Create New Cluster process: a. Enter EJBcluster for the Cluster name. b. Again, uncheck the box Prefer local enabled. c. Accept the default for all other options and click Next to launch the Step 2 window of the Create New Cluster process. 3. On the second window of the Create New Cluster process: a. Enter EJB1a for the name of the first new clustered server (cluster member). b. Select app1 from the Select Node drop-down box. c. Accept the default for all other options and click Apply to continue. d. Using the same procedure, add another new clustered server called EJB1b again on node app1. e. Again using the same procedure, add a third clustered server called EJB2 but this time add the server to node app2. 4. After adding these three clustered servers, the WebSphere Administrative Console should look as illustrated in Figure 7-25. Click Next to continue, then check the summary and click Finish to create the EJB cluster.
Figure 7-25 Create EJB cluster
5. After completing these steps, the console warns that changes have been made to the local configuration. Click Save in order to save the changes to the master configuration (including synchronization with the cell's nodes). Now it is time to verify the cluster topology. Using the WebSphere Administrative Console, click System Administration -> Cell. Select the Local Topology tab. After expanding all items in the right pane, the cluster topology looks as shown in Figure 7-26.
Figure 7-26 The cluster topology
Prev | Home | Next WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.