Problem statement:Suppose you are upgrading your OEM version from 13.4 to 13.5 or higher.During this upgrade you are also changing your OS platform from SOLARIS to Linux.Since this is a change of platform so we need to install new OMS instance along with repository database.After that we need to add targets either manually or through auto discovery option of OEM.Now, real problem is everytime we add targets we need to apply corresponding monitoring template.This will be really time consuming tasks if you have thousands of non-host targets.This problem can be solved using administration group
This
document will guide you how to make this tasks simple and reduces effort.
This has
been tested in following environments
|
Source |
Target |
|
Agent: -13.4 |
Agent :-13.5 |
|
Repository database:-19.6 |
Repository database:-19.26 |
|
OS:-Solaris 10 |
OS:- OEL 8 |
Please follow below steps
1.
First create monitoring templates and define
metric threshold according to your environment.
I have created 2 simple monitoring
templates,one of database instance and other for host.
If you don’t know how to create template use
below reference.
Reference:- Using
Monitoring Templates
2.
Follow below navigation in OEM console
Setup>Add Targets>Adminstration
Groups
You will end up landing in Getting started tab.Click
on Hierarchy tab and follow next step
3.
There are different ways you can create
hierarchy levels but I found that creating hierarchy
based on Target Type is simple.Any other
attributes needs to be added in target properties.
Once you select Target Type you will
get below warning saying only 10 targets can be selected
You can see 10 different targets type appeared by default.
Remove and add targets based
on your environment.
Now create the group using Create button on top right.You
will get a confirmation message
Now you can see targets are automatically added in
corresponding hierarchy groups
4.
Now click on Template Collections tab and click
on create button.Basically we will add various templates under this like below
Now save the
template collections.
6.
Now you can see templates are associated with administration
group
7.
Final step is to synchronize this template
collection changes to all groups
Go to Targets>Groups and select
Adminstration group.
Group page will open and then click on
start syncronization
You will see how many targets are synchronized.
You are done with all steps.Everytime you
add a target it will be automatically assigned to administration group and
corresponding templates will be applied based on synchronization schedule.
Hope you have learnt something useful…