Maintenance mode not syncing from Spectrum or SOI to SCOM for half of the servers tested.

Document ID : KB000095458
Last Modified Date : 30/05/2018
Show Technical Document Details
Issue:
SOI 4.0 CU2 Maintenance mode not syncing from Spectrum or SOI to SCOM for half of the servers tested. Putting servers in Maintenance mode in Spectrum or SOI resulted in half of those servers being put into maintenance mode in SCOM. SOI and Spectrum stay in sync, but SCOM does not when Maintenance mode is set in the other tools. If maintenance mode is set in SCOM, it Syncs to SOI and Spectrum.
Environment:
SOI, SCOM connector, UIM connector, and Spectrum connector. 
Cause:
The problem was occurring because the SCOM connector is not configured to accepts updates from the 'VirtualSystem' class. Since some Spectrum CI's were of this class causing maintenance requests to be sent to SCOM with a "Virtual System" class. To check the class go into the SOI console, select the CI, then select the USM notebook tab on the Component Details pane and check the 'Sheet Type' value.
Resolution:
To correct this situation you can update the SCOM connector ito accepts updates from the 'VirtualSystem' class. Follow the below steps:

1. On the SCOM connector machine edit the following file:
CATALYST_HOME\CA\Catalyst\CatalystConnector\registry\topology\physical\<HostName>_CatalystConnector\modules\configuration\SCOMConnector.conf 

2. Add VirtualSystem' to the following line: 

<ConnectorTypeMetadata> 
<property name="InboundToConnectorTypes" value="VirtualSystem,ComputerSystem,DatabaseInstance,File,InterfaceCard,Processor,Router,Service,BinaryRelationship,Alert"/> 
</ConnectorTypeMetadata> 

3. Now we need to shut down the SOI services on all the systems again. Then run this query against the samstore database to delete synchronizations that might be stuck: 
delete from ca_ssa_tags where tagname like '%synchronization.inprogress%' 
delete from ca_ssa_tags where tagname like '%synched.pending%' 
delete from ca_ssa_tags where tagname='synched.known.mdrs' 

4. Delete the files on the SOI manager machine again: 
\SOI\tomcat\webapps\activemq-web\activemq-data 
\SOI\temp 
\SOI\ucf\ucf_broker_store 

Now restart SOI again and verify maintenance mode synchronization is working.