Oracle license Policy on Virtual Machines

//

oracleexpert

Oracle license Policy on Virtual Machines

  • Virtual machines must meet licensing compliance.
  • Only approved Oracle software versions are supported.
  • Oracle support covers virtualized environments under certified configurations.
  • Performance tuning must follow Oracle guidelines.
  • Resource allocation should adhere to workload requirements.

Oracle license Policy on Virtual Machines

Oracle’s licensing policies for virtual machines (VMs) have long been a subject of much discussion and confusion.

Understanding how to license Oracle products in a virtualized environment is critical to ensuring compliance and avoiding the costly repercussions of non-compliance.

This guide will help you understand Oracle’s policies around virtual machines in a clear, digestible manner.

Introduction to Oracle Licensing and Virtualization

Introduction to Oracle Licensing and Virtualization

Oracle’s licensing rules are known for being complex, particularly regarding virtualized environments. Virtualization offers immense benefits, such as flexibility, scalability, and better hardware utilization, but it also adds a layer of complexity to software licensing.

Oracle licenses its products primarily based on two factors:

  • Processor-Based Licensing: Licenses are based on the number of physical processors.
  • Named User Plus Licensing: Licenses are based on the number of individuals or devices accessing the software.

Understanding how to correctly calculate and allocate licenses in virtualized environments, particularly non-Oracle hypervisors like VMware, is vital.

Oracle’s Policy on Virtualization Technologies

Oracle's Policy on Virtualization Technologies

Oracle’s virtualization licensing policies vary depending on the technology used. There are two primary virtualization technologies to consider:

  • Oracle VM (OVM): Oracle’s hypervisor product.
  • Non-Oracle Hypervisors: Technologies like VMware, Microsoft Hyper-V, KVM, etc.

1. Oracle VM (OVM)

Oracle VM is Oracle’s preferred virtualization solution, offering more predictable and advantageous licensing terms. Oracle allows partitioning, which means you can license only the CPUs being used by the Oracle software in an Oracle VM environment. This is known as soft partitioning.

For example, if you have a server with 16 CPUs and are using Oracle VM to run Oracle Database on four of them, you only need to license those four.

2. Non-Oracle Hypervisors

For non-Oracle hypervisors like VMware, Oracle’s licensing becomes more challenging. Oracle does not officially recognize VMware as a valid hard partitioning technology, which leads to the following implications:

  • Entire Cluster Licensing: If Oracle software is installed on a VMware environment, Oracle may require that you license all the physical hosts in the cluster, not just the host running Oracle software.
  • Movement Across Hosts: VMware’s ability to easily move virtual machines across hosts means that Oracle might require you to license all hosts in a vSphere cluster, even if the Oracle software is not actively running on those hosts.

Example: Imagine you have a VMware vSphere cluster with 10 hosts, and you run Oracle Database on just one VM within that cluster. Oracle will likely require you to license all 10 hosts, not just the CPUs used by the Oracle VM.

Soft vs. Hard Partitioning

Understanding Soft vs. Hard Partitioning

Oracle distinguishes between soft partitioning and hard partitioning when it comes to licensing virtualized environments.

  • Soft Partitioning refers to the ability to allocate resources at the software level. Oracle does not generally recognize soft partitioning as a valid means of limiting license requirements. Examples of soft partitioning technologies include VMware and Microsoft Hyper-V.
  • Hard Partitioning refers to allocating physical hardware to specific workloads. Oracle recognizes certain technologies as valid for hard partitioning. Examples include Oracle VM with CPU pinning, IBM LPAR, and Solaris Zones. Hard partitioning allows you to license only the specific cores or CPUs Oracle products to use.

Important Note: Only hard partitioning, as Oracle defines, can reduce licensing requirements. Soft partitioning, like with VMware, generally requires licensing all physical hosts involved.

Licensing Oracle Products on VMware

Licensing Oracle on VMware is one of the most debated aspects of Oracle licensing, and it’s crucial to understand how Oracle perceives VMware’s architecture.

Key Considerations

  • Cluster-Wide Licensing: If Oracle products run on VMware, Oracle often expects the entire VMware cluster to be licensed, not just the physical server or the virtual machine where Oracle is installed.
  • vMotion and High Availability: VMware features like vMotion, which allows virtual machines to be migrated live, can trigger additional licensing requirements. Oracle requires that a VM running Oracle software be licensed before it can move to another host.

Example Scenario: You have a vSphere cluster of 5 hosts, each with 8 CPUs, and an Oracle Database running on a VM. Even if the VM is fixed to just one host, Oracle may argue that, since VMware’s vMotion could move the VM to any of the five hosts, you must license all five hosts.

Oracle Cloud and Licensing Simplification

Oracle has been trying to drive customers to its cloud offerings, Oracle Cloud Infrastructure (OCI). Oracle’s licensing policies in the cloud are often more straightforward, with specific licensing metrics designed for cloud scalability and flexibility.

Benefits of Oracle Cloud

  • Bring Your Own License (BYOL): Oracle allows existing customers to bring their on-premises licenses to OCI, which can help reduce costs and simplify compliance.
  • Pay-As-You-Go: Oracle Cloud offers a pay-as-you-go model, which allows customers to scale resources up or down based on needs without worrying about licensing individual processors.

Example: If you have an on-premises Oracle Database Enterprise Edition license, you can use it to run a database instance in Oracle Cloud, potentially at a lower cost than a traditional on-premises or VMware setup.

Licensing Compliance Risks and Challenges

Failure to properly license Oracle products in a virtualized environment can lead to serious consequences, including:

  • Unbudgeted Costs: Non-compliance can lead to unexpected licensing fees, which can be very high.
  • Audit Risks: Oracle frequently conducts audits to ensure compliance. During an audit, improper licensing can lead to significant back payments, penalties, and potentially legal issues.

Common Compliance Challenges

  • Misunderstanding Soft vs. Hard Partitioning: Many organizations wrongly assume that they can license only the portion of VMware resources running Oracle software. As discussed earlier, Oracle does not recognize VMware as a valid hard partitioning technology.
  • Cluster Misconfiguration: Organizations may assume that setting up resource pools or affinity rules in VMware limits their licensing requirements. However, Oracle’s position is generally stricter, requiring the licensing of entire clusters.

Example: An organization sets up a dedicated resource pool in VMware for Oracle software and mistakenly assumes that only the hosts within that pool need to be licensed. During an Oracle audit, the organization discovers that all hosts in the vSphere cluster must be licensed, leading to unplanned costs.

Read about Oracle licensing policy for trial licenses.

Strategies for Oracle Licensing Optimization in Virtualized Environments

Strategies for Oracle Licensing Optimization in Virtualized Environments

To optimize Oracle licensing costs in virtualized environments, consider the following strategies:

1. Use Oracle-Approved Hard Partitioning

If virtualization is necessary, consider using Oracle-approved hard partitioning technologies. This will allow you to license only the hardware resources needed to run Oracle software.

Examples of Hard Partitioning are Oracle VM (with CPU pinning), IBM LPAR, and Solaris Zones.

2. Isolate Oracle Workloads

To reduce licensing costs, isolate Oracle workloads on dedicated hosts or clusters. This ensures that only the physical hardware running Oracle software needs to be licensed rather than the entire shared environment.

Example: Set up a dedicated VMware cluster for Oracle workloads, ensuring no Oracle VMs can migrate to non-dedicated clusters.

3. Limit vMotion and Other Migration Technologies

Disable vMotion and other migration technologies for Oracle workloads to avoid cluster-wide licensing. While this reduces flexibility, it can lead to significant cost savings by allowing you to license fewer physical hosts.

Example: Create vSphere rules that prevent Oracle VMs from migrating to other hosts outside of a dedicated cluster.

4. Consider Oracle Cloud

Moving Oracle workloads to Oracle Cloud can provide flexibility and reduce licensing complexity. Oracle’s BYOL program allows for on-premises licenses to be used in the cloud, simplifying compliance.

Oracle Licensing on Hyper-Converged Infrastructure

Hyper-converged infrastructure (HCI) solutions like Nutanix and VMware vSAN complicate Oracle licensing.

Oracle’s licensing policies do not change for HCI environments. Therefore, you may still need to license all nodes if Oracle workloads could run on them.

Example: In a Nutanix cluster with Oracle running on one virtual machine, all nodes in that cluster may require licensing, just like with VMware.

Practical Tips for Oracle Audits

Practical Tips for Oracle Audits

Since Oracle’s audit teams are known to scrutinize virtualized environments, it’s important to prepare:

  • Document Everything: Document your infrastructure in detail, including host configurations, clustering details, and vMotion settings.
  • Consult Oracle Licensing Experts: Engage with Oracle licensing experts or third-party advisory firms to assess your compliance status regularly.
  • Prepare for Audit Requests: Be ready to provide specific documentation, including architecture diagrams and policies regarding virtualization management.

Read about Oracle license policies for terminations.

FAQs

What is Oracle’s licensing policy for virtual machines?
Oracle requires licenses for each processor core running Oracle software in virtualized environments.

Are all Oracle products supported on virtual machines?
No, only products explicitly listed in Oracle’s certification matrix are supported.

What is a certified configuration?
A setup that aligns with Oracle’s documented guidelines for virtualized environments.

Does Oracle provide support for custom virtual setups?
Oracle supports only configurations certified under their guidelines.

What are the prerequisites for deploying Oracle software on virtual machines?
Ensure compliance with Oracle’s licensing and use certified virtualization solutions.

Can Oracle software be deployed on any hypervisor?
No, only hypervisors certified by Oracle are supported for certain applications.

How is performance monitored in virtual environments?
Oracle recommends using its performance tools and adhering to best practices.

Is dynamic resource allocation permitted?
Yes, but it must comply with Oracle’s workload standards and documentation.

What happens if non-compliance with policy is detected?
Non-compliance may result in loss of support or additional licensing fees.

Does Oracle inspect virtual environments for compliance?
Yes, audits can be conducted to verify licensing and configuration compliance.

Are there special terms for cloud-based virtual machines?
Oracle has distinct policies for private, public, and hybrid cloud deployments.

What are the security requirements for virtual machines?
Virtual environments must follow Oracle’s security baseline for data protection.

How does Oracle handle patch management in virtual setups?
Patching must align with Oracle’s update schedule and certified configurations.

Can Oracle databases be run on any virtual machine?
No, only configurations certified for database workloads are supported.

Where can I find more details on Oracle’s virtualization policies?
Refer to Oracle’s Virtualization Support Policies on their official documentation.

Author