How To Start/Stop Weblogic AdminServer Using WLST?

How To Start/Stop Weblogic AdminServer Using WLST?

 

Summary


1) Start NodeManager
2) Connect To NodeManager
3) Start AdminServer
4) Stop AdminServer

       a) Connect To AdminServer
       b) Stop The AdminServer

 

1.Start NodeManager


wls:/offline> startNodeManager(verbose='true',NodeManagerHome='/oracle/Middleware/user_projects/domains/prod_domain/nodemanager',ListenPort='5556',ListenAddress='192.168.145.128',jvmArgs='-Xms24m,-Xmx64m')


2.Connect To NodeManager


wls:/offline> nmConnect('weblogic','welcome1','192.168.145.128','5556','prod_domain','/oracle/Middleware/user_projects/domains/prod_domain','plain')
Connecting to Node Manager ...
Successfully Connected to Node Manager.
wls:/nm/prod_domain>
 
 

3.Start AdminServer


wls:/nm/prod_domain> nmStart('AdminServer')


4.Stop AdminServer

    a) Connect To AdminServer

wls:/nm/prod_domain> connect('weblogic','welcome1','t3://192.168.145.128:7001')


   b) Stop The AdminServer

wls:/prod_domain/serverConfig> shutdown('AdminServer')

posted @ 2021-07-06 13:34  耀阳居士  阅读(87)  评论(0编辑  收藏  举报