Login with Facebook

Saturday, August 20, 2011

Modeling: Creating relationship between OS and Nodes

The main idea here is to group multiple Servers under Operating System name, this may be needed by some operators to identify operating system for Node CIs by just a glimpse.

My objective is to show how simply this can be done in HP uCMDB

Steps:

  1. Create a new CIT for Operating System.
  2. Create several OS instances
  3. Create a Virtual calculated relationship between OS and Node CIs

1- Create a new CIT for Operating System.

Open CI Type Manager  by Modeling > CI Type Manager

Create CIT for Operation System

Assign the Name attribute as Key

Create CIT instances that matches the operating system names populated in your Node CIs like DiscoveredOSName

image

Assign the Name attribute as Key

image

2- Create several OS instances

Create CIT instances that matches the operating system names populated in your Node CIs like DiscoveredOSName

image

 

Modeling > IT Universe Manager

Click on New CI

image

3- Create a Virtual calculated relationship between OS and Node CIs

Modify your View or Model or Prospective to have this relation, below I have created a new view.

Modeling > Modeling Studio 

Create New View  I named it “OS2Node

Add both Operating System and Node CITs

Create Joined Relationship

image

Select Name Attribute from Operating System CIT and DiscoverOSName from Node CIT and select Operator Sub string ignore case

image

This is the final result of the CIs and its relations.

image

2 comments:

Atle Ostbo said...

Hi Mahmoud, we have NNMi topo sync to the RTSM (uCMDB) and have got all objects into the cmdb. I want to add releation ship between node and bussiness object. I dont have any bussiness object registered today. The node name have dns names that is possibel to search to get nodes that belong to that customer. I want f ex to search after node with name like %LF% and add this to one company/partner. Do you have any tips & trix to do this in an easy way?

Unknown said...

Hi @atle Ostbo please check the link below, it has the same idea that you want to achieve and update me with your findings http://www.mahmoudthoughts.com/2011/08/hp-ucmdb-creating-new-cis-using.html
Regards,
Mahmoud Ibrahim

Post a Comment