Dataguard and RAC - - Get a Free Blog Here

27
Implementing Oracle Applications 11i on 10g RAC and ASM Kai Yu

Transcript of Dataguard and RAC - - Get a Free Blog Here

Page 1: Dataguard and RAC -   - Get a Free Blog Here

Implementing Oracle Applications 11i on 10g RAC and ASMKai Yu

Page 2: Dataguard and RAC -   - Get a Free Blog Here

Agenda

• Introduction• Architecture• Fresh Implementation• Cloning• Migration• QA

Page 3: Dataguard and RAC -   - Get a Free Blog Here

Introduction

Kai YuSystem Engineer Sr. ConsultantDell Database And Applications Solutions Engineering

– Dell IT: Implemented Oracle Applications on RAC– 11+ Years of Oracle DBA/Oracle Applications DBA– Dell Database Solutions Engineering:

Integrating, validating, bundling, and sustaining Dell’s Oracle DB and RAC solutions, based on PE servers, and Dell | EMC storage.

Page 4: Dataguard and RAC -   - Get a Free Blog Here

Architecture: Oracle Application 11i Overview

Client Tier Applications Server Tier Database Tier

Web Server

Forms Server

Report Server

Concurrent ProcessingServer

Admin Server

Page 5: Dataguard and RAC -   - Get a Free Blog Here

Architecture: 11i on 10g RAC/ASM

Client

LAN/WAN

LAN/WAN

Applications Tier

Database Tier

Load Balancing

Interconnect

ASM (AutomaticStorage

Management)

Page 6: Dataguard and RAC -   - Get a Free Blog Here

Implementation: Environment

• Hardware:– Application Tier: Dell PowerEdge servers– Database Tier: Dell PowerEdge servers– Interconnect: 2 Private 2 Gigabit switches– Storage: EMC storage for database

NAS storage for shared files system• Software:

– Red Hat Linux AS 3.0 (kernel 2.4.21-4EL or higher)– Oracle Applications 11.5.10 with CU2– Oracle Database 10g R1(10.1.0.5)

Page 7: Dataguard and RAC -   - Get a Free Blog Here

Implementation: System Architecture

LAN/WANLAN/WAN

Interconnect

Load Balancing

SharedFile system

Gigabit Cluster DatabaseServers

Fiber ChannelSwitches

ASM Storage

ApplicationsServers

Page 8: Dataguard and RAC -   - Get a Free Blog Here

Implementation: Process Overview

10.1.0.3 DBComponents

10.1.0.5 DB/CRS

10.1.0.5 DB/CRS DB in RAC 11.5.10 on 10g

RAC/ASM

10.1.0.5Apps DB

AutoconfigEnabled

11.5.10on 9i

Install Components

Install 10g

10.1.0.5 Upgrade

DB 10g Upgrade Autoconfig

ASM Migration

Convert To RAC

Establishment For RAC

Fresh Install

10.1.0.3 DB/CRS

Page 9: Dataguard and RAC -   - Get a Free Blog Here

Implementation: Steps

Fresh Install• Use Shared File System • Rapid Install • Post Installation Tasks

10g Install • Install CRS • Install Database Software

Install Components • Install Database Components

10.1.0.5 Upgrade • Upgrade CRS to 10.1.0.5• Upgrade DB to 10.1.0.5

Page 10: Dataguard and RAC -   - Get a Free Blog Here

Implementation: Steps Continued

DB 10g Upgrade• DB Upgrade Assistant • Post Upgrade Steps

Autoconfig • Copy oui22 to 10g • Run adbldmxml.sh

ASM Migration• Create ASM Instances • Create Diskgroups • Data Files Conversion

Convert to RAC • Autoconfig on Apps Tier • Generate appsutil.zip • Autoconfig on DB tier

Page 11: Dataguard and RAC -   - Get a Free Blog Here

Implementation: Steps

Convert to RAC (continued)

• Run adcfgpreclone.pl • Run adcfgclone.pl • Configure Listeners/tns

Establishment for RAC

• Autoconfig on Apps Tier • Load Balance for DB

PCP Configuration• Setup PCP • Setup Transaction Mgr • Load Balancing of PCP

Issues/Solutions • Listener/TNS Configure • Diskgroup vs. adcfgclone

Page 12: Dataguard and RAC -   - Get a Free Blog Here

Cloning

• Why Clone?– Create new DEV/QA environment – Refresh DEV/QA environment from production– Migrate an existing system to new hardware

• Clone Steps: – Use Rapid clone technology – Latest Rapid Clone patches required – Clone Database Tier– Clone Applications Tier– Post Clone steps

Page 13: Dataguard and RAC -   - Get a Free Blog Here

Cloning

Clone Database Tier

Clone Applications Tier

Page 14: Dataguard and RAC -   - Get a Free Blog Here

Cloning

• adcfgclone dbTechStack

• Start instances•adcfgclone dbconfig

Prepare Source DB: adpreclone

• adcfgclone dbTechStack• VIP configuration • Configure ASM • Configure InstanceCopy

ORACLE_HOME

Copy DB Config DB

Step 1

Step 2

Step 3

Step 4

Step 5Clone Database Tier

Page 15: Dataguard and RAC -   - Get a Free Blog Here

Cloning: Application Tier

5.Configure all others

Clone Applications Tier

1. Prepare source system: adpreclone

2. Copy application file system

3. Configure Target system

4. Enable shared Appl_TOP

Page 16: Dataguard and RAC -   - Get a Free Blog Here

Cloning

• Post Clone Steps– Purge old Concurrent request– Clean up logs and out files – Update profiles– Update FND tables

Page 17: Dataguard and RAC -   - Get a Free Blog Here

• Migration Requirement– Source: 11.5.10 on 9i RAC– Target : 11.5.10 on 10g RAC/ASM– On same OS (Red Hat Linux)

• Challenges– Minimize Downtime for source production – Migrate to new servers and new storage

• Solution Design– Build standby database to reduce downtime – Clone Application Tier to target by Rapid Clone– Clone database from source to target

Migration

Page 18: Dataguard and RAC -   - Get a Free Blog Here

Source : 11.5.10/9iRACPrepare source: adpreclone appstierClone Applications Tier

Apps Servers

Target: 11.5.10, 10g RAC/ASM

Step 1: Clone Applications Tier (optional) and copy 9i Oracle Home

Migration: 9i RAC to 10g RAC/ASM

Raw Devices

Prepare source DB Node Copy ORACLE_HOME

DB Servers

Page 19: Dataguard and RAC -   - Get a Free Blog Here

Source : 11.5.10/9iRAC

Apps Servers

Target: 11.5.10, 10g RAC/ASM

Step 2: Install/upgrade 10.1.0.5 RAC on the target Database Servers

Migration: 9i RAC to 10g RAC/ASM

Raw Devices

10g DB Servers

Page 20: Dataguard and RAC -   - Get a Free Blog Here

Source : 11.5.10/9iRAC

Apps Servers

10g DBServers

Target: 11.5.10, 10g RAC/ASM

Step 3: Build 9i Standby Database

Copy Datafiles

Redo logs shipping

Migration: 9i RAC to 10g RAC/ASM

Raw DevicesTemp file system

9i9i

Page 21: Dataguard and RAC -   - Get a Free Blog Here

Apps Servers

10g DB Servers

Activated9i Standby Database

Migration: 9i RAC to 10g RAC/ASM

Step 4: Activate Standby DB

Actions:

• Make sure no redo log gap

• Shutdown source environment

• Finish managed recovery

• Switchover standby DB to primary

9i

Page 22: Dataguard and RAC -   - Get a Free Blog Here

Apps Servers

10g DB

Migration: 9i RAC to 10g RAC/ASM

Step 5: Upgrade 9i DB to 10g

Actions:

• Run Database Upgrade Assistant: DBUA

• Add SYSAUX Tablespace

• Run library update, configure 10g listener

• Post Upgrade Steps: copy oui22, compute

Statistics, cr9idata.pl, adblxml.sh, etc

• Autoconfig on 10g Oracle Home

Database Upgrade: 9i 10g

10g

Page 23: Dataguard and RAC -   - Get a Free Blog Here

Apps servers

Apps Servers

10g DB

Migration: 9i RAC to 10g RAC/ASM

Actions:• Configure ASM Instance and Diskgroup

• Copy DB files to ASM using RMAN

Step 5: Move DB to ASM

Copy/Switch DB to ASM

10g File System DB ASM Storage

Page 24: Dataguard and RAC -   - Get a Free Blog Here

Apps servers

10g DB

Migration: 9i RAC to 10g RAC/ASM

Actions:• Convert to RAC:

• Establishment for RAC

• PCP configuration

Step 6: Enable 10g RAC

Apps Servers

10g RAC/ASM DB

Page 25: Dataguard and RAC -   - Get a Free Blog Here

Step 8: Start 11.5.10 Applications on 10g RAC/ASM

10g DB

LAN/WAN

LAN/WAN

Migration: 9i RAC to 10g RAC/ASM

Applications Servers

10g DB Servers

10g RAC/ASM Oracle Applications DB

Page 26: Dataguard and RAC -   - Get a Free Blog Here

References

• Configuring Oracle Applications Release 11i with 10g Real Application Clusters and Automatic Storage Management. Oracle Metalink Note 312731.1 .

• Cloning Oracle Applications Release 11i with Rapid Clone, Oracle Metalink Note 230672.1 .

• Best Practices: Implementing 10g RAC &10G ASM with E-Business Suite 11i, Vamsi Mudumba, Oracle.

• I would like to acknowledge the technical contributions and project coordination efforts by Vinod Emmanuel in Dell IT GDBMS Group.

Page 27: Dataguard and RAC -   - Get a Free Blog Here

[email protected](512)728-6343 (Office)(512)725-0046 (Lab)

Q&A