Professional Documents
Culture Documents
Oracle VM
Oracle VM
Oracle VM
Julian Dyke
Independent Consultant
Virtualization
Oracle VM
Oracle VM Server
Oracle VM Agent
Oracle VM Manager
Benefits include:
Cost of ownership
Hardware
Licensing
Power
Cooling
Space
Functionality
High Availability
Resource Management
Cloning
Migration
Linux,
Oracle Oracle Virtual Machine Virtual Machine (PV, HVM) X86
Windows
Pinned only Yes Yes³ Yes¹ Test
nPar Physical Partition IA, PA HP-UX Yes Yes² Yes³ N/A N/A
HP vPar Virtual Partition IA, PA HP-UX Yes Yes Yes N/A N/A
Integrity Virtual Machines Virtual Machine IA HP-UX Capped only Yes No N/A N/A
LPAR¹ Virtual Partition Power AIX Yes Yes³ Yes³ N/A N/A
dLPAR Virtual Partition Power AIX Yes Yes Yes Test Test
Micro-partitions Shared Partition Power AIX Capped only Yes Yes Test Test
IBM
VIO4 Shared storage Power N/A N/A Yes Yes N/A N/A
WPAR OS Partition Power AIX No Test No Test No
zVM Shared Partition zSeries Linux No Yes No N/A N/A
Dynamic System Domains Physical Partition Sparc Solaris Yes Yes Yes³ N/A N/A
SUN Logical Domains Virtual Partition Sparc Solaris No Test Test N/A N/A
Solaris Containers OS Partition Sparc Solaris Capped only Yes No N/A N/A
1 Supported with Oracle Database 11.0.7
2 Need to disable Numa for dynamic support.
3 Static support only.
4 VIO is an option for dLPAR and micro-partitions.
Information supplied by Oracle Corporation
6 © 2008 Julian Dyke juliandyke.com
Virtualization
Certified Application Server Platforms
The following virtualized platforms are certified for Oracle Application Server
On Solaris both global and local zones/containers are supported, but LDOMs are not supported
See http://www.oracle.com/technology/products/ias/hi_av/oracleas_supported_virtualization.html
See Metalink Note 249212.1 - Support Position for Oracle Products running on
VMware virtualized environments for more details
Applications Applications
Guest OS Guest OS
Guest VM Guest VM
Hypervisor
Consists of
Open Source server software
integrated Web browser-based management console
VMs
exist on same physical server
behave like independent physical servers
Oracle VM Agent
Installed with Oracle VM Server
Communicates with Oracle VM Manager for management of virtual
machines
Oracle VM Manager
Provides user interface to manage Oracle VM servers and resources
Standard Application Development Framework (ADF) web applications
Oracle VM Server
OracleVM
Agent
Hypervisor
Oracle Recommendations
Each RAC node should be deployed on a different physical server
Use physical block devices for database files
Do not over-commit CPUs
Resource Management
Control amount of CPU and memory used by each instance
Cloning
For development, test and pre-production
Migration
Move instance from one node to another
Hardware must currently be identical
Live Migration
Not supported with RAC
Para virtualization
Requires virtualization aware kernel
Available in Enterprise Linux 4 and 5 (Oracle and Red Hat)
Currently best performance
Hardware virtualization
Can run unmodified kernels e.g Enterprise Linux 3, Windows etc
Requires virtualization aware CPUs
Virtualization must be enabled in BIOS
When these are available hardware virtualization will be faster then para-
virtualization
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Enterprise Linux (2.6.18-8.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-8.el5xen ro root=/dev/VolGroup00/LogVol00
console=xvc0 rhgb quiet
initrd /initrd-2.6.18-8.el5xen.img
node:
ip_port = 7777
ip_address = 192.168.2.111
number = 0
name = server11.juliandyke.com
cluster = ocfs2
cluster:
node_count = 1
name = ocfs2
[root@server11]# exportfs
/el <world>
[root@server11]# cd /media/iso
[root@server11]# cp -var * /media/iso
[root@server11]# virt-install
What is the name of your virtual machine? guest1
How much RAM should be allocated (in megabytes?) 512
What would you like to use as the disk (path)? /OVS/running_pool/guest1
How large would you like the disk (/OVS/running_pool/guest1) to be
(in gigabytes)? 5
Would you like to enable graphics support? (yes or no) yes
What is the install location? nfs:server11:/el
Using arguments:
[root@server11]# virt-install \
--name guest1 \
--ram=512 \
--file=/OVS/running_pool/guest1 \
--file-size=5 \
--location=nfs:192.168.2.111:/el \
--nographics
See Metalink Note 466563.1 - Oracle VM: First Boot after Installation of Guest OS Fails with Text Console
[root@server11]# xm dmesg
To start a VM
To shutdown a VM
[root@server11]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 468 2 r----- 254.1
guest1 9 256 1 -b---- 19.7
guest2 10 256 1 -b---- 16.0
[root@server11]# xm console 9
For example
Run installer
http://<server_name>:8888/OVS
http://<server_name>:8888/OVS
VMs can be started on any server in the pool that is available and has
resources free
Oracle VM Manager
VM VM VM VM VM VM VM VM VM VM
VM VM VM VM VM
Server Server Server Server Server
Shared Shared
Storage Storage
See Metalink Note 551261.1 - Oracle VM Guest Templates for Oracle Enterprise
Linux
http://www.oracle.com/technology/documentation/vm.html
http://wiki.oracle.com/page/Oracle+VM
info@juliandyke.com