Service manager adapter doesn't update CI's
I'm trying setup integration with Service Manager using Service Manager 9.xx integration adapter.
Integration is set only for push Computer CI's with their relationships. First import of CI's works fine, CI is created in SM with all defined attributes. However if some attribute of CI is changed in UCMDB, this change is not propagated to SM.
When I checked the logs on UCMDB probe side, I can see that only CreateucmdbNodeRequest is called all the time, instead of UpdateucmdbNodeRequest that should be used for updating CI's.
The reason of this looks that UCMDB during calculation of TQL, every time evaluate that there is no CI's for update, and still only "Topology for add" is filled by CI's in base of query:
Anybody know how integration adapter exactly works and how it identify what CI's should be send to SM by Update request?
Thanks fo any help.
I would suggest to enable trace for fcmdb.synchronizer on ucmdb server side and also for fcmdb.* logs on probe side. You should be able to see what CIs are being identified to be updated and how the ucmdb CIs are transformed to SM instances by the adapter. The push to SM is the so called instance based push.Below are the desired behaviors:
- An instance is reported by the Push engine as “Added” when the Root CI\Relation is added.
- An instance is reported by the Push engine as “Updated” when the Root CI\Relation is modified (one of it’s attributes are changed) OR when a CI\Relation which is not the Root is added\removed\modified.
- An instance is reported by the Push engine as “Removed” when the Root CI\Relation is removed.
If you still face the issue I suggest to submit a ticket to the SM team.
Hope it helps.
my colleague that administering SM made some changes on SM side and update works fine, strange is that from UCMDB side all the time is used "CreateucmdbNodeRequest" call and in Integration job status I see that CI's has been created, even if there is update on SM side. But it's ok for me now.
However I'm facing another issue with pushing date format field from UCMDB to SM. I have configured date_pattern parameter in serviceDeskConfiguration.xml in base of date format of integration user
Login Profile in SM: <date_pattern>>yyyy/MM/dd HH:mm:ss:SSS</date_pattern>, as is describe in documentation.
Attempt to push date field returns following error:
<CreateucmdbNodeResponse message="Data Type Mismatch Error"
<cmn:message type="String">scxmlapi(41) - The data in the 'file.device,last.scan' field of record " " of file joincomputer contains data that does not conform to the SOA datatype in datadict</cmn:message>
Do you have any experience with pushing date type fields from UCMDB do SM, what could cause this issue? Thanks.