Upload
trankhanh
View
299
Download
1
Embed Size (px)
Citation preview
Automated Provisioning Oracle 11g R2
RAC using Enterprise Manager
Provisioning Pack
Kai Yu, Sr. System Engineer/Architect Dell Oracle Solutions Engineering
Global Marketing
• Kai Yu, Senior System Engineer, Dell Oracle Solutions Lab 16 years Oracle DBA and Solutions Engineering Specialized in Oracle RAC, OVM and Oracle EBS Oracle ACE Director, Oracle papers author/presenter IOUG Oracle RAC SIG President (2009-2010)
About Author
Global Marketing
• Introduction to Oracle Enterprise Manager Provisioning Pack• Preparing Enterprise Manager Provisioning Environment • Provisioning Oracle 11g R2 RAC using Oracle Enterprise Manager• Extending Oracle 11g RAC using Oracle Enterprise Manager• QA
Agenda
3
Global Marketing
Oracle Enterprise Manager Provisioning Pack
4
• New Challenges for IT Organization
• DBAs needs to response business demand in short order
• Quick deployment of Oracle service at low cost
• Deploy using tested and patched gold images
• Solutions for the new challenges
• Oracle Enterprise Manager Grid Control
Life cycle management of the entire IT stack
Oracle Database/ RAC Provisioning and Patching
Global Marketing
5
• Automated provisioning, patching, lifecycle management• Gold images based & reference based deployment
Oracle Enterprise Manager Provisioning Pack
Global Marketing
6
• 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
7
• 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
8
• Install EM Grid Control 11gR1, MOS #1059516.1 Prerequisites: Install OEL 5
install JDK : ./jdk-6u18-linux-x64-rpm.binInstall 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
9
Install EM Grid Control 11gR1./runInstaller
Prepare EM Provisioning Infrastructure
Global Marketing
10
Prepare EM Provisioning Infrastructure
Global Marketing
11
• 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.zipcombined two RAC zips to linux.x64_11gR2_database_2.zip
Prepare EM Provisioning Infrastructure
Global Marketing
12
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 binariesload 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
14
RAC nodes are listed on host tab
Global Marketing
Provision Oracle 11g R2 RAC using EM
15
– Meet Prerequisites of 11g R2 RAC – Provision Oracle RAC 11g R2 Grid infrastructure
Global Marketing
Provision Oracle 11g R2 RAC using EM
16
• Click schedule deployment, specify software images and installation locations
Global Marketing
Provision Oracle 11g R2 RAC using EM
17
• Specify the credentials and cluster information
Global Marketing
Provision Oracle 11g R2 RAC using EM
18
• Specify the RAC database configuration parameters
Global Marketing
Provision Oracle 11g R2 RAC Using EM
19
Start the provisioning procedure and check the status
Global Marketing
Provision Oracle 11g R2 RAC Using EM
20
The provisioning procedure completed successfully.
Global Marketing
Extend Oracle 11g RAC using EM MANAGER
21
• Prepare a new node.
• Schedule the provisioning procedure to extend the RAC
Global Marketing
Provision Oracle 11g R2 RAC using EM
23
• 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 EMUse the existing RAC node as the reference host:
Specify the new node information
24
Global Marketing
Provision Oracle 11g R2 RAC using EM
25
• Click schedule deployment, specify the following parameters: Finish the RAC extension.
Global Marketing
Summary
26
• 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: www.dell.com/oracle
• 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,
Global Marketing
Thank You and QAVisit Kai Yu’s Oracle Blog at http://kyuoracleblog.wordpress.com/
27