|
You must now create the WebSphere cluster by perform the
following tasks:
-
Creating the cluster by using the Deployment Manager.
-
Configuring the distributed environment settings for the
cluster.
-
Add ports and host aliases for WebSphere Application Server
instances of the cluster.
By default, the WebSphere Administrative Console web application
listens on port 9060.
To create a cluster using the Deployment Manager:
-
Log in to the WebSphere Administrative Console of the computer
hosting Deployment Manager.
-
In a web browser, enter the URL to the Deployment Manager;
for example, type
http://<servername>:<port>/ibm/console
Note:
By default, the Deployment Manager Administrative
Console web application listens on port 9060.
-
In the WebSphere Administrative Console navigation
tree, click
Servers > Clusters > WebSphere application server clusters
,
and then click
New
.
-
In the
Enter Basic Cluster Information
box, enter
the name of the cluster; for example, type
ds_cluster
.
-
In the
Member name
box in the right pane, enter a
member name. This name is for the first in the cluster.
-
In the
Select Node
list, select the node that this
cluster member will reside on.
-
Select
Create the member using an application server template
,
select
default
from the list, and then click
Next
.
-
In the
Member Name
box, enter the name of another
member to add to the cluster.
-
In the
Select Node
list, select the node that this
cluster member will reside on.
-
Select
Generate unique HTTP ports
and click
Add Member
.
-
Repeat steps 8 to 11 to add WebSphere Application Servers
to the cluster, entering the new member name.
-
After you add all members, click
Next
.
-
Click
Finish
and then click
Save
.
-
Click
System Administration
>
Save Changes to Master Repository
,
select
Synchronize changes with Nodes
, and then click
Save
.
To configure distributed environment settings for the cluster:
-
In the WebSphere Administrative Console
navigation tree, click
System administration
>
Nodes
,
and ensure that the nodes are listed, that their status is
Synchronized
,
and that all WebSphere Application Server instances of the cluster
are started.
-
Click
Servers > Server Types > WebSphere application servers
and,
in the right pane, click the server name.
-
Click the
Configuration
tab and, under
Container Settings
,
click
Session management
.
-
Under Additional Properties, click
Distributed environment settings
.
-
Under General Properties, click
None
and then
OK.
-
Click
Save directly to the master configuration.
-
On the next screen, under Additional Properties, click
Distributed Environment Settings
and
Click
custom tuning parameters.
-
Select
Low (optimize for failover)
and then click
OK
.
-
In the navigation tree, click
Servers
>
Application servers
and,
in the right pane, click the server name.
-
Under Performance, select
Performance Monitoring Infrastructure (PMI)
.
-
On the next screen, select
Enable Performance Monitoring Infrastructure (PMI)
.
-
Under Currently Monitored Statistics Set, select
Basic
and
then click
OK
.
-
Repeat steps 2 to 13 for each server in your cluster.
-
In the
Messages
box, click
Save directly to the master configuration
.
To configure WebSphere Application Server ports and aliases:
-
In a web browser, type the URL to
the Deployment Manager; for example, type
http://<servername>:<port>/ibm/console
Note:
By default, the WebSphere Administrative Console
listens on port 9060.
-
In the navigation tree, click
Servers
>
Application servers
and,
in the right pane, click the server name.
-
On the next screen, under Communications, click
Ports
.
-
In the table, click
WC_defaulthost
and assign a port
address.
Note:
For vertical clusters, set a unique address for each
server in the cluster. For horizontal clusters, each server can
have unique or identical address.
-
Repeat steps 2 to 4 for each server in the cluster.
-
Click
Save
directly to the master configuration
.
-
In the navigation tree, click
Environment
>
Virtual Hosts
and,
in the right pane, click
default_host
.
-
Under Additional Properties, click
Host Aliases
.
-
On the next screen, click
New
and add the port you
assigned for a server in the cluster.
-
In the
Host Name
box, enter an asterisk (*).
-
Repeat step 9 and 10 for each port that is assigned in step
4.
-
Click
OK
and then click
Save directly to master configuration
.
-
Restart the server. Click
Servers > Server Types > WebSphere application servers
,
select the check box beside the server name, and then click
Restart
.
|
|
|