ICode9

精准搜索请尝试: 精确搜索
首页 > 数据库> 文章详细

[转帖]虚拟机VMWARE上ORACLE License 的计算

2020-02-22 11:53:05  阅读:326  来源: 互联网

标签:partitioning License 虚拟机 number server 转帖 Oracle CPU


虚拟机VMWARE上ORACLE License 的计算

https://www.cnblogs.com/kerrycode/p/3678553.html

其实 Oracle 很不建议在VMware进行安装.

 

Oracle License的计算有两种方式:按照用户数和CPU个数. 其中按CPU计算方式如下:

License Number = The Number of CPU Cores  *  Core Factor

其中Core Factor 可以参考官方文档 Oracle Processor Core Factor 。

如果Oracle 安装在VMWARE 上,是否也是按照这个方式计算呢? 也就是说,在虚拟机VMWARE上Oracle的License计算是否也是按照分配CPU核数来计算的呢? 关于虚拟机上ORACLE的License计算,ORACLE 引入了下面 Soft partitioning (软分区)和Hard partitioning (硬分区)概念(如下所示),而且明确规定 VMware是软分区,并且规定Soft partitioning is not permitted as a means to determine or limit the number of software licenses required for any given server。

也就是说在一台物理机上,假如如下所示,虚拟了一台Linux服务器做Oracle Database Server, 虚拟了另外一台Windows服务器做SQL Server服务器,物理机上有2个物理CPU,每个4 Core,平均分配给这两个服务器,此时Oracle的License计算是

    License Number = 2* 4*0.5= 4 而不是  License Number = 1*4*0.5= 2.

也就是说,不管是分配两核、四核、多核给Oracle 数据库服务器,Oracle License的计算都不以分配的核数计算,而是以物理机CPU核数来计算。

image

 

这样虽然不合理,但是也没有办法。至于为什么Oracle在VMWARE上这样计算License,就不得而知了。有可能是处于商业战略考虑,也有可能是处于打击商业对手。

http://www.oracle.com/us/corporate/pricing/partitioning-070609.pdf  
 

Oracle Partitioning Policy  
"Partitioning" occurs when the CPUs on a server are separated into individual sections where each section acts as a separate system. Sometimes this is called “segmenting.” There are several hardware and software virtualization technologies available that deliver partitioning capabilities, with varying degree of resource allocation flexibility. 
The purpose of this policy document is to define which of these partitioning technologies is deemed to be Soft, Hard or an Oracle Trusted Partition, and under what conditions Oracle permits them as a means to determine or limit the number of Oracle Processor licenses required for a given server, i.e., to license a sub-capacity of total physical cores as an exception from the contractual Oracle Processor definition. Oracle may modify the definitions and conditions specified in this document from time to time.


There are two main types of partitioning available:

Soft Partitioning:

Soft partitioning segments the operating system using OS resource managers. The operating system limits the number of CPUs where an Oracle database is running by creating areas where CPU resources are allocated to applications within the same operating system. This is a flexible way of managing data processing resources since the CPU capacity can be changed fairly easily, as additional resource is needed. 
Examples of such partitioning type include: Solaris 9 Resource Containers, AIX Workload Manager, HP Process Resource Manager, Affinity Management, Oracle VM, and VMware

Soft partitioning is not permitted as a means to determine or limit the number of software 
licenses required for any given server.

Hard Partitioning: 
Hard partitioning physically segments a server, by taking a single large server and separating it into distinct smaller systems. Each separated system acts as a physically independent, self-contained server, typically with its own CPUs, operating system, separate boot area, memory, input/output subsystem and network resources. 
Oracle-approved hard partitioning technologies as listed in this section of the policy document are permitted as a means to limit the number of software licenses required for any given server or a cluster of servers. Oracle has deemed certain technologies, possibly modified by configuration constraints, as hard partitioning, and no other technology or configuration qualify. Approved hard partitioning technologies include: Dynamic System Domains (DSD) -- enabled by Dynamic Reconfiguration (DR), Solaris Zones (also known as Solaris Containers, capped Zones/Containers only), LPAR (adds DLPAR with AIX 5.2), Micro-Partitions (capped partitions only), vPar, nPar, Integrity Virtual Machine (capped partitions only), Secure Resource Partitions (capped partitions only), Fujitsu’s PPAR. 
Using IBM processors in TurboCore mode is not permitted as a means to reduce the number of software licenses required; all cores must be licensed. 
IBM Power VM Live Partition Mobility is not an approved hard partitioning technology. All cores on both the source and destination servers in an environment using IBM Power VM Live Partition Mobility must be licensed. 
Oracle VM Server may be used as hard partitioning technology only as described in the following documents: 
 Oracle VM Server for x86, only if specific cores are allocated per the following document: 
 http://www.oracle.com/technetwork/server-storage/vm/ovm-hardpart-168217.pdf 
 Oracle VM Server for SPARC, only if specific cores are allocated per the following document: 
 http://www.oracle.com/technetwork/server-storage/vm/ovm-sparc-hard-partitioning- 1403135.pdf

Oracle Trusted Partitions for Oracle Engineered Systems 
For approved Oracle Engineered Systems, (see table below), Oracle permits the use of Oracle VM Server (OVM) as a means to limit the number of Oracle Processor licenses required, i.e., to license a sub-capacity of total physical cores. Oracle’s Trusted Partitions policy also requires use of Oracle Enterprise Manager as described below – if both of these conditions are met, the partition is deemed a ‘Trusted Partition.’


关于VMWARE上ORACLE License的计算, VMWARE的官方文档http://www.vmware.com/files/pdf/techpaper/vmw-understanding-oracle-certification-supportlicensing-environments.pdf  也做了介绍。如下所示:

image

 

作者:潇湘隐者 出处:http://www.cnblogs.com/kerrycode/
如果你真心觉得文章写得不错,而且对你有所帮助,那就不妨小小打赏一下吧,如果囊中羞涩,不妨帮忙“推荐"一下,您的“推荐”和”打赏“将是我最大的写作动力!
本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接.

标签:partitioning,License,虚拟机,number,server,转帖,Oracle,CPU
来源: https://www.cnblogs.com/jinanxiaolaohu/p/12318258.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有