Save these scripts into dot bat file to create as script
Start Script:
Stop Script:
Or
We also can use Websphere jython scripts with wsadmin.bat
Start Script:
Start Script:
C:\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\bin\startServer.bat MXServer
Stop Script:
C:\IBM\WebSphere\AppServer\profiles\ctgAppSrv01\bin\stopServer.bat MXServer -username wasadmin -password ******
Or
We also can use Websphere jython scripts with wsadmin.bat
Start Script:
AdminControl.invoke('WebSphere:name=NodeAgent,process=nodeagent,platform=common,node=ctgNode01,diagnosticProvider=true,version=8.5.5.3,type=NodeAgent,mbeanIdentifier=NodeAgent,cell=ctgCell01,spec=1.0', 'launchProcess', '[MXServer]', '[java.lang.String]')
No comments:
Post a Comment