Oracle vm 3.0 Fresh Start - Tarmo Alasoo

1,702 views

Published on

Event: Oracle Technology Day 2011
Date: 20.10.2011
Place: Nordic Hotel Forum
Country: ESTONIA

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,702
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
53
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Oracle vm 3.0 Fresh Start - Tarmo Alasoo

  1. 1. Planning Oracle VM Tarmo Alasoo Enkitec Europe www.enkitec.eu www.enkitec.eu 1
  2. 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. 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. 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. 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. 6. Consolidation options• Server Virtualization: – Oracle VM Server (x86 and SPARC) – Oracle Solaris Containers (Zones) www.enkitec.eu 6
  7. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 22. Configuration examples• [root@oraclevms ~]# xm listName ID Mem VCPUs State Time(s)60_dm01db01 57 1536 2 r----- 1714.162_dm01db02 58 1536 2 -b---- 1066.4• [root@oraclevms ~]# xm vcpu-list 60_dm01db01Name ID VCPU CPU State Time(s) CPU Affinity60_dm01db01 57 0 3 -b- 607.9 any cpu60_dm01db01 57 1 0 -b- 582.6 any cpu• [root@oraclevms ~]# xm vcpu-list 62_dm01db02Name ID VCPU CPU State Time(s) CPU Affinity62_dm01db02 58 0 1 -b- 284.8 any cpu62_dm01db02 58 1 4 r-- 280.9 any cpu www.enkitec.eu 22
  23. 23. Configuration examples• [root@oraclevms ~]# cat /OVS/running_pool/60_dm01db01/vm.cfgbootloader = /usr/bin/pygrubdisk = [file:...,file:...,file:...,file:...,]keymap = en-usmaxmem = 1536memory = 1536name = 60_dm01db01on_crash = restarton_reboot = restartuuid = d3fa4e66-26c2-4175-95f9-a1741bc916d0vcpus = 2vfb = [type=...]vif = [bridge=xenbr0,...,bridge=ibr0,...,]vif_other_config = [] www.enkitec.eu 23
  24. 24. Configuration examples• [root@oraclevms ~]# cat /OVS/running_pool/62_dm01db02/vm.cfgbootloader = /usr/bin/pygrubdisk = [file:...,file:...,file:...,file:...,]keymap = en-usmaxmem = 1536memory = 1536name = 62_dm01db02on_crash = restarton_reboot = restartuuid = a7f6a753-c8bb-42a0-8760-aa4c83c130fcvcpus = 2vfb = [type=...]vif = [bridge=xenbr0,...,bridge=ibr0,...,]vif_other_config = [] www.enkitec.eu 24
  25. 25. Configuration examples• [root@oraclevms ~]# xm shutdown 60_dm01db01• [root@oraclevms ~]# xm shutdown 62_dm01db02• [root@oraclevms ~]# vi /OVS/running_pool/60_dm01db01/vm.cfgAdd line -> cpus = 0-1• [root@oraclevms ~]# vi /OVS/running_pool/62_dm01db02/vm.cfgAdd line -> cpus = 2-3 • [root@oraclevms ~]# xm start 60_dm01db01• [root@oraclevms ~]# xm start 62_dm01db02 www.enkitec.eu 25
  26. 26. Configuration examples• [root@oraclevms ~]# xm listName ID Mem VCPUs State Time(s)60_dm01db01 62 1536 2 -b---- 360.162_dm01db02 63 1536 2 r----- 135.7• [root@oraclevms ~]# xm vcpu-list 60_dm01db01Name ID VCPU CPU State Time(s) CPU Affinity60_dm01db01 62 0 0 -b- 179.4 0-160_dm01db01 62 1 1 -b- 182.5 0-1[root@oraclevms ~]# xm vcpu-list 62_dm01db02Name ID VCPU CPU State Time(s) CPU Affinity62_dm01db02 63 0 2 -b- 69.4 2-362_dm01db02 63 1 3 -b- 69.6 2-3 www.enkitec.eu 26
  27. 27. Thank you! www.enkitec.eu 27

×