+ All Categories
Home > Documents > e10106 - FMW HA

e10106 - FMW HA

Date post: 16-Oct-2014
Category:
Upload: igoroshka
View: 331 times
Download: 0 times
Share this document with a friend
1144
Oracle® Fusion Middleware High Availability Guide 11g Release 1 (11.1.1) E10106-12 March 2011
Transcript

Oracle Fusion MiddlewareHigh Availability Guide 11g Release 1 (11.1.1)E10106-12

March 2011

Oracle Fusion Middleware High Availability Guide, 11g Release 1 (11.1.1) E10106-12 Copyright 2003, 2011, Oracle and/or its affiliates. All rights reserved. Primary Author: Christine Ford Contributing Author: Fermin Castro, Shailesh Dwivedi, Pradeep Bhat, Michael Rhys, Samrat Ray, Jeni Ferns, Richard Delval, Bharath K. Reddy, Susan Kornberg, Joe Paul, Ajay Keni, Amit Sharma, Vasuki Ashok, Olaf Stullich, Jingjing Wei, Olfat Aly, Eileen He, Ramaprakash Sathyanarayan, Apurv Chandra, Atika Jain, Buddhika Kottahachchi, Arun Theebaprakasam, Rajiv Jaisankar, Vinay Kalra, Daniel Shih, Pratima Gogineni, Russ Hodgson, Christopher Johnson, Pramodini Gattu, Gururaj BS, Ben Gelernter, Peter Jacobsen. Contributor: Van Sioung Ng Yan Tun, Eric Cloney, Fiona Zheng, Ruchica Behl, David J. Jones, Ellen Desmond, Don Biasotti, Vinaye Misra, Dhaval Shah, Herbert Stiel, Albert Tam, Pushkar Kapasi, Shail Goel, Rahul Menezes, Satheesh Amilineni, Ratheesh Pai, Jan Carlin. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065. This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

ContentsPreface .............................................................................................................................................................. xliiiIntended Audience................................................................................................................................... Documentation Accessibility .................................................................................................................. Related Documentation ........................................................................................................................... Conventions .............................................................................................................................................. xliii xliii xliv xliv

1

Introduction to High Availability1.1 1.1.1 1.1.2 1.2 What is High Availability .......................................................................................................... High Availability Problems................................................................................................ High Availability Solutions................................................................................................ High Availability Information in Other Documentation ...................................................... 1-1 1-1 1-2 1-5

2

Oracle Fusion Middleware High Availability Framework2.1 2.1.1 2.1.1.1 2.1.1.2 2.1.1.3 2.1.2 2.1.3 2.1.4 2.1.4.1 2.1.5 2.2 2.3 2.3.1 2.3.2 2.3.2.1 2.3.3 2.3.4 2.3.5 2.4 Understanding Key Oracle Fusion Middleware Concepts .................................................. 2-1 What is a WebLogic Server Domain? ............................................................................... 2-2 What Is the Administration Server? .......................................................................... 2-3 Understanding Managed Servers and Managed Server Clusters ......................... 2-4 What Is Node Manager? .............................................................................................. 2-4 What Is a System Component Domain?........................................................................... 2-5 What Is a Middleware Home? ........................................................................................... 2-5 What Is an Oracle Home? ................................................................................................... 2-5 What Is an Oracle Common Home? .......................................................................... 2-5 What Is a WebLogic Server Home?................................................................................... 2-5 Oracle Fusion Middleware High Availability Terminology ................................................ 2-6 Oracle Fusion Middleware High Availability Solutions....................................................... 2-8 Local High Availability....................................................................................................... 2-8 Oracle Fusion Middleware High Availability Technologies......................................... 2-9 Server Load Balancing .............................................................................................. 2-11 Active-Passive Deployment ............................................................................................ 2-13 About Active-Active and Active-Passive Solutions .................................................... 2-14 Disaster Recovery ............................................................................................................. 2-16 Protection from Planned and Unplanned Down Time ...................................................... 2-17

3 High Availability for WebLogic Server3.1 What Is a WebLogic Server Cluster?........................................................................................ 3-1iii

3.2 3.3 3.4 3.4.1 3.4.2 3.4.3 3.5 3.6 3.7 3.8 3.8.1 3.9 3.9.1 3.9.2 3.9.2.1 3.9.2.2 3.9.2.3 3.9.2.4 3.9.2.5 3.9.2.6 3.9.2.7 3.10 3.10.1 3.11 3.11.1 3.11.2 3.12 3.13 3.14 3.15 3.16

WebLogic Server Clusters and WebLogic Server Domains.................................................. 3-2 Benefits of Clustering ................................................................................................................. 3-2 Key Capabilities of a Cluster ..................................................................................................... 3-2 Application Failover............................................................................................................ 3-3 Migration............................................................................................................................... 3-3 Load Balancing..................................................................................................................... 3-3 Types of Objects That Can Be Clustered ................................................................................. 3-4 Communications in a Cluster.................................................................................................... 3-4 Cluster-Wide JNDI Naming Service ........................................................................................ 3-5 Failover and Replication in a Cluster....................................................................................... 3-5 Session Replication .............................................................................................................. 3-6 Whole Server Migration............................................................................................................. 3-6 Node Manager's Role in Whole Server Migration .......................................................... 3-7 Server Migration Processes and Communications ......................................................... 3-7 Startup Process in a Cluster with Migratable Servers............................................. 3-7 Automatic Whole Server Migration Process ............................................................ 3-9 Manual Whole Server Migration Process .............................................................. 3-10 Administration Server's Role in Whole Server Migration................................... 3-11 Migratable Server Behavior in a Cluster ................................................................ 3-12 Node Manager's Role in Whole Server Migration................................................ 3-12 Cluster Master's Role in Whole Server Migration ................................................ 3-13 JMS and JTA High Availability.............................................................................................. 3-14 User-Preferred Servers and Candidate Servers............................................................ 3-14 Administration Server and Node Manager High Availability ......................................... 3-14 Administration Server Failure ........................................................................................ 3-15 Node Manager Failure ..................................................................................................... 3-15 Load Balancing ......................................................................................................................... 3-15 Multi Data Sources................................................................................................................... 3-16 Cluster Configuration and config.xml .................................................................................. 3-16 About Singleton Services ........................................................................................................ 3-17 WebLogic Server and LDAP High Availability .................................................................. 3-17

4

Considerations for High Availability Oracle Database Access4.1 4.1.1 4.1.2 4.1.2.1 4.1.2.2 4.1.2.3 4.1.3 4.1.4 4.1.5 4.1.6 4.1.6.1 4.1.6.2 4.1.6.3 Oracle Real Application Clusters and Fusion Middleware .................................................. 4-1 Java-Based Oracle Fusion Middleware Components Deployed to Oracle WebLogic Server 4-2 Using Multi Data Sources with Oracle RAC ................................................................... 4-3 Configuring Multi Data Sources for MDS Repositories ......................................... 4-3 Oracle RAC Configuration Requirements ................................................................ 4-4 Configuring Schemas for Transactional Recovery Privileges................................ 4-5 Configuring Multi Data Sources with Oracle RAC ....................................................... 4-6 Oracle RAC Failover with WebLogic Server .................................................................. 4-8 JDBC Clients ......................................................................................................................... 4-8 System Clients ...................................................................................................................... 4-9 Oracle Internet Directory............................................................................................. 4-9 Oracle Forms .............................................................................................................. 4-10 Oracle Portal............................................................................................................... 4-10

iv

4.1.6.4 Oracle Reports and Oracle Discoverer ................................................................... 4-12 4.2 Protecting Idle Connections from Firewall Timeouts......................................................... 4-12 4.3 Troubleshooting Real Application Clusters......................................................................... 4-12 4.4 Oracle Fusion Middleware Products are Certified to be Used with 11.2 RDBMS Oracle RAC 4-13

5

Configuring High Availability for Oracle Fusion Middleware SOA Suite5.1 Introduction to Oracle Fusion Middleware SOA Suite ......................................................... 5-2 5.2 Oracle SOA Service Infrastructure High Availability ........................................................... 5-3 5.2.1 Oracle SOA Service Infrastructure Single-Instance Characteristics ............................. 5-4 5.2.1.1 Oracle SOA Service Infrastructure Application Characteristics............................ 5-5 5.2.1.2 Oracle SOA Service Infrastructure Startup and Shutdown Lifecyle..................... 5-5 5.2.1.3 Oracle SOA Service Infrastructure External Dependencies ................................... 5-6 5.2.1.4 Oracle SOA Service Infrastructure Startup and Shut Down of Processes ........... 5-7 5.2.1.5 Oracle SOA Service Infrastructure Configuration Artifacts................................... 5-7 5.2.1.6 Oracle SOA Service Infrastructure Log File Locations ........................................... 5-8 5.2.2 Oracle SOA Service Infrastructure High Availability Architecture and Failover Considerations 5-9 5.2.2.1 Oracle SOA Service Infrastructure Protection from Failures and Expected Behavior 5-12 5.2.2.1.1 WebLogic Server Crash ..................................................................................... 5-12 5.2.2.1.2 Node Failure........................................................................................................ 5-12 5.2.2.1.3 Database Failure ................................................................................................. 5-13 5.2.2.2 Oracle SOA Service Infrastructure Cluster-Wide Deployment .......................... 5-13 5.2.2.3 Online Redeployment of Oracle SOA Service Infrastructure Composites in a Cluster 5-13 5.2.2.4 Oracle SOA Service Infrastructure Cluster-Wide Configuration Changes....... 5-14 5.3 Oracle BPEL Process Manager and High Availability Concepts...................................... 5-14 5.3.1 Oracle BPEL Process Manager Single-Instance Characteristics................................. 5-14 5.3.1.1 BPEL Process Manager Component Characteristics ............................................ 5-15 5.3.1.2 Oracle BPEL Process Manager Startup and Shutdown Lifecycle....................... 5-16 5.3.1.3 Oracle BPEL Process Manager Request Flow and Recovery .............................. 5-16 5.3.1.4 Oracle BPEL Process Manager Configuration Artifacts ...................................... 5-18 5.3.2 Oracle BPEL Process Manager High Availability Architecture and Failover Considerations 5-19 5.3.2.1 Oracle BPEL Process Manager Protection from Failures and Expected Behavior...... 5-19 5.3.2.1.1 Recovering Failed BPEL and Mediator Instances.......................................... 5-21 5.3.2.2 Oracle BPEL Process Manager Cluster-Wide Configuration Changes.............. 5-21 5.4 Oracle BPM Suite and High Availability Concepts ............................................................ 5-21 5.4.1 Oracle BPM Suite Single Instance Concepts ................................................................. 5-22 5.4.1.1 Oracle BPM Suite Component Characteristics...................................................... 5-23 5.4.1.2 Oracle BPM Suite Component Interaction............................................................. 5-25 5.4.1.3 Oracle BPM Suite Startup and Shutdown Lifecycle ............................................. 5-27 5.4.1.4 Oracle BPM Suite Configuration Artifacts............................................................. 5-27 5.4.2 Oracle BPMN Service Engine High Availability.......................................................... 5-28 5.4.2.1 Oracle BPMN Service Engine Single Instance Characteristics............................ 5-29

v

Oracle BPMN Service Engine Single Instance Architecture ........................ 5-29 Oracle BPMN Service Engine External Dependencies ................................. 5-30 Oracle BPMN Service Engine Startup and Shutdown Lifecycle ................ 5-30 Oracle BPMN Service Engine Log Files .......................................................... 5-31 Oracle BPMN Service Engine High Availability Considerations....................... 5-31 Oracle BPMN Service Engine High Availability Architecture and Failover Considerations 5-31 5.4.2.2.2 Configuring Oracle BPMN Service Engine for High Availability .............. 5-32 5.4.2.2.3 Cluster-Wide Configuration Changes for Oracle BPMN Service Engine .. 5-32 5.4.3 Oracle Business Process Web Applications High Availability .................................. 5-33 5.4.3.1 Oracle Business Process Web Applications Single Instance Characteristics .... 5-33 5.4.3.1.1 Oracle Business Process Web Applications Single Instance Architecture . 5-33 5.4.3.1.2 Oracle Business Process Web Applications External Dependencies .......... 5-33 5.4.3.1.3 Oracle Business Process Web Applications Startup and Shutdown Lifecycle..... 5-34 5.4.3.1.4 Oracle Business Process Web Applications Log Files................................... 5-34 5.4.3.2 Oracle Business Process Web Applications High Availability Considerations 5-34 5.4.3.2.1 Oracle Business Process Web Applications High Availability Architecture and Failover Considerations 5-34 5.4.3.2.2 Configuring Oracle Business Process Web Applications for High Availability .. 5-34 5.4.3.2.3 Cluster-Wide Configuration Changes for Oracle Business Process Web Applications 5-34 5.4.4 Oracle Business Process Analytics High Availability ................................................. 5-34 5.4.4.1 Oracle Business Process Analytics Single Instance Characteristics ................... 5-34 5.4.4.1.1 Oracle Business Process Analytics Single Instance Architecture ................ 5-34 5.4.4.1.2 Oracle Business Process Analytics External Dependencies ......................... 5-36 5.4.4.1.3 Oracle Business Process Analytics Startup and Shutdown Lifecycle......... 5-36 5.4.4.1.4 Oracle Business Process Analytics Log Files .................................................. 5-36 5.4.4.2 Oracle Business Process Analytics High Availability Considerations .............. 5-36 5.4.4.2.1 Oracle Business Process Analytics High Availability Architecture and Failover Considerations 5-36 5.4.4.2.2 Configuring Oracle Business Process Analytics for High Availability ...... 5-36 5.4.4.2.3 Cluster-Wide Configuration Changes for Oracle Business Process Analytics..... 5-36 5.5 Oracle Mediator and High Availability Concepts .............................................................. 5-36 5.5.1 Oracle Mediator Single-Instance Characteristics ......................................................... 5-37 5.5.1.1 Oracle Mediator Component Characteristics ........................................................ 5-37 5.5.1.2 Oracle Mediator Startup and Shutdown Lifecycle ............................................... 5-38 5.5.1.3 Oracle Mediator Request Flow ................................................................................ 5-38 5.5.1.4 Oracle Mediator Configuration Artifacts............................................................... 5-39 5.5.2 Oracle Mediator High Availability Architecture and Failover Considerations ...... 5-39 5.5.2.1 Oracle Mediator Protection from Failures and Expected Behavior ................... 5-39 5.5.2.1.1 Recovering Failed Mediator Instances ............................................................ 5-40 5.5.2.1.2 Oracle Mediators Resequencing in a Cluster ................................................ 5-41 5.5.2.2 Troubleshooting Oracle Mediator High Availability........................................... 5-42 5.6 Oracle Human Workflow and High Availability Concepts .............................................. 5-42 5.6.1 Oracle Human Workflow Single-Instance Characteristics ......................................... 5-42 5.4.2.1.1 5.4.2.1.2 5.4.2.1.3 5.4.2.1.4 5.4.2.2 5.4.2.2.1

vi

Oracle Human Workflow Startup and Shutdown Lifecycle............................... 5-42 Oracle Human Workflow Request Processing ..................................................... 5-43 Oracle Human Workflow Configuration Artifacts............................................... 5-43 Managing the URI of the Human Task Service Component Task Details Application 5-43 5.6.2 Oracle Human Workflow High Availability Architecture and Failover Considerations. 5-44 5.6.2.1 Oracle Human Workflow Protection from Failures and Expected Behavior ... 5-44 5.6.2.2 Manual Recovery Required for Human Workflow Task in Rejected MSG Table ...... 5-44 5.6.3 Troubleshooting Oracle Human Workflow High Availability.................................. 5-44 5.7 Oracle B2B and High Availability Concepts........................................................................ 5-45 5.7.1 Oracle B2B Single-Instance Characteristics................................................................... 5-45 5.7.1.1 Oracle B2B Component Characteristics ................................................................. 5-46 5.7.1.2 Oracle B2B Startup and Shutdown Lifecycle......................................................... 5-46 5.7.1.3 Oracle B2B Request Flow.......................................................................................... 5-46 5.7.1.4 Oracle B2B Configuration Artifacts ........................................................................ 5-47 5.7.2 Oracle B2B High Availability Architecture and Failover Considerations................ 5-47 5.7.2.1 Oracle B2B Protection from Failures and Expected Behavior............................. 5-47 5.7.2.2 Oracle B2B Cluster-Wide Configuration Changes .............................................. 5-48 5.7.2.3 Oracle B2B Deployments in a Cluster .................................................................... 5-48 5.7.2.4 Troubleshooting Oracle B2B Active-Active Configuration................................ 5-48 5.7.2.4.1 Purge, Import, or Deployment of B2B Metadata ........................................... 5-48 5.7.2.4.2 Error While Retrieving Oracle B2B Document Definitions.......................... 5-49 5.8 Oracle Web Services Manager and High Availability Concepts ...................................... 5-49 5.8.1 Oracle WSM Single-Instance Characteristics................................................................ 5-49 5.8.1.1 Oracle WSM Component Characteristics .............................................................. 5-51 5.8.1.2 Oracle WSM Startup and Shutdown Lifecycle...................................................... 5-52 5.8.1.3 Oracle WSM Request Flow....................................................................................... 5-52 5.8.1.4 Oracle WSM Configuration Artifacts ..................................................................... 5-52 5.8.2 Oracle WSM High Availability Architecture and Failover Considerations............. 5-53 5.8.2.1 Oracle WSM Protection from Failures and Expected Behavior.......................... 5-53 5.8.2.2 Oracle WSM Cluster-Wide Configuration Changes ............................................ 5-54 5.8.2.3 Configuring the Java Object Cache for Oracle WSM ........................................... 5-54 5.8.2.4 Configuring Distributed Notifications for the MDS Repository ........................ 5-54 5.9 Oracle User Messaging Service and High Availability Concepts..................................... 5-55 5.9.1 Oracle User Messaging Service Single-Instance Characteristics................................ 5-55 5.9.1.1 Oracle User Messaging Service Component Characteristics .............................. 5-56 5.9.1.2 Oracle User Messaging Service Startup and Shutdown Lifecycle ..................... 5-57 5.9.1.3 Oracle User Messaging Service Request Flow ...................................................... 5-58 5.9.1.4 Oracle User Messaging Service Configuration Artifacts ..................................... 5-58 5.9.2 Oracle User Messaging Service High Availability Architecture and Failover Considerations 5-59 5.9.2.1 Oracle User Messaging Service Protection from Failures and Expected Behavior..... 5-59 5.9.2.2 Oracle User Messaging Service Cluster-Wide Configuration Changes ............ 5-60 5.10 Oracle JCA Adapters and High Availability Concepts ...................................................... 5-61 5.10.1 Oracle JCA Adapters Single-Instance Characteristics ................................................. 5-61 5.6.1.1 5.6.1.2 5.6.1.3 5.6.1.3.1

vii

Oracle JCA Adapters Component Lifecycle .......................................................... 5-61 Oracle JCA Adapters Reliability and Transactional Behavior ............................ 5-62 Oracle JCA Adapters - Rejected Message Handling ............................................ 5-63 Oracle JCA Adapters High Availability Architecture and Failover Considerations......... 5-64 5.10.2.1 Oracle JCA Adapters High Availability Error Handling .................................... 5-64 5.10.2.2 Oracle File and FTP Adapters High Availability.................................................. 5-65 5.10.2.3 Oracle Database Adapters High Availability........................................................ 5-67 5.10.2.4 Oracle JMS Adapters High Availability ................................................................ 5-68 5.10.2.4.1 Message Redelivery ........................................................................................... 5-68 5.10.2.4.2 Use of WebLogic Server Distributed Destinations........................................ 5-69 5.10.2.5 Oracle JCA Adapters Log File Locations .............................................................. 5-71 5.11 Oracle Business Activity Monitoring and High Availability Concepts........................... 5-72 5.11.1 Oracle Business Activity Monitoring Single-Instance Characteristics...................... 5-72 5.11.1.1 Oracle Business Activity Monitoring Component Characteristics .................... 5-73 5.11.1.2 Oracle Business Activity Monitoring Startup/Shutdown Lifecycle.................. 5-75 5.11.1.3 Oracle Business Activity Monitoring Startup and Shutdown of Processes...... 5-76 5.11.1.4 Oracle Business Activity Monitoring Configuration Artifacts ........................... 5-77 5.11.2 Oracle Business Activity Monitoring High Availability Architecture and Failover Considerations 5-78 5.11.2.1 Oracle Business Activity Monitoring Protection from Failures and Expected Behavior 5-80 5.11.2.2 Oracle Business Activity Monitoring Cluster-Wide Configuration Changes .. 5-81 5.11.2.3 Considerations for BAM Client Retries.................................................................. 5-82 5.12 Oracle Service Bus and High Availability Concepts .......................................................... 5-82 5.12.1 Oracle Service Bus Single Node Characteristics........................................................... 5-83 5.12.1.1 Oracle Service Bus Session State.............................................................................. 5-85 5.12.1.2 Oracle Service Bus External Dependencies............................................................ 5-85 5.12.1.3 Oracle Service Bus Configuration Artifacts ........................................................... 5-86 5.12.1.4 Oracle Service Bus Deployment Artifacts .............................................................. 5-86 5.12.1.5 Oracle Service Bus Startup and Shutdown ............................................................ 5-87 5.12.1.6 Oracle Service Bus Log File Locations.................................................................... 5-87 5.12.2 Oracle Service Bus High Availability Architecture and Failover Considerations .. 5-87 5.12.2.1 Oracle Service Bus Protection from Failures and Expected Behavior ............... 5-90 5.12.2.1.1 WebLogic Server Failure ................................................................................... 5-90 5.12.2.1.2 Node Failure........................................................................................................ 5-91 5.12.2.1.3 Database Failure ................................................................................................. 5-91 5.12.2.2 Oracle Service Bus Cluster-Wide Deployment ..................................................... 5-92 5.12.2.3 Online Redeployment of Oracle Service Bus in a Cluster ................................... 5-92 5.12.2.4 Oracle Service Bus Cluster-Wide Configuration Changes .................................. 5-92 5.13 Configuring High Availability for Oracle SOA Service Infrastructure and Component Service Engines 5-92 5.13.1 Preparing the Environment: Prerequisite Steps Before Setting up a SOA High Availability Configuration 5-96 5.13.1.1 Database Prerequisites.............................................................................................. 5-96 5.13.1.2 VIP and IP Prerequisites........................................................................................... 5-96 5.13.1.3 Shared Storage Prerequisites ................................................................................... 5-97 5.13.1.4 Installing and Configuring an LDAP Provider..................................................... 5-98 5.10.1.1 5.10.1.2 5.10.1.3 5.10.2

viii

Synchronizing System Clocks.................................................................................. 5-98 Terminology for Directories and Directory Environment Variables ................. 5-98 Installing and Configuring the Database Repository .......................................... 5-99 Using Oracle Fusion Middleware Repository Creation Utility to Load the Fusion Middleware Schemas in the Database 5-100 5.13.1.8.1 Running RCU.................................................................................................... 5-100 5.13.1.8.2 Configuring SOA Schemas for Transactional Recovery Privileges .......... 5-101 5.13.1.9 Configuring Virtual Server Names and Ports for the Load Balancer .............. 5-102 5.13.1.10 Installing Oracle HTTP Server on WEBHOST1 and WEBHOST2.................... 5-103 5.13.1.10.1 Validating Oracle HTTP Server...................................................................... 5-105 5.13.2 Installing Oracle Fusion Middleware Home .............................................................. 5-105 5.13.2.1 Installing Oracle WebLogic Server ...................................................................... 5-105 5.13.2.2 Installing Oracle Fusion Middleware for Oracle SOA ....................................... 5-106 5.13.3 Enabling VIP1 in SOAHOST1 and VIP2 in SOAHOST2........................................... 5-107 5.13.4 Running Oracle Fusion Middleware Configuration Wizard on SOAHOST1 to Create the SOA Domain 5-107 5.13.5 Creating boot.properties for the Administration Server on SOAHOST1............... 5-112 5.13.6 Starting and Validating the Administration Server in SOAHOST1........................ 5-113 5.13.6.1 Starting the Administration Server on SOAHOST1 ........................................... 5-113 5.13.6.2 Validating the Administration Server .................................................................. 5-113 5.13.7 Disabling Host Name Verification for the Administration Server and the WLS_SOAn Managed Servers 5-113 5.13.8 Configuring Oracle Coherence for Deploying Composites ..................................... 5-114 5.13.9 Setting Connection Destination Identifiers for B2B Queues .................................... 5-116 5.13.10 Starting the System in SOAHOST1 .............................................................................. 5-117 5.13.10.1 Starting Node Manager on SOAHOST1 .............................................................. 5-117 5.13.10.2 Starting and Validating the WLS_SOA1 Managed Server ................................ 5-117 5.13.11 Propagating the Domain Configuration to SOAHOST2 with pack/unpack Utilities....... 5-118 5.13.12 Extracting XEngine Files in the Second Node ............................................................ 5-118 5.13.13 Starting the System in SOAHOST2 .............................................................................. 5-118 5.13.13.1 Starting Node Manager on SOAHOST2 .............................................................. 5-119 5.13.13.2 Starting and Validating the WLS_SOA2 Managed Server ................................ 5-119 5.13.14 Configuring Oracle HTTP Servers for the Administration Server and the WLS_SOAn Managed Servers 5-119 5.13.15 Validating Access Through Oracle HTTP Server....................................................... 5-121 5.13.16 Configuring JMS Persistence Store as Shared Across the Servers........................... 5-122 5.13.17 Configuring a Default Persistent Store for Transaction Recovery .......................... 5-123 5.13.18 Setting the Front End HTTP Host and Port ................................................................ 5-123 5.13.19 Setting the WLS Cluster Address for Direct Binding/RMI Invocations to Composites... 5-124 5.13.20 Deploying Applications................................................................................................. 5-125 5.13.21 Configuring Server Migration for the WLS_SOA Servers........................................ 5-127 5.13.22 Scaling the Topology ...................................................................................................... 5-133 5.13.22.1 Scaling Up the Topology (Adding Managed Servers to Existing Nodes)....... 5-133 5.13.22.2 Scaling Out the Topology (Adding Managed Servers to New Nodes) ........... 5-138 5.14 Configuring High Availability for Oracle Service Bus, with SOA Service Infrastructure and Component Service Engines 5-145 5.13.1.5 5.13.1.6 5.13.1.7 5.13.1.8

ix

Preparing the Environment: Prerequisite Steps Before Setting up a SOA High Availability Configuration 5-148 5.14.1.1 Database Prerequisites............................................................................................ 5-148 5.14.1.2 VIP and IP Prerequisites......................................................................................... 5-149 5.14.1.3 Shared Storage Prerequisites ................................................................................. 5-149 5.14.1.4 Installing and Configuring an LDAP Provider................................................... 5-150 5.14.1.5 Synchronizing System Clocks................................................................................ 5-151 5.14.1.6 Terminology for Directories and Directory Environment Variables ............... 5-151 5.14.1.7 Installing and Configuring the Database Repository......................................... 5-152 5.14.1.8 Using Oracle Fusion Middleware Repository Creation Utility to Load the Fusion Middleware Schemas in the Database 5-153 5.14.1.8.1 Running RCU.................................................................................................... 5-153 5.14.1.8.2 Configuring SOA Schemas for Transactional Recovery Privileges .......... 5-154 5.14.1.9 Configuring Virtual Server Names and Ports for the Load Balancer .............. 5-154 5.14.1.10 Installing Oracle HTTP Server on WEBHOST1 and WEBHOST2.................... 5-156 5.14.1.10.1 Validating Oracle HTTP Server...................................................................... 5-158 5.14.2 Installing Oracle Fusion Middleware Home .............................................................. 5-158 5.14.2.1 Installing Oracle WebLogic Server ...................................................................... 5-158 5.14.2.2 Installing Oracle Fusion Middleware for Oracle SOA ....................................... 5-159 5.14.2.3 Installing Oracle Service Bus.................................................................................. 5-159 5.14.3 Enabling VIP1 and VIP3 in SOAHOST1 and VIP2 and VIP4 in SOAHOST2........ 5-160 5.14.4 Running Oracle Fusion Middleware Configuration Wizard on SOAHOST1 to Create the SOA and OSB Domain 5-161 5.14.5 Creating boot.properties for the Administration Server on SOAHOST1............... 5-166 5.14.6 Starting and Validating the Administration Server in SOAHOST1........................ 5-167 5.14.6.1 Starting the Administration Server on SOAHOST1 ........................................... 5-167 5.14.6.2 Validating the Administration Server .................................................................. 5-167 5.14.7 Disabling Host Name Verification for the Administration Server and the WLS_ SOAn/WLS_OSBn Managed Servers 5-167 5.14.8 Configuring Oracle Coherence for Deploying Composites ..................................... 5-168 5.14.9 Configure Oracle Coherence for the Oracle Service Bus Result Cache .................. 5-170 5.14.10 Setting Connection Destination Identifiers for B2B Queues .................................... 5-171 5.14.11 Starting the System in SOAHOST1 .............................................................................. 5-171 5.14.11.1 Starting Node Manager on SOAHOST1 .............................................................. 5-171 5.14.11.2 Starting and Validating the WLS_SOA1 Managed Server ................................ 5-172 5.14.12 Propagating the Domain Configuration to SOAHOST2, OSBHOST1, and OSBHOST2 with pack/unpack Utilities 5-172 5.14.13 Extracting XEngine Files in the Second Node ............................................................ 5-173 5.14.14 Starting the System in SOAHOST2, OSBHOST1, and OSBHOST2 ......................... 5-173 5.14.14.1 Starting Node Manager on SOAHOST2, OSBHOST1, and OSBHOST2 ......... 5-173 5.14.14.2 Starting and Validating the WLS_SOA2, WLS_OSB1, and WLS_OSB2 Managed Server 5-173 5.14.15 Configuring Oracle HTTP Servers for the Administration Server, WLS_SOAn, and WLS_OSBn Managed Servers 5-174 5.14.16 Validating Access Through Oracle HTTP Server....................................................... 5-176 5.14.17 Setting the Front End HTTP Host and Port ................................................................ 5-177 5.14.18 Configuring a Default Persistent Store for Transaction Recovery .......................... 5-179 5.14.19 Deploying Applications................................................................................................. 5-179 5.14.1

x

5.14.20 Configuring Server Migration for the WLS_SOA Servers........................................ 5-181 5.14.21 Configuring Server Migration for the WLS_OSB Servers ........................................ 5-187 5.14.22 Scaling the Topology ...................................................................................................... 5-194 5.14.22.1 Scaling Up the Topology (Adding Managed Servers to Existing Nodes)....... 5-194 5.14.22.2 Scaling Out the Topology (Adding Managed Servers to New Nodes) ........... 5-200 5.14.23 Troubleshooting SOA High Availability..................................................................... 5-208 5.15 Configuring High Availability for Oracle BAM ............................................................... 5-209 5.15.1 Preparing the Environment: Prerequisite Steps Before Setting up a High Availability Configuration for Oracle BAM 5-212 5.15.1.1 Database Prerequisites............................................................................................ 5-212 5.15.1.2 VIP and IPs Prerequisites ....................................................................................... 5-212 5.15.1.3 Installing and Configuring the Database Repository ........................................ 5-212 5.15.1.4 Using Oracle Fusion Middleware Repository Creation Utility to Load Oracle Fusion Middleware Schemas 5-213 5.15.1.4.1 Running RCU.................................................................................................... 5-213 5.15.1.5 Configuring Virtual Server Names and Ports for the Load Balancer .............. 5-215 5.15.2 Installing Oracle HTTP Server on WEBHOST1 ......................................................... 5-216 5.15.2.1 Validating Oracle HTTP Server ............................................................................ 5-218 5.15.3 Installing Oracle Fusion Middleware Home .............................................................. 5-218 5.15.3.1 Installing Oracle WebLogic Server ...................................................................... 5-218 5.15.3.2 Installing Oracle BAM Using the Oracle Fusion Middleware SOA Suite Installer .... 5-219 5.15.4 Enabling VIP0 and VIP1 on BAMHOST1 ................................................................... 5-219 5.15.5 Running Oracle Fusion Middleware Configuration Wizard on BAMHOST1 to Create the WebLogic Server Oracle BAM Domain 5-219 5.15.6 Creating boot.properties for the Administration Server and for WLS_BAM1 on BAMHOST1 5-223 5.15.7 Starting the Administration Server on BAMHOST1 ................................................. 5-223 5.15.8 Disabling Host Name Verification for the Servers .................................................... 5-224 5.15.9 Configuring a JMS Persistence Store for BAM UMS ................................................. 5-224 5.15.10 Configuring a Default Persistence Store for Transaction Recovery ........................ 5-225 5.15.11 Untargeting the BAM Server System from BAMHOST2.......................................... 5-225 5.15.12 Propagating the Domain Configuration from BAMHOST1 with pack/unpack Utilities 5-226 5.15.13 Starting Node Manager on BAMHOST1 and BAMHOST2...................................... 5-227 5.15.14 Starting the Oracle BAM System .................................................................................. 5-227 5.15.15 Configuring Oracle RAC Failover for the WLS_BAM Servers ................................ 5-228 5.15.16 Configuring the BAM Web Applications to Use the BAM Server in BAMHOST1 ........... 5-228 5.15.17 Configuring Oracle HTTP Servers for the Administration Server and the WLS_BAMn Managed Servers 5-229 5.15.18 Validating Access through Oracle HTTP Server........................................................ 5-230 5.15.19 Configuring Server Migration for the WLS_BAM Servers....................................... 5-231 5.15.19.1 Setting Up the User and Tablespace for the Server Migration Leasing Table 5-231 5.15.19.2 Creating a Multi Data Source from the WebLogic Server Administration Console .. 5-232 5.15.19.3 Edit the Node Managers Properties File ............................................................. 5-233 5.15.19.4 Set Environment and Superuser Privileges for the wlsifconfig.sh Script ....... 5-234

xi

5.15.19.5 5.15.19.6 5.15.20

Configure Server Migration Targets..................................................................... 5-235 Test Server Migration.............................................................................................. 5-236 Configuring Clients Connecting to the BAM System................................................ 5-237

6

Configuring High Availability for Oracle ADF and WebCenter Applications6.1 Oracle ADF and High Availability Concepts ......................................................................... 6-1 6.1.1 Understanding Oracle ADF ............................................................................................... 6-1 6.1.1.1 Oracle ADF Components ............................................................................................ 6-2 6.1.1.1.1 ADF Business Components ................................................................................. 6-3 6.1.1.1.2 ADF Model Layer.................................................................................................. 6-4 6.1.1.1.3 ADF Controller ...................................................................................................... 6-4 6.1.1.1.4 ADF Faces Rich Client .......................................................................................... 6-4 6.1.1.2 Oracle ADF Single Node Architecture ...................................................................... 6-5 6.1.1.3 Oracle ADF External Dependencies .......................................................................... 6-5 6.1.1.4 Oracle ADF Log File..................................................................................................... 6-6 6.1.2 Oracle ADF High Availability Considerations ............................................................... 6-6 6.1.2.1 Oracle ADF Scope and Session State ......................................................................... 6-6 6.1.2.2 Oracle ADF Failover and Expected Behavior........................................................... 6-8 6.1.2.3 Oracle ADF Active Data Services............................................................................... 6-9 6.1.2.4 Configuring the ADF Application Module for Oracle RAC .................................. 6-9 6.1.3 Configuring Oracle ADF for High Availability .............................................................. 6-9 6.1.3.1 Configuring Application Modules............................................................................. 6-9 6.1.3.2 Configuring weblogic.xml........................................................................................ 6-10 6.1.3.3 Configuring adf-config.xml ..................................................................................... 6-10 6.1.3.4 Configuring org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION .. 6-11 6.1.4 Troubleshooting Oracle ADF High Availability .......................................................... 6-11 6.1.4.1 Troubleshooting Oracle ADF Development Issues .............................................. 6-11 6.1.4.2 Troubleshooting Oracle ADF Deployment Issues ................................................ 6-12 6.1.4.3 Troubleshooting Oracle ADF Replication and Failover Issues........................... 6-12 6.2 Configuring an Oracle ADF High Availability Deployment ............................................ 6-15 6.2.1 Terminology for Directories and Directory Environment Variables ........................ 6-16 6.2.2 Using RCU to Load Fusion Middleware Schemas in the Database .......................... 6-16 6.2.2.1 Running RCU ............................................................................................................. 6-17 6.2.3 Installing Oracle HTTP Server on WEBHOST1............................................................ 6-18 6.2.3.1 Validating Oracle HTTP Server............................................................................... 6-19 6.2.4 Installing the Oracle Fusion Middleware Home.......................................................... 6-19 6.2.4.1 Installing Oracle WebLogic Server ......................................................................... 6-19 6.2.4.2 Installing Oracle Fusion Middleware for Oracle ADF Applications ................. 6-20 6.2.5 Administration Server High Availability...................................................................... 6-21 6.2.6 Running the Configuration Wizard on APPHOST1 to Create the WebLogic Server ADF Domain 6-21 6.2.6.1 Creating boot.properties for the Administration Server and Managed Servers on APPHOST1 6-23 6.2.7 Starting the System in APPHOST1 ................................................................................ 6-23 6.2.7.1 Starting the Administration Server on APPHOST1 ............................................. 6-24 6.2.7.2 Validating the Administration Server .................................................................... 6-24

xii

Disabling Host Name Verification for the Administration Server and Managed Servers for APPHOST1 and APPHOST2 6-24 6.2.7.4 Starting Node Manager on APPHOST1................................................................. 6-24 6.2.8 Installing Oracle WebLogic Server and Oracle ADF on APPHOST2 ....................... 6-25 6.2.9 Propagating the Domain Configuration to APPHOST2 with pack/unpack Utilities ....... 6-25 6.2.9.1 Creating boot.properties for the Administration Server and Managed Servers on APPHOST2 6-25 6.2.9.2 Starting Node Manager on APPHOST2................................................................. 6-26 6.2.9.3 Configuring the ADF Application for Replication ............................................... 6-26 6.2.9.4 Deploying the ADF Application ............................................................................. 6-27 6.2.9.5 Configuring Oracle HTTP Server for the Administration Server and Oracle WebCenter Managed Servers 6-27 6.2.9.6 Validating Access through Oracle HTTP Server .................................................. 6-27 6.2.10 Scaling the Topology ........................................................................................................ 6-28 6.2.10.1 Scaling Up the Topology (Adding Managed Servers to Existing Nodes)......... 6-28 6.2.10.2 Scaling Out the Topology (Adding Managed Servers to New Nodes) ............. 6-29 6.3 Oracle WebCenter and High Availability Concepts........................................................... 6-30 6.3.1 Understanding Oracle WebCenter................................................................................. 6-30 6.3.1.1 Oracle WebCenter Components.............................................................................. 6-30 6.3.1.2 Oracle WebCenter Single-node Architecture ........................................................ 6-33 6.3.1.3 Oracle WebCenter State and Configuration Persistence ..................................... 6-33 6.3.1.4 Oracle WebCenter External Dependencies............................................................ 6-34 6.3.1.5 Oracle WebCenter Configuration Considerations ............................................... 6-36 6.3.1.6 Oracle WebCenter Log File Locations .................................................................... 6-37 6.3.2 WebCenter High Availability Architecture and Failover Considerations ............... 6-38 6.3.2.1 Oracle WebCenter Applications ............................................................................. 6-39 6.3.2.2 Oracle WebCenter Startup Order............................................................................ 6-40 6.3.2.3 Deploying Oracle WebCenter Application on a Cluster ..................................... 6-40 6.3.2.4 Oracle WebCenter Analytics Communications .................................................... 6-40 6.3.2.5 Oracle WebCenter State Replication....................................................................... 6-41 6.3.2.6 Understanding the Distributed Java Object Cache............................................... 6-41 6.3.2.7 Oracle WebCenter Protection from Failover and Expected Behavior .............. 6-43 6.3.2.8 Expected Behavior for Application Failover ........................................................ 6-44 6.3.2.9 Monitoring Logging of Application Deployments............................................... 6-46 6.3.2.10 Oracle WebCenter Cluster-wide Configuration Changes ................................... 6-46 6.3.2.11 Maintaining Configuration in a Clustered Environment .................................... 6-46 6.4 Configuring High Availability for Oracle WebCenter ...................................................... 6-47 6.4.1 Preparing the Environment: Prerequisite Steps Before Setting up an Oracle WebCenter High Availability Configuration 6-47 6.4.1.1 Database Prerequisites.............................................................................................. 6-47 6.4.1.2 VIP and IP Prerequisites........................................................................................... 6-47 6.4.1.3 Installing and Configuring the Database Repository .......................................... 6-47 6.4.1.4 Installing and Configuring an LDAP Provider..................................................... 6-49 6.4.1.5 Terminology for Directories and Directory Environment Variables ................. 6-49 6.4.1.6 Using Oracle Fusion Middleware Repository Creation Utility to Load the Fusion Middleware Schemas in the Database 6-49 6.4.1.6.1 Running RCU...................................................................................................... 6-50 6.2.7.3

xiii

Installing Oracle HTTP Server on WEBHOST1 .......................................................... 6-51 Validating Oracle HTTP Server .............................................................................. 6-52 Installing Oracle Fusion Middleware Home ................................................................ 6-52 Installing Oracle WebLogic Server ........................................................................ 6-53 Installing Oracle Fusion Middleware for Oracle WebCenter ............................. 6-53 Enabling the Administration Server VIP....................................................................... 6-54 Running Oracle Fusion Middleware Configuration Wizard on APPHOST1 to Create the WebLogic Server WebCenter Domain 6-54 6.4.6 Creating boot.properties for the Administration Server and for Managed Servers on APPHOST1 6-59 6.4.7 Starting the System in APPHOST1 ................................................................................ 6-60 6.4.7.1 Starting the Administration Server on APPHOST1 ............................................. 6-60 6.4.7.2 Validating the Administration Server .................................................................... 6-60 6.4.7.3 Disabling Host Name Verification for the Administration Server and the Managed Servers for APPHOST1 and APPHOST2 6-61 6.4.7.4 Starting Node Manager on APPHOST1................................................................. 6-61 6.4.8 Install WebLogic Server and Oracle WebCenter on APPHOST2 .............................. 6-61 6.4.9 Propagating the Domain Configuration to APPHOST2 with pack/unpack Utilities ....... 6-62 6.4.10 Starting Node Manager on APPHOST2 ........................................................................ 6-62 6.4.11 Configuring Oracle HTTP Server for the Administration Server and Oracle WebCenter Managed Servers 6-62 6.4.11.1 Configuring a Virtual Host for Oracle Pagelet Producer and Sharepoint ........ 6-64 6.4.11.1.1 Virtual Hosts Requirement ............................................................................... 6-64 6.4.11.1.2 Additional Configuration.................................................................................. 6-65 6.4.11.2 Validating Access through Oracle HTTP Server .................................................. 6-65 6.4.12 Configuring Manual Failover of the Administration Server to APPHOST2 ........... 6-66 6.4.13 Configuring the Java Object Cache ................................................................................ 6-66 6.4.14 Configuring the Distributed Notifications for the MDS Repository......................... 6-66 6.4.15 Configuring Oracle WebCenter for Replication........................................................... 6-66 6.4.16 Configuring the Analytics Collectors ............................................................................ 6-67 6.4.16.1 Configure the WebCenter Spaces Servers.............................................................. 6-67 6.4.17 Configuring Activity Graph............................................................................................ 6-67 6.4.18 Configuring Clustering for Discussion Server ............................................................. 6-68 6.4.19 Scaling the Topology ........................................................................................................ 6-68 6.4.19.1 Scaling Up the Topology (Adding Managed Servers to Existing Nodes)......... 6-68 6.4.19.2 Scaling Out the Topology (Adding Managed Servers to New Nodes) ............. 6-69 6.4.20 Troubleshooting Oracle WebCenter High Availability .............................................. 6-71 6.4.20.1 Troubleshooting Oracle WebCenter Deployment Issues .................................... 6-71 6.4.20.2 Troubleshooting Oracle WebCenter Replication and Failover Issues ............... 6-71 6.4.20.3 Troubleshooting Lost Changes to Policies ............................................................ 6-73 6.4.20.4 Troubleshooting JOC Configuration ...................................................................... 6-73 6.4.21 Converting Discussions from Multicast to Unicast ..................................................... 6-73 6.5 Configuring High Availability for Oracle WebCenter Portal Applications.................... 6-74 6.5.1 Configuring a Cluster for Oracle WebCenter Portal Applications............................ 6-74 6.5.2 Adding More Oracle WebCenter Portal Applications Servers .................................. 6-75 6.5.3 Configuring Distributed Notifications for the MDS Repository ............................... 6-75 6.4.2 6.4.2.1 6.4.3 6.4.3.1 6.4.3.2 6.4.4 6.4.5

xiv

7 High Availability for Oracle Data Integrator7.1 Introduction to Oracle Data Integrator.................................................................................... 7-1 7.2 Oracle Data Integrator Single Instance Characteristics ......................................................... 7-1 7.2.1 Oracle Data Integrator Sessions Lifecycle and Recovery............................................... 7-3 7.2.1.1 Sessions Interruption ................................................................................................... 7-3 7.2.1.2 Recovering Sessions ..................................................................................................... 7-3 7.2.2 Agent Startup and Shutdown Cycle ................................................................................. 7-4 7.2.3 Oracle Data Integrator External Dependencies............................................................... 7-5 7.2.4 Oracle Data Integrator Startup and Shutdown Process ................................................. 7-5 7.2.5 Oracle Data Integrator Configuration Artifacts .............................................................. 7-5 7.2.5.1 Java EE Agent Configuration...................................................................................... 7-5 7.2.5.2 Standalone Agent Configuration ............................................................................... 7-6 7.2.5.3 Oracle Data Integrator Console Configuration ........................................................ 7-7 7.2.5.4 Oracle Data Integrator Log Locations and Configuration...................................... 7-7 7.2.5.4.1 Oracle Data Integrator Session Logs .................................................................. 7-7 7.2.5.4.2 Java EE Agent Log Files ....................................................................................... 7-7 7.2.5.4.3 Standalone Agent Log Files ................................................................................. 7-8 7.2.5.4.4 Oracle Data Integrator Console Log Files.......................................................... 7-8 7.3 Oracle Data Integrator High Availability and Failover Considerations............................. 7-8 7.3.1 Oracle Data Integrator Clustered Deployment ............................................................... 7-8 7.3.2 Standalone Agent High Availability with OPMN....................................................... 7-10 7.3.3 Oracle Data Integrator Protection from Failure and Expected Behavior ................. 7-10 7.3.3.1 WebLogic Server or Standalone Agent Crash ....................................................... 7-10 7.3.3.2 Repository Database Failure .................................................................................... 7-11 7.3.3.3 Scheduler Node Failure ............................................................................................ 7-11 7.4 Configuring High Availability for Oracle Data Integrator................................................ 7-12 7.4.1 Running RCU to Create the Master and Work Repositories...................................... 7-12 7.4.2 Installation and Configuration of the First Oracle Data Integrator Host ................. 7-12 7.4.2.1 Installing the Oracle WebLogic Server on APPHOST1 ....................................... 7-12 7.4.2.2 Install Oracle Data Integrator on APPHOST1....................................................... 7-13 7.4.2.3 Create the High Availability Domain..................................................................... 7-14 7.4.2.4 Start the Administration Server............................................................................... 7-15 7.4.2.5 Configure the Credential Store................................................................................ 7-15 7.4.2.5.1 Configuring Credentials Using WLST ............................................................ 7-15 7.4.2.5.2 Configuring Credentials using Enterprise Manager..................................... 7-15 7.4.2.6 Configure the Default Agent ................................................................................... 7-16 7.4.2.7 Configure Coherence for the Cluster...................................................................... 7-16 7.4.2.8 Configure Node Manager and Start odi_server1.................................................. 7-17 7.4.2.9 Verify the Oracle Data Integrator Agent is Running ........................................... 7-17 7.4.3 Installation and Configuration of the Second Oracle Data Integrator Host ............ 7-17 7.4.3.1 Installing the Oracle WebLogic Server on APPHOST2 ....................................... 7-17 7.4.3.2 Pack and Unpack the Domain from APPHOST1 to APPHOST2 ....................... 7-17 7.4.3.3 Configure Node Manager and Start odi_server2.................................................. 7-18 7.4.3.4 Verify the Oracle Data Integrator Agent is Running ........................................... 7-18 7.4.4 Installing Oracle HTTP Server ........................................................................................ 7-18 7.4.4.1 Upgrading the Oracle HTTP Server Oracle Home to Patch Set 3 ..................... 7-19 7.4.4.2 Configuring Oracle HTTP Server............................................................................ 7-19

xv

7.4.4.3 7.4.4.4 7.4.4.5

Configuring the Load Balancer ............................................................................... 7-20 Verify the Oracle Data Integrator Agent is Running ........................................... 7-20 Reconfigure Agents ................................................................................................... 7-20

8

Configuring High Availability for Identity Management Components8.1 Identity Management Product Components and High Availability Concepts ................. 8-2 8.1.1 About the 11g Oracle Identity Management Products................................................... 8-5 8.2 Prerequisites for Oracle Identity Management High Availability Configuration ............ 8-6 8.2.1 Oracle Home Requirement................................................................................................. 8-6 8.2.2 Database Prerequisites ........................................................................................................ 8-7 8.2.3 Installing and Configuring the Database Repository ..................................................... 8-7 8.2.4 Obtaining the Repository Creation Utility Software ...................................................... 8-8 8.2.4.1 Executing the Repository Creation Utility................................................................ 8-8 8.2.5 Configuring the Database for Oracle Fusion Middleware 11g Metadata ................... 8-9 8.2.5.1 Database Examples in This Chapter .......................................................................... 8-9 8.2.5.2 Database Services ...................................................................................................... 8-10 8.2.5.3 Verifying Transparent Application Failover (TAF).............................................. 8-11 8.2.5.4 Configuring Virtual Server Names and Ports for the Load Balancer ................ 8-11 8.2.5.4.1 Load Balancers.................................................................................................... 8-11 8.2.5.4.2 Virtual Server Names......................................................................................... 8-13 8.3 Oracle Internet Directory High Availability ........................................................................ 8-14 8.3.1 Oracle Internet Directory Component Architecture.................................................... 8-14 8.3.1.1 Oracle Internet Directory Component Characteristics......................................... 8-16 8.3.1.1.1 Runtime Processes.............................................................................................. 8-16 8.3.1.1.2 Process Lifecycle................................................................................................. 8-17 8.3.1.1.3 Request Flow....................................................................................................... 8-18 8.3.1.1.4 Configuration Artifacts...................................................................................... 8-18 8.3.1.1.5 External Dependencies ...................................................................................... 8-18 8.3.1.1.6 Oracle Internet Directory Log File ................................................................... 8-19 8.3.2 Oracle Internet Directory High Availability Concepts ............................................... 8-19 8.3.2.1 Oracle Internet Directory High Availability Architecture .................................. 8-19 8.3.2.1.1 Starting and Stopping the Cluster.................................................................... 8-20 8.3.2.1.2 Cluster-Wide Configuration Changes............................................................. 8-20 8.3.2.2 Protection from Failures and Expected Behavior ................................................. 8-21 8.3.2.2.1 Oracle Internet Directory Process Failure....................................................... 8-21 8.3.2.2.2 Expected Client Application Behavior When Failure Occurs...................... 8-21 8.3.2.2.3 External Dependency Failure ........................................................................... 8-22 8.3.2.3 Oracle Internet Directory Prerequisites.................................................................. 8-22 8.3.2.3.1 Synchronizing the Time on Oracle Internet Directory Nodes ..................... 8-23 8.3.2.3.2 Using RCU to Create Oracle Internet Directory Schemas in the Repository........ 8-23 8.3.2.3.3 Load Balancer Virtual Server Names for Oracle Internet Directory........... 8-24 8.3.3 Oracle Internet Directory High Availability Configuration Steps ............................ 8-24 8.3.3.1 Installing Oracle Fusion Middleware Components ............................................. 8-24 8.3.3.1.1 Install Oracle WebLogic Server ........................................................................ 8-24 8.3.3.1.2 Installing Oracle Fusion Middleware for Identity Management ................ 8-25 8.3.3.1.3 Upgrading Oracle Identity Management to Patch Set 3 .............................. 8-27

xvi

Configuring Oracle Internet Directory Without a WebLogic Domain .............. 8-27 Configuring Oracle Internet Directory on OIDHOST1................................. 8-27 Oracle Internet Directory Component Names Assigned by Oracle Identity Management Installer 8-30 8.3.3.2.3 Configuring Oracle Internet Directory on OIDHOST2................................. 8-30 8.3.3.2.4 Registering Oracle Internet Directory with a WebLogic Domain............... 8-33 8.3.3.3 Configuring Oracle Internet Directory With a WebLogic Domain.................... 8-34 8.3.3.3.1 Configuring Oracle Internet Directory on OIDHOST1................................. 8-34 8.3.3.3.2 Creating boot.properties for the Administration Server on OIDHOST1 ... 8-37 8.3.3.3.3 Configuring Oracle Internet Directory on OIDHOST2................................. 8-38 8.3.4 Validating Oracle Internet Directory High Availability ............................................. 8-41 8.3.5 Oracle Internet Directory Failover and Expected Behavior ....................................... 8-42 8.3.5.1 Performing an Oracle Internet Directory Failover................................................ 8-42 8.3.5.2 Performing an Oracle RAC Failover....................................................................... 8-43 8.3.6 Troubleshooting Oracle Internet Directory High Availability................................... 8-44 8.3.7 Additional Oracle Internet Directory High Availability Issues................................. 8-45 8.3.7.1 Changing the Password of the ODS Schema Used by Oracle Internet Directory....... 8-45 8.4 Oracle Virtual Directory High Availability.......................................................................... 8-46 8.4.1 Oracle Virtual Directory Component Architecture ..................................................... 8-46 8.4.1.1 Oracle Virtual Directory Runtime Considerations ............................................... 8-47 8.4.1.2 Oracle Virtual Directory Component Characteristics .......................................... 8-48 8.4.1.2.1 Oracle Virtual Directory Log File..................................................................... 8-49 8.4.2 Oracle Virtual Directory High Availability Concepts ................................................. 8-49 8.4.2.1 Oracle Virtual Directory High Availability Architecture .................................... 8-49 8.4.2.1.1 Oracle Virtual Directory High Availability Connect Features .................... 8-50 8.4.2.2 Oracle Virtual Directory Prerequisites ................................................................... 8-51 8.4.2.2.1 Load Balancer Virtual Server Names for Oracle Virtual Directory ............ 8-51 8.4.3 Oracle Virtual Directory High Availability Configuration Steps .............................. 8-51 8.4.3.1 Configuring Oracle Virtual Directory Without a WebLogic Domain ............... 8-52 8.4.3.1.1 Configuring Oracle Virtual Directory on OVDHOST1 ................................ 8-52 8.4.3.1.2 Configuring Oracle Virtual Directory on OVDHOST2 ................................ 8-55 8.4.3.1.3 Registering Oracle Virtual Directory with a WebLogic Domain ................ 8-57 8.4.3.2 Configuring Oracle Virtual Directory With a WebLogic Domain ..................... 8-58 8.4.3.2.1 Configuring Oracle Virtual Directory on OVDHOST1 ................................ 8-58 8.4.3.2.2 Creating boot.properties for the Administration Server on OVDHOST1.. 8-61 8.4.3.2.3 Configuring Oracle Virtual Directory on OVDHOST2 ................................ 8-62 8.4.3.3 Configuring Oracle Virtual Directory with Highly Available Data Sources.... 8-65 8.4.3.3.1 Configuring Oracle Virtual Directory with an Oracle RAC Database ....... 8-65 8.4.3.3.2 Configuring Oracle Virtual Directory with LDAP ........................................ 8-65 8.4.4 Validating Oracle Virtual Directory High Availability............................................... 8-65 8.4.4.1 Validating Oracle Virtual Directory High Availability Using SSL .................... 8-67 8.4.5 Oracle Virtual Directory Failover and Expected Behavior ......................................... 8-68 8.4.5.1 Performing an Oracle Virtual Directory Failover ................................................. 8-68 8.4.5.2 Performing an Oracle RAC Failover....................................................................... 8-68 8.4.6 Troubleshooting Oracle Virtual Directory High Availability .................................... 8-68 8.4.6.1 Troubleshooting LDAP Adapter Creation............................................................. 8-69 8.3.3.2 8.3.3.2.1 8.3.3.2.2

xvii

8.5 Oracle Directory Integration Platform High Availability .................................................. 8-69 8.5.1 Oracle Directory Integration Platform Component Architecture ............................. 8-69 8.5.1.1 Oracle Directory Integration Platform Component Characteristics .................. 8-70 8.5.1.1.1 Runtime Processes.............................................................................................. 8-71 8.5.1.1.2 Process Lifecycle................................................................................................. 8-71 8.5.1.1.3 Request Flow....................................................................................................... 8-72 8.5.1.1.4 Configuration Artifacts...................................................................................... 8-75 8.5.1.1.5 External Dependencies ...................................................................................... 8-76 8.5.1.1.6 Oracle Directory Integration Platform Log File ............................................. 8-76 8.5.2 Oracle Directory Integration Platform High Availability Concepts ......................... 8-76 8.5.2.1 Oracle Directory Integration Platform High Availability Architecture ............ 8-76 8.5.2.1.1 Starting and Stopping the Cluster.................................................................... 8-78 8.5.2.1.2 Cluster-Wide Configuration Changes............................................................. 8-78 8.5.2.2 Protection from Failures and Expected Behavior ................................................. 8-79 8.5.2.2.1 Process Failure .................................................................................................... 8-79 8.5.2.2.2 Expected Client Application Behavior When Failure Occurs...................... 8-80 8.5.2.2.3 External Dependency Failure ........................................................................... 8-80 8.5.2.3 Oracle Directory Integration Platform Prerequisites ........................................... 8-80 8.5.3 Oracle Directory Integration Platform and Oracle Directory Services Manager High Availability Configuration Steps 8-80 8.5.3.1 Configuring Oracle Directory Integration Platform and Oracle Directory Services Manager on IDMHOST1 8-81 8.5.3.2 Creating boot.properties for the Administration Server on IDMHOST1.......... 8-84 8.5.3.3 Configuring Oracle Directory Integration Platform and Oracle Directory Services Manager on IDMHOST2 8-85 8.5.3.4 Post-Installation Steps for Oracle Directory Integration Platform and Oracle Directory Services Manager 8-86 8.5.3.4.1 Copy the Oracle Directory Integration Platform Configuration from IDMHOST1 to IDMHOST2 8-86 8.5.3.4.2 Start the Managed Server on IDMHOST2 in a Cluster................................. 8-87 8.5.3.5 Installing Oracle Fusion Middleware Components on WEBHOST1 and WEBHOST2 8-87 8.5.3.5.1 Installing Oracle HTTP Server for the Web Tier............................................ 8-87 8.5.3.5.2 Upgrading the Oracle HTTP Server Oracle Home to Patch Set 3 .............. 8-88 8.5.3.6 Configuring Oracle HTTP Server on WEBHOST1 and WEBHOST2................. 8-88 8.5.3.6.1 Configuring Oracle HTTP Server for Oracle Directory Services Manager High Availability 8-90 8.5.4 Oracle Directory Integration Platform Failover and Expected Behavior ................. 8-92 8.5.5 Troubleshooting Oracle Directory Integration Platform High Availability ............ 8-93 8.5.5.1 Managed Server Log File Exceptions Received for Oracle Directory Integration Platform During an Oracle RAC Failover 8-93 8.5.5.2 Dealing with Error Messages Received After Starting WebLogic Node Manager..... 8-93 8.5.5.3 If WebLogic Node Manager Fails to Start.............................................................. 8-94 8.5.5.4 Configuration Changes Do Not Automatically Propagate to All Oracle Directory Integration Platform Instances in a Highly Available Topology 8-94 8.5.5.5 Operation Cannot Be Completed for Unknown Errors Message....................... 8-94 8.6 Oracle Directory Services Manager High Availability....................................................... 8-95 8.6.1 Oracle Directory Services Manager Component Architecture .................................. 8-95xviii

8.6.1.1 8.6.1.1.1 8.6.1.1.2 8.6.2 8.6.2.1 8.6.2.1.1 8.6.2.2 8.6.2.2.1 8.6.2.2.2 8.6.2.2.3 8.6.2.3 8.6.3 8.6.4 8.6.4.1 8.6.4.2 8.6.5 8.6.5.1

Oracle Directory Services Manager Component Characteristics ....................... 8-96 Lifecycle Management....................................................................................... 8-96 Oracle Directory Services Manager Log File.................................................. 8-97 Oracle Directory Services Manager High Availability Concepts .............................. 8-97 Oracle Directory Services Manager High Availability Architecture ................. 8-97 Starting and Stopping the Cluster.................................................................... 8-99 Protection from Failures and Expected Behaviors................................................ 8-99 Process Failure .................................................................................................... 8-99 Expected Client Application Behavior When Failure Occurs...................... 8-99 Expected Dependency Failure........................................................................ 8-100 Oracle Directory Services Manager Prerequisites .............................................. 8-100 Oracle Directory Services Manager High Availability Configuration Steps ......... 8-100 Validating Oracle Directory Services Manager High Availability .......................... 8-101 Performing a WebLogic Server Instance Failover .............................................. 8-101 Performing an Oracle RAC Database Failover.................................................... 8-102 Oracle Directory Services Manager Failover and Expected Behavior .................... 8-103 Using Oracle Directory Services Manager to Validate a Failover of a Managed Server 8-103 8.6.5.2 Using Oracle Directory Services Manager to Validate a Failover of an Oracle Internet Directory Instance 8-103 8.6.5.3 Using Oracle Directory Services Manager to Validate an Oracle RAC Failover......... 8-104 8.6.6 Troubleshooting Oracle Directory Services Manager ............................................... 8-104 8.6.6.1 Dealing with Error Messages Received After Starting WebLogic Node Manager..... 8-104 8.6.6.2 If WebLogic Node Manager Fails to Start............................................................ 8-105 8.6.6.3 Oracle Directory Services Manager Failover Using Oracle HTTP Server is Not Transparent 8-105 8.6.6.4 Oracle Directory Services Manager Displays "LDAP Server is down" Message During Oracle Internet Directory Failover 8-106 8.6.6.5 Oracle Directory Services Manager Temporarily Loses Its Connection During Oracle RAC Failover 8-106 8.6.7 Additional Considerations for Oracle Directory Services Manager High Availability .... 8-106 8.7 Collocated Architecture High Availability ........................................................................ 8-106 8.7.1 Collocated Architecture Overview............................................................................... 8-107 8.7.2 Collocated Architecture High Availability Deployment .......................................... 8-108 8.7.2.1 Collocated Architecture Prerequisites .................................................................. 8-108 8.7.2.2 Configuring Collocated Components for High Availability............................. 8-109 8.7.3 Validating the Collocated Components High Availability ...................................... 8-110 8.7.3.1 Validation Tests ....................................................................................................... 8-110 8.7.3.2 Failures and Expected Behaviors .......................................................................... 8-110 8.7.4 Troubleshooting Collocated Components Manager High Availability ................. 8-110 8.7.5 Additional Considerations for Collocated Components High Availability .......... 8-111 8.8 Oracle Access Manager High Availability ......................................................................... 8-111 8.8.1 Oracle Access Manager Component Architecture..................................................... 8-112 8.8.1.1 Oracle Access Manager Component Characteristics.......................................... 8-112 8.8.1.1.1 Oracle Access Manager State Information.................................................... 8-114

xix

8.8.1.1.2 8.8.1.1.3 8.8.1.1.4 8.8.1.1.5 8.8.1.1.6 8.8.2 8.8.2.1 8.8.2.1.1 8.8.2.1.2 8.8.2.2 8.8.2.2.1 8.8.2.2.2 8.8.2.2.3 8.8.3 8.8.3.1 8.8.3.2

Oracle Access Manager Request Flow .......................................................... 8-115 Oracle Access Manager Process Lifecycle..................................................... 8-116 Oracle Access Manager Configuration Artifacts ......................................... 8-116 Oracle Access Manager External Dependencies.......................................... 8-117 Oracle Access Manager Log File Location.................................................... 8-118 Oracle Access Manager High Availability Concepts ................................................ 8-118 Oracle Access Manager High Availability Architecture.................................... 8-118 Starting and Stopping the Cluster.................................................................. 8-121 Cluster-Wide Configuration Changes........................................................... 8-122 Protection from Failures and Expected Behaviors.............................................. 8-123 WebLogic Server Crash ................................................................................... 8-123 Node Failure...................................................................................................... 8-124 Database Failure ............................................................................................... 8-124 Oracle Access Manager High Availability Configuration Steps ............................. 8-124 Prerequisites for Oracle Access Manager Configuration................................... 8-125 Run the Repository Creation Utility to Create the OAM Schemas in a Database ...... 8-125 8.8.3.3 Installing Oracle WebLogic Server ....................................................................... 8-125 8.8.3.4 Install and Configure the Oracle Access Manager Application Tier ............... 8-126 8.8.3.4.1 Install Oracle Fusion Middleware for Identity Management .................... 8-126 8.8.3.4.2 Configure Oracle Identity Management on OAMHOST1 ......................... 8-127 8.8.3.5 Creating boot.properties for the Administration Server on OAMHOST1...... 8-130 8.8.3.6 Start OAMHOST1.................................................................................................... 8-130 8.8.3.6.1 Create the Node Manager Properties File on OAMHOST1....................... 8-131 8.8.3.6.2 Start Node Manager......................................................................................... 8-131 8.8.3.6.3 Start Oracle Access Manager on OAMHOST1............................................. 8-131 8.8.3.7 Validating OAMHOST1 ......................................................................................... 8-131 8.8.3.8 Configure OAM on OAMHOST2 ......................................................................... 8-131 8.8.3.9 Start OAMHOST2.................................................................................................... 8-132 8.8.3.9.1 Create the Node Manager Properties File on OAMHOST2....................... 8-132 8.8.3.9.2 Start Node Manager......................................................................................... 8-132 8.8.3.9.3 Start Oracle Access Manager on OAMHOST2............................................. 8-132 8.8.3.10 Validating OAMHOST2 ......................................................................................... 8-132 8.8.3.11 Change Request Cache Type ................................................................................. 8-132 8.8.3.12 Configure Oracle Access Manager to Work with Oracle HTTP Server........... 8-133 8.8.3.12.1 Update Oracle HTTP Server Configuration ................................................. 8-133 8.8.3.12.2 Restart Oracle HTTP Server............................................................................ 8-133 8.8.3.12.3 Make Oracle Access Manager Server Aware of the Load Balancer .......... 8-133 8.8.3.13 Configure Oracle Access Manager to use an External LDAP Store ................. 8-134 8.8.3.13.1 Create Users and Groups in LDAP................................................................ 8-134 8.8.3.13.2 Create a User Identity Store............................................................................ 8-135 8.8.3.13.3 Set LDAP to Primary Authentication Store.................................................. 8-135 8.8.3.14 Validating the Oracle Access Manager Configuration ...................................... 8-136 8.8.3.15 Configuring Oracle Coherence to Keep Configuration Files in Sync .............. 8-136 8.8.3.16 Scaling Up and Scaling Out the Oracle Access Manager Topology ................ 8-136 8.8.3.16.1 Scaling Up Oracle Access Manager ............................................................... 8-136 8.8.3.16.2 Scaling Out Oracle Access Manager.............................................................. 8-138 8.9 Oracle Identity Manager High Availability ....................................................................... 8-141

xx

Oracle Identity Manager Component Architecture................................................... 8-141 Oracle Identity Manager Component Characteristics ....................................... 8-142 Runtime Processes................................................................................................... 8-143 Component and Process Lifecycle ........................................................................ 8-143 Starting and Stopping Oracle Identity Manager................................................. 8-144 Configuration Artifacts........................................................................................... 8-144 External Dependencies ........................................................................................... 8-144 Oracle Identity Manager Log File Locations ....................................................... 8-145 Oracle Identity Manager High Availability Concepts .............................................. 8-145 Oracle Identity Manager High Availability Architecture ................................. 8-146 Starting and Stopping the Oracle Identity Manager Cluster ............................ 8-147 Cluster-Wide Configuration Changes .................................................................. 8-148 Considerations for Synchronizing with LDAP ................................................... 8-148 Oracle Identity Manager High Availability Configuration Steps ........................... 8-148 Prerequisites for Oracle Identity Manager Configuration ................................ 8-149 Running RCU to Create the OIM Schemas in a Database.......................... 8-150 Installing Oracle WebLogic Server ................................................................ 8-151 Installing the Oracle SOA Suite on OIMHOST1 and OIMHOST2............ 8-152 Upgrading the Oracle SOA Suite on OIMHOST1 and OIMHOST2 ......... 8-152 Installing the Oracle Identity Manager on OIMHOST1 and OIMHOST2 8-153 Creating and Configuring the WebLogic Domain for OIM and SOA on OIMHOST1 8-154 8.9.3.3 Post-Installation Steps on OIMHOST1 ................................................................. 8-158 8.9.3.3.1 Creating boot.prop


Recommended