Sunday, 21 August 2016

Configuring NODE MANAGER And Starting/stoping Managed Server from Console

Node Manager
  • Utility/process running on a physical server that enables you to start, stop, suspend, and restart WebLogic Server instances remotely
  • Must run on each physical server that hosts WebLogic Server instances that you want to control with Node Manager
  • Not associated with a domain. Can start any server instance that resides on the same physical server.
  • Optional, but required to start/stop servers using the Administration Console
Picture












The command to start the node manager is startNodeManager.cmd and the location of this file is
C:\Oracle\Middleware\wlserver_10.3\server\bin

Go to this location and double click the command a command prompt will open and the node manager process will start at port 5556.

Picture









The node manager will load all the classpath and files required to start and if you are starting it for the first time it will create some properties file at :C:\Oracle\Middleware\wlserver_10.3\common\nodemanager


Every time when node manager is started it reads the property file present at the above location and then start.

Picture












Open the nodemanager.properties file and make the following changes in the Property file to make the node manager work properly
Make :
SecureListener=false
StartScriptEnabled=true

and save the file .We have to make some changes in the admin console so open the admin console.for this your Admin server should be up and running then hit the url:
http://localhost:7001/console

Picture










Click on the machine==>configuration==>node manager and make the type as Plain and save it.


Picture



You will get a message to restart the Admin Server so restart the Admin server and the Node manager Process.


Picture









Now when you will start node manager you can see that the Properties which we have changed is reflecting .and it will be listening on the Plain socket at 5556.

Picture









You can check in the console the status of your Node manager .
If the status is Reachable  then the node manager is configured correctly and we can go ahead and start/Stop the Managed Server from the admin console.

Picture









Now we you can select the Server ===>control and select the managed Server which you want to start or stop.
you will get a message
"A request has been sent to the Node Manager to start the selected servers."


Picture

No comments:

Post a Comment