Question:
I want to clean up data imported to SOI repository by Connectors and USM WebView UI Interface.
Environment:
SOI 3.x, 4.x
CI, Alerts added to SAMStore by connector and USM WebView interface.
Answer:
1. For all connectors (Except USM WebView)
Process - 1
-----------
- Stop IntegrationFramework Service running on the connector.
- Once it stopped completely, click on 'Remove' button. This will delete all data populated from that connector.
- Start IntegrationFramework Service running on the connector. (Connector added back to SOI and data is repopulated)
Process - 2 (Without removing connector)
-----------
Steps are:
- On command prompt navigate to ..CA\SOI\tools folder and issue command soitoolbox.exe -x
- Now edit soitoolbox.cfg freated under ..CA\SOI\tools and provide all correct information required about your SOI manager, database, passwords, connector machines etc..
- Now on same command prompt issue following command to get available connectors soitoolbox.exe -x --getAvailableConnectors
- Now use following command to remove all data from those specific connector soitoolbox.exe -x --cleanImportedData --connector=<Connector name from above command>
Eg:
soitoolbox.exe -x --cleanImportedData --connector=CA:09997_ambas01-Spectrum_Server.ca.com
2. For deleting CI published by USM WebView UI
- Launch USM WebView
- Search or browse to locate the CI.
- View the USM properties for the CI.
- Click More options.
- Select Update of the Persistent Store(rest-api) from the By Data Source drop-down list.
- Click Delete entity.
- The CI is deleted.