Table of Contents Lab Overview - - vcenter Operations Manager Management Pack for Oracle Enterprise Manager... 2 Lab Guidance... 3 Module 1 - Oracle Enterprise Manager Management Pack Introduction (15 Min)...4 Overview of Oracle Enterprise Manager... 5 View Performance, Health, and Availability Metrics for Oracle Workloads... 7 Module 2 - Installation of Oracle Enterprise Manager Management Pack (15 Min)... 13 Overview of Management Pack Installation... 14 Management Pack Installation for vapp Version... 15 Management Pack Files and Folders... 19 Module 3 - Configuration of Oracle Enterprise Manager Management Pack (30 Min)... 23 Overview of Management Pack Configuration... 24 Adding Oracle Enterprise Manager Credentials... 25 Adapter Instance Configuration... 28 Verifying Adapter Data... 31 Licensing the Management Pack... 34 Reducing Metrics Collected Through Advanced Filtering Configuration...37 Module 4 - Understanding Oracle on VMware Relationships (15 Min)... 40 Overview of VMware Relationships... 41 Environment Overview and Relationship Mapping... 42 Module 5 - Performance, Health, and Availability Diagnosis Using Oracle Enterprise Manager Dashboards (30 Min)... 46 Overview of the Dashboards Provided with Management Pack... 47 Oracle EM Managed Environment Overview Dashboard... 48 Oracle Databases Overview Dashboard... 55 Oracle Hosts Overview Dashboards... 57 Oracle Relationship Dashboard... 59 Oracle DB VM Mashup Dashboard... 62 Module 6 - Troubleshooting and Trend Spotting the Oracle Enterprise Manager Management Pack (15 Min)... 66 Troubleshooting the Oracle Enterprise Manager Adapter Instance...67 Page 1
Lab Overview - HOL- PRT-1463 - vcenter Operations Manager Management Pack for Oracle Enterprise Manager Page 2
Lab Guidance The Management Pack for Oracle OEM provides unified management of Oracle Workloads Running on VMware through a tool that both Oracle admins and VMware admins can jointly use to understand the relationship, availability, performance, as well as bottlenecks within your converged Oracle and VMware environment. This enables intelligent operations and the ability to proactively avoid performance issues and gain deep insights into the health, risk, and efficiency of Oracle running on VMware. On top of it all, you gain vcenter Operations native capacity planning and predictive analytics to forecast critical Oracle related outages well before they occur. Learn how to get the most out of your data contained in Oracle Enterprise Manager using vcenter Operations Manager. This lab will guide you through the process of installing and configuring the vcenter Operations Management Pack for Oracle Enterprise Manager, as well as walk you through common use cases on how to utilize the management pack to achieve comprehensive visibility and insights into the performance, capacity, and health of the monitored infrastructure. The entire lab will take 2-3 hours to complete. Each module in the lab is independent and can be performed in any order. Table of Contents This Hands on Lab will contain the following modules. 1. Oracle Enterprise Manager Management Pack Introduction - Beginner, 15 Minutes 2. Installation of Oracle Enterprise Manager Management Pack - Beginner, 15 Minutes 3. Configuration of Oracle Enterprise Manager Management Pack - Intermediate, 30 Minutes 4. Understanding Oracle of VMware Relationships - Advanced, 15 Minutes 5. Performance, Health, and Availability Diagnosis Using Oracle Enterprise Manager Dashboards - Intermediate, 30 Minutes 6. Troubleshooting and Trend Spotting the Oracle Enterprise Manager Management Pack - Advanced, 15 Minutes Page 3
Module 1 - Oracle Enterprise Manager Management Pack Introduction (15 Min) Page 4
Overview of Oracle Enterprise Manager What is the vcenter Operations Management Pack for Oracle Enterprise Manager? The Management Pack takes in metrics about Targets (managed objects like databases, listeners, servers, data stores, etc.) along with Oracle performance data, availability data, configuration data, and relationship data. The Blue Medora Management Pack can then take advantage of the advanced event correlation and predictive analytic capabilities that make vcenter Operations the most powerful tool for helping IT Admins to maintain the health of, reduce risk of issues occurring in, and to optimize, the IT environment. Why deploy vcenter Operations for Oracle Enterprise Manager? vcenter Operations Manager provides the following benefits when used in conjunction with Oracle Enterprise Manager: 1. Unified Management of Oracle Workloads Running on VMware: provides a tool that both Oracle admins and VMware admins can jointly use to understand the relationships, availability, performance, and bottlenecks within your converged Oracle and VMware environment. 2. Intelligent Operations: ability to proactively avoid performance issues and gain deep insights into the health, risk, and efficiency of Oracle running on VMware. 3. vcenter Operations Native Capacity Planning and Predictive Analytics: forecasts critical Oracle related outages well before they occur. For each configured OEM Target (i.e. a Database, an Operating System, a WebLogic J2EE instance, etc), OEM collects and storeshundreds of near-real-time health, performance, availability, and configuration metrics. These are the same metrics that are used within OEM to visualize Oracle environments and generate alerts on issues. The Blue Medora vc Ops Management Pack for OEM makes all these essential Oraclerelated metrics available within vcenter Operations Manager. It allows the use of vcenter Operations Manager s capabilities to identify performance issues and gain deep insights into the health, risk and efficiency of your virtual and physical Oracle workloads (the underlying operating systems and in particular related VMware infrastructure, if applicable). The Blue Medora Management Pack for OEM helps customers recognize and address symptoms that threaten performance and availability, before the symptoms become issues that impact business users and the business itself. Page 5
Leverage Oracle Focused Real-time Metrics The next generation vcenter Operations Management Pack for OEM provides deep vcenter Operations visibility into a customer s entire OEM managed estates including critical data on Oracle technologies such as: Oracle Database, Oracle RAC, Oracle Database Listener, ASM, ASM Clusters, Oracle TimesTen Database WebLogic Servers, J2EE Applications, WebLogic Clusters & Pools, Tuxedo Oracle Identity Management, Goldengate Oracle Exadata, Oracle ZFS Storage Appliances, Oracle Pillar Storage PeopleSoft, Siebel CRM, JD Edwards, Oracle E-Business Suite, and Oracle Fusions Apps Page 6
View Performance, Health, and Availability Metrics for Oracle Workloads The greatest benefit of connecting vcenter Operations to Oracle Enterprise Manager is that it allows customers to have a unified and integrated view of their critical Oracle workloads that are virtualized with VMware. This integration reveals the key metrics that must be monitored, tracked, and measured from each platform to ensure overall system availability and efficiency. Log in to the vcenter Operations Manager Admin Interface In Google Chrome, click the vcops Admin bookmark. Log in to the Admin Interface with user "admin" and password "VMware1!". Note: This step is only required if the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs when logging in to the vcenter Operations Manager Custom UI. Page 7
Log in to the vcenter Operations Manager Environment In Google Chrome, click on the vcops Custom bookmark. Log in to the Custom Interface with user "admin" and password "VMware1!". Note: If the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs, simply logging in to the vcenter Operations Manager Admin Interface as "admin" with the password "VMware1!" will fix the issue. Open the Dashboards The vcenter Operations Management Pack for Oracle Enterprise Manager comes with powerful out-of-the-box dashboards. Page 8
Managed Environment Overview Oracle EM Management EnvironmentDashboard is your high level view of your entire Oracle environment from vc Ops. Oracle Databases Overview In the Oracle Database Overview dashboard, you can look at the Top Oracle Databases by ten different key performance indicators. Page 9
Oracle Hosts (Operating Systems) Overview The Oracle Host Overview dashboard allows you to look at the top Oracle Hosts by nine different operating system key performance indicators. Oracle Relationships The Oracle Relationship dashboard provides a single view of the database and its related operating system and virtual machine key performance indicators. Page 10
Oracle DB VM Mashup The Oracle DB VM Mashup dashboard shows a side-by-side view of the key performance indicators for both the Oracle database and the related VMware virtual machine. Page 11
Oracle Adapter Status The Oracle Adapter Status dashboard is a diagnostic tool provided with the management pack to give a quick view of the adapter's performance and status. Page 12
Module 2 - Installation of Oracle Enterprise Manager Management Pack (15 Min) Page 13
Overview of Management Pack Installation This module will guide you through the installation of the Management Pack and give you an overview of the important files and folders created in the installation. This module is a beginner module that will take around 15 minutes. Page 14
Management Pack Installation for vapp Version This article presents step-by-step instructions to install the vcenter Operations Management Pack for Oracle Enterprise Manager. When completed, the management pack will be fully installed including all dashboards and super metrics. It will take approximately 15 minutes to complete the installation. Log in to the vcenter Operations Manager Admin Interface In Google Chrome, click on the vcops Admin bookmark. Log in to the Admin Interface with user "admin" and password "VMware1!". Page 15
Upload the PAK File On the Update tab, click Browse to locate the PAK file on the desktop. Click Update and then click OK to confirm the update. The upload might take several minutes. Page 16
Update the Adapter Read and accept the End User License Agreement and click OK. Click OK to confirm the update process. The update might take several minutes. Log in to the vcenter Operations Manager Environment In Google Chrome, click on the vcops Custom bookmark. Log in to the Custom Interface with user "admin" and password "VMware1!". Page 17
Describe the adapters Select Admin > Support, then click on the Info tab. Find the adapters Info pane and click the Describe button in the upper right corner of the pane. Click Yes to start the describe process and click OK. The describe may take several minutes. Verify the Adapter Installed Successfully After the adapter has described, verify that the build number in the Adapter Version column for the adapter matches the build number in the PAK file that you uploaded. Page 18
Management Pack Files and Folders The Oracle Enterprise Manager management pack is configured through several files. This article will explore those. Connect with PuTTY Open the PuTTY application. In the PuTTY Configuration dialog click on Session and select the vcops-analytics in Saved Sessions. Click the Load button to and then open the connection. When prompted, log in as root with the password VMware1! Page 19
Navigate to the adapter directory Run the command: cd $ALIVE_BASE/user/plugins/inbound/oem_adapter3/ This will move you to the location where the adapter is installed. View the properties file Run the command: cat conf/oem.properties This file configures various aspects of collection for the management pack. A later article will explore oem.properties in detail. View the ResourceGroups file Run the command: cat conf/resourcegroups.conf Page 20
This file determines which resource groups should be included in collection. A later article will explore resourcegroups.conf in detail. View the describe file Run the command: cat conf/describe.xml A standard part of any vcenter Operations Manager management pack, describe.xml defines the structure of resource kinds, credentials, and more. It also defines label text for everything in the management pack. Page 21
View the Version file Run the command: cat conf/version.txt This file simply contains version information of the management pack. View the License file Run the command: cat conf/license.properties This file contains the license information that activates the adapter. A later article will explore license.properties in more detail. Page 22
Module 3 - Configuration of Oracle Enterprise Manager Management Pack (30 Min) Page 23
Overview of Management Pack Configuration This module will detail the configuration and licensing of the Oracle Enterprise Manager Adapter through the used of the vcenter Operations Manager web interface and the files installed with the management pack. This module is and intermediate module that will take 15 to 30 minutes to complete. Page 24
Adding Oracle Enterprise Manager Credentials An Oracle Enterprise Manager adapter instance uses a user name and password to connect to the Oracle Enterprise Manager database. You use this user name and password to create a credential for the adapter instance in vcenter Operations Manager. You can add the credential before you create the adapter instance and select the correct credential when you define the adapter instance, or you can add the credential when you define the adapter instance. Log in to the vcenter Operations Manager Admin Interface In Google Chrome, click the vcops Admin bookmark. Log in to the Admin Interface with user "admin" and password "VMware1!". Note: This step is only required if the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs when logging in to the vcenter Operations Manager Custom UI. Page 25
Navigate to the Custom Interface Open Google Chrome and click the vcops Custom bookmark. Log in as "admin" with the password "VMware1!". Note: If the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs, simply logging in to the vcenter Operations Manager Admin Interface will fix the issue. Open the credential management screen Navigate to Environment> Configuration> Credentials Filter the view Select OEM Adapter from the Adapter Kind drop-down menu. Select Oracle Database Credentials from the Credential kind drop-down menu. Page 26
Add the credential At the top of the list of credentials, next to Action, click Add. Type a unique name for the credential instance in the Instance name text box. Type "root" in the User name text box. Type "VMware1!" in the Password text box. Click OK. Page 27
Adapter Instance Configuration An Oracle Enterprise Manager adapter instance uses a user name and password to connect to the Oracle Enterprise Manager database. You use this user name and password to create a credential for the adapter instance in vcenter Operations Manager. You can add the credential before you create the adapter instance and select the correct credential when you define the adapter instance, or you can add the credential when you define the adapter instance. Navigate to the Custom Interface Open Google Chrome and click the vcops Custom bookmark. Log in as "admin" with the password "VMware1!". Note: If the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs, simply logging in to the vcenter Operations Manager Admin Interface as "admin" with the password "VMware1!" will fix the issue. Open the adapter instance management screen Navigate to Environment > Configuration > Adapter Instances. Page 28
Filter the view Select vcenter Operations Server from the Collector drop-down menu. Select OEM Adapter from the Adapter Kind drop-down menu. Page 29
Add an Adapter Instance Click the Add New Adapter Instance icon. Select OEM Adapter in the Adapter Kind drop-down menu. Type a name for the adapter in the Adapter Instance Name text box. Type "jdbc:oracle:thin:@em-oel6-it:1521:oem12c" in the JDBC URL text box. Select All resource kinds from the Resource Kinds drop-down menu. Select sysman from the Credential drop-down menu. Click OK to create the adapter instance. Page 30
Verifying Adapter Data All metrics collected in vcenter Operations Manager can be viewed and verified through the user interface. This module will show you how to located and verify the data given by the Oracle Enterprise Manager Adapter. Navigate to the Custom Interface Open Google Chrome and click the vcops Custom bookmark. Log in as "admin" with the password "VMware1!". Note: If the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs, simply logging in to the vcenter Operations Manager Admin Interface as "admin" with the password "VMware1!" will fix the issue. Navigate to the Environment Overview Choose the Environment > Environment Overview menu option. Page 31
Show Detail for OEM - Cluster In the navigation tree on the left, expand Resource Kinds. Choose OEM - Cluster. Select oradb-cluster from the list on the right. Click the Show Detail icon. Explore the available metrics In the metric selector in the bottom left, expand Private Interconnect. Double-click Private Interconnect Transfer Rate (MB/sec) and observe the graph on the right. View as many more metrics as you like, then return to the Environment Overview screen by using your browser's back button or the Environment > Environment Overview menu option. Page 32
Repeat the process This process can be repeated to display data on any available metric. Page 33
Licensing the Management Pack The Management Pack requires a valid license for full operation. Connect with PuTTY Open the PuTTY application. In the PuTTY Configuration dialog click on Session and select vcops-analytics from the Saved Sessions list. Click the Load button and then Open the connection. When prompted, log in as root with password VMware1. Navigate to the conf Directory Run the command: cd $ALIVE_BASE/user/plugins/inbound/oem_adapter3/conf/ Page 34
Edit the license key file and add the key Use your favorite terminal editor to open the file named license.properties. Set the licensekey property to your key. For this example, the entire file should read: licensekey=1/bluemedora/07-18-2014/trial/08-07-2014/unlimited/ 4D2F6447E1EC528FC157E970A42885B8EDEA049C There are no spaces in the license key. Log in to the Custom UI Now the adapters need to be restarted. This is done in the vcenter Operations Manager Custom UI. Open Google Chrome and click the vcops admin bookmark. Log in as "admin" with the password "VMware1!". Note: If the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs, simply logging in to the vcenter Operations Manager Admin Interface as "admin" with the password "VMware1!" will fix the issue. Page 35
Restart the Adapter Instances Navigate to Environment > Environment Overview. On the left side, select Adapter Instances > OEM - Adapter Instances. Click on the the OEM - Adapter Instance tab and make sure that it is highlighted as shown. Then select all adapter instances and click the Stop Collecting icon, then click the Start Collecting icon. Page 36
Reducing Metrics Collected Through Advanced Filtering Configuration The resourcegroups.conf file allows turning on and off resource groups. Turning off a resource group will cause it to not be collected from Oracle Enterprise Manager or added into vcenter Operations Manager. Limiting the number of resource groups results in higher performance both for Oracle Enterprise Manager (faster query execution) and vcenter Operations Manager (reduced processing and storage requirements). This file is created when the first collect cycle starts for an adapter instance, and will contain all Resource Groups present in MGMT$METRIC_CURRENT. By default, only Resource Groups that are not instanced will be marked to collect (i.e., the value for the column key_value in MGMT$METRIC_CURRENT is null). Page 37
Connect with PuTTY Open the PuTTY application. In the PuTTY Configuration dialog click on Session and select vcops-analytics from the Saved Sessions list. Click the Load button and then Open the connection. When prompted, log is as root with password VMware1!. Navigate to the adapter directory Run the command: cd /usr/lib/vmware-vcops/user/plugins/inbound/oem_adapter3/ Page 38
View the resourcegroups.conf file Run the command: cat conf/resourcegroups.conf Each line has three fields, separated by a pipe ( ). The first is the target_type, the second is the resource_group, and the third determines whether the Resource Group is marked to collect. To mark a resource Group to collect, set the third column to X. Page 39
Module 4 - Understanding Oracle on VMware Relationships (15 Min) Page 40
Overview of VMware Relationships This module will show how the Oracle Enterprise Manager Adapter uses relationships to monitor a system's health. These relationships are useful when determining the root cause of a system's errors. This module is an advanced module that will take about 15 minutes. Page 41
Environment Overview and Relationship Mapping For each configured OEM Target (i.e. a Database, an Operating System, a WebLogic J2EE instance, etc), OEM collects and stores hundreds of near-real-time health, performance, availability, and configuration metrics. These are the same metrics that are used within OEM to visualize Oracle environments and their relationships. For each OEM 'Target', the management pack creates a Resource Kind and corresponding Resource Instance in the vcops environment. The resource relationships from EM are maintained and integrated into the virtualized infrastructure when possible. Log in to the vcenter Operations Manager Admin Interface In Google Chrome, click the vcops Admin bookmark. Log in to the Admin Interface with user "admin" and password "VMware1!". Note: This step is only required if the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs when logging in to the vcenter Operations Manager Custom UI. Page 42
Log in to the vcenter Operations Manager Environment In Google Chrome, click on the vcops Custom bookmark. Log in to the Custom Interface with user "admin" and password "VMware1!". Note: If the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs, simply logging in to the vcenter Operations Manager Admin Interface as "admin" with the password "VMware1!" will fix the issue. View a Resource Kind Navigate to Environment > Environment Overview. In the tree on the left, expand Resource Kinds. In the tree, select OEM - Database Instance. On the right, select OEM12C. Click the Show Detail button. Page 43
View Metric Data Every metric collected for the resource is available in the Metric Selector tree view in the bottom left. Double click on any of the metrics to view its graph in the Metric Graph widget. View Relationships View the relationship chart in the top right. The current resource is in the middle, with parents above and children below. Health can easily be seen as a colored square. Page 44
View Related Resource View the relationship chart in the top right. The current resource is in the middle, with parents above and children below. Health can easily be seen as a colored square. Select em-oel6-it.bluemedora.localnet in the relationship chart. Click the Resource Detail button. View Relationships Return your attention to the relationship chart in the top right. The emoel6-it.bluemedora.localnet Oracle Host resource is now shown in the middle of the health tree chart with the database below it as a child resource. Page 45
Module 5 - Performance, Health, and Availability Diagnosis Using Oracle Enterprise Manager Dashboards (30 Min) Page 46
Overview of the Dashboards Provided with Management Pack All of the Oracle EM target types are now available to be ingested into VMware vcenter Operations Enterprise Edition and come with powerful out-of-the-box dashboards to provide immediate value. In this module we will take a look at a few of those Oracle specific dashboards. The management pack ships with six out-of-the box dashboards. Oracle EM Managed Environment Oracle DB VM Mashup Oracle Databases Overview Oracle Hosts Oracle Relationships Oracle Adapter Status The module will walkthrough each dashboard and explain how each is used to understand the Oracle Enterprise Manager environment and should take 15-30 minutes to complete. Page 47
Oracle EM Managed Environment Overview Dashboard The Oracle EM Management EnvironmentDashboard is your high level view of your entire Oracle environment from vcenter Operations Manager. This dashboard includes a handful of widgets designed to promote availability and key metrics to the surface or quick analysis of your environment. Log in to the vcenter Operations Manager Admin Interface In Google Chrome, click the vcops Admin bookmark. Log in to the Admin Interface with user "admin" and password "VMware1!". Note: This step is only required if the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs when logging in to the vcenter Operations Manager Custom UI. Log in to the vcenter Operations Manager Environment In Google Chrome, click on the vcops Custom bookmark. Log in to the Custom Interface with user "admin" and password "VMware1!". Note: If the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs, simply logging in to the vcenter Operations Manager Admin Interface as "admin" with the password "VMware1!" will fix the issue. Page 48
Open the Dashboard Page 49
Oracle Heat Maps Widget On the left side of the dashboard is the Oracle Heat Maps Widget. For each Oracle database in the Oracle Enterprise Manager environment, it will display a block colored to indicate the current health of the database and size the block to display the current memory usage of the database. Page 50
Select the OEM12C database from Heat Map Select, from the heat map widget, OEM12C to view data collected from the adapter. Page 51
Oracle Relationships Widget Focusing on the Oracle Relationships view, this key widget is used as your starting point for diagnosing issues within the environment, understanding the relationship between the Oracle layer and the VMware layers, and highlighting where issues may be occurring. It is an intuitive way to perform root cause analysis. By selecting the OEM12C database from the heatmap, the relationship widget displays all the resources relating to the database in the relationship widget. This gives a quick view of the health of each resource affecting the performance of the selected object. Page 52
Select the Clustered Database from the Relationship Widget All the related resources are now highlighted to reflect the the relationships of the clustered database. Page 53
Database Key Performance Indicators On the right side of the dashboard are the key performance metrics for Oracle databases broken down into four top 25 analysis widgets. Each widget displays the databases with the highest usage for the given metric. Page 54
Oracle Databases Overview Dashboard In the Oracle Database Overview Dashboard, you can look at the Top Oracle Databases by ten different key performance indicators. Open the Dashboard Click on the Dashboards tab in vcenter Operations Manager. Then click Oracle followed by Oracle Databases Overview to get to the Oracle Database Overview Dashboard. Page 55
Understanding the Dashboard The Oracle Database Overview dashboard allows you to look at the Top Oracle Databases by Wait Bottlenecks by Active Sessions using I/O Widget and drill down to view more information about a specific database -- in this case OEM12c. From here you can browse any of the hundreds of Oracle database related metrics, graph them, plot multiple related metrics, and jump to related objects allowing you to understand what is going on at a micro level. This dashboard is used to look across the entire Oracle Database landscape monitored by Enterprise Manager and provide a series of Top 25 lists for critical Database key performance indicators. This includes Transactions per second, Average Instance CPU, Database Hit Ratios, and several key Wait Bottlenecks to name a few. Page 56
Oracle Hosts Overview Dashboards The Oracle Host Overview Dashboard allows you to look at the top Oracle Hosts by nine different operating system key performance indicators. Open the Dashboard In vcenter Operations Manager, navigate to Dashboards > Oracle > Oracle Hosts(Operating System) Page 57
Understanding the Dashboard The Oracle Hosts Overview dashboard allows you to look at the Top Oracle Hosts by CPU % Used Widget and drill down to view more information about a specific operating system -- in this case em-oel6-it.bluemedora.localhost. From here you can browse any of the hundreds of Oracle operating system related metrics, graph them, plot multiple related metrics, and jump to related objects allowing you to understand what is going on at a micro level. This dashboard is used to look across the entire Oracle Host landscape monitored by Enterprise Manager and provide a series of Top 25 lists for critical operating system key performance indicators. Page 58
Oracle Relationship Dashboard The Oracle Relationship dashboard provides a single view of the database and its related operating system and virtual machine key performance indicators. Open the Dashboard Navigate to Dashboards > Oracle > Oracle Relationships Select Oracle Database Instance Select OEM12C in the Select: Oracle Database Instance Menu. Page 59
Automatic Oracle Host and Virtual Machine Selection Once the Oracle database is select the related Oracle Host and Virtual Machine will be selected automatically. Page 60
Viewing the Key Performance Indicators By selecting the Oracle database on the left, the metric sparkline widgets on the right will update to show the key performance indicators for each level in the virtualized environment. Starting with the database metrics at the top to the Oracle Host metrics in the middle and followed by the related virtual machine on the bottom. In a single view, the most important metrics are visible to help understand the performance and health of the environment that database operates within. Page 61
Oracle DB VM Mashup Dashboard The Oracle DB VM Mashup dashboard, allows the selection of any Oracle database in the environment and it will instantly show a side-by-side view of the key performance indicators for both the Oracle database and the related VMware virtual machine. Open the Dashboard Navigate to Dashboards > Oracle > Oracle DB VM Mashup Dashboard. Select Oracle Database Select SCRM5 in the Select Oracle Database Menu. Page 62
Related VMware Virtual Machine KPIs Once the Oracle database has been selected, the scoreboard widget containing all the related VMware virtual machine key performance indicators will be populated. Page 63
Oracle Database Configuration and Performance The right side of the screen contains a set of scoreboard widgets focused on the Oracle database. Key database configuration, settings, and performance metrics will populate for the selected Oracle database. Page 64
Relationships and Trending At the bottom of the dashboard is a set of metric graphs to quickly display trends and anomalies for the Oracle database key performance indicators. The health and relationships for the Oracle database are shown in the Health Tree widget. Page 65
Module 6 - Troubleshooting and Trend Spotting the Oracle Enterprise Manager Management Pack (15 Min) Page 66
Troubleshooting the Oracle Enterprise Manager Adapter Instance Perform these general troubleshooting steps to diagnose and correct problems with an Oracle Enterprise Manager adapter instance. Log in to the vcenter Operations Manager Admin Interface In Google Chrome, click the vcops Admin bookmark. Log in to the Admin Interface with user "admin" and password "VMware1!". Note: This step is only required if the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs when logging in to the vcenter Operations Manager Custom UI. Navigate to the Custom Interface Open Google Chrome and click the vcops Custom bookmark. Log in as "admin" with the password "VMware1!". Note: If the error "...product is unlicensed or cannot connect to the vsphere Server..." occurs, simply logging in to the vcenter Operations Manager Admin Interface as "admin" with the password "VMware1!" will fix the issue. Page 67
Check the collection state of the adapter instance resource Navigate to the Environment > Environment Overview page. In the tree on the left, expand Resource Kinds. Select OEM - Database System. On the right, select OEM12C_sys. Check the Collection State and Collection Status columns. Check the Log Files If Collection Status is not "Data receiving", check the log files. Navigate to Admin > Support. Choose the Logs tab. Open the Log Settings Select the vcenter Operations Collector in the left pane, then click the Edit Properties button. Page 68
Set the Log level Set the logger level to an appropriate value (INFO gives a great amount of detail. DEBUG gives even more). Click OK. This will take a few minutes to fully take effect. View the logs In the tree on the left, expand vcenter Operations Collector, then adapters and OEM Adapter. Double-click OEMAdapter_2108.log, scroll to the bottom and look for errors. Further Details More troubleshooting information can be found in the vcenter Operations Management Pack for OEM Installation and Configuration Guide available on the Blue Medora support portal (support.bluemedora.com). Page 69
Conclusion Thank you for participating in the VMware Hands-on Labs. Be sure to visit http://hol.vmware.com/ to continue your lab experience online. Lab SKU: Version: 20150226-112740 Page 70