OMS is a J2EE Web application that orchestrates with Management Agents to discover targets, monitor and manage them, and store the collected information in a repository for future reference and analysis. OMS also renders the user interface for the Grid Control console. OMS is deployed to the application server that is installed along with other core components of Grid Control.J2EE ApplicationScalable – via multi-jvmsClusterable – multiple InstancesJava
Management Agent is an integral software component that is deployed on each monitored host. It is responsible for monitoring all the targets running on those hosts, communicating that information to the middle-tier Oracle Management Service, and managing and maintaining the hosts and its targets.Monitors its list of targets Defined in targets.xmlDiscovered by discovery process (varies by type)Communicates with management serviceUploads informationRuns jobs Configuration in emd.properties file (in %ORACLE_HOME%sysmanconfig)
Ist of standard portsCan varyFirewalls may well need to be aware.
Fairly standard profile for a reasonably used 10.2.0.4 db.
Note more useful to look at executions than runs
NB this is a non-oracle non tcl based web application running on a highly customised open source tcl application server.
Prior tp Release 5 template settings were only chagned where the metric already had a setting and you were setting a new one. So if you wanted to remove a setting you couldn’t.
Bugs agent healthcheck for different db versionClone db files must be smaller than 2gb till current version)Subject: Agentca Target Discovery Selects Wrong Database Name For Dataguard TargetAgent Installation Hangs at the Target Discovery Process Due to Customized glogin.sql FileLogfilesOms Note 550395.1 , emagentConfigurationAgent Emd.properties – Note 235290.1OMS Emoms.properties- Note 733401.1Discovery Targets.xml – Note 239224.1 (discovery) 365252.1(recreate)Non-oracle clusters , eg failsafe, vcs mutating tableStatusGet passwords set. CachingPages show wrong status for a surprising length of time sometimes. Email formatsUntil 5Statspack integrationBetter off doing your own thing
Mangled Or Managed
Mangled or Managed?Does Grid Control Deliver<br />
Who we are<br />Maxima is one of the UK and Ireland’s leading IT solution and service providers, offering a unique blend of deep industry knowledge and specialist technology expertise to deliver real business value to organizations of all sizes across a wide range of commercial sectors.<br />
Who I am<br />UKOUG – Chair of UKOUG Oracle on Windows SIG (come present for us)<br />Maxima – Consultant DBA, Maxima Managed Services<br />Oak Table – Windows, “you always make me laugh”, “and another thing”. <br />www.orawin.info/<br />Manager of apps dbas<br />Manager of developers<br />Auditor<br />Father of 3 under 8 – try it, managing developers is easier. <br />Sussex CCC – long suffering then glory.<br />Liverpool FC – glory then long suffering. <br />
Architecture<br />Understanding the design<br />
Oracle Management Repository<br />Oracle 10.1.0.4 - End Premier Support Jan 2009<br />All EM Releases are patches to base release. Can’t use a supported release as an install target.<br />Note 467677.1 – How to Install Grid Control to use 11g for the Repository<br />
Oracle Management Agent<br />32bit Java application.<br />Does most of the work<br />Communicates <br />
Infrastructure Communications<br />http 7777 – EM Website<br />https 4889 – EM Website including agent to OMS<br />https 1831 – OMS to Agent<br />jdbc - OMS to Repository<br />Check Ports carefully<br />
Basic Approach<br />Identify the problem component<br />Record symptoms (error messages, response time).<br />Locate related logfiles<br />Review log files around time of exception for any related error entries.<br />Resolve the error.<br />
Web Server<br />Oracle HTTP Server (Apache)<br />$ORACLE_HOME/Apache/Apache/logs<br />The following log files can be reviewed:<br />Access Log<br />Error Log<br />SSL Log (If using SSL, and error is SSL related)<br />$ORACLE_HOME oms10g<br />
Web Cache<br />Runs in Oracle HTTP Server home<br />$ORACLE_HOME/Apache/Apache/logs<br />Event.log <br />Note 454533.1 Common Troubleshooting Techniques for OracleAS Web Cache<br />Note 259796.1 OracleAS Web Cache event_log messages: Format and Meaning<br />
Oracle Management Server<br />Managed by opmn<br />PATH=$ORACLE_HOME/oms10g/opmn/bin:$PATHexport $PATH<br />Makes it easier to use correct opmnctl<br />Start/Stop components individually<br />opmnctl startopmnctlstartprocias-component=WebCacheopmnctlstartprocias-component=HTTP_Serveropmnctlstartproc process-type=homeopmnctlstartproc process-type=OC4J_EMopmnctlstartproc process-type=OC4J_EMPROV<br />
License basis<br />Grid control free<br />Infrastructure Repository Databases A separate Oracle Database can be installed and used as a Recovery Manager (RMAN) repository without additional license requirements, provided that all the Oracle databases managed in this repository are correctly licensed. This repository database may also be used for the Oracle Enterprise Grid Control repository. It may not be used or deployed for other uses.<br />A separate Oracle Database can be installed and used as a Oracle Enterprise Manager Grid Control (OEM Grid Control) repository without additional license requirements, provided that all the targets (databases, applications, and so forth) managed in this repository are correctly licensed. This database may also be used for the RMAN repository. It may not be used or deployed for other uses<br />Management packs do cost<br />Management packs still cost without GC<br />Eg awrrpt.sql <br />
Plugins<br />A wide variety of extra cost options<br />http://www.pythian.com/news/mysql-plugin-for-oracle-grid-control<br />Oracle-l (self developed sqlserver)<br />
Conclusions<br />Grid Control is a mature product.<br />Grid Control can be complex. <br />Probably not worth it for small installations < 5 databases/3 servers<br />Strategic product<br />