update command

The NSM service designer can run the update command from the NSM CLI to creates a new version of a NSM service template by updating the information in an existing NSM service template. The update information is retrieved from an XML file.

Usage

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

Options

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

filename is a mandatory option that specifies the fully qualified file name of the file where the update information is retrieved from.

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.

Examples

./nsmadmin.sh command=update serviceTemplateId=19 filename=/opt/bin/QAJavaST.txt
./nsmadmin.sh command=update serviceTemplateId=19 filename=/opt/bin/QAJavaST.txt 
username=admin password=password01 
./nsmadmin.sh -v command=update serviceTemplateId=19 filename=/opt/bin/QAJavaST.txt 
username=admin password=password01 port=16310
./nsmadmin.sh command=update serviceTemplateId=19 filename=/opt/bin/QAJavaST.txt 
username=admin password=password01 port=16310 -v