Our solaris server admin group would like us to shutdown any zones (virtual systems) running on a Solaris system prior to deploying patches. I’ve created a task that runs the following command to shut down the zones:
wait shutdown -g 0 -I 5 -y
The action script completes however the zones are not shutdown. I realize that completion of action script only indicates that the actionscript was successful in running and not that the command actually worked.
Has anyone dealt with this in the Solaris environment?
I’m sorry I never responded, This project got put on the backburner and we just picked it back up. Thank you very much for your response. I tried what you suggested, but I get an exit code of 1. Any other suggestions?