I am trying to put together a jython script that will stop the nodes on the server, and then list the status of the server to verify it stopped.
Ideally, the script would attempt to stop, check the status, then IF they are stopped, continue, if they are not stopped, try and terminiate.
This is a small piece of a larger script which will do the following with all of the correct checks in place to ensure everything is being deployed correctly.
Wait for files to be built
Restart Node Agent
Ripple-Start the cluster