When scripting ZCM service stops and starts on ZCM Primary servers on Windows for applying patches or changing the configuration, we have to use the net or sc command. We'd like to be able to use the provided method, "novell-zenworks-configure -c Start", but it does not return an exit code for success or failure, thus making it not able to be used in a script since no reliable error checking can be done. If possible, I'd like to have it expanded to include return codes and possibly a retry function for services that didn't stop or start when requested to do so.
by: Patrick T. | over a year ago | Other
Comments