Dealing with nodemanager

Nodemanager allows you to control (start/stop/status) your managed server from Enterprise Manager or weblogic console.

Official documentation: http://docs.oracle.com/cd/E13222_01/wls/docs90/server_start/nodemgr.html

To configure it, start your nodemanager in order to modify the nodemanager.properties file

export JAVA_OPTIONS="-DDomainRegistrationEnabled=true"
export MIDDLEWARE_HOME=/data/middleware/mid70
$MIDDLEWARE_HOME/wlserver_10.3/server/bin/startNodeManager.sh
CTRL ^ C
vi $MIDDLEWARE_HOME/data/middleware/mid70/wlserver_10.3/common/nodemanager/nodemanager.properties
QUIT
nohup $MIDDLEWARE_HOME/wlserver_10.3/server/bin/startNodeManager.sh > /tmp/node.out &

Below the output:

+ CLASSPATH=/data/middleware/mid70/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/data/middleware/mid70/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/java/jdk1.7.0_15/lib/tools.jar:/data/middleware/mid70/wlserver_10.3/server/lib/weblogic_sp.jar:/data/middleware/mid70/wlserver_10.3/server/lib/weblogic.jar:/data/middleware/mid70/modules/features/weblogic.server.modules_10.3.6.0.jar:/data/middleware/mid70/wlserver_10.3/server/lib/webservices.jar:/data/middleware/mid70/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/data/middleware/mid70/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/data/middleware/mid70
+ ‘[‘ ‘!’ -z ” ‘]’
+ ‘[‘ ‘!’ -z ” ‘]’
+ export CLASSPATH
+ export PATH
+ cd /data/middleware/mid70/wlserver_10.3/common/nodemanager
+ set -x
+ ‘[‘ ” ‘!=’ ” ‘]’
+ ‘[‘ ” ‘!=’ ” ‘]’
+ /usr/java/jdk1.7.0_15/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Dcoherence.home=/data/middleware/mid70/coherence_3.7 -Dbea.home=/data/middleware/mid70 -Xverify:none -Djava.security.policy=/data/middleware/mid70/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/usr/java/jdk1.7.0_15 weblogic.NodeManager -v
<Oct 19, 2013 1:37:34 PM> <INFO> <Loading domains file: /data/middleware/mid70/wlserver_10.3/common/nodemanager/nodemanager.domains>
Oct 19, 2013 1:37:34 PM weblogic.nodemanager.server.NMServerConfig initDomainsMap
INFO: Loading domains file: /data/middleware/mid70/wlserver_10.3/common/nodemanager/nodemanager.domains

DomainsFile=/data/middleware/mid70/wlserver_10.3/common/nodemanager/nodemanager.domains
LogLimit=0
PropertiesVersion=10.3
DomainsDirRemoteSharingEnabled=false
javaHome=/usr/java/jdk1.7.0_15
AuthenticationEnabled=true
NodeManagerHome=/data/middleware/mid70/wlserver_10.3/common/nodemanager
JavaHome=/usr/java/jdk1.7.0_15/jre
LogLevel=INFO
DomainsFileEnabled=true
StartScriptName=startWebLogic.sh
ListenAddress=
NativeVersionEnabled=true
* ListenPort=5756
LogToStderr=true
SecureListener=true
LogCount=1
DomainRegistrationEnabled=false
* StopScriptEnabled=true
QuitEnabled=false
LogAppend=true
StateCheckInterval=500
CrashRecoveryEnabled=false
* StartScriptEnabled=true
LogFile=/data/middleware/mid70/wlserver_10.3/common/nodemanager/nodemanager.log
LogFormatter=weblogic.nodemanager.server.LogFormatter
ListenBacklog=50

Registering domain

 

./wlst.sh
nmConnect('weblogic','Welcome1', 'adc2201751.us.oracle.com','5556','soa_fp', '/u01/app/oracle/admin/soa_fp/aserver/soa_fp')
nmStart('AdminServer')
exit()
Advertisements

About Chenda Mok

19 years of hands on experience in software design and development with emphasis on Enterprise Application Integration (EAI), Services Oriented Architecture (SOA) and Identity Management (IDM) solutions. I’m a software engineer, member of the professional service delivery team working for Salesforce. Prior to this, I worked for Oracle as Solution Architect, through SeeBeyond(06/2005), then SUN’s acquisition (04/2009). After my master’s degree in computer science in 1997; I always delivered consulting on architecture, design, implementation on integration’s field. I’m interested in architecture using EAI/SOA/IDM/BPM/Cloud technologies, software development and Java’s related technologies. I may blog about my work/activities at Salesforce, but I do not speak for my employer, past, present or future.
This entry was posted in Administration, Weblogic Server. Bookmark the permalink.