How to change a Service or CI property value via command line (Ex: Label, Location etc)
book
Article ID: 21856
calendar_today
Updated On:
Products
CA Service Operations Insight (SOI)
Issue/Introduction
Question:
Is there a command\utility to change a Service or CI property like 'Label, Location etc'...
Answer:
- To change a Service or CI Property, we can use 'WSSamCICmd.bat' utility located in SOI_HOME\tomcat\bin.
Ex: The below example change a CI Label from "UC_Server.ca.com" to "Eastern_Cape" as shown in the screenshot
<Please see attached file for image>
Syntax: WSSamCICmd -h<SAMServer>:7090 -usamuser -p<EncryptedPwd> -aUpdate -i<InstanceID> -n<PropertyName> -v<PropertyValue>
WSSamCICmd -h<SAMServer>:7090 -usamuser -p<EncryptedPwd> -aUpdate -iComputerSystem:sysname,uc_server.ca.com -nitem_label -vEastern_Cape
Note: Run WSSamEncryptCmd.bat from the same directory to generate an encrypted version of the password for use in -p<password> parameter.
<Please see attached file for image>
After running above command the label has changed to 'Eastern_Cape'.
Environment
Release: SAMBDL99000-3.3-Spectrum-Service Assurance Manager-Promotional Bundle
Component:
Attachments
1558709247653000021856_sktwi1f5rjvs16rej.gif
get_app
1558709245732000021856_sktwi1f5rjvs16rei.gif
get_app
Feedback
thumb_up
Yes
thumb_down
No