Thursday, October 21, 2010

Configure, Start & Stop Node Manager : Step by Step

To configure Node Manager -


Log in to weblogic Admin Console


Click on Environments -> Machines tab on left hand side


Click on new tab on right hand side
Enter name of machine and select Machine OS as unix if you are on unix machine otherwise default, click ok

Noe click on created machine



Select type plain, enter listen address and port 


To check status :-


Start node manager, click on  machine name, click on Monitoring -> Node Manager Status


click on node manager tab, Status should be Reachable.



How to start Node Manager ?


$WL_HOME\server\bin\startNodeManager.sh  (startNodeManager.cmd on Windows)
$WL_HOME\server\bin  called NM_HOME, For Example - D:\Oracle\Middleware\wlserver_10.3\server\bin

To Stop Node Manager 


In Unix/Linux, kill the process - 



kill -9 `ps -ef | grep -i nodemanager.javahome | grep -v grep | awk {'print $2'} | head -1`

On window machine, close the window on which Node Manager started.

Node Manager Log Files

$WL_HOME/common/nodemanager/nodemanager.log



Important configuration file for node manager 


$WL_HOME/common/nodemanager/nodemanager.properties- used by java based node manager. This file is created on first time start of nodemanager (startNodeManager.sh)


$WL_HOME/common/nodemanager/nodemanager.domains - contains mappings between the names of domains managed by Node Manager and their corresponding directories.
entry like
base_domain=D:\Oracle\Middleware\user_projects\domains\base_domain
soa_domain=D:\Oracle\Middleware\user_projects\domains\soa_domain


$WL_HOME/common/nodemanager/nm_data.properties- This file stores the encryption data the Node Manager uses as asymmetric encryption key. This file is created on first time start of nodemanager (startNodeManager.sh)


$DOMAIN_HOME/config/nodemanager/nm_password.properties- This file stores the Node Manager username and password used by Admin Server to connect to Node Manager.

Few other configuration files are
 boot.properties, startup.properties,server_name.addr, server_name.lck, server_name.pid, server_name.state



OTHER RELATED POSTS


Node Manager Concept, Important Files
Start Stop Node Manager and Important Considerations
Verify Node Manager Status From Console
Configure Node Manager
SSL Bad Certificate Exception
Enrolling a Domain With nmEnroll()
Rotating Node Manager .out Log Files

4 comments:

  1. How to Configure java base node manager On HP Unix environment. Its urgent . I configure machine and add on manage server in to it but i get one problem while i am start the manage server.Its showing one problem i.e. machine not connected to nodemanager

    ReplyDelete
  2. oh thanks..u gave the exact info i was looking for..cheers :)

    ReplyDelete
  3. How to start Admin Server or managed server using Nodemanager..??

    ReplyDelete