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

Size: px
Start display at page:

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

Transcription

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

2 About Author Kai Yu, 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 ( ) IOUG Virtualization Special Interest Group Board Member 2011 OAUG Innovator of Year Award Winner Oracle Blog: Dell Oracle Solutions Engineering: Oracle Technology Solutions on Dell systems/storages Dell Oracle Solutions Components Solutions stack: servers, storage, network, OS, Oracle VM, Oracle RAC, Oracle Applications 2

3 About Author Dell Global Solutions Engineering Lab 3

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

5 Oracle Enterprise Manager Provisioning Pack 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 5

6 Oracle Enterprise Manager Provisioning Pack Automated provisioning, patching, lifecycle management Gold images based & reference based deployment 6

7 Oracle Enterprise Manager Provisioning Pack 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 7

8 Oracle Enterprise Manager Provisioning Pack 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 8

9 Prepare EM Provisioning Infrastructure Install EM Grid Control 11gR1, MOS # Prerequisites: Install OEL 5 install JDK :./jdk-6u18-linux-x64-rpm.bin Install required rpms 11gR2 database Weblogic server with Patch WDJ7, MOS# java -jar wls1032_generic.jar to install for WLS on 64bit platforms 9 Use smart update utility to apply patch WDJ7./bsu.sh -prod_dir=/opt/oracle/product/middleware/wlserver_ patchlist=wdj7 -verbose -install - patch_download_dir=/home/oracle/wls/wdj7

10 Prepare EM Provisioning Infrastructure Install EM Grid Control 11gR1./runInstaller 10

11 Prepare EM Provisioning Infrastructure 11

12 Prepare EM Provisioning Infrastructure 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 12

13 Prepare EM Provisioning Infrastructure Load the shipped software to the software library: In Grid Control, click Deployments, then Provisioning, to : load Oracle Grid Infrastructure software binaries load Oracle Database software binaries 13

14 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:

15 Provision Oracle 11g R2 RAC using EM RAC nodes are listed on host tab 15

16 Provision Oracle 11g R2 RAC using EM Meet Prerequisites of 11g R2 RAC Provision Oracle RAC 11g R2 Grid infrastructure 16

17 Provision Oracle 11g R2 RAC using EM Click schedule deployment, specify software images and installation locations 17

18 Provision Oracle 11g R2 RAC using EM Specify the credentials and cluster information 18

19 Provision Oracle 11g R2 RAC using EM Specify the RAC database configuration parameters 19

20 Provision Oracle 11g R2 RAC Using EM Start the provisioning procedure and check the status 20

21 Provision Oracle 11g R2 RAC Using EM The provisioning procedure completed successfully. 21

22 Extend Oracle 11g RAC using EM MANAGER Prepare a new node. Schedule the provisioning procedure to extend the RAC 22

23 Provision Oracle 11g R2 RAC using EM 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 24

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

25 Provision Oracle 11g R2 RAC using EM Click schedule deployment, specify the following parameters: Finish the RAC extension. 26

26 Oracle RAC on Oracle VM Demo 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 27

27 Summary Use Grid Control 11g to manage the virtual environment Use Grid Control 11g Provisioning pack to provision 11g R2 Extend the RAC to additional node Dell Oracle Whitepapers: Efficient Deployment of Oracle RAC in a Virtualized Environment Using Enterprise Manager Provisioning Pack Building an Oracle Grid with Oracle VM on Dell Blade Servers and Dell EqualLogic iscsi Storage, 28

28 Thank You and QA Visit my Oracle Blog at 29