You must configure the node manager for the cluster so
that you can use the administration server to start, stop, monitor,
and perform other common tasks on the nodes of the cluster from
the WebLogic Server Administration Console. Perform these tasks:
Configure the node manager for the cluster.
(Horizontal clusters only) Enroll the managed servers with
the node manager for the cluster.
(Horizontal clusters only) Configure the servers of the cluster
for mutual access.
Configure the node manager for the clusterIn the WebLogic Server Administration Console, under Domain
Structure, click your domain name.
Click the Security tab, on the right pane click General,
and then click Advanced to expand the advanced details.
Under Change Center, lick Lock & Edit.
In the NodeManager Username box, change the user name
to the value established when creating the domain.
In the NodeManager Password box, change the password
to the value established when creating the domain.
Click Save and then click Activate Changes.
Enroll the managed servers with the administration serverOn a managed node that is to be added to
the cluster, do one of these tasks:
(Windows) Navigate
to [appserver root]\common\bin and enter the command wlst.cmd
(Linux, UNIX) Navigate to [appserver root]/common/bin
and enter the command ./wlst.sh
Note: You need to start WebLogic Administration Server
only on the node that you wish to designate as the administration
server of the cluster.
At the wlst command prompt, enter the following command
to connect to AdminServer:
connect('[adminusername]','[adminpassword]','[adminserverURL]')
where:
[adminusername] is the user name of the administration
server.
[adminpassword] is the password for the administration
server user.
[adminserverURL] is the URL to the administration
server in the format t3://hostname:[port], where [port] is
probably 7001.
Note: For help about this command,
type help('connect') at the wlst command prompt.
When connected to the administration server, enter the following
command to enroll the secondary computer in the cluster:
nmEnroll('[appserver domain]')
where [appserver domain] is
the path to the domain directory on the local computer. For example,
on a computer running Windows with WebLogic Server installed in
the default directory, the path is C:\Oracle\Middleware\user_projects\domains\[domain name].
Complete the task by entering the command exit()
Repeat steps 1 to 4 for each managed server of the cluster.
The
following procedure applies only to computers in a horizontal cluster.
Allow mutual access between servers of the clusterOpen a text editor and enter the IP address or host name
of each computer in the cluster as individual lines, as shown in
this example:
localhost
127.0.0.1
11.11.11.11
22.22.22.22
Save the file to each computer in the cluster as nodemanager.hosts
in one of these locations:
In a text editor, open the existing hosts file of any computer
in the cluster from one of the following locations:
Add the IP address and host name of all computers in the
cluster.
Save the file.
|
|
|