Provisioning Oracle 11g R2 RAC using Enterprise … Enterprise Manager Provisioning Pack Kai Yu...

28
Provisioning Oracle 11g R2 RAC using Enterprise Manager Provisioning Pack Kai Yu Oracle Solutions Engineering Lab Dell Inc.

Transcript of Provisioning Oracle 11g R2 RAC using Enterprise … Enterprise Manager Provisioning Pack Kai Yu...

Provisioning Oracle 11g R2 RAC using Enterprise Manager

Provisioning Pack

Kai Yu Oracle Solutions Engineering Lab Dell Inc.

Global Marketing

• Kai Yu, [email protected] – 16 years with Oracle Technology: DBA, Apps DBA, Architect – Hands-on experience on IT solution stack: hardware to software – Focus on Oracle RAC, Oracle VM and Oracle EBS – Oracle ACE Director, author and frequent presenter – IOUG Oracle RAC SIG President (2009-2010) – IOUG Virtualization Special Interest Group Board Member – 2011 OAUG Innovator of Year Award Winner – Oracle Blog: http://kyuoracleblog.wordpress.com/

• Dell Oracle Solutions Engineering: www.dell.com/oracle

– Oracle Technology Solutions on Dell systems/storages – Dell | Oracle Solutions Components – Solutions stack: servers, storage, network, OS, Oracle VM,

Oracle RAC, Oracle Applications

About Author

2

Global Marketing

Dell Global Solutions Engineering Lab

About Author

3

Global Marketing

• Oracle Enterprise Manager Provisioning Pack • Preparing Provisioning Environment • Provisioning Oracle 11g R2 RAC • Extending Oracle 11g RAC • Recorded Demo • QA

4

Agenda

Global Marketing

Oracle Enterprise Manager Provisioning Pack

5

• New Challenges for IT Organization

• DBAs work on several projects and production systems • DBAs spend most time on deployment, no time for other tasks. • DBAs needs to response business demand in short order • Need quick deployment of Oracle service at low cost

• Solutions for the new challenges

• Immediate solution: automatically provisioning database services • Oracle Enterprise Manager Grid Control 11g .Life cycle management of the entire IT stack . Deploy using tested and patched gold images . Oracle Database/ RAC Provisioning and Patching • Oracle Cloud Solution: the private cloud to provide Infrastructure as a Service (Iaas), Database as a service . A user requests a database service, . The cloud automatically provisions a database service . Oracle Enterprise Manager 12c Cloud Control manages the cloud

Global Marketing

6

• Automated provisioning, patching, lifecycle management • Gold images based & reference based deployment

Oracle Enterprise Manager Provisioning Pack

Global Marketing

7

• Software Library and its Software Images Components a repository that stores software images for future deployments Save the current configuration as software as gold image Load the images from software CDs as a gold image Use the gold image to deploy the software

• RAC deployment methods

Oracle Enterprise Manager Provisioning Pack

Global Marketing

8

• Provisioning Deployment Procedure hierarchal sequence of all steps to complete provisioning tasks Grid control comes with out of box default procedures Use Grid Control to define/schedule a deployment Procedure

• RAC Provisioning Deployment Procedures Deploy 10gR2/11R1 clusterware/RAC by EM 10gR2 Deploy 11g R2 GI and RAC by EM 11gR1

Oracle Enterprise Manager Provisioning Pack

Global Marketing

9

• Install EM Grid Control 11gR1, MOS #1059516.1 Prerequisites: Install OEL 5 install JDK : ./jdk-6u18-linux-x64-rpm.bin Install required rpms 11gR2 database Weblogic server 10.2.0.3 with Patch WDJ7, MOS#1063112.1 java -jar wls1032_generic.jar to install for WLS on 64bit platforms

Use smart update utility to apply patch WDJ7 ./bsu.sh -prod_dir=/opt/oracle/product/middleware/wlserver_10.3 -

patchlist=WDJ7 -verbose -install -patch_download_dir=/home/oracle/wls/WDJ7

Prepare EM Provisioning Infrastructure

Global Marketing

10

Install EM Grid Control 11gR1 ./runInstaller

Prepare EM Provisioning Infrastructure

Global Marketing

11

Prepare EM Provisioning Infrastructure

Global Marketing

12

• Configured Software library

Load the Oracle 11g R2 RAC shipped software to the software library download 11g R2 Grid Infrastructure: linux.x64_11gR2_grid.zip,

11g R2 RAC: linux.x64_11gR2_database_1of2.zip linux.x64_11gR2_database_2of2.zip combined two RAC zips to linux.x64_11gR2_database_2.zip

Prepare EM Provisioning Infrastructure

Global Marketing

13

Load the shipped software to the software library: In Grid Control, click Deployments, then Provisioning, to 11.2.0.1.0:

load Oracle Grid Infrastructure software binaries load Oracle Database software binaries

Prepare EM Provisioning Infrastructure

Global Marketing

Provision 11gR2 RAC with EM • Pre-Requisite for RAC Provisioning .Configure host running Oracle Enterprise Linux 5U5, Ensure 30 GB /tmp . Add required rpms and Oracle users for RAC installation . Prepare shared Devices : 5 shared devices for OCR and votingdisk 1 devices for RAC database . Created ASM disks for the devices: . . Configure network: scan IPs, virtual IP, private IP and public IP . Install EM agent on the host: use Agent install from EM:

Global Marketing

Provision Oracle 11g R2 RAC using EM

15

RAC nodes are listed on host tab

Global Marketing

Provision Oracle 11g R2 RAC using EM

16

– Meet Prerequisites of 11g R2 RAC – Provision Oracle RAC 11g R2 Grid infrastructure

Global Marketing

Provision Oracle 11g R2 RAC using EM

17

• Click schedule deployment, specify software images and installation locations

Global Marketing

Provision Oracle 11g R2 RAC using EM

18

• Specify the credentials and cluster information

Global Marketing

Provision Oracle 11g R2 RAC using EM

19

• Specify the RAC database configuration parameters

Global Marketing

Provision Oracle 11g R2 RAC Using EM

20

Start the provisioning procedure and check the status

Global Marketing

Provision Oracle 11g R2 RAC Using EM

21

The provisioning procedure completed successfully.

Global Marketing

Extend Oracle 11g RAC using EM MANAGER

22

• Prepare a new node.

• Schedule the provisioning procedure to extend the RAC

Global Marketing

Provision Oracle 11g R2 RAC using EM

24

• Click schedule deployment, specify the following parameters: Select which RAC database to extend

Use the existing RAC node as the reference host Specify the new node information

Global Marketing

Provision Oracle 11g R2 RAC using EM Use the existing RAC node as the reference host: Specify the new node information

25

Global Marketing

Provision Oracle 11g R2 RAC using EM

26

• Click schedule deployment, specify the following parameters: Finish the RAC extension.

Global Marketing

Oracle RAC on Oracle VM Demo

27

Recorded Demo: 1. Oracle VM Server Configuration 2. Enterprise Manager VM for VM management 3. Guest VMs as the RAC nodes: Network Shared storage 11g R2 Grid Infrastructure,. 11g R2 ASM 11g R2 RAC Database and EM agent 4. Enterprise Manager manages 11g R2 RAC running on guest VMs

Global Marketing

29

Thank You and QA Visit my Oracle Blog at http://kyuoracleblog.wordpress.com