2. Agenda About Maxima Me Enterprise Manager Architecture Good Bad Troubleshooting Licensing Plugins Conclusion Q&A
3. Who we are 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.
4. Who I am UKOUG – Chair of UKOUG Oracle on Windows SIG (come present for us) Maxima – Consultant DBA, Maxima Managed Services Oak Table – Windows, “you always make me laugh”, “and another thing”. www.orawin.info/ Manager of apps dbas Manager of developers Auditor Father of 3 under 8 – try it, managing developers is easier. Sussex CCC – long suffering then glory. Liverpool FC – glory then long suffering.
8. Oracle Management Repository Oracle 10.1.0.4 - End Premier Support Jan 2009 All EM Releases are patches to base release. Can’t use a supported release as an install target. Note 467677.1 – How to Install Grid Control to use 11g for the Repository
24. Basic Approach Identify the problem component Record symptoms (error messages, response time). Locate related logfiles Review log files around time of exception for any related error entries. Resolve the error.
25. Web Server Oracle HTTP Server (Apache) $ORACLE_HOME/Apache/Apache/logs The following log files can be reviewed: Access Log Error Log SSL Log (If using SSL, and error is SSL related) $ORACLE_HOME oms10g
26. Web Cache Runs in Oracle HTTP Server home $ORACLE_HOME/Apache/Apache/logs Event.log Note 454533.1 Common Troubleshooting Techniques for OracleAS Web Cache Note 259796.1 OracleAS Web Cache event_log messages: Format and Meaning
27. Oracle Management Server Managed by opmn PATH=$ORACLE_HOME/oms10g/opmn/bin:$PATHexport $PATH Makes it easier to use correct opmnctl Start/Stop components individually opmnctl startopmnctlstartprocias-component=WebCacheopmnctlstartprocias-component=HTTP_Serveropmnctlstartproc process-type=homeopmnctlstartproc process-type=OC4J_EMopmnctlstartproc process-type=OC4J_EMPROV
34. License basis Grid control free 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. 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 Management packs do cost Management packs still cost without GC Eg awrrpt.sql
35. Plugins A wide variety of extra cost options http://www.pythian.com/news/mysql-plugin-for-oracle-grid-control Oracle-l (self developed sqlserver)
36. Conclusions Grid Control is a mature product. Grid Control can be complex. Probably not worth it for small installations < 5 databases/3 servers Strategic product
Notes de l'éditeur
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