Oracle WebLogic Server 11g: Overview for WLS Administrators Student Guide D60811GC10 Edition 1.0 July 2009 D61310
Authors Steve Friedberg T J Palazzolo Shankar Raman Technical Contributors and Reviewers Shail Goel Ramaa Mani Nagavalli Pataballa Kevin Tate Publishers Nita Brozowski Joseph Fernandez Copyright 2009, 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 is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Contents Preface 1 Introduction to Oracle Fusion Middleware Objectives 1-2 Road Map 1-3 Middleware Concepts 1-4 Functions of Middleware 1-5 Common Middleware Software 1-6 Middleware Standards 1-7 Middleware Tools 1-8 Road Map 1-9 Introducing Oracle Fusion Middleware (FMW) 1-10 FMW Components 1-11 Instances and Machines 1-12 Farms 1-13 Metadata Repository 1-14 Road Map 1-15 Oracle WebTier Products 1-16 Service-Oriented Architecture (SOA) 1-17 Oracle SOA Suite 1-18 Oracle Identity Management Products 1-19 Oracle Access Management Products 1-21 Oracle WebCenter Products 1-22 Summary 1-23 Other Learning Resources 1-24 2 Fusion Middleware Installation and Configuration: Overview Objectives 2-2 Installation Types and Configuration Methods 2-3 Directory Layout and Terms 2-4 Using Domain Configuration Wizard (SOA / Web Center products) 2-5 Using Oracle Universal Installer (Web Tier, IDM, Classic) 2-6 SOA / Web Center Installation 2-7 Configuration Wizard 2-8 SOA / Web Center Configuration 2-9 Domain Template Review 2-10 iii
Template Contents 2-11 Template Exclusions 2-12 Template Types 2-13 Extension Template Concepts 2-14 Road Map 2-15 Fusion Middleware (FMW) Templates 2-16 SOA Domain Template 2-17 FMW Control Template 2-18 Identity Management Installation 2-19 Web Tier Installation 2-20 Forms, Reports, Discoverer, and Portal Installation 2-21 Process Overview 2-22 RCU Review 2-23 Component Schemas 2-25 List of Schemas 2-26 Schema Creation 2-27 Dropping Schemas 2-28 Quiz 2-29 Summary 2-31 3 Using Fusion Middleware Control and opmnctl Objectives 3-2 FMW Control: Introduction 3-3 Fusion Middleware Control: Key Features 3-4 When to Use Fusion Middleware Control 3-5 FMW Control for WebLogic Server 3-6 Differences Between Administration Interfaces 3-7 Configuring a WLS Domain with FMW Control 3-8 Accessing Fusion Middleware Control Console 3-9 Navigating Fusion Middleware Control 3-10 Viewing Farm Topology 3-11 Context Sensitive Menu 3-12 Applying the JRF Template 3-13 Monitoring WebLogic Server 3-14 Starting or Stopping WebLogic Server Instances 3-15 Monitoring WLS Server Performance 3-16 Monitoring JVM performance 3-17 Application Deployment and Management 3-18 Deployment Plans and Configurations 3-19 Application Management 3-20 JMX MBean Browser 3-21 iv
Web Services Management 3-22 Security Management 3-23 Policy Management: Policies 3-24 Log File Configuration 3-25 Log Viewer 3-26 Using Log Viewer: Searching Error Messages 3-27 Drilling Down To Messages 3-28 Grouping Messages 3-29 Viewing Related Messages 3-30 Viewing and Downloading the Log file 3-31 OHS Management 3-32 FMW Control: Monitoring Servers 3-33 FMW Control: Monitoring Deployments 3-34 Getting Started with opmnctl 3-35 Process Management Using opmnctl 3-36 Starting Components Using opmnctl 3-37 Stopping Components Using opmnctl 3-38 Provisioning Using opmnctl 3-39 Quiz 3-41 Summary 3-44 4 Configuring and Using Web Tier Objectives 4-2 Road Map 4-3 What Is New in Web Cache 11gR1 4-4 What Is New in OHS 11gR1 4-5 Web Cache and OHS Bundling 4-6 Road Map 4-7 Separation of Config from Binaries 4-8 Multiple Oracle Instances per Oracle Home 4-9 Web Tier Oracle Instance 4-10 Web Tier Installation Options 4-11 General Web Tier Installation Flow 4-13 Middleware Home Directory Structure 4-14 Web Cache Directory Structure: Oracle Home 4-16 Web Cache Directory Structure: Oracle Instance 4-17 OHS Directory Structure: Oracle Home 4-18 OHS Directory Structure: Oracle Instance 4-19 Provisioning Using opmnctl 4-20 Road Map 4-22 v
Management Tools for Web Tier 4-23 Web Tier in Fusion Middleware Control 4-24 Web Cache in Fusion Middleware Control 4-25 OHS in Fusion Middleware Control 4-26 Process Management Using opmnctl 4-27 Web Cache Manager 4-30 Web Cache Manager Menu 4-31 Road Map 4-32 Verifying Ports in Use 4-33 Verifying Ports by Using FMW Control 4-34 Verifying Ports by Using opmnctl 4-35 Road Map 4-36 Overview of WLS Plug-In 4-37 Differences in WLS Plug-in for OHS mod_wl_ohs 4-38 mod_wl_ohs Flow 4-39 mod_wl_ohs Configuration Parameters 4-40 References 4-41 Quiz 4-42 Summary 4-43 5 Using Multi Data Sources with RAC Objectives 5-2 Data Source Review 5-3 XA Data Source Review 5-4 Multi Data Sources 5-5 Multi Data Source Architecture 5-6 Failover Option 5-7 Load Balancing Option 5-8 Connection Testing 5-9 Creating a Multi Data Source 5-10 Configuring a Multi Data Source 5-12 Multi Data Source WLST: Example 5-13 Managing Multi Data Source Members 5-14 Oracle Real Application Clusters (RAC) Overview 5-15 WLS and RAC Considerations 5-16 RAC Services 5-18 WLS and RAC Services 5-19 Quiz 5-21 Summary 5-23 vi
6 JMS Bridge and Oracle AQ JMS Objectives 6-2 WebLogic Server Messaging Bridge 6-3 Messaging Bridge Architecture 6-4 Bridging Scenarios 6-5 Comparing Bridges to Store and Forward 6-6 Resource Adapter Review 6-7 Bridge Adapters 6-8 JMS Bridge Destinations 6-10 Creating a JMS Bridge Destination 6-11 Creating a Message Bridge 6-13 Configuring a Message Bridge 6-15 Message Bridge WLST: Example 6-17 Oracle Advanced Queuing (AQ) Overview 6-18 AQ Integration Overview 6-19 WLS JMS Interoperation with Oracle AQ JMS 6-20 Configuring WLS to Interoperate with Oracle AQ JMS 6-21 Creating a Foreign Server for AQ 6-23 Quiz 6-24 Summary 6-26 7 Backup and Recovery Operations Objectives 7-2 Road Map 7-3 Review of Terms and Components 7-4 Homes: Oracle, Middleware, WebLogic, Java 7-6 Understanding Backup and Recovery 7-7 Types of Backups 7-9 Backup Recommendations 7-11 Limitations and Restrictions for Backing Up Data 7-12 Performing a Full Offline Backup 7-13 Backing Up a Domain Configuration 7-15 Backing Up an Instance Home 7-16 Creating a Record of Installations 7-17 Road Map 7-18 Directories to Restore 7-19 Recovery After Disaster 7-20 Recovery of Homes 7-21 Recovery of a Managed Server 7-22 Recovery of the Administration Server Configuration 7-23 Restarting an Administration Server on a New Computer 7-24 vii
Recovery of a Cluster 7-25 Restoring OPMN-Managed Components to a New Computer 7-26 Quiz 7-27 Summary 7-32 viii