exportvendor command
The NSM service
designer can
run the exportvendor
command from the NSM CLI to
export the latest enabled version NSM service
templates matching
the vendor parameter to an XML file.
Usage
./nsmadmin.sh command=exportvendor vendor=<name> filename=<filename> username=<username>
password=<password> port=<port> -v
Options
vendor is a mandatory option that specifies the NSM service template vendor. It is an exact match but is not case sensitive.
filename is a mandatory option that specifies the location of the file that will be written to as a result of the command being executed.
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
template that
is being exported contains the <databaseConnection>
element
for an SQL parameter, then the username and password of the database
connection will not be exported to the filename.
Examples
./nsmadmin.sh command=exportvendor vendor=Cisco filename=/opt/IBM/serviceTemplate.xml ./nsmadmin.sh command=exportvendor vendor=Cisco filename=/opt/IBM/serviceTemplate.xml username=admin password=password01 ./nsmadmin.sh command=exportvendor vendor=Cisco filename=/opt/IBM/serviceTemplate.xml username=admin password=password01 port=16310 ./nsmadmin.sh command=exportvendor vendor=Cisco filename=/opt/IBM/serviceTemplate.xml username=admin password=password01 port=16310 -v