Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Configuring Topology Synchronization: ACME Example
This section provides a walk-through of how to configure topology synchronization, using the fictitious “ACME” content area as an example.
The following graphic shows a service tree from OM discovery.
Configure the file package.xml
to define the name and provide a description of your topology synchronization package, together with a priority level. For the ACME topology synchronization package, the package.xml
file looks like this:
<Package> <Name>ACME</Name> <Description>Service to RTSM Mapping for ACME Landscape.</Description> <Priority>5</Priority> </Package>
Configure the file contextmapping.xml
to tag which elements included in topology data you want to include in the topology synchronization for mapping in the RTSM. The mapping rules contained in other configuration files are applied to the tagged elements.
The following graphic represents the view for ACME in the RTSM.
An example configuration of contextmapping.xml
follows, where a context called ACME_Landscape
is assigned to those OM service elements, of type ACME_System
and ACME_Application_Server
, for which you want to create CIs in the RTSM:
<?xml version="1.0" encoding="UTF-8"?> <Mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../schemas/mapping.xsd"> <!-- CONFIGURE THE CIs THAT DEFINE THE CONTEXT FOR THE MAPPING --> <Rules> <Rule name="Filter ACME Items"> <Condition> <!-- Select all Service Elements of interest further refinements will be made later --> <Or> <Equals> <OMType /> <Value>ACME_System</Value> </Equals> <Equals> <OMType /> <Value>ACME_Application_Server</Value> </Equals> </Or> </Condition> <MapTo> <Context>ACME_Landscape</Context> </MapTo> </Rule> </Rules> </Mapping>
Configure the type mapping file typemapping.xml
to define the mapping between the service type definition of a service in OM and the type of a CI in the RTSM.
For the ACME example, the type mapping is defined in the following table.
OM Service Type |
CI Type (CI Name) |
---|---|
|
|
|
|
Here is an example configuration of the type mapping file typemapping.xml
for the ACME synchronization package, using the context ACME_Landscape
. OM service elements of type ACME_System
are mapped to CIs of type acme_system
in the RTSM. OM service elements of type ACME_Application_Server
are mapped to CIs of type acme_appserver
in the RTSM.
<?xml version="1.0" encoding="UTF-8"?> <Mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../schemas/mapping.xsd"> <Rules Context="ACME_Landscape"> <Rule name="Map ACME System"> <Condition> <Equals> <OMType /> <Value>ACME_System</Value> </Equals> </Condition> <MapTo> <CMDBType> <Value>acme_system</Value> </CMDBType> </MapTo> </Rule> <Rule name="Map ACME Application Server"> <Condition> <Equals> <OMType /> <Value>ACME_Application_Server</Value> </Equals> </Condition> <MapTo> <CMDBType> <Value>acme_appserver</Value> </CMDBType> </MapTo> </Rule> </Rules> </Mapping>
Configure the attribute mapping file attributemapping.xml
to define the mapping between the attributes of a service in OM and the attributes of a CI in the RTSM.
For the ACME example, the following table shows which OM service attributes are mapped to which CI attributes in the RTSM.
Service Type |
Service Attribute Name |
CI Type |
CI Attribute Name |
---|---|---|---|
|
|
|
|
|
|
|
|
Here is an excerpt of the corresponding configuration of the attribute mapping file attributemapping.xml
for the ACME synchronization package. This shows two attribute mappings:
-
For the OM service elements of type
ACME_system
, the OM service attributeCaption
is mapped to the CI attributedisplay_label
in the RTSM. -
For the OM service elements of type
ACME_Application_Server
, the OM service attributeOMId
is mapped to the CI attributedata_name
in the RTSM.
<?xml version="1.0" encoding="UTF-8"?> <Mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../schemas/mapping.xsd"> <Rules Context="ACME_Landscape"> <Rule name="Map ACME System attributes"> <Condition> <Equals> <OMType /> <Value>ACME_System</Value> </Equals> </Condition> <MapTo> <CMDBAttribute> <Name>display_label</Name> <SetValue> <Caption /> </SetValue> </CMDBAttribute> </MapTo> </Rule> <Rule name="Map ACME Application Server attributes"> <Condition> <Equals> <OMType /> <Value>ACME_Application_Server</Value> </Equals> </Condition> <MapTo> <CMDBAttribute> <Name>data_name</Name> <SetValue> <OMId /> </SetValue> </CMDBAttribute> </MapTo> </Rule> </Rules> </Mapping>
Configure the relation mapping file relationmapping.xml
to define the CI relationships created in the RTSM between specified OM services.
Here is an example configuration of the relation mapping file relationmapping.xml
for the ACME synchronization package. This shows the creation of the following relations:
-
The
root_container
CI attribute of CIs with the OM service typeACME_Application_Server
is set to the host. Additionally, acontainer_f
relation is created implicitly between the host and the CI. -
A composition relation
container_f
between OM service elements of typeACME_System
andACME_Application_Server
.
<?xml version="1.0" encoding="UTF-8"?> <Mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../schemas/mapping.xsd"> <Rules Context="ACME_Landscape"> <Rule name="Create relation ACME Application Server to node"> <Condition> <StartsWith> <OMType /> <Value>ACME_Application_Server</Value> </StartsWith> </Condition> <MapTo> <RootContainer> <DependencyCI relationType="hosted_on"> <True /> </DependencyCI> </RootContainer> </MapTo> </Rule> <Rule name="Create relation between ACME Application Server and ACME System"> <Condition> <And> <Equals> <OMType /> <Value>ACME_Application_Server</Value> </Equals> <Equals> <AncestorCI relationType="container_f"> <Equals> <OMType/> <Value>ACME_System</Value> </Equals> </AncestorCI> <ParentCI/> </Equals> </And> </Condition> <MapTo> <RelationFrom> <From> <AncestorCI relationType="container_f"> <Equals> <OMType/> <Value>ACME_System</Value> </Equals> </AncestorCI> </From> <Type>member</Type> </RelationFrom> </MapTo> </Rule> </Rules> </Mapping>
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-asm@hpe.com.
Help Topic ID:
Product:
Topic Title:
Feedback: