Administration Groups in EM12c

28 downloads 2933 Views 2MB Size Report
Feb 4, 2012 ... Enterprise Manager 12c brings us a solution to this problem by introducing ... When setting up an Administration Group, you need to identify.
Administration  Groups  in  EM12c   Date:  04/02/2012   Author:  Rob  Zoeteweij     http://oemgc.wordpress.com     In  previous  releases  of  Enterprise  Manager,  we  were  able  to  create  Groups  that  allowed   us  to  monitor  a  group  of  Targets  that  were  logically  related.  For  instance  specific  groups   based  on  the  Lifecyle  phase  (Development,  Test,  Acceptance,  Production),  of  based  on   the  specific  SLA  the  Targets  were  assigned  to.     A  great  way  to  organise  Targets  and  to  focus  on  specific  Groups  in  your  monitoring   setup.  A  drawback  however,  when  looking  at  maintaining  these  groups.  In  too  many   situations  at  Customer  sites,  assigning  newly  created  Targets  to  a  specific  Group  simply   was  forgotten.    This  often  resulted  in  incomplete  monitoring  of  specific  Targets.     Enterprise  Manager  12c  brings  us  a  solution  to  this  problem  by  introducing   ‘Administration  Groups’.  When  setting  up  an  Administration  Group,  you  need  to  identify   specific  Target  Properties  like  ‘Department’,  ‘Line  of  Business’,  ‘Lifecycle  Phase’  and   others  to  relate  to  a  certain  level  in  the  Administration  Hierarchy.  Where  a  Hierarchy   might  be  based  on  multiple  Properties.   If  then  for  instance,  a  Target  get’s  assigned  a  specific  ‘Line  of  Business’,  the  Target  will  be   assigned  automatically  to  the  appropriate  Group  in  the  Hierarchy.  By  this  you  will  be   sure  each  Target  is  assigned  to  the  right  Group.     Let’s  see  how  we  can  setup  such  an  Administration  Group.     From  the  Setup  menu  select  Add  Target  à  Administration  Groups    

 

 

    Select  the  “Hierarchy”  Tab  or  select  the  Setup  Administration  Group  Hierarchy  link    

  Next  press  the  [Add]  Icon  at  the  Hierarchy  Level    

 

  Select  Lifecycle  Status    

 

    As  we  can  see,  an  Hierarchy  is  automatically  created  based  on  the  5  predefined  Lifecycle   statuses  ‘Development’,  ‘Mission  Critical’,  ‘Production’,  ‘Staging’  and  ‘Test’     We  notice  that  all  names  for  the  Groups  are  created  by  default  ‘Dev-­‐Grp’,  ‘MC-­‐Grp’  etc.       In  this  example  we  will  change  these  names    

    Select  the  Deve-­‐Grp  link  that  will  bring  up  a  Dialog  allowing  you  to  change  the  name.  In   this  example  we  will  use  ‘DEV_GROUP’.     In  the  same  way  we  will  change  all  other  names  to:  ‘MSC_GROUP’,  ‘PRD_GROUP’,   ‘STG_GROUP’  and  ‘TST_GROUP’    

    In  this  example  we  will  merge  both  the  Development  and  Test  Group  as  these  Groups   will  be  monitored  similar.    

  Under  ‘Hierarchy  Nodes’  we  will  both  select  Development,  Staging  and  Test  and  select   Edit  à  Merge    

  We  will  do  the  same  with  the  Mission  Critical  and  Production  Groups    

 

    Next  we  will  change  the  names  to  ‘PRE_PRD_GROUP’  and  ‘PRD_GROUP’       We  will  now  extend  the  Hierarchy  with  the  ‘Line  of  Business’    

    To  do  so  we  will  select  the  [Add]  Icon  at  ‘Hierarchy  Levels’  and  select  ‘Line  of  Business’    

 

  We  notice  that  the  Line  of  Business  level  is  included  in  the  Hierarchy,  showing  the   ‘FINANCE’  and  ‘SALES’  Line  of  Business.     These  Groups  could  have  been  included  simply  because  of  the  fact  that  several  Targets   have  been  assigned  a  ‘Line  of  Business’.  You  can  do  this  starting  at  the  Target  Home  page   and  then  select  Targets  Setup  à  Properties       Before  we  finalize  the  creation  of  the  Group,  we  will  first  change  the  names  of  the  ‘Line   of  Business’  Groups  to:  ‘PRE_PRD_FINANCE_GROUP’,  ‘PRE_PRD_SALES_GROUP’,   ‘PRD_FINANCE_GROUP’  and  ‘PRD_SALES_GROUP’.     Press  the  [Create]  button  and  acknowledge  the  Confirmation    

Next  we  will  navigate  to  the  Group  Targets  page    

Select  Targets  à  Groups    

 

 

  The  Groups  Pages  shows  the  Administration  Group  we  just  created     It  also  shows  the  Targets  and  number  of  Targets  that  are  member  of  this  Group,  as  well   as  Status  and  Incident  information    

  After  expanding  the  Top  Level,  the  complete  Hierarchy  is  shown  as  we  just  created  it     We  notice  that  Group  ‘PRD_FINANCE_GROUP’  does  not  have  any  Members.  The  beauty   of  Administration  Groups  is:  that  as  soon  as  a  Host  or  Database  Instance  is  assigned  Line   of  Business  ‘FINANCE’  it  will  become  a  Member  of  this  Group  automatically!     What  we  will  do  next  is  assign  a  new  Database  to  the  ‘FINANCE’  Line  of  Business     In  this  example  we  have  just  created  a  new  Database  orcl5.mycorpdomain.com,  which   should  be  assigned  to  the  ‘FINANCE’  Line  of  Business.     When  in  the  Database  Homepage,  we  select  from  the  Database  menu  Target  Setup  à   Properties  

 

 

    Next  we  enter  ‘FINANCE’  as  the  Line  of  Business  the  Database  Instance  needs  to  be   assigned  to.     If  we  now  take  a  look  at  the  Groups  Targets  Page  we  will  notice  that  the  Database  was   automatically  assigned  to  Group  ‘PRD_FINANCE_GROUP’    

 

 

  When  selecting  the  Top  Level  Group  ADMGRP0,  we  will  get  this  nice  Console  view    

 

What  next?   Well  we  could  now  start  assigning  Template  Collections  to  each  of  these  Groups,  in   order  to  setup  monitoring.     Just  check  for  new  postings  on  my  Blog