Académique Documents
Professionnel Documents
Culture Documents
Server instances in a WebLogic Server production environment are often distributed across multiple domains, machines, and geographic locations. Node Manager is a WebLogic Server utility that enables you to start, shut down, and restart Administration Server and Managed Server instances from a remote location. Although Node Manager is optional, it is recommended if your WebLogic Server environment hosts applications with high availability requirements. . A Node Manager process is not associated with a specific WebLogic domain but with a machine. You can use the same Node Manager process to control server instances in any WebLogic Server domain, as long as the server instances reside on the same machine as the Node Manager process. Node Manager must run on each computer that hosts WebLogic Server instances -- whether Administration Server or Managed Server -- that you want to control with Node Manager.
Process to Create Machines Using WLS Console2.1 Navigate to Domain Environment Machines. Lock the console. Under the Machines table, click New. Specify the following properties, in the Create a New Machine: Name: Any name (e.g.: ipsMachine) Machine OS: Other (Windows), UNIX (Linux) Click OK.
2.2 Activate your changes. 2.3 Assign machine to managed servers one by one
Eg: Assign ipsMachine to the ips0 server by clicking the machine name as in the below screenshot. Lock the Console and click the Servers tab and click Add under the Servers table. Select ips0 as the existing server and click Finish. Similarly, Add home managed server to this machine.
2.4 Click the Node Manager tab to enter the properties of the Node Manager for this machine according to the machine specifications. Enter the DNS name or IP address upon which Node Manager listens in the Listen Address box.
2.5 Save and activate your changes. 3. Ensure Administration Server Address is Defined Make sure that a Listen Address is defined for each Administration Server that will connect to the Node Manager process. If the Listen Address for a Administration Server is not defined, when Node Manager starts a Managed Server it will direct the target server to contact localhost for its configuration information. Set the Listen Address using the Server->Configuration>General tab in the Administration Console. 4. Configure the Node Manager settings for the machine configured (eg: ipsMachine)4.1 Make sure the AdminServer is running. Also make sure that the managed servers are not currently running.
4.2 Navigate to Environment Servers AdminServer (admin) Confirm that the managed servers are targeted to run on the machine configured.
4.3
4.4 Create the nodemanager.hosts file for ipsMachine in the <WEBLOGIC_HOME>\common\nodemanager directory. Add one line consisting of the Admin Servers IP address to the nodemanager.hosts file, i.e. 127.0.0.1. This configures AdminServer as a trusted host.
4.5 Open a prompt and change to the <WEBLOGIC_HOME>\server\bin\ directory. Start the Node Manager to listen on a port (eg: 5556) on the machine configured by executing the following command: Windows: startNodeManager.cmd 127.0.0.1 5556 Unix/Linux: ./startNodeManager.sh 127.0.0.1 5556
4.5 Start the servers using the Node Manager Service. Navigate to domain Environment Servers ips0 Control Start/Stop. Select the check box against ips0 in the Server Status table, and click Start and when prompted to verify if you want to start the ips0 Managed Server, click Yes. Repeat the preceding step to start the Managed Server home. Navigate to domain Environment Servers. Verify the Running state for both the Managed Servers ips0 and home. Alternatively, use the command prompt window and run netstat an to verify that servers ips0 and home are listening.