UCMDB and UD Practitioners Forum (Previously CMS)
cancel

HP uCMDB integration with BMC Atrum

Highlighted
Aayush56
Trusted Contributor.

HP uCMDB integration with BMC Atrum

Hi Expert,

I am doing integration of uCMDB with ATrium.Datapush 

In that i am pushing the Business application with the relationship.But only i am able to transfer the BA and environment not the relationship 'usage'.

uCMDB 10.22 BMC 7..6

PFA the XML and the debug file from the work folder.

Also i am not able to figure out any error in the probe related this except the below:

[FATAL] [AdHoc:AD_HOC_TASK_PATTERN_ID-304-1490967546449] (?:?) - -CMDBGetClass

ERROR (120002): Class does not exist.; BMC.CORE:BMC_BusinessService

But business sevrice is used for the pushing the business application and environment

Any help would be appreciable

Thank in advance

 

Below is the XML

 

<?xml version="1.0" encoding="UTF-8"?>

<!-- Default mapping file (will be used in case a mapping file with the name of the TQL is not found -->
<integration>
<info>
<source name="UCMDB" versions="10.22" vendor="HP" />
<target name="Atrium" versions="7.6" vendor="BMC" />
</info>
<targetcis>
<!-- ############ Business_Application -> BMC_BusinessService ############ -->
<source_ci_type name="business_application" mode="update_else_insert">

<target_ci_type name="BMC_BusinessService" nameSpace="BMC.CORE">
<targetprimarykey>
<pkey>DatasetId</pkey>
<pkey>TokenId</pkey>
</targetprimarykey>
<target_attribute name="DatasetId" datatype="char" length="127">
<map type="constant" value="HPCMDB"/>
</target_attribute>
<target_attribute name="TokenId" datatype="char" length="40">
<map type="direct" source_attribute="Global Id"/>
</target_attribute>

<target_attribute name="Name" datatype="char" length="255" >
<map type="direct" source_attribute="name"/>

</target_attribute>
</target_ci_type>
</source_ci_type>

<!-- ############ Environment -> BMC_BusinessService ############ -->
<source_ci_type name="environment" mode="update_else_insert">
<target_ci_type name="BMC_BusinessService" nameSpace="BMC.CORE">
<targetprimarykey>
<pkey>DatasetId</pkey>
<pkey>AssetID</pkey>
</targetprimarykey>
<target_attribute name="DatasetId" datatype="char" length="127">
<map type="constant" value="HPCMDB"/>
</target_attribute>
<target_attribute name="AssetID" datatype="char" length="40">
<map type="direct" source_attribute="global_id"/>
</target_attribute>
<target_attribute name="Name" datatype="char" length="255" option="uppercase">

<map type="direct" source_attribute="name"/>
</target_attribute>

</target_ci_type>
</source_ci_type>
</targetcis>


<targetrelations>

<!-- ############ (Business_Application->TMPL Environment) usage -> ########### -->
<link source_link_type="usage" target_link_type="BMC_Dependency" source_ci_type_end1="business_application" source_ci_type_end2="environment" role1="Source" role2="Destination" nameSpace="BMC.CORE" mode="update_else_insert">
<target_ci_type_end1 name="BMC_BusinessService " superclass="BMC_System"/>
<target_ci_type_end2 name="BMC_BusinessService" superclass="BMC_System"/>
<targetprimarykey>
<pkey>DatasetId</pkey>
<pkey>AccountID</pkey>
</targetprimarykey>
<!-- constant value-->
<target_attribute name="DatasetId" datatype="char" length="127">
<map type="constant" value="HPCMDB"/>
</target_attribute>
<target_attribute name="AccountID" datatype="char" length="30">
<map type="direct" source_attribute="global_id"/>
</target_attribute>
<target_attribute name="Name" datatype="char">
<map type="constant" value="UCMDB_Link"/>
</target_attribute>
</link>
</targetrelations>


</integration>

 

ALSO the work folder:

 

 

DEBUG - 58adebd8673abf9ce51d07551cc5651b update_else_insert BMC_Dependency 0df9f668661a702df7cb07b6559a684e f3f7e1809d1e7806a3b1994802bcfbd3

DEBUG - 4cf9cdf14fa864d15525df9e7abe10ee update_else_insert BMC_Dependency 137e18b3913fd58c5ae6a876f92427f7 e68c474c4d91e1346d837a333690f14c

DEBUG - 58adebd8673abf9ce51d07551cc5651b update_else_insert BMC_Dependency 0df9f668661a702df7cb07b6559a684e f3f7e1809d1e7806a3b1994802bcfbd3

DEBUG - 4cf9cdf14fa864d15525df9e7abe10ee update_else_insert BMC_Dependency 137e18b3913fd58c5ae6a876f92427f7 e68c474c4d91e1346d837a333690f14c

DEBUG - 58adebd8673abf9ce51d07551cc5651b update_else_insert BMC_Dependency 0df9f668661a702df7cb07b6559a684e f3f7e1809d1e7806a3b1994802bcfbd3

DEBUG - 4cf9cdf14fa864d15525df9e7abe10ee update_else_insert BMC_Dependency 137e18b3913fd58c5ae6a876f92427f7 e68c474c4d91e1346d837a333690f14c