Oracle Enterprise Manager 10g Grid Control Volume I Student Guide D17244GC20 Edition 2.0 June 2006 D46462
Authors Aniket Raut Deirdre Matishak Bruce Ernst Technical Contributors Ana Hernandez Anil Khilani Dave LeRoy Irina Goldshteyn Joshua Solomin Julie Wong Leslie Gloyd Matt Taylor Mughees Minhas Narain Jagathesan Nicole Haba Paras Shah Ryan Lemos Sudip Datta Venkat Maddali Werner De Gruyter GES Contributors Christopher Wensley Gary Vance Lakshmi Narapareddi Tim Samosa William Prewitt Copyright 2006, Oracle. All rights reserved. Disclaimer This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free. Restricted Rights Notice If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Government s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. Trademark Notice Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Reviewers Chuan Chen Dairy Chan Deepa Pottangadi Donna Keesling Herbert Bradbury Jean-Francois Verrier Joel Goodman Lester Wells Lothar Auert Martine Justo Mary Bryksa Nitin Herekar Shankar Raman Srinivas Putrevu Stephan Lindblad Sue Jang Thomas Hoogerwerf Tony Woodell Trevor Bowen Editors Aju Kumar Nita Pavitran Graphic Designer Satish Bettegowda Publisher Srividya Rameshkumar
Contents Preface 1 Introduction Objectives 1-2 Grid Computing 1-3 Today s Data Center 1-5 Enterprise Grid Computing 1-6 Implement One from Many 1-7 Manage Many as One 1-9 Grid Control Solution 1-10 Enterprise Manager Product Family 1-11 Database Control 1-12 Application Server Control 1-13 Application Server Control Console for Collaboration Suite 1-14 Oracle Enterprise Manager 10g Grid Control Functionality 1-15 Oracle Enterprise Manager 10g: Management Packs 1-17 Oracle Enterprise Manager 10g: Management Plug-Ins 1-19 Course Objectives 1-21 Summary 1-24 2 Grid Control Architecture Objectives 2-2 Grid Control Components 2-3 Managed Targets 2-6 Oracle Management Agent 2-7 Oracle Management Service 2-9 Oracle Management Repository 2-11 Accessing the Grid Control Console 2-12 Grid Control Console: Home 2-13 Grid Control Console: Targets 2-14 Grid Control Console: Deployments 2-15 Grid Control Console: Alerts 2-17 Grid Control Console: Policies 2-18 Grid Control Console: Jobs 2-19 Grid Control Console: Reports 2-20 iii
Grid Control Console: Setup 2-21 Grid Control Console: Preferences 2-22 Managing Very Large Grids 2-23 High Availability Configurations 2-24 Pictorial Representation of the Classroom Setup 2-25 Summary 2-26 Practice 2 Overview: Grid Control Architecture 2-27 3 Deploying the OMS and Management Repository Objectives 3-2 Installation: Overview 3-3 Preinstallation Checks: Hardware 3-4 Preinstallation Checks: Operating System 3-5 Installation Options 3-7 Recommended Installation Option 3-9 Preparing the Database 3-10 Repository Database Configuration 3-12 Installing Additional Management Service 3-13 Recommended Multiple OMS Architecture 3-15 New Features of the R2 Installer 3-17 Summary 3-18 4 Deploying the Oracle Management Agent Objectives 4-2 Deploying the Management Agent 4-3 Agent Installation: Agent Deploy Application 4-5 Starting Agent Deploy Application 4-7 Agent Deploy: Installation Details 4-8 Agent Deploy 4-9 Agent Installation: NFS-Mounted Agent 4-10 NFS-Mounted Agent: Installation Steps 4-11 Agent Installation: Downloadable Agent Script 4-12 Preinstallation Steps for agentdownload 4-13 Installation Steps for agentdownload 4-14 What agentdownload Does 4-16 Agent Installation: Silent Installation 4-17 Response File 4-19 Postinstallation 4-20 Configuring Monitoring Credentials 4-21 Key Configuration Files 4-22 iv
Target Discovery 4-23 Adding a Target Manually 4-24 Configuring Agent to Use a New Management Service 4-25 Summary of Ports Assigned 4-27 Custom Port Selection 4-28 RepManager 4-30 agentca 4-31 Summary 4-32 Practice 4 Overview: Deploying the Management Agent 4-33 5 Securing Grid Control Objectives 5-2 Grid Control Security 5-3 Securing Grid Control 5-4 Grid Control Security Framework 5-5 Verify that Oracle Management Agents Are Secure 5-6 Managing Agent Registration Passwords 5-7 Refusing Nonsecure Uploads 5-8 Securing OMS Repository Communication 5-10 Enabling ASO for the Repository 5-11 Enabling ASO for Each OMS 5-12 Enabling ASO for the Agent 5-13 Securing Application Server Control 5-14 Enabling Enterprise Manager Security Framework 5-15 Configuring Enterprise Manager for Firewalls 5-16 Firewall Configuration for Grid Control Components 5-17 Configuring the Agent for Proxy Communication 5-19 Configuring the OMS for Proxy Communication 5-20 Authenticating Grid Control Administrators 5-21 Oracle Single Sign-On 5-22 Configuring the OMS for SSO 5-23 Enterprise User Security 5-24 Configuring the OMS for Enterprise User Security 5-25 Summary 5-26 6 Monitoring Grid Control Objectives 6-2 Monitoring Grid Control Framework 6-3 Monitoring the Repository 6-4 Repository Operations 6-5 Management Services 6-6 v
Management Service Status 6-7 Management Agents 6-8 Home Directories 6-9 Management Service Home Directory 6-10 Viewing OMS Log Files 6-11 Management Repository Home Directory 6-13 Viewing Repository Log Files 6-14 Management Agent Home Directory 6-15 Viewing Agent Log Files 6-16 Controlling the Grid Control Framework 6-17 Controlling the Repository Database Listener 6-18 Controlling the Repository Database 6-19 Controlling OMS 6-21 opmnctl 6-22 emctl 6-23 Application Server Control 6-24 Starting Application Server Control 6-25 OMS Home Page 6-26 Starting, Stopping, and Restarting the OMS 6-27 Controlling Management Agent 6-28 Starting the Grid Control Framework 6-29 Stopping the Grid Control Framework 6-30 Keeping Grid Control Healthy 6-31 Backing Up Grid Control 6-32 Monitoring the EM Website Web Application 6-33 Summary 6-34 Practice 6 Overview: Monitoring Grid Control 6-35 7 Configuring Grid Control Objectives 7-2 Roles 7-3 Privileges 7-4 System Privileges 7-5 Target Privileges 7-7 Creating Roles 7-8 Administrators 7-9 Creating Administrators 7-11 Maintaining Administrators 7-12 Preferences 7-13 Preferred Credentials 7-14 Setting Preferred Credentials 7-15 vi
Managing Target Subtabs 7-16 Enterprise Manager Command Line Interface 7-17 Setting Up the EM CLI 7-18 Summary 7-20 Practice 7 Overview: Configuring Grid Control 7-21 8 Common Managed Targets: Host Objectives 8-2 Managing Hosts 8-3 Host Home Page 8-4 Host Configuration 8-5 Comparing Host Configurations 8-6 Operating System Details 8-7 Hardware Details 8-8 Monitoring Features 8-9 Log File Monitoring 8-10 Program Resource Utilization Monitoring 8-11 File and Directory Monitoring 8-12 Storage Resource Tracking 8-13 Storage Details 8-14 Host Administration 8-16 Executing a Host Command 8-17 Multitarget Host Command 8-18 Open Telnet Session 8-19 Remote File Editor 8-20 Host Performance 8-21 Drill Down for More Details 8-22 Metrics 8-23 Summary 8-24 Practice 8 Overview: Common Managed Targets: Host 8-25 9 Common Managed Targets: Database Objectives 9-2 Ways to Manage Your Database 9-3 Grid Control Versus Database Control 9-4 Accessing Grid Control Versus Database Control 9-6 Database Home 9-7 Managing Databases 9-9 Managing Oracle 8i and Oracle 9i Databases 9-10 Monitoring Database Performance 9-12 Metric Baselines 9-13 vii
Baseline Normalized Views 9-14 Using Advisors in Grid Control 9-15 Diagnosing Problems Automatically 9-16 ADDM Page 9-17 SQL Details 9-18 Topology Viewer for SQL Details Plan 9-19 Session Details 9-20 Database Performance Page 9-21 Real-Time Monitoring Links 9-23 Top Activity 9-24 Top Consumers 9-26 Instance Activity 9-27 Historical SQL (AWR) 9-28 Active Session History (ASH) Report 9-29 Diagnosing Problems Interactively 9-30 Active Sessions Waiting 9-31 Hang Analysis 9-32 Practice 9 Part 1 Overview: Common Managed Targets: Oracle Database 9-33 Database Administration Features 9-34 Tablespace Extent Map 9-35 Database Auditing 9-36 Migrating to Automatic Storage Management (ASM) 9-37 Feature Usage Summary 9-38 Multitarget SQL 9-39 Database Maintenance Features 9-41 Load Data from User Files 9-42 Monitoring Real Application Clusters (RAC) 9-43 Cluster Database Topology Viewer 9-44 Data Guard Management with Grid Control 9-45 Summary 9-46 Practice 9 Part 2 Overview: Common Managed Targets: Oracle Database 9-47 10 Common Managed Targets: Oracle Application Server Objectives 10-2 Centrally Managing Oracle Application Servers Using Grid Control 10-3 Comparing Grid Control and Application Server Control 10-4 Accessing Grid Control and Application Server Control 10-6 Grid Control Tasks for Managing Oracle Application Servers 10-7 Viewing Application Server Instances from Grid Control 10-8 Monitoring the New Target Types 10-9 Using the Oracle Application Server Farm Home Page 10-10 viii
Using the Oracle Application Server Farm Members Page 10-11 Using the Oracle Application Server Farm Topology Page 10-12 Using the Oracle Application Server Cluster Home Page 10-13 Using the Oracle Application Server Cluster Members Page 10-14 Using the Oracle Application Server HA Group Home Page 10-15 Using the Application Server Home Page 10-16 Using the OC4J Home Page 10-17 Viewing Applications 10-18 Viewing Top JSPs 10-19 Using Groups to Manage Application Server Targets 10-20 Start, Stop, and Restart Application Server Components 10-21 Adding Oracle Application Server to Grid Control Using the Application Servers Page 10-22 Adding Application Server to Grid Control Using the AS Control Infrastructure Page 10-23 Adding the Oracle Application Server Farm 10-24 Configuring OracleAS Backup/Recovery Settings 10-25 Scheduling OracleAS Backup 10-26 Performing Recovery 10-28 Monitoring Application Server Performance 10-29 Improving Performance 10-30 Diagnosing the Oracle Application Server Performance 10-31 Viewing Top J2EE Applications 10-32 Monitoring Performance of a J2EE Application 10-33 Using the Application Server Performance Page 10-34 Comparing Performance Across Multiple Application Servers 10-35 Monitoring Performance of Oracle Application Server Farm 10-36 Monitoring Performance of Oracle Application Server Cluster 10-37 Monitoring Performance of HA Groups 10-38 Using the System Monitoring Dashboard 10-39 Monitoring Performance of Other Targets 10-40 Summary 10-41 Practice 10 Overview: Managing Oracle Application Server 10-42 11 Monitoring Your Data Center Objectives 11-2 Out-of-Box Monitoring 11-3 Metric Thresholds 11-4 Changing Metric Thresholds 11-5 Changing Collection Schedules 11-6 Corrective Actions 11-7 ix
Defining Corrective Actions 11-8 Trivia 11-11 Monitoring Templates 11-12 Creating Monitoring Templates 11-13 Applying Monitoring Templates 11-14 Using Notifications 11-18 Notification Methods 11-19 Defining E-Mail Addresses 11-20 Notification Schedule 11-21 Notification Rules 11-23 Creating Notification Rules 11-24 Trivia 11-25 User-Defined Metrics 11-26 Creating Operating System User-Defined Metrics 11-27 Creating Your OS Monitoring Script 11-28 Registering the Script 11-30 Using SQL User-Defined Metrics 11-31 Creating SQL User-Defined Metrics 11-32 Blackouts 11-34 Creating Blackout 11-35 Ending Blackout 11-36 Summary 11-37 Practice 11 Overview: Monitoring Your Data Center 11-38 12 Groups Objectives 12-2 Groups 12-3 Types of Groups 12-4 Creating Groups 12-5 Monitoring Groups 12-6 Group Charts 12-7 Administering Groups 12-8 Group Members 12-9 Using System Dashboard 12-10 Using Groups in Notification Rules 12-11 Redundancy Group 12-12 Summary 12-13 Practice 12 Overview: Working with Groups 12-14 13 Systems and Services Objectives 13-2 Defining System 13-3 x
System Home Page 13-4 System Components Page 13-5 Defining Topology Relationships 13-6 Viewing System Topology 13-7 Defining Services 13-8 Types of Services 13-9 Creating a Service 13-10 Supported Service Protocols 13-11 Defining Availability of a Service 13-13 Creating Service Tests 13-14 Recording Web Transaction 13-15 Using Beacons 13-16 Adding a Beacon to a Web Application 13-17 Configuring Beacons for SSL Transactions 13-18 Defining Performance Metrics 13-19 Defining Usage Metrics 13-20 Viewing Test Performance 13-21 Using the Topology Page 13-23 Service Level Rules 13-24 Defining Service Level Rules 13-26 Viewing Service Level Details 13-27 Root Cause Analysis (RCA) 13-28 Configuring Root Cause Analysis (RCA) 13-29 Using Root Cause Analysis (RCA) 13-30 Monitoring Test Performance 13-31 Configuring Web Cache to Monitor End-User Performance 13-32 Configuring Interactive Transaction Tracing 13-34 Tracing Request Performance Data 13-36 Correlating Application Performance 13-37 Creating Monitoring Template for Web Application 13-38 Using CLI Commands for Services 13-39 Summary 13-40 Practice 13 Overview: Working with Systems and Services 13-41 14 Job System Objectives 14-2 Jobs 14-3 Job Targets 14-4 Categories of Jobs 14-5 Predefined Jobs 14-6 User-Defined Jobs 14-7 xi
User-Defined Job Types 14-8 Create Jobs 14-10 Multitask Jobs 14-11 Viewing Job Activity 14-14 Runs Versus Executions 14-16 Reviewing Job Execution Results 14-17 Job Operations 14-19 Job Library 14-20 Jobs Purge Policy 14-21 Job Privileges 14-23 Job Notifications 14-24 Corrective Action Jobs 14-25 Summary 14-26 Practice 14 Overview: Job System 14-27 15 Configuration Management Objectives 15-2 FAQ 15-3 Understanding Your Deployments 15-4 Viewing Your Deployments 15-5 Viewing Host Configuration 15-6 Comparing Host Configuration 15-7 Saving Host Configuration 15-8 Refreshing Host Configuration 15-9 Reviewing Operating System Configuration 15-10 Reviewing Hardware Configuration 15-11 Viewing Database Configuration 15-12 Comparing Database Configurations 15-13 Examining Initialization Parameters 15-14 Viewing Application Server Configuration 15-15 Comparing Application Server Configurations 15-16 Searching Application Server Ports 15-18 Managing Policies 15-19 Out-of-Box Policies 15-20 Accessing Policies 15-21 Policy Rule Library 15-22 Policy Violations 15-23 Examining Policy Violations 15-24 Client System Analyzer 15-25 Accessing Client System Analyzer 15-26 Accessing Client Configurations 15-27 xii
Summary 15-28 Practice 15 Overview: Managing Configurations 15-29 16 Provisioning Objectives 16-2 Provisioning 16-3 Provisioning Concepts 16-4 Provisioning Operating System 16-6 Bare-Metal Provisioning 16-7 Cloning Oracle Home 16-8 Out-of-Box Clonable Oracle Homes 16-9 Cloning a New Cluster 16-10 Extending Clusters 16-11 Patching 16-12 Setting Up MetaLink 16-13 Using the Patch Cache 16-14 Using the Critical Patch Advisory 16-15 Using the Patch Wizard 16-16 Using the Patch Wizard: Search by Criteria 16-17 Using the Patch Wizard: Evaluate the List of Patches 16-18 Using the Patch Wizard: Select Destination 16-19 Using the Patch Wizard: Set Credentials 16-20 Using the Patch Wizard: Stage or Apply 16-21 Using the Patch Wizard: Schedule 16-22 Using the Patch Wizard: Summary 16-23 Patching Linux (Lights-Out Patching) 16-24 Patching Linux Hosts 16-25 Summary 16-26 Practice 16 Overview: Provisioning 16-27 17 Information Publisher Objectives 17-2 Overview 17-3 Report Definitions 17-4 Out-of-Box Reports 17-5 Out-of-Box Report Categories 17-6 Running an Out-of-Box Report 17-7 Anatomy of a Report 17-8 Creating Custom Reports 17-9 Report Targets 17-13 Report Elements 17-14 xiii
Report Elements: Generic 17-16 Drilling Down to SQL on Existing Report Definitions 17-17 Table from SQL 17-18 Chart from SQL 17-20 Chart from SQL: Pie Chart 17-21 Chart from SQL: Bar and Line Charts 17-23 Chart from SQL: Time-Series Line Chart 17-25 Report Elements: Monitoring 17-27 Open Alerts 17-29 Metric Details 17-30 Availability Timeline 17-31 System Monitoring Dashboard 17-32 Report Elements: Service Level 17-33 Service Level Reporting: Examples 17-34 Customizing the Report Layout 17-37 Scheduling Reports 17-38 Saving and E-Mailing Copies of Reports 17-39 Access Model 17-40 Enterprise Manager Reports Web Site 17-41 Repository Views 17-42 Summary 17-43 Practice 17 Overview: Information Publisher 17-44 18 Monitoring Oracle Collaboration Suite Objectives 18-2 Creating an Oracle Collaboration Suite Service 18-3 Preparing Oracle Collaboration Suite 18-5 Configuring the Mail Listener 18-6 Creating and Configuring the Test User 18-8 Creating the Oracle Collaboration Suite User 18-9 Configuring the Mobile Collaboration User 18-11 Configuring the Content Services Test User 18-13 Creating a Test Newsgroup 18-15 Deploying the Agent to the Oracle Collaboration Suite Hosts 18-17 Setting Up and Creating the Oracle Collaboration Suite Service in Grid Control 18-18 Configuring the Mail Listener Service 18-19 Creating the Ultra Search Instance 18-20 Enabling the Collaboration Suites Tab 18-22 Creating an Identity Management Service 18-23 Steps for Creating an Identity Management Service 18-24 xiv
Internet Directory and Single Sign-On Test Properties 18-26 Creating an Oracle Collaboration Suite Service 18-28 Configuring Application Services 18-30 Configuration Guidelines 18-32 Installing Oracle Collaboration Suite Metric and Policy Helpsets 18-34 Managing Oracle Collaboration Suite 18-36 Oracle Collaboration Suite Targets Page 18-38 Service Home Page 18-39 Oracle Collaboration Suite Dashboard 18-40 Summary 18-41 19 Management Plug-Ins Objectives 19-2 Extensibility Using Management Plug-Ins 19-3 Management Plug-Ins 19-4 Available Management Plug-Ins 19-5 Benefits of Management Plug-Ins 19-6 Support for Non-Oracle Databases 19-9 Support for Network Devices 19-10 Support for Storage Devices 19-11 Support for Non-Oracle J2EE Servers 19-12 Support for Microsoft Middleware 19-13 Importing Management Plug-Ins 19-14 Deploying Management Plug-Ins 19-15 Importing and Deployment: Demonstration 19-16 Creating Custom Management Plug-Ins 19-17 Developing Management Plug-Ins 19-18 Custom Management Plug-In Home Page 19-19 Using Management Plug-In Reports 19-20 Summary 19-21 20 Upgrading to Grid Control 10.2 Objectives 20-2 Upgrading from Grid Control 10.1 to 10.2 20-3 Preupgrade Checks 20-4 Upgrading OMS Installed Using a New Database 20-5 Upgrading OMS Installed Using an Existing Database 20-6 Upgrading Additional OMS 20-7 Upgrading Management Agent 20-8 Upgrading Grid Control (Step-by-Step) 20-9 Summary 20-11 xv
Appendix A: Practices Appendix B: Practice Solutions Appendix C: Repository and Management Service Installation Addendum Appendix D: Further Training and Product Resources Appendix E: Management Plug-Ins Appendix F Index xvi