48
Virtualizing Oracle E-Business suite through Oracle VM East Coast Oracle Users Conference October 17 & 18, Raleigh/Durham, NC Kai Yu Oracle Solutions Engineering, Dell Inc.

Virtualizing Oracle E-Business suite through Oracle VM · PDF fileVirtualizing Oracle E-Business suite through Oracle VM ... ebiz_1211_reconfig.sh rapid clone adclone.pl apptier Migrating

  • Upload
    hathien

  • View
    225

  • Download
    2

Embed Size (px)

Citation preview

Virtualizing Oracle E-Business suite through Oracle VM

East Coast Oracle Users Conference

October 17 & 18, Raleigh/Durham, NC

Kai Yu Oracle Solutions Engineering, Dell Inc.

2 Oracle OpenWorld 2012

About Author

• Kai Yu, [email protected]

• 17 years with Oracle Technology: Database DBA

Oracle Applications 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 / IOUG Virtualization SIG

• 2011 OAUG Innovator of Year Award Winner

• 2012 Oracle Excellence Award: Technologist

of Year Cloud Architect

• Oracle Blog: http://kyuoracleblog.wordpress.com/

3 Oracle OpenWorld 2012

Dell Global Solutions Engineering Lab

4 Oracle OpenWorld 2012

• Dell | Oracle Solutions Engineering : www.dell.com/oracle Dell | Oracle Partnership offers customers complete a solution Solutions Deliverables:

Tested and Validated Configuration Deployment Guild Oracle Advisor Detailed Oracle Solutions Deliverables List(SDL)

Dell Oracle Solutions Reference Configuration

Oracle RAC and High Availability Oracle Virtualization Technology Oracle Enterprise Manager & Cloud Oracle Applications Proof of Concepts

Dell Global Solutions Engineering Lab

5 Oracle OpenWorld 2012

Agenda

• Introduction to Oracle VM

• Virtualizing Oracle EBS with Oracle VM

• POC Project Infrastructure

• Migrating Oracle EBS & Creating Templates

• Oracle EBS High Availability on VM

• Q&A

6 Oracle OpenWorld 2012

Introduction to Oracle VM

Oracle VM Server: Xen Hypervisor, management domain dom0 Linux kernel with support of devices, IO, networking, etc. VM: guest OS with applications running on domU Server partition: multiple guest VMs run independently on a VM server VM template: is a copy of a virtual machine that can be used to create a new VM. VM Server Pool: an autonomous region of VM servers. VM Servers in a VM server pool share Pool: an autonomous storage to provide high availability VM can be failed or live migrated to other VM server of the same VM server

7 Oracle OpenWorld 2012

Introduction to Oracle VM

• Management: VM Manager and Enterprise Manager

• Oracle VM3.o released in August, 2011. New Oracle VM Manager provides centralized management Scalability: up to 160 physical CPUs, 2 TB of memory 128 virtual CPUs and 1TB memory per guest VM Application Driven Virtualization: VM template based applications deployment

8 Oracle OpenWorld 2012

Introduction to Oracle VM

• VM Server Pool and VM Repository

– HA enabled in server pool and VM level – Fail over and live migration of VM to other VM server. – All the VM servers in the VM server pool share storage – Shared storage: based on OCFS2/NFS-based for VM Repository. – VM Repository (OVM2.x): root: /OVS/ running_pool: VM images; seed_pool: VM templates shared_disks: virtual storage – VM Repository (OVM 3.x):

root:/OVS/Repisitries/XXXXXXXXXXXXXX virtualMachines: virtual machines; templates: VM templates virtualDisks: virtual disks storages; Assemblies: VM Assemblies

• Guest VM creation

– Paravirtualization and Hard Virtualization – Create VM from a VM template using VM manager – Create VM from an install tree using virt-install

9 Oracle OpenWorld 2012

Virtualizing Oracle EBS with Oracle VM

• Virtualizing Oracle EBS with Oracle VM – Two VMs: Apps tier VM and DB tier VM:

• Benefits of Virtualizing Oracle EBS with Oracle VM – Server partitions and consolidation – High availability and scalability – Deployment standardization – Fast deployment – Dramatically reduced cloning time

• Certification of Oracle E-Business Suite on Oracle VM: Oracle EBS is certified to run on Oracle VM 2 and VM 3.0.2 & later : Metalink note: 465915.1 and Steven Chan:

https://blogs.oracle.com/stevenChan/entry/oracle_vm_3_0_2 Release 11i – Oracle Applications 11.5.10.CU2 or later with 1i.ATG_PF.H.RUP5 – Oracle Database 10.2.0.3 or later

Release 12 – Applications R12 with Oracle E-Business Suite 12.0.2 Release Update Pack RUP2

(patch 5473858) or later – Oracle Database 10.2.0.3 or later

10 Oracle OpenWorld 2012

Virtualizing Oracle EBS with Oracle VM

• Oracle VM Templates for Oracle E-Business Suite – Templates for two virtual machines: EBS Apps VM and EBS DB VM – Oracle EBS VM template: removed instance specific information – Downloadable templates for Oracle EBS 12.1.1, 12.1.3

VM template for Database tier VM: Vision demo DB VM template for Applications tier VM: Vision Demo instance

• Oracle E-Business Virtualization Toolkit: – What is virtualization toolkits ? Why do we need it? – The components of the virtualization toolkit: patch 9207542 ebiz_1211_reconfig.sh , ebiz_1211_cleanup.sh Related Metalink documents: [977681.1], [975734.1] – Related Metalink documents: [977681.1], [975734.1

11 Oracle OpenWorld 2012

Virtualizing Oracle EBS with Oracle VM

• How to leverage Oracle VM for Oracle EBS Environment

– Need to establish Oracle EBS environment on VMs – But how? the process to create VMs and VM templates?

Fresh Install EBS on VMs , then build the template Use the Oracle EBS template from Oracle Migrate Oracle EBS from physical to virtual

• Process of Migrating Oracle EBS to Virtual environment

– Streamline process ,no fresh installation needed – Preserve all the business data/logic, setups and customization – Migrating the existing EBS instance to virtual environment – After the migration, we can: Create new EBS templates based on the migrated VMs Create new EBS instances using on the VM templates – New way to deploy new EBS instance

12 Oracle OpenWorld 2012

Virtualizing Oracle EBS with Oracle VM

• Leverage Oracle E-Business Suite Template from Oracle – Oracle EBS VMs created from the template: Include OS configuration for Oracle EBS (APPS and DB) Include Oracle E-Business Visualization Toolkit but it has not business data and customization and setups – Combine EBS VM templates with Clone of EBS on physical system VMs configuration + EBS VM toolkit from VM templates Business data, customization and setups from physical system

13 Oracle OpenWorld 2012

Virtualizing Oracle EBS with Oracle VM

• Migration Process Design: – Starting with downloaded Oracle EBS VIS VM Templates – Build Oracle EBS VMs from the EBS VIS VM templates – Replacing APPS and DB with the cloned copy from DEV(physical) – Reconfigure and forms Oracle EBS DEV Instance VMs – Create the new DEV VM template – Create new EBS VMs from the DEV VM template

14 Oracle OpenWorld 2012

POC Project Infrastructure

• Joint POC Project between Dell Solution Engineering and IT – Develop a solution to migrate EBS from physical to VM – Establish the VM template based EBS Instance deployment for on-going Oracle EBS implementation project

• POC servers and shared storage infrastructure – Physical Environment: Oracle E-Business Suite 12.1.1 x86-64 bit

APPs tier: Dell PE 2950 running Oracle Enterprise Linux 5U3

Database Tier: Dell PE 6950, Oracle Enterprise Linux 5U

– Virtual Infrastructure:

Oracle VM servers: 2 x Dell PowerEdge R810

Shared SAN storage: Dell EqualLogic PS6510 Storage ,

allocated 2TB for VM repository

VM Manager: 1 Dell PE2950 running VM Manager

15 Oracle OpenWorld 2012

POC Project Infrastructure

16 Oracle OpenWorld 2012

POC Project Infrastructure

17 Oracle OpenWorld 2012

gfsdev Instance

DB server

Physical

Downloaded

VIS DB

template

Create DB VM

DB VM

ebs12_11_db

(ebsvmdb)

APPS VM

ebs12_1_1apps

(ebsvmapp)

VM Server Pool

Vision Instance

ebsdb

Create APPS VM

gfsdev Instance

APPS server

Physical

Downloaded

VIS APPS

template

Task1: Create Vision Instance VM from Template

Migrating Oracle EBS & Creating Templates

18 Oracle OpenWorld 2012

• Create EBS VMs using the downloaded Oracle EBS template – Download two VM templates from Oracle and import templates OVM_EL5U3_X86_64_EBIZ12.1.1_APPs_VIS_VM OVM_EL5U3-x86_64-EBIZ12.1.1_DB_VIS_VM

– Create VMs using two templates

Migrating Oracle EBS & Creating Templates

19 Oracle OpenWorld 2012

• Startup DB VM (ebsvmdb): Automatic reconfiguring DB VM:

ebiz_1211_reconfig.sh rapid clone adclone.pl

Migrating Oracle EBS & Creating Templates

20 Oracle OpenWorld 2012

Migrating Oracle EBS & Creating Templates

21 Oracle OpenWorld 2012

Startup APPS VM (ebsvmapp):

Migrating Oracle EBS & Creating Templates

22 Oracle OpenWorld 2012

Automatic reconfiguring APPS VM by calling rapid clone adclone.pl utility

Migrating Oracle EBS & Creating Templates

23 Oracle OpenWorld 2012

Automatic reconfiguring APPS VM by calling rapid clone adclone.pl utility

Migrating Oracle EBS & Creating Templates

24 Oracle OpenWorld 2012

• Startup Oracle E-Business 12.1.1 Vision Instance on ebsvmapp:

Migrating Oracle EBS & Creating Templates

25 Oracle OpenWorld 2012

gfsdev Instance

DB server

Physical

Downloaded

VIS DB

template

DB VM

ebs12_11_db

(ebsvmdb)

APPS VM

ebs12_1_1apps

(ebsvmapp)

VM Server Pool

DB VM

ebs12_11_db

(ebsvmdb)

APPS VM

ebs12_11_1_apps

(ebsvmapps)

Copy gfsdev dbCopy gfsdev apps

ebsvm instance

Reconfigure Reconfigure

Downloaded

VIS APPS

template

gfsdev Instance

APPS server

Physical

Migrating Oracle EBS & Creating Templates

26 Oracle OpenWorld 2012

• Clone APPS and DB from physical servers to VMs – Run preClone on physical servers Run adpreclone on gfsdevapps (APPS server) Run adpreclone on gfsdevdb (DB server) – Copy the following from gfsdevapps to ebsvmapps /u01/oracle/gfsd/ /u01/E-BIZ/12.1.1/VIS – Copy the following from gfsdevdb to ebsvmdb /u01/oracle/gfsd/db /u01/E-BIZ/12.1.1/VIS/db – Setup for automatic reconfiguration /usr/sbin/oraclevm-template –cleanup remove instance specific configuration for gfsdev

/usr/sbin/oraclevm-template –enable set flag to run automatic reconfiguration next time VM startup on both VM (ebsvmdb and ebdvmapps)

• Reboot DB VM ebs_1211_db (hostname: ebsvmdb) – Automatic reconfiguring DB VM: ebiz_1211_reconfig.sh rapid clone adclone.pl dbtier

Physical ENV gfsdev gfsdevdb gfsdevapps

Virtual ENV ebs12_11 ebsvmdb ebsvmapps

Migrating Oracle EBS & Creating Templates

27 Oracle OpenWorld 2012

Migrating Oracle EBS & Creating Templates

28 Oracle OpenWorld 2012

Migrating Oracle EBS & Creating Templates

29 Oracle OpenWorld 2012

Reboot Apps VM ebs_1211_apps (hostname: ebsvmapps) – Automatic reconfiguring Apps VM: ebiz_1211_reconfig.sh rapid clone adclone.pl apptier

Migrating Oracle EBS & Creating Templates

30 Oracle OpenWorld 2012

Oracle EBS stance configuration on physical servers • Instance name: gfsdev • Apps Tier: Hostname: gfsdevapps. • DB Tier: hostname: egfsdevdb • Database name: gfsdb

Oracle EBS 12.1.2 clone instance configuration on VMs: • Apps Tier: VM name: ebs_1211_apps, , Hostname ebsvmapps. • DB Tier: VM name: ebs_1211_db, hostname: ebsvmdb • Database name: ebsdb

Physical ENV gfsdev gfsdevdb gfsdevapps

Virtual ENV ebs12_11 ebsvmdb ebsvmapps

Migrating Oracle EBS & Creating Templates

31 Oracle OpenWorld 2012

Migrating Oracle EBS & Creating Templates

32 Oracle OpenWorld 2012

• Review the cloned instance – The new instance ebvm is the clone of the gfsdev instance gfsdevdb on physical server ebsvmdb on virtual machine

Migrating Oracle EBS & Creating Templates

33 Oracle OpenWorld 2012

• Rapid Cone adclone.pl reconfigured EBS Instance . • New EBS Instance ebsvm = gfsdev copy + Rapid Clone + two VMs from Oracle EBS templates • Virtualization kit scripts: /usr/sbin/oraclevm-template , /u01/ ebiz_1211_reconfig.sh

Migrating Oracle EBS & Creating Templates

34 Oracle OpenWorld 2012

gfsdev Instance

DB server

Physical

Downloaded

VIS DB

template

DB VM

ebs12_11_db

(ebsvmdb)

APPS VM

ebs12_1_1apps

(ebsvmapp)

VM Server Pool

DB VM

ebs12_11_db

(ebsvmdb)

APPS VM

ebs12_11_1_apps

(ebsvmapps)

Newly Created

DB Template

Cleanup

Create Templateebsvm instance

Cleanup

Create Template

gfsdev Instance

APPS server

Physical

Downloaded

VIS APPS

template

Newly Created

APPS

Template

Migrating Oracle EBS & Creating Templates

35 Oracle OpenWorld 2012

• Cleanup the Instance specific config and set reconfigure flag – Shutdown the APPS and Database – remove instance specific configuration for ebsvm (both VMS) /usr/sbin/oraclevm-template –cleanup – set flag to run automatic reconfiguration VM during the VM startup (for both

VMs) /usr/sbin/oraclevm-template –enable • Create VM templates based on the new EBS VMs – Shutdown both APPS VM and Database VM – Save VM as Template

Migrating Oracle EBS & Creating Templates

36 Oracle OpenWorld 2012

New Template List

Create APPS

Template

Migrating Oracle EBS & Creating Templates

37 Oracle OpenWorld 2012

gfsdev Instance

DB server

Physical

gfsdev Instance

DB server

Physical

Downloaded

VIS DB

template

DB VM

ebs12_11_db

(ebsvmdb)

APPS VM

ebs12_1_1apps

(ebsvmapp)

VM Server Pool

DB VM

ebs12_11_db

(ebsvmdb)

APPS VM

ebs12_11_1_apps

(ebsvmapps)

Newly Created

DB Template

ebsvm instance

DB VM

gfstestdb

(gfstestdb)

Create DB VM

gfstest instance

Downloaded

VIS APPS

template

Newly Created

APPS

Template

Create APPS VM

APPS VM

gfstestapps

(gfstest1apps)

Migrating Oracle EBS & Creating Templates

38 Oracle OpenWorld 2012

Create gfstestdb VM

Create gfstestapps VM

VM creation status:

.

Migrating Oracle EBS & Creating Templates

39 Oracle OpenWorld 2012

• Startup up DBVM (gfstestdb)

.

Migrating Oracle EBS & Creating Templates

40 Oracle OpenWorld 2012

• Startup up APPs VM (VM name: gfstestapps)

. Enter host name: gfstest1apps

Migrating Oracle EBS & Creating Templates

41 Oracle OpenWorld 2012

• Startup up Apps VM (gfstestapps) • Run autoconfig:

oracle@gfstest1apps scripts]$ ./adautocfg.sh .

Migrating Oracle EBS & Creating Templates

42 Oracle OpenWorld 2012

• New Oracle E-Business Suite Instance Deployed from the Template Apps tier host name: gfstest1apps: Apps tier Host and DB tier Host in Applications Dashboard:

.

Migrating Oracle EBS & Creating Templates

43 Oracle OpenWorld 2012

• Enable HA on VM server pool and VMs:

.

Migrating Oracle EBS & Creating Templates

44 Oracle OpenWorld 2012

• Live Migration: Migrate VMs to another VM server in the same VM server pool. No Downtime for Applications.

.

Oracle EBS High Availability on VM

45 Oracle OpenWorld 2012

• Failed Over: Both DB and APPS VMs run on OWIVS2 VM server

OWIVS2 VM server down .

Failed over to OWIVS1

in 1-2 minutes

Both VMs

Down

Oracle EBS High Availability on VM

46 Oracle OpenWorld 2012

1. Use Oracle VM template to create VMs for Vision instance

2. Clone EBS Apps and DB from development Instance

3. Reconfigure VMs to form the clone of the development

instance

4. Create the new VM template based on the development instance.

5. Create the new development and test EBS instances on VM

environment using the new VM templates

6. Live Migration and Fail Over of Oracle EBS on Oracle VM

7. Special Thanks to the support of Oracle EBS on Oracle VM

Team: Ivo Dujmovic and Noby Joseph in Oracle Corporation

References:

1. Five-part series from Ivo Dujmovic:E-Business Suite 12.1.1 Templates for Oracle VM Now Available

2. Oracle VM Templates for E-Business Suite: Deployment Guide

Summary

Thank you and QA

48 Oracle OpenWorld 2012

Contact me at [email protected] or visit my Oracle Blog at http://kyuoracleblog.wordpress.com/