BMC Atrium Discovery Community Forum

forgot password?
   
 
Syncing data base schemas or tables to CMDB
Posted: 29 May 2012 12:08 PM   [ Ignore ]  
RankRank
Member
Total Posts:  16
Joined:  2011-08-15

Hi,

we need to have the schemas and tables which ADDM discovers also in the CMDB because of different application usage based on schemas.

My start was

mapping from SoftwareInstance_SoftwareServer.softwareinstance as softwareinstance
traverse ElementWithDetail:Detail:Detail:DatabaseDetail where logical_database_type defined as detail
schema -> BMC_DataBaseStorage;
end traverse;

But I don’t know how to access the tables and schemas bacause there are one level deeper as I understand.

Are they any templates which can help me or is there anyone who dealt with this issus before?

I would appreciated any help!

BR

Ramon

Profile
 
 
Posted: 30 May 2012 12:14 PM   [ Ignore ]   [ # 1 ]  
RankRankRank
Contributor
Total Posts:  55
Joined:  2009-11-04

Hi,
You have to replace the where clause in the traverse:

For example:
traverse ElementWithDetail:Detail:Detail:DatabaseDetail where type=“SQL Database Schema” or type=“Oracle Tablespace” as detail

Lionel

Profile
 
 
Posted: 26 July 2012 09:44 PM   [ Ignore ]   [ # 2 ]  
RankRank
Member
Total Posts:  29
Joined:  2010-02-26

Guys, I’m also interested in this thing,maid that pattern help?
Thanks in advance, Marco

Profile
 
 
Posted: 17 August 2012 09:25 AM   [ Ignore ]   [ # 3 ]  
RankRank
Member
Total Posts:  16
Joined:  2011-08-15

Hi,

my problem was mostly solved by this pattern


https://kb.bmc.com/infocenter/index?page=content&id=KA370816&actp=search&viewlocale=en_US&searchid=1345194903953

Profile