DOYENSYS Knowledge Portal




We Welcome you to visit our DOYENSYS KNOWLEDGE PORTAL : Doyensys Knowledge Portal




Thursday, April 12, 2018

Control Admin Server and Managed Servers with Node manager and WLST

Here are the brief steps we need to follow.
1.    Start Node manager    -  startNodeManager()
2.    Connect to node manger    - nmConnect()
3.    Start and Stop servers    - nmStart(),nmServerStatus,nmKill()

cd $MW_HOME/oracle_common/common/bin
 ./wlst.sh

Step 1: Start Node Manager

startNodeManager(verbose='true', NodeManagerHome='/u01/app/oracle/config/domains/mydomain/nodemanager',ListenPort='5556',ListenAddress='weblogic1.doyensys.com')

Step 2: Connect to node manager

nmConnect('weblogic','weblogic123','weblogic1.doyensys.com','5556','mydomain','/u01/app/oracle/config/domains/mydomain','ssl')


Step 3: Start, Check Status and Stop servers

nmStart('AdminServer')
nmStart('MS1')


nmServerStatus('AdminServer')
nmServerStatus('MS1')


nmKill('MS1')
nmKill('AdminServer')


No comments: