I am looking for a shellscript to stop and start all nodes in the WebSphere cluster.
We have a deploy script for deploying on WAS servers , now we want to edit this script to stop the WAS servers before the deployment and starts after the deployment . we dont have scope to edit the existing script (which is only readable to me) , they asked to create start/stop scripts separate so that they can invoke this before and after deployment.
Will the below commands suffice to incorporate with the main deploy script.
start: $WAS_HOME/bin/startServer stop: $WAS_HOME/bin/stopServer
Any help would be appreciated.
P.S - Let me know if you need the original deploy script
Thanks