removeserviceinstance command
The NSM service
designer can
run the removeserviceinstance
command from the NSM
CLI to remove the database entry for an NSM service that reached any
of the following states: 'Failed', 'Failed to Delete', or 'Failed
with indeterminate state'.
See Interpreting NSM service execution status codes for
more information on NSM service states.
Usage
./nsmadmin.sh command=removeserviceinstance service-id=<id> username=<username> username=<username> password=<password> port=<port> -v
Options
service-id is a mandatory option that specifies the NSM service 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=removeserviceinstance service-id=45
./nsmadmin.sh command=removeserviceinstance service-id=45 username=admin password=password01
./nsmadmin.sh -v command=removeserviceinstance service-id=45 username=admin password=password01 port=16310
./nsmadmin.sh command=removeserviceinstance service-id=45 username=admin password=password01 port=16310 -v