Restarting all the servers on particular node

You can restart all the servers on particular node through WAS admin console by going to System Administration -< node agents. Selecting the node agent of your choice and clicking on Restart all Servers on Nodes like this



you can achieve same functionality using this wsadmin script

AdminControl.invoke('WebSphere:name=NodeAgent,process=nodeagent,platform=common,node=<nodeagentname>,diagnosticProvider=true,version=6.1.0.25,type=NodeAgent,mbeanIdentifier=NodeAgent,cell=<cellname>,spec=1.0', 'restart', '[false true]', '[java.lang.Boolean java.lang.Boolean]')

No comments: