Use NodeManager to manage WeblogicServer

Source: Internet
Author: User
Most of the following are based on the elasticsearch environment, which is similar to the Linux environment. What can NodeManager do? 1. start, stop, and restart AdminServer2. start, stop, pause, and restart ManagedServers3. Automatically Restart Admin and ManagedServers4. monitor Servers and view how to configure NodeManagerWeblogicSe

Most of the following are based on the elasticsearch environment, which is similar to the Linux environment.

What can Node Manager Do?

1. Start, stop, and restart Admin Server

2. start, stop, pause, and restart ManagEdServers

3. Automatically Restart Admin and Managed Servers

4. Monitor Servers and view logs


How to configure Node Manager

Weblogic Server provides two versions of Node Manager, Java-based and script-based. This document is based on Java and is applicable to both Linux and Windows platforms.

1. Start Node Managed

Run the shortcut in the Start Menu of Node Manager in Windows.

Use the following in Linux:CommandRun Node Manager in the background:

        $ nohup /wlserver_home/server/bin/startNodeManager.sh > /dev/null 2>&1 &

2. Node Manager Configuration

After Node Manager is started, its default home path is/Wlserver_home/Common/nodemanagerThe Node Manager configuration file and Log are provided.

3. Add a Domain to Node Management

A) Start the Admin Server.

B) Go to the Admin Console and goDomain_name> Security> GeneralModify the user name and password of Node Manager.

C) use WLST to connect to the Admin Server.


D) Use the nmEnroll command to add a Domain to the management of Node Manager. If you have multiple Managed servers running on different physical machines, run this command on each machine.

        nmEnroll([domainDir], [nmHome])
        For example,
        nmEnroll('C:/oracle/user_projects/domains/prod_domain', 'C:/oracle/wlserver_10.3/common/nodemanager')
Use Node Manager to manage Weblogic Server

Stop all Servers first, and then start them in sequence by using Node Manager, so that ServersTalentIt is monitored and managed by Node Manager.

1. Start Admin Server

Use WLST to connect to Node Manager, and then start Admin Server and Managed Servers.

A) use the nmConnect command to connect to Node Manager

        wls:/offline> nmConnect('username', 'password', 'hostname', 'port', 'myDomain')

B) run the nmStart command to start the Admin Server.

        wls:/nm/myDomain> nmStart('AdminServer')

2. Start the Managed Server

You can use the nmStart command to start Managed Servers orTrStart them in the ation Console.


3. Use Node Manager to improve the Availability of the Managed Server

The Health State of the Managed Server has the following states:

Node Manager can be configured to kill the process of the Manager Server and restart it when the status of the Managed Server Changes to Failed or no response to the Health State query, this function is disabled by default. You can enable it by using the following methods:

Modify fileDomain_home/Servers/Managed_server_name/Data/nodemanager/startup. properties,

        AutoRestart=true
        AutoKillIfFailed=true

AutoRestart indicates that the Node Manager will automatically start the Crash or accidentally killed Managed Servers. AutoKillIfFailed indicates that the Managed Servers of the Failed will be killed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.