1. Introduction
The VMware vSphere platform has become the preferred infrastructure for running Oracle databases, middleware, and applications. Industry reports highlight the growing adoption:
- 70% of Independent Oracle Users Group (IOUG) members use VMware for Oracle implementations.
- 40% of VMware customers deploy Oracle databases on vSphere.
Key Benefits of Virtualizing Oracle on VMware
| Category | Benefit |
|---|---|
| Performance & Scalability | Dynamic resource allocation, 128 vCPUs and 4TB RAM per VM |
| Availability | Automated disaster recovery and high availability features |
| Efficiency | 3-10x hardware consolidation, reduced operational costs |
| Time-to-Market | Provisioning reduced from weeks to minutes |
However, questions persist around Oracle certification, support, and licensing in virtualized environments. This paper addresses these concerns, providing clarity and actionable strategies for organizations leveraging VMware vSphere.
2. Oracle Certification and Support for VMware Environments
2.1 Certification
- Oracle certifies only its own Oracle VM platform.
- Oracle does not certify hardware or hypervisors below the OS layer, including VMware vSphere.
- Real-world comparison: Customers deploy Oracle on HP, Dell, or IBM hardware despite lack of certification.
Example: Oracle on a Dell PowerEdge server is common, despite no official certification.
| Platform Component | Oracle Certification Status |
|---|---|
| Operating System (OS) | Certified by Oracle |
| Oracle VM (Hypervisor) | Certified by Oracle |
| VMware vSphere (Hypervisor) | Not certified but widely deployed |
| Physical Hardware | Not certified unless Oracle hardware |
2.2 Oracle Support Policy
Oracle supports VMware environments with certain conditions:
- Known Issues: If an issue occurs on the native OS, Oracle provides support.
- Reproduction Requests: Oracle may ask customers to reproduce issues on physical servers.
- Third-Party Engagement: VMware can collaborate with Oracle support via TSANet to resolve issues.
2.3 VMware Support for Oracle
VMware provides proactive Oracle support, including:
| Support Scope | Details |
|---|---|
| Ownership of Support Requests | VMware handles Oracle-related tickets. |
| Performance Tuning | Optimizes Oracle databases running on VMware. |
| Collaboration with Oracle | Uses TSANet for joint troubleshooting. |
Example: If an Oracle performance issue arises, VMware will reproduce the problem in its labs or escalate with Oracle Support.
3. Oracle Licensing in VMware Environments
Oracle licensing models, particularly for the database, are based on processor cores where Oracle programs are installed and/or running. VMware environments add complexity due to VM mobility (e.g., vMotion).
3.1 Licensing Scenarios: Hosts and Clusters
| Scenario | Key Licensing Requirements |
|---|---|
| Fully Licensed Host | License all processor cores in the host. |
| Partially Licensed Host | Use CPU Affinity to restrict Oracle VMs to specific cores. |
| Fully Licensed Cluster | All hosts in the cluster must be licensed. |
| Partially Licensed Cluster | Use DRS Host Affinity to restrict VMs to licensed hosts. |
Example: Fully Licensed Cluster
- A 4-host cluster with 32 cores per host (128 cores total) fully licensed for Oracle.
- Benefit: Unlimited Oracle VMs can run within this cluster without additional licenses.
Example: Partially Licensed Cluster
- A 4-host cluster where only 2 hosts (64 cores) are licensed for Oracle.
- Use DRS Host Affinity Rules to ensure Oracle VMs stay on the licensed hosts.
| Cluster | Total Cores | Licensed Cores | Cost (at $47,500 per core) |
|---|---|---|---|
| Fully Licensed | 128 | 128 | $6,080,000 |
| Partially Licensed | 128 | 64 | $3,040,000 |
3.2 Cost Comparison: Physical vs. VMware
| Deployment | Total Cores | Cores Licensed | Cost |
|---|---|---|---|
| Physical Configuration | 64 | 32 | $1,520,000 |
| VMware Configuration | 32 | 16 | $760,000 |
Result: VMware reduced Oracle licensing costs by 50%.
3.3 Tracking Compliance with vSphere
To maintain compliance:
- Use Logs: vSphere logs can track VM movement across hosts.
- Leverage APIs: Use VMware vRealize Configuration Manager or third-party tools to generate reports.
4. Oracle’s Definition of “Installed”
Oracle’s interpretation of “installed and/or running” includes future potential use, raising concerns during audits.
Legal Case: In Mars v. Oracle (2015), Oracle claimed that vSphere made software available on all processors. The claim was dismissed, confirming that uninstalled Oracle software does not trigger licensing.
Key Points:
- Virtual machines must be actively running Oracle software to incur licensing obligations.
- Restrict VM movement using DRS Host Affinity or CPU Affinity to avoid compliance risks.
5. CPU Affinity for Soft Partitioning
CPU Affinity allows Oracle VMs to use only specific cores, reducing licensing requirements.
| Approach | Details |
|---|---|
| Fully Licensed Host | All cores licensed. |
| CPU Affinity (Soft Partition) | License only assigned cores. |
Example: On a 16-core server, CPU Affinity restricts an Oracle VM to 4 cores, licensing only those cores.
6. Licensing Oracle on Public Clouds
Oracle on VMware in public clouds requires dedicated servers to maintain compliance.
| Public Cloud Offering | Details |
|---|---|
| VMware Cloud on AWS | Dedicated servers per customer. |
| IBM SoftLayer | Compliant dedicated environments. |
| Amazon EC2 / Azure | Privileged Oracle licensing applies. |
7. Summary
- Certification: Oracle certifies only its OS and Oracle VM, not VMware vSphere.
- Support: Oracle provides support with conditions; VMware enhances Oracle support.
- Licensing: Use CPU Affinity and DRS Host Affinity to optimize licensing costs.
- Cost Savings: VMware can cut Oracle licensing expenses by up to 50%.
- Audit Risks: Restrict VM mobility and maintain compliance records using VMware tools.
8. Conclusion
Organizations can confidently deploy Oracle on VMware vSphere, achieving cost savings, enhanced performance, and scalability. Proper strategies ensure licensing compliance and mitigate risks.