ovm kai yu
TRANSCRIPT
-
8/11/2019 Ovm Kai Yu
1/45
Oracle E-Business Suite:Migration to Oracle VMTemplate Based Deployment
Kai Yu
Oracle Solutions Engineering
Dell Inc.
-
8/11/2019 Ovm Kai Yu
2/45
Global Marketing
Kai Yu, [email protected]
17 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 EBSOracle ACE Director, author and frequent presenter IOUG Oracle RAC SIG President (2009-2010), Webinar Chair IOUG Virtualization SIG Webinar Chair 2011 OAUG Innovator of Year Award WinnerOracle Blog: http://kyuoracleblog.wordpress.com/
Dell Oracle Solutions Engineering: www.dell.com/oracleOracle Technology Solutions on Dell systems/storagesDell | Oracle Solutions Components
Solutions stack: servers, storage, network, OS, Oracle VM,Oracle RAC, Oracle Applications
About Author
2
http://kyuoracleblog.wordpress.com/http://www.dell.com/oraclehttp://www.dell.com/oraclehttp://kyuoracleblog.wordpress.com/ -
8/11/2019 Ovm Kai Yu
3/45
Global Marketing
Our Engineering Lab
-
8/11/2019 Ovm Kai Yu
4/45
Global Marketing
Introduction to Oracle VM: Architecture and Components Virtualizing Oracle E-Business Suite with Oracle VM Oracle VM Infrastructure for Oracle EBS Virtualization POC
Migrating Oracle EBS Instance to Virtual Environment Achieving Oracle EBS High Availability on VM QA
Agenda
4
-
8/11/2019 Ovm Kai Yu
5/45
Global Marketing
Introduction to Oracle VM Technology
5
Oracle VM Server: Xen Hypervisor,management domain dom0 Linuxkernel with support of devices,IO, networking, etc.
VM:guest OS with applicationsrunning on domU
Server partition: multiple guest
VMs run independently on a VMserver
Virtual CPUs and Virtual Memoryare signed for each guest VMAll network and storage IOs of
guest VMs go through Dom0 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 pool.
-
8/11/2019 Ovm Kai Yu
6/45
Global Marketing
Introduction to Oracle VM Technology
6
Management: VM Manager and Enterprise Manager
Oracle VM3.o released in August, 2011.New Oracle VM Manager provides centralized managementScalability: up to 160 physical CPUs, 2 TB of memory
128 virtual CPUs and 1TB memory per guest VMApplication Driven Virtualization: VM template based
applications deployment
-
8/11/2019 Ovm Kai Yu
7/45
Global Marketing
Introduction to Oracle VM Technology
7
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 storageShared storage: based on OCFS2/NFS-based for VM Repository. VM Repository (OVM2.x): root: /OVS/
running_pool: all VM images
seed_pool: all the VM templatesshared_disks: for virtual storage
VM Repository (OVM 3.x): root:/OVS/Repisitries/XXXXXXXXXXXXXXvirtualMachines: all virtual machinestemplates: see all the VM templates
virtualDisks: for virtual disks storageAssemblies: VM Assemblies
Guest VM creation
Paravirtualization and Hard VirtualizationCreate VM from a VM template using VM manager
Create VM from an install tree using virt-install
-
8/11/2019 Ovm Kai Yu
8/45
Global Marketing
Virtualizing Oracle EBS with Oracle VM
8
Benefits of Virtualizing Oracle EBS with Oracle VMServer partitions and consolidation
High availability and scalability
Deployment standardizationFast deploymentDramatically 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 11iOracle Applications 11.5.10.CU2 or later with 1i.ATG_PF.H.RUP5
Oracle Database 10.2.0.3 or laterRelease 12Applications R12 with Oracle E-Business Suite 12.0.2 Release
Update Pack RUP2 (patch 5473858) or laterOracle Database 10.2.0.3 or later
https://blogs.oracle.com/stevenChan/entry/oracle_vm_3_0_2http://updates.oracle.com/ARULink/PatchSearch/process_form?bug=5473858http://blogs.oracle.com/schan/2007/07/apps_1202_release_update_pack.htmlhttp://blogs.oracle.com/schan/2007/07/apps_1202_release_update_pack.htmlhttp://blogs.oracle.com/schan/2007/07/apps_1202_release_update_pack.htmlhttp://blogs.oracle.com/schan/2007/07/apps_1202_release_update_pack.htmlhttp://blogs.oracle.com/schan/2007/07/apps_1202_release_update_pack.htmlhttp://blogs.oracle.com/schan/2007/07/apps_1202_release_update_pack.htmlhttp://updates.oracle.com/ARULink/PatchSearch/process_form?bug=5473858https://blogs.oracle.com/stevenChan/entry/oracle_vm_3_0_2https://blogs.oracle.com/stevenChan/entry/oracle_vm_3_0_2https://blogs.oracle.com/stevenChan/entry/oracle_vm_3_0_2 -
8/11/2019 Ovm Kai Yu
9/45
Global Marketing
Virtualizing Oracle EBS with Oracle VM
9
Oracle VM Templates for Oracle E-Business Suite
Oracle VM Template Concept
Consists of two virtual machines: EBS apps tier and EBS DB tier
Downloadable template for Oracle EBS 12.1.1: Visions
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 9207542ebiz_1211_reconfig.sh , ebiz_1211_cleanup.sh
Related Metalink documents: [977681.1], [975734.1]
-
8/11/2019 Ovm Kai Yu
10/45
Global Marketing
Virtualizing Oracle EBS with Oracle VM
10
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 andcustomization
Migrating the existing EBS instance to virtual environmentAfter the migration, we can:
Create new EBS templates based on the migrated VMs Create new EBS instances using on the VM templatesNew way to deploy new EBS instance
-
8/11/2019 Ovm Kai Yu
11/45
Global Marketing
Virtualizing Oracle EBS with Oracle VM
11
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
-
8/11/2019 Ovm Kai Yu
12/45
Global Marketing
Virtualizing Oracle EBS with Oracle VM
12
Migration Process Design:
Starting with downloaded Oracle EBS VIS VM Templates
Build Oracle EBS VMs from the EBS VIS VM templates
Replaced APPS and DB with the cloned copy from physical system
Reconfigure and forms Oracle EBS DEV Instance VMs
Create the new DEV VM template
Create new EBS VMs from the DEV VM template
-
8/11/2019 Ovm Kai Yu
13/45
Global Marketing
POC Project Infrastructure
13
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 deploymentfor 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
-
8/11/2019 Ovm Kai Yu
14/45
Global Marketing
POC Project Infrastructure
14
-
8/11/2019 Ovm Kai Yu
15/45
Global Marketing
POC Project Infrastructure
15
-
8/11/2019 Ovm Kai Yu
16/45
Global Marketing
Task1: Create Vision Instance VM from Template
16
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
Migrating Oracle EBS & Creating Template
-
8/11/2019 Ovm Kai Yu
17/45
Global Marketing
17
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_VMOVM_EL5U3-x86_64-EBIZ12.1.1_DB_VIS_VM
Create VMs using two templates
Migrating Oracle EBS & Creating Template
-
8/11/2019 Ovm Kai Yu
18/45
Global Marketing
18
Startup DB VM (ebsvmdb): Automatic reconfiguring DB VM:ebiz_1211_ereconfig.sh rapid clone adclone.pl
Migrating Oracle EBS & Creating Template
-
8/11/2019 Ovm Kai Yu
19/45
Global Marketing
19
Migrating Oracle EBS & Creating Template
-
8/11/2019 Ovm Kai Yu
20/45
Global Marketing
20
Startup APPS VM (ebsvmapp):
Migrating Oracle EBS & Creating Template
-
8/11/2019 Ovm Kai Yu
21/45
Global Marketing
21
Automatic reconfiguring APPS VM by calling rapid clone adclone.pl utility
Migrating Oracle EBS & Creating Template
-
8/11/2019 Ovm Kai Yu
22/45
Global Marketing
22
Automatic reconfiguring APPS VM by calling rapid clone adclone.pl utility
Migrating Oracle EBS & Creating Template
-
8/11/2019 Ovm Kai Yu
23/45
Global Marketing
23
Automatic reconfiguring APPS VM by calling rapid clone adclone.pl utility
Migrating Oracle EBS & Creating Template
-
8/11/2019 Ovm Kai Yu
24/45
Global Marketing
24
Startup Oracle E-Business 12.1.1 Vision Instance on ebsvmapp:
Migrating Oracle EBS & Creating Template
-
8/11/2019 Ovm Kai Yu
25/45
Global Marketing
Migrating Oracle EBS & Creating TemplateTask2: Clone APPS and DB from DEV Instance
25
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
-
8/11/2019 Ovm Kai Yu
26/45
Global Marketing
Migrating Oracle EBS & Creating Template
26
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-templateenableset 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.shrapid clone adclone.pl apptier
-
8/11/2019 Ovm Kai Yu
27/45
Global Marketing
Migrating Oracle EBS & Creating Template
27
-
8/11/2019 Ovm Kai Yu
28/45
Global Marketing
Migrating Oracle EBS & Creating Template
28
-
8/11/2019 Ovm Kai Yu
29/45
Global Marketing
Migrating Oracle EBS & Creating Template
29
Startup new EBS instance: ebsvm on VMs(host:ebsvmapps)
-
8/11/2019 Ovm Kai Yu
30/45
Global Marketing
Migrating Oracle EBS & Creating Template
30
Review the cloned instance
The new instance ebdvm is the clone of the gfsdev instancegfsdevdb on physical server ebsvmdb on virtual machine
-
8/11/2019 Ovm Kai Yu
31/45
Global Marketing
Migrating Oracle EBS & Creating Template
31
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
O S & C
-
8/11/2019 Ovm Kai Yu
32/45
Global Marketing
Migrating Oracle EBS & Creating TemplateTask3: Create a New EBS Template
32
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
Mi i O l EBS & C i T l
-
8/11/2019 Ovm Kai Yu
33/45
Global Marketing
Migrating Oracle EBS & Creating Template
33
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
Mi i O l EBS & C i T l
-
8/11/2019 Ovm Kai Yu
34/45
Global Marketing
Migrating Oracle EBS & Creating Template
34
New Template List
Create APPS
Template
-
8/11/2019 Ovm Kai Yu
35/45
Global Marketing
Migrating Oracle EBS & Creating TemplateTask4: Create New EBS VM From the Template
35
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)
Mi i O l EBS & C i T l
-
8/11/2019 Ovm Kai Yu
36/45
Global Marketing
Migrating Oracle EBS & Creating Template
36
Create gfstestdb VM
Create gfstestapps VM
VM creation status:
.
Mi ti O l EBS & C ti T l t
-
8/11/2019 Ovm Kai Yu
37/45
Global Marketing
Migrating Oracle EBS & Creating Template
37
Startup up DBVM (gfstestdb)
.
Mi i O l EBS & C i T l
-
8/11/2019 Ovm Kai Yu
38/45
Global Marketing
Migrating Oracle EBS & Creating Template
38
Startup up APPs VM (gfstest1apps)
.
-
8/11/2019 Ovm Kai Yu
39/45
-
8/11/2019 Ovm Kai Yu
40/45
Oracle EBS High Availability on VM
-
8/11/2019 Ovm Kai Yu
41/45
Global Marketing
Oracle EBS High Availability on VM
41
Enable HA on VM server pool and VMs:
.
Oracle EBS High Availability on VM
-
8/11/2019 Ovm Kai Yu
42/45
Global Marketing
Oracle EBS High Availability on VM
42
Live Migration:Migrate VMs toanother VM server
in the same VMserver pool. NoDowntime forApplications.
.
Oracle EBS High Availability on VM
-
8/11/2019 Ovm Kai Yu
43/45
Global Marketing
Oracle EBS High Availability on VM
43
Failed Over:
Both DB and APPSVMs run on OWIVS2 VM server OWIVS2 VM server down
.
Failed over to OWIVS1in 1-2 minutes
BothVMs
Down
Summary and Acknowledgement
-
8/11/2019 Ovm Kai Yu
44/45
Global Marketing
Summary and Acknowledgement
44
Use Oracle VM template to create VMs for Vision instance Clone EBS Apps and DB from development Instance
Reconfigure VMs to form the clone of the developmentinstance Create the new VM template based on the development
instance. Create the new development and test EBS instances on VM
environment using the new VM templates Live Migration and Fail Over of Oracle EBS on Oracle VM 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.1Templates for Oracle VM Now Available
2. Oracle VM Templates for E-Business Suite: DeploymentGuide
Thank You and QA
http://blogs.oracle.com/stevenChan/2009/12/ebs_1211_oracle_vm_templates.htmlhttp://blogs.oracle.com/stevenChan/2009/12/ebs_1211_oracle_vm_templates.htmlhttp://blogs.oracle.com/stevenChan/2009/12/ebs_1211_oracle_vm_templates.htmlhttp://blogs.oracle.com/stevenChan/2009/12/ebs_1211_oracle_vm_templates.htmlhttp://blogs.oracle.com/stevenChan/2009/12/ebs_1211_oracle_vm_templates.htmlhttp://blogs.oracle.com/stevenChan/2009/12/ebs_1211_oracle_vm_templates.htmlhttp://blogs.oracle.com/stevenChan/2009/12/ebs_1211_oracle_vm_templates.htmlhttp://blogs.oracle.com/stevenChan/2009/12/ebs_1211_oracle_vm_templates.html -
8/11/2019 Ovm Kai Yu
45/45
Thank You and QAVisit Kai Yus Oracle Blog athttp://kyuoracleblog.wordpress.com/