Home  Administration > CMDB Administration > Source Manager Administration > Working with Templates > Automapping - Relationships Details



Automapping - Relationships Details

Attaching one CI to another CI creates a hierarchical relationship between them, so that one CI may be dependent on or influenced by the other.

In all adapter templates, except for the XML File adapter template, only the depends on or monitored by types of relationships are used.

The automapping code is usually located at the end of the template file.

In the XML File template you can use all the available types of relationships, as defined in the CI Type Manager - for details, see Relationship Definitions in CI Type Manager Administration.

Note: If you add or remove a relationship, you might have to modify the corresponding view in View Manager, to reflect the change - for details, see View Manager Administration.

The following example shows the relationships used in the SiteScope adapter template definition:

<autoMappingLinks bac-version="BAC 6.0">

<link dest_obj_type="host" src_obj_type="sitescope_group"

type="Mercury:depends_on" weight="1"/>

</autoMappingLinks>

Each relationship may include the following information:

To find the internal name of a CIT:

  1. Select Admin > CMDB > CI Type Manager.
  2. Right-click the appropriate CIT in View Explorer and select Edit CIT to open the Edit Configuration Item Type <CIT_name> page.
  3. Click the Information tab, and view the name of the CIT in the Configuration Item Type Name box - for details, see CI Type Manager Administration.

    Finding the name of a CIT




Copyright 2006 Mercury Interactive Corporation