disableall command

The NSM service designer can run the disableall command from the NSM CLI to disable all versions of an of an existing NSM service template.

Usage

./nsmadmin.sh command=disableall serviceTemplateId=<id> username=<username> password=<password>
port=<port> -v

Options

serviceTemplateId is a mandatory option that specifies the NSM service template identifier.

username is a mandatory option that specifies the NSM service designer user name.

password is a mandatory option that specifies the NSM service designer password.

port is the Netcool Configuration Manager presentation server port number. The default value is 16310. It is optional.

-v displays detailed output to both the console and the log file. It can be specified anywhere in a command. It is optional.

Notes

If the NSM service designer disables the last enabled version of a NSM service template, then that NSM service template can no longer be used.

The disabled NSM service template versions can still be retrieved by using the readall command. However, the NSM service template id cannot be re-enabled once all versions are disabled.

Examples

./nsmadmin.sh command=disableall serviceTemplateId=45
./nsmadmin.sh command=disableall serviceTemplateId=45 username=admin password=password01
./nsmadmin.sh -v command=disableall serviceTemplateId=45 username=admin password=password01 port=16310
./nsmadmin.sh command=disableall serviceTemplateId=45 username=admin password=password01 port=16310 -v