From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Oracle vm 3.0 Fresh Start - Tarmo Alasoo
1. Planning Oracle VM
Tarmo Alasoo
Enkitec Europe
www.enkitec.eu
www.enkitec.eu 1
2. Introduction
• About me:
– I have been in IT for more than 18 years
– Last 10 years been working on Oracle technology
– I’m certified for 8i,9i,10g OCP and RAC/Linux OCE
– Starting from 2006, I’ve been a part-time lector at
the Oracle University Estonia delivering different
Oracle DBA courses as needed.
– In 2011 Enkitec Europe was born! I joined with
Tanel Põder to help him to build this magnificent
company!
www.enkitec.eu 2
3. Introduction
• Topics in this presentation
– Consolidation options
– Oracle VM Server benefits
– Oracle VM Server features
– Oracle DB Licensing for the Processor metric
– Configuring Oracle VM to manage Oracle
Database licensing cost
– Configuration Examples
www.enkitec.eu 3
4. Introduction
• Every company wants to manage their IT as
efficiently as possible! Companies want to have
systems which are powerful, highly available and
easy to manage at the lowest cost possible.
• Virtualization is one way to create efficient and
flexible IT environments, providing better availability
and reliability of configured systems and at the same
time optimizing total cost of ownership (TCO).
www.enkitec.eu 4
5. Consolidation options
• Optimized for the Oracle Database:
– Oracle Database Appliance (ODA)
– Oracle RAC One Node
– Oracle Exadata Database Machine
www.enkitec.eu 5
6. Consolidation options
• Server Virtualization:
– Oracle VM Server (x86 and SPARC)
– Oracle Solaris Containers (Zones)
www.enkitec.eu 6
7. Oracle VM Server benefits
• Oracle VM Server is a free server virtualization and
management solution that makes enterprise
applications easier to deploy, manage, and support.
• But Support is needed to get software updates:
– Oracle VM Premier Limited*:
• License - $0
• Support - $599 per server per year
– Oracle VM Premier:
• License - $0
• Support - $1199 per server per year
* If no more than 2 physical CPUs per server system
www.enkitec.eu 7
8. Oracle VM Server benefits
• VM GUI is pure browser-based, no need to install
separate client software.
• Every Oracle VM Manager operation is performed as
a “job”. A job consists of all the steps involved in the
successful completion of the operation.
www.enkitec.eu 8
9. Oracle VM Server benefits
• 90+ Oracle VM Templates available!
– Preconfigured VM hosts containing different Oracle
technology for you to learn and test!
• Download free from edelivery.oracle.com
• Import to the Oracle VM
• Start-Up in Oracle VM
– Example: E-Business Suite, JD Edwards EnterpriseOne,
PeopleSoft, WebLogic, Oracle EM GRID Control, Oracle
RAC, Oracle Database, Oracle Enterprise Linux, Solaris
10 and 11 etc.
www.enkitec.eu 9
10. Oracle VM Server benefits
• Is the only server virtualization software supported
and certified with Oracle products. For example, for
VMware Oracle products are "Supported" but
“NOT “Certified“*!
*Oracle does not do any testing or maintain any VMware
environments at Oracle which means that VMware may be
required to assist you if there is an issue.
• All new Oracle product releases are certified by
default, see “Certified Software on Oracle VM” [MOS
Note. 464754.1]
www.enkitec.eu 10
11. Oracle VM Server benefits
• Is recognized by Oracle to be used with hard and soft
partitioning to help to manage your Oracle
enterprise technology license costs!
• For example, disabling CPU cores in Server BIOS is
not a supported method for managing the number of
licensed CPUs.
www.enkitec.eu 11
12. Oracle VM Server features
• Oracle VM Server 2:
– supports X86 and x86_64 host hardware only!
– Oracle VM Server 2.2.2, Xen hypervisor v. 3.4.0
– Up to 128 physical CPUs and 1TB of memory
– each Guest VM supports up to 32 vCPU and
510GB of memory.
www.enkitec.eu 12
13. Oracle VM Server features
• Oracle VM Server 3:
– Supports x86, x86_64 and SPARC host hardware!
– Oracle VM Server 3.0.2, Xen hypervisor v. 4.0.1
– Up to 160 physical CPUs and 2TB of memory
– OCFS2 Storage space up to 64TB
– Supports up to 128 Guest Virtual Machines
– each Guest VM supports up to 128 vCPU and 1TB
memory
www.enkitec.eu 13
14. Oracle VM Server features
• Supported Hardware Virtualized Guest OS’s:
– Oracle Linux Release 4.x, 5.x, 6.x
– Oracle Solaris 10 and 11 Express
– RedHat Enterprise Linux 4.x, 5.x, 6.x
– Microsoft Windows Server 2003, 2008
– Microsoft Windows XP, Vista and 7
www.enkitec.eu 14
15. Oracle VM Server features
• Supported Paravirtualized Guest OS’s:
– Oracle Linux Release 4.x, 5.x, 6.x
– Red Hat Enterprise Linux 4.x, 5.x, 6.x
• Paravirtualized drivers for Windows
www.enkitec.eu 15
16. Oracle VM Server features
• Oracle VM server supports CPU
oversubscription.
– Configure up to 32 vCPU’s in Oracle VM 2.2
• Oracle VM server does not support memory
oversubscription.
– When using VM Server cluster, for Live Migration or
Failover, make sure you have enough memory available on
the other Node.
www.enkitec.eu 16
17. Oracle DB Licensing for the
Processor metric
• AMD and Intel x86 Processor Core Licensing Factor is
0,5
• 1 x 4-Core CPU needs 2 DB licenses
• 1 x 6-Core CPU needs 3 DB licenses
• So if you have Physical Server with 2 x 6-Cores CPU’s,
12 cores in total, you need 6 DB licenses!
• What if you need less and want to pay less?
• Want to follow "Pay As You Grow“ model?
www.enkitec.eu 17
18. Oracle DB Licensing for the
Processor metric
• Server/Hardware partitioning helps to optimize
software licenses!
• “Partitioning” occurs when the CPUs on a server are
separated into individual sections where each
section acts as a separate system.
• Types of Partitioning: "Soft Partitioning" and "Hard
Partitioning“
• http://www.oracle.com/us/corporate/pricing/partitioning-070609.pdf
• http://www.oracle.com/technetwork/topics/virtualization/ovm-hardpart-167739.pdf
www.enkitec.eu 18
19. Configuring Oracle VM to manage
Oracle Database licensing cost
• Soft partitioning requires the sum of an Oracle
VM server’s CPU cores to be licensed.
– Each Oracle VM server running a guest with an
Oracle technology product must be licensed. We
can use a manual placement policy to license a
subset of pool member servers. For example, in a
3 server pool, you could license 2 out of the 3 pool
members.
– This method has the ability to use Live Migration!
www.enkitec.eu 19
20. Configuring Oracle VM to manage
Oracle Database licensing cost
• Hard partitioning allows a customer to license
a subset of a server’s CPUs.
– All hard partitioned guests must pin the virtual
CPUs to the Oracle VM server’s physical CPU cores
in the guest’s vm.cfg file.
– All hard partitioned guests must have an Oracle
VM Manager manual placement policy to confine
the guests to the pinned Oracle VM server(s)
– All hard partitioned guests “cannot” use Live
Migration.
www.enkitec.eu 20
21. Configuring Oracle VM to manage
Oracle Database licensing cost
• For Oracle CPU licensing purposes it is required to
manually edit vm.cfg file and hardcode the cpu
binding for each guest or virtual machine.
• vm.cfg examples: cpus = '0-1'
• Only CPU cores 0,1 are used for Guest VM
www.enkitec.eu 21
22. Configuration examples
• [root@oraclevms ~]# xm list
Name ID Mem VCPUs State Time(s)
60_dm01db01 57 1536 2 r----- 1714.1
62_dm01db02 58 1536 2 -b---- 1066.4
• [root@oraclevms ~]# xm vcpu-list 60_dm01db01
Name ID VCPU CPU State Time(s) CPU Affinity
60_dm01db01 57 0 3 -b- 607.9 any cpu
60_dm01db01 57 1 0 -b- 582.6 any cpu
• [root@oraclevms ~]# xm vcpu-list 62_dm01db02
Name ID VCPU CPU State Time(s) CPU Affinity
62_dm01db02 58 0 1 -b- 284.8 any cpu
62_dm01db02 58 1 4 r-- 280.9 any cpu
www.enkitec.eu 22