clone command
The NSM service
designer can
run the clone
command from the NSM CLI to copy the
latest enabled version of an existing NSM service
template to
an XML file. Designers can use this XML file to design a new NSM service
template.
Usage
./nsmadmin.sh command=clone filename=<filename> serviceTemplateId=<id> username=<username> password=<password> port=<port> -v
Options
filename is a mandatory option that specifies the fully qualified file name where the NSM service template information that is being requested is written to.
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.
Examples
./nsmadmin.sh command=clone filename=/opt/clone.txt serviceTemplateId=45 ./nsmadmin.sh command=clone filename=/opt/clone.txt serviceTemplateId=45 username=admin password=password01 ./nsmadmin.sh -v command=clone filename=/opt/clone.txt serviceTemplateId=45 username=admin password=password01 port=16310 ./nsmadmin.sh command=clone filename=/opt/clone.txt serviceTemplateId=45 username=admin password=password01 port=16310 -v