- Oracle WebLogic Server 12c Advanced Administration Cookbook
- Dalton Iwazaki
- 348字
- 2021-08-20 16:48:44
Starting the Node Manager
The Node Manager is the WebLogic Server utility to control the lifecycle—start, stop, restart—of the WebLogic Managed Server instances and the Administration Server.
In production environments, the Node Manager is needed to meet the high availability requirements.
In this recipe, the system administrator will learn how to start and stop the Node Manager.
Getting ready
The Node Manager is already installed with WebLogic Server 12c. There are two versions of the Node Manager: a Java version and a script version. This recipe will cover the Java version. The Java version is the most commonly used version, and it is more complete and more secure than the script version.
How to do it...
- Log in as a
wls
user on the first machineprod01
and navigate to the folder:[wls@prod01]$ cd $WL_HOME/server/bin
- Start the Node Manager in the background. Since it's the first time you are starting it, the
$WL_HOME/common/nodemanager/nodemanager.properties
file will be created.[wls@prod01]$ nohup ./startNodeManager.sh & [1] <PID> nohup: appending output to `nohup.out'
- Do the same on the
prod02
machine and on all the machines of the WebLogic domain.
How it works...
You can leave the default values created for nodemanager.properties
.
The Node Manager has started and is listening to port 5556
. The <PID>
value is the number of the newly created process.
Since the prod01
and prod02
machines were configured when you created the WebLogic domain PROD_DOMAIN
, the Node Manager should be reachable and able to receive start and stop commands from the Administration Console.
There's more...
In this section, we will see how to shut down the Node Manager:
Shutting down the Node Manager
There is no formal command to shut down the Node Manager, so you'll have to do it manually, killing the process:
- Find the
<PID>
value of the Node Manager process:[wls@prod01]$ ps aux | grep weblogic.NodeManager | grep -v grep | awk '{print $2} ' <PID>
- Issue a
kill
command toPID
to finish it:[wls@prod01]$ kill <PID>
Or, force the process to finish:
[wls@prod01]$ kill -9 <PID>
See also
- Starting the Administration Server
- Starting/Stopping the WebLogic Managed Server
- Hands-On Intelligent Agents with OpenAI Gym
- GNU-Linux Rapid Embedded Programming
- ArchiCAD 19:The Definitive Guide
- 高性能混合信號(hào)ARM:ADuC7xxx原理與應(yīng)用開發(fā)
- Deep Learning Quick Reference
- Dreamweaver CS3網(wǎng)頁(yè)設(shè)計(jì)與網(wǎng)站建設(shè)詳解
- 數(shù)控銑削(加工中心)編程與加工
- Photoshop CS3特效處理融會(huì)貫通
- 工業(yè)機(jī)器人現(xiàn)場(chǎng)編程(FANUC)
- 西門子S7-200 SMART PLC實(shí)例指導(dǎo)學(xué)與用
- C語(yǔ)言開發(fā)技術(shù)詳解
- 學(xué)會(huì)VBA,菜鳥也高飛!
- Google SketchUp for Game Design:Beginner's Guide
- Learning Azure Cosmos DB
- 單片機(jī)技術(shù)一學(xué)就會(huì)