Oracle Real Application Clusters in Oracle VM Environments

An Oracle Technical White Paper June 2010

Oracle Real Application Clusters in Oracle VM Environments

Executive Summary .......................................................................................... 3 Introduction ....................................................................................................... 4 What is Oracle Real Application Clusters (RAC)? ....................................... 5 What is Oracle RAC One Node?.................................................................... 6 Why run Oracle RAC on Oracle VM? ........................................................... 8 Business Continuity, High Availability and Scalability................................. 9 Live Migration and online Database relocation Support........................... 11 When to use Live Migration or Online Relocation?.............................. 12 Deployment Methods..................................................................................... 13 Hardware and Software Requirements......................................................... 15 Oracle RAC on Oracle VM – Best Practices .............................................. 19 Oracle Installation Recommendations .................................................... 19 Generic Configuration Recommendations ............................................. 19 Storage Configuration ................................................................................ 20 Network Configuration.............................................................................. 21 Sizing the Oracle VM Environment for Oracle RAC ........................... 23 Installing Oracle RAC in Oracle VM Environments................................. 24 Installation Alternative: Templates .......................................................... 24 Live Migration and Online Relocation Best Practices ............................... 26 Summary ........................................................................................................... 28 Appendix A – Guest Configuration File Example..................................... 29 Appendix B – Bonding Setup Example....................................................... 30 Appendix C – References............................................................................... 34 Appendix D – Table of Figures .................................................................... 35 Appendix E – Known Limitations ............................................................... 36

Oracle Real Application Clusters in Oracle VM Environments Page 2

Oracle Real Application Clusters in Oracle VM Environments

EXECUTIVE SUMMARY

Running today’s non-critical business applications in virtualized environments has shown to be efficient and cost saving. More sophisticated or highly available applications on the other hand were most likely incompatible with commonly used software based virtualization solutions. The availability of Oracle VM overcomes this obstacle. Providing a software based virtualization infrastructure (Oracle VM) and the market leading high availability solution Oracle Real Application Clusters (RAC), Oracle now offers a highly available, grid-ready virtualization solution for your data center, combining all the benefits of a fully virtualized environment.
Oracle VM and Oracle Real Application Clusters (RAC) enable the benefits of a virtualized data center infrastructure for highly available applications.

The combination of Oracle VM and Oracle RAC enables a better server utilization (RAC databases with underutilized CPU resources or peaky CPU utilization can often benefit from consolidation with other workloads using server virtualization), simplified server maintenance, sub-capacity licensing, and rapid provisioning. It also allows the creation of virtual clusters (product demos, educational settings and sometimes test environments on the same physical machine in a virtual environment). In the future, Oracle RAC in Oracle VM will allow dynamic changes to react to changing service level requirements. Last but not least, Oracle VM is the only software based virtualization solution that is fully supported and certified for Oracle Real Application Clusters. This paper discusses various Oracle RAC deployment scenarios and provides best practices for an optimized Oracle RAC deployment in Oracle VM environments.

Note: Oracle is constantly in the process of testing additional and advanced Oracle VM features with Oracle RAC. This paper will be updated regularly as new test results are available.

Oracle Real Application Clusters in Oracle VM Environments Page 3

com/clusterware 3 For more information on Oracle Automatic Storage Management (ASM). As a vertically integrated file system and volume manager. purpose-built for Oracle database files.com/asm 4 Oracle VM homepage: http://www. Oracle Clusterware is the technology that transforms a server farm into a cluster. Oracle Automatic Storage Management provides the basis for a shared storage pool in Oracle enterprise grid architectures. Oracle RAC utilizes Oracle Clusterware2 for the inter-node communication required in clustered database environments. Solaris.oracle. storage and middleware virtualization. Oracle VM provides an easy-touse graphical interface for creating and managing virtual server pools running on x86 and x86-64-based systems across an enterprise. Oracle RAC is a key component of Oracle enterprise grid architecture. 1 2 Oracle Real Application Clusters (RAC) homepage: http://otn. Oracle RAC is a cluster database with a shared cache architecture that overcomes the limitations of traditional shared-nothing and shared-disk approaches to provide highly scalable and available database solutions for all your business applications.oracle. Oracle Automatic Storage Management (ASM)3 acts as the underlying. Oracle VM4 is a free. clustered volume manager.com/virtualization Oracle Real Application Clusters in Oracle VM Environments Page 4 . ASM provides the performance of raw I/O with the easy management of a file system. visit http://otn. It provides the database administrator with a simple storage management interface that is consistent across all server and storage platforms.com/rac For more information on Oracle Clusterware.INTRODUCTION Oracle Real Application Clusters (RAC)1 is an option to the award-winning Oracle Database Enterprise Edition. A cluster in general is a group of independent servers that cooperate as a single system. scalable server virtualization software that supports both Oracle and non-Oracle applications. Oracle VM completes the Oracle enterprise grid offering by providing an Oracle RAC certified virtualization environment. next generation. In a typical Oracle RAC installation. Oracle Clusterware is the intelligence in this system that ensures the required cooperation and is a key component of Oracle enterprise grid architecture. Linux and Windows guests are all supported. covering desktop.oracle. server. Oracle VM enables deployment of operating systems and application software within a supported virtualization environment. It is an integral part of the most complete virtualization portfolio available today. visit http://otn.oracle.

Peoplesoft. a clustered database (using more than one instance) differs from a single instance database in a way that the database can be accessed by multiple instances concurrently. applications using services can immediately take advantage of it with no changes to the application or application server. Oracle Real Application Clusters is an extension to the Oracle Database and therefore benefits from the manageability. Siebel. In the event of a system failure. such as additional nodes. reliability. A cluster is a group of independent servers that cooperate as a single system. However. Redundant hardware components. Clusters provide improved fault resilience and modular incremental system growth over single symmetric multi-processor (SMP) systems. A RAC Database is a clustered database. When additional resources are required. DSS. and disks. Figure 1: Oracle Real Application Clusters Overview With Oracle Real Application Clusters (as with any other Oracle database) the Oracle Instance (the processes and memory structures allocated on a server to allow access to the data) is de-coupled from the Oracle Database (the physical structures residing on the storage.WHAT IS ORACLE REAL APPLICATION CLUSTERS (RAC)? Oracle RAC enables the Oracle Database to run mainstream business applications of all kinds on clusters. Access to mission critical data is not lost. and security features built into the Oracle Database. or mixed workload. Such redundant hardware architectures avoid single pointsof-failure and provide exceptional fault resilience. SAP) and in-house developed applications generating OLTP. additional nodes and instances can easily be added to the cluster with no downtime. These structures are commonly known as ‘datafiles’). Once a new instance has been started. interconnects. which actually hold the data. allow the cluster to provide high availbility. including popular packaged products (such as Oracle Ebusiness Suite. clustering ensures highest availability to users. Each instance runs on a separate server in the cluster (formed by Oracle Clusterware). Oracle Real Application Clusters in Oracle VM Environments Page 5 .

should the need arise. four single-instance Oracle RAC One Node databases are running in a cluster of three servers.WHAT IS ORACLE RAC ONE NODE? Oracle Real Application Clusters (RAC) One Node5 is a new option to the Oracle Database 11g Release 2 Enterprise Edition. Oracle RAC One Node enables: • • • • Better server consolidation Enhanced protection from failures Greater flexibility and workload management Better online maintenance In addition. In servers A and C above. Each server runs one OS. 5 For more information on Oracle RAC One Node see http://otn.oracle. Server A is hosting Oracle RAC One Node databases DB1 and DB2. and. Further. it is fully compatible with and complementary to Oracle VM (OVM). upgrade to a full multi-node Oracle RAC database without downtime or disruption. Figure 2: Oracle RAC One Node . it allows customers to virtualize database storage.com/rac Oracle Real Application Clusters in Oracle VM Environments Page 6 . standardize their database environment.typical architecture overview In the configuration shown in figure 2. multiple databases are consolidated onto a single OS. It improves upon many of the benefits of server virtualization and extends them to databases running in physical server environments. allowing customers to build environments that leverage the strengths of both Oracle RAC One Node and server virtualization. server B is hosting database DB3 and server C is hosting databases DB4 and DB5.

next generation. Oracle VM Server: A self-contained virtualization environment designed to provide a lightweight.com/technology/software/products/oem/index.html 7 6 Oracle Real Application Clusters in Oracle VM Environments Page 7 . including creating virtual machines from installation media or from a virtual machine template. Linux and Windows guests are all supported.0. Solaris. deleting. uploading. Oracle VM Agent: Installed with Oracle VM Server. virtual machine templates and sharable hard disks. which is a standard ADF (Application Development Framework) web application. powering off. Oracle VM provides an easy-touse graphical interface for creating and managing virtual server pools running on x86 and x86-64-based systems across an enterprise.2. secure. It communicates with Oracle VM Manager for management of virtual machines. Manages virtual machine lifecycle. to manage Oracle VM Servers7.WHAT IS ORACLE VM? Oracle VM6 is a free. and includes Oracle VM Agent. Oracle VM Server is based upon an updated version of the underlying Xen hypervisor technology. It is an integral part of the most complete virtualization portfolio available today.oracle.5: www. server-based platform for running virtual machines. storage and middleware virtualization. Manages resources. including ISO files. deployment and live migration of virtual machines.com/virtualization Oracle VM is also fully integrated into Oracle Enterprise Manager 10. Oracle VM enables you to deploy operating systems and application software within a supported virtualization environment. Oracle VM enables deployment of operating systems and application software within a supported virtualization environment. covering desktop. The components of Oracle VM are: • • • Oracle VM Manager: Provides the user interface. server. Figure 3: Oracle VM overview Oracle VM homepage: http://www.oracle. scalable server virtualization software that supports both Oracle and non-Oracle applications.

Sometimes customers wish to use only a subset of the CPUs on the server for a particular Oracle RAC database. For more information on using hard partitioning with Oracle VM refer to the “Hard Partitioning with Oracle VM” white paper9. This use case is particularly interesting for product demos. Rapid Provisioning: The provisioning time of a new application consists of the server (physical or virtual) deployment time. Oracle Licensing – Partitioning: www. This configuration should never be used to run production Oracle RAC environments. A typical use case for this scenario foresees the consolidation of several Oracle RAC databases onto a number of machines with limited resources (e. 2. and the software install and configuration time. Sub-capacity licensing: The current Oracle licensing model requires the Oracle RAC database to be licensed for all CPUs on each server in the cluster. isolated in order not to interfere with other Oracle instances sharing the same physical hardware. More information on sub-capacity licensing using hard partitioning can be found in the Oracle partitioning paper8. and test environments.com/corporate/pricing/partitioning. The following are valid deployments for this use case: a. Create a virtual cluster: Oracle VM enables the creation of a virtual cluster on a single physical server. Test / development cluster b. Oracle VM can be configured in such way that it is recognized as a hard partition. Hard partitions allow customers to only license those CPUs used by the partition instead of licensing all CPUs on the physical server. Oracle VM can help reduce the deployment time for both of these components.oracle. Education cluster 4. educational settings. in which case each Oracle VM hosting an Oracle RAC instance can be set up with a fixed and limited number of resources. Oracle VM supports the ability to create deployment templates.WHY RUN ORACLE RAC ON ORACLE VM? There are several reasons why customers may want to run Oracle RAC in an Oracle VM environment. These templates can then be used to rapidly provision new (Oracle RAC) systems.g.pdf Hard Partitioning with Oracle VM www. Some of the more common ones are: 1. 3. CPU resources).oracle. Demo cluster c.pdf 9 8 Oracle Real Application Clusters in Oracle VM Environments Page 8 .com/technology/tech/virtualization/pdf/ovm-hardpart. Server Consolidation: Oracle RAC databases with underutilized CPU resources or peaky CPU utilization can often benefit from consolidation with other workloads using server virtualization.

it should be noted that the Oracle VM HA rules engine is currently limited in its capabilities to consider all requirements for a supported and optimal Oracle RAC-instance placement in the event of a VM failure. these solutions will perform corrective actions particular to the failure without the overhead of restarting the whole Oracle VM guest While a combination of both internal HA provided by the cluster software running within the guest domains and the external HA. Figure 4: Oracle VM HA and Oracle RAC In general. there are more options to choose from when considering virtualization technologies. The reason is that the Oracle VM guest is usually unaware of the applications running in the virtualized environment as much as the application is typically unaware of the Oracle VM guest it is running in. Oracle VM would operate on the VM guest as a whole. Oracle Real Application Clusters in Oracle VM Environments Page 9 . provided by Oracle VM HA. cluster based HA solution like Oracle Clusterware (used for Oracle RAC) should be used. However. HIGH AVAILABILITY AND SCALABILITY Business continuity is a key element in today’s business and while Oracle RAC is still the ultimate solution when it comes to Oracle Databases. an internal. For a fast. if more than one physical machine is available in the server pool.BUSINESS CONTINUITY. Two different kinds of High Availability (HA) mechanisms can be distinguished in an Oracle virtual environment: Oracle VM HA (external HA) and Oracle Clusterware based. restarting whatever is running within it. internal HA (used for Oracle RAC) as illustrated in figure 3. Oracle VM HA enables the restart of an Oracle VM guest on either the same physical machine or a different machine. in any case. finer grained recovery from a process or application failure within an Oracle VM guest. Utilizing application specific agents. seems to be ideal.

Standalone Oracle VM guest High Availability (no Oracle RAC) Lately. they are not appropriate for production databases. Using Oracle VM HA for Oracle VM guests hosting an Oracle RAC database is therefore not supported in OVM 2. However. solution 1a (Oracle RAC HA and scalability without additional Oracle VM guest HA) must be used. Oracle VM HA cannot insure that VMs containing instances of an active Oracle RAC database would not be co-located on the same physical server. the current support status can be found in Oracle Metalink Note 790189. Possible HA combinations are noted below – supported solutions in bold: 1.e. Without additional Oracle VM guest HA b. Oracle Real Application Clusters in Oracle VM Environments Page 10 . However.com/clusterware. stateless applications in their first release. In conjunction with Oracle VM guest HA 2. highlighted in bold. some vendors of software based virtualization software have announced that they will provide a business continuity or better a “continuous availability” or “fault tolerant” solution that would solely be based on their virtualization software. However. For Oracle Clusterware based solutions regardless of Oracle VM. On the other end of the scale. solution 1b (Oracle RAC HA and scalability in conjunction with Oracle VM guest HA) can be used.Oracle Clusterware and Application Failover Management. This means that for production environments the choice is limited to the solutions listed above.As of Oracle VM 2. for test systems and small development systems. it is limited in its capability to protect the actual application within the virtual environment.oracle. Solution 2 (Oracle Clusterware [failover cluster] provided High Availability) might be an alternative when it comes to single instance databases or applications of any kind that need to be protected against hardware and process failures. More information can be found on http://otn.1 . i.2. Without additional Oracle VM guest HA b. which still provides the full Oracle RAC HA and scalability benefits. For Oracle RAC production environments. solution 3 (Standalone Oracle VM guest High Availability) is fully supported by Oracle.2 and earlier versions. Oracle Real Application Clusters High Availability and Scalability a. Those solutions are still under development and might be suitable for lightweight. In conjunction with Oracle VM guest HA 3. Oracle Clusterware (failover cluster) provided High Availability a. It will nevertheless provide optimal protection against physical hardware failures. non-production environments.

Since Oracle VM Live Migration allows for the relocation of an Oracle VM while respecting the placement and CPU allocation rules for Oracle RAC. An online relocation of an Oracle RAC One Node Database can therefore not be used to migrate between physical and virtual environments. which host an Oracle Clusterware based cluster.LIVE MIGRATION AND ONLINE DATABASE RELOCATION SUPPORT Additional solutions that improve business continuity and availability for Oracle RAC in an Oracle Virtual Machine environment include Oracle VM Live Migration and Online Relocation of Oracle RAC One Node Databases. Oracle VM HA cannot be applied to Oracle VM guests that host an Oracle RAC cluster due to possible violations of Oracle VM placement rules and CPU allocation rules when automatically re-placing an Oracle VM instance after a failure. Oracle VM Live Migration moves a virtual machine from one physical node to another. it can be applied to Oracle VM instances that host an active Oracle RAC Database. However. these servers are virtual machines. Oracle does not support mixed cluster environments. within the same pool of servers. In Oracle VM environments. As pointed out above. Figure 5: Live Migration and Online Relocation of an Oracle RAC One Node Database illustrated Oracle Real Application Clusters in Oracle VM Environments Page 11 . An online relocation of an Oracle RAC One Node Database moves an Oracle database instance from one server to another within the same cluster. Oracle VM Live Migration offers a controlled mechanism for manually moving Oracle VMs between physical nodes in the server pool. As of now. in which some cluster members are based on virtual machines while others are based on physical servers. This provides the ability to service hardware without taking a RAC instance offline.

Oracle Real Application Clusters in Oracle VM Environments Page 12 . and system maintenance operations. Oracle RAC One Node and Online Relocation of Oracle RAC One Node Databases offer instance level migrations between properly configured VMs and facilitate maintenance and workload management within VMs. Live Migration of Oracle VMs offers operating system (OS) level migration to facilitate workload management. together. Oracle Live Migration basically consists of iteratively pre-copying the contents of a source VM’s memory from one physical host to another target VM on a remote host with minimal interruption to service. A typical example for such an operation would be a rolling patch upgrade for a database. if the current server is running short on resources or requires maintenance operations such as OS patches for example. fault management. Online Relocation of Oracle RAC One Node Database will also migrate Oracle RAC One Node databases to target VMs to facilitate database maintenance on the source VM without interruption of service to other database instances that may be running in the source or target VM. Using Online Relocation of Oracle RAC One Node Databases. non-interrupted HA. offer complimentary solutions which support continuous.When to use Live Migration or Online Relocation? Oracle VM Live Migration and Oracle RAC One Node. the Oracle RAC One Node instance can be relocated to another server.

Oracle VM provides those benefits as part of the virtual cluster creation and the rapid provisioning approach. demo. each hosting 1 Oracle RAC database instance. Guest Domain 1 ASM Instance +ASM1 Database 1 Instance 1 Oracle ClusterWare Oracle Enterprise Linux Database 1 Guest Domain 2 ASM Instance +ASM2 Database 1 Instance 2 Oracle ClusterWare Oracle Enterprise Linux Domain-0 Figure 6: Oracle RAC on Oracle VM: Development Deployment example Based on extensive tests. virtual environments and thereby enables these technologies to be used beyond the scope of pure development or test environments.DEPLOYMENT METHODS Historically and typically. Oracle Real Application Clusters in Oracle VM Environments Page 13 . Oracle has certified Oracle RAC on Oracle VM for production environments. This is the first time Oracle supports Oracle RAC in software based. once the current environment is ‘worn out’ by various test runs. Oracle VM is the ideal infrastructure for Oracle RAC used in virtual development. even when used together with Oracle RAC. test. based on only one Oracle VM host. Figure 5 shows a typical Oracle RAC deployment for a development or test environment based on Oracle VM. running on only 1 Oracle VM host. It should be noted that for virtual test or development clusters Oracle allows having the 2 Oracle VM Guest Domains. Easy to re-install by re-deploying a formerly saved base image or template. as described in the previous section. or education clusters. virtualized environments were ideal for development or test environments.

In order to avoid a single point of failure. Guest Domain 1 ASM Instance +ASM1 Database 1 Instance 1 Database 1 Database 1 Instance 2 Guest Domain 1 ASM Instance +ASM2 Oracle ClusterWare Oracle Enterprise Linux Oracle ClusterWare Oracle Enterprise Linux Guest Domain 2 ASM Instance +ASM1 Database 2 Instance 1 Database 2 Database 2 Instance 2 Guest Domain 2 ASM Instance +ASM2 Oracle ClusterWare Oracle Enterprise Linux Oracle ClusterWare Oracle Enterprise Linux Domain-0 Domain-0 Figure 7: Oracle RAC on Oracle VM: Production Deployment example Oracle Real Application Clusters in Oracle VM Environments Page 14 . Unlike test and development environments. hosting an Oracle RAC database instance. each. Having more than one Oracle VM host as the underlying hardware platform to host the Oracle VM Guest domains with the Oracle RAC database instances eliminates the host hardware to be the single point of failure. as illustrated in figure 6. typical production environments would use more than one Oracle VM host for each Oracle VM Guest Domain (minimum 2). again. a minimum of 2 Oracle VM hosts should be used. These kinds of configurations are as well most likely used in server consolidation environments.Oracle VM together with Oracle RAC enable the use of fully virtualized environments as the bases for server consolidation and highly available applications.

Network connectivity can be established within the Oracle VM host. 1. Oracle recommends using a comparable hardware setup for development environments as for production environments. external storage is recommended. 11g Rel.html Oracle Real Application Clusters in Oracle VM Environments Page 15 . This paper will be updated regularly as new test results are available. (4-6 NICs strongly recommended. 3 Ethernet NICs are required.0. For the interconnect 1 Gbit Ethernet is required o • • Network redundancy requirements will double the number or NICs given above accordingly. if no external client connects are required. Hardware requirements for Production Environments: • Minimum of 2 Oracle VM hosts are strongly recommended o Each host must provide a minimum of 2 Ethernet NICs for public and private communication (interconnect).4. Configurations that do not fulfill these requirements are currently not supported. 10 http://www. Oracle RAC Software • Oracle RAC and Oracle Clusterware 10.) Storage redundancy requirements will require a minimum of two HBAs or SCSI controllers. Note: As a minimum. if network based storage connectivity is used. but not required.oracle. the hardware and software requirements listed in the Oracle RAC documentation must be met to deploy Oracle RAC on Oracle VM in production environments.10 Note: Oracle is constantly in the process of testing additional and advanced Oracle VM features with Oracle RAC. Hardware requirements for Development Environments: • • • For Development or non-production environments on a single Oracle VM host.HARDWARE AND SOFTWARE REQUIREMENTS Oracle has certified Oracle RAC in Oracle VM environments based on the following hardware and software requirements. 11g Rel. 2 in 32-bit and 64-bit software versions are currently supported.2.com/technology/documentation/index.

• • Oracle Real Application Clusters in Oracle VM Environments Page 16 . Previous versions are not supported. If no hard partitioning is required. • When using Oracle RAC: o o o Dynamic VCPU and memory changes are not supported. It is. Oracle VM Guest Configuration • • • The guest must be a para-virtualized guest Oracle Enterprise Linux 5.1 or higher) 32-bit and 64-bit Linux is currently supported for the Oracle VM Guest Oracle VM VCPU configuration for Oracle RAC Intensive testing has shown that a small amount of over-committing of physical CPUs will not diminish the overall stability of the system or the cluster stack. VCPU allocation in Oracle RAC / VM environments must therefore adhere to the following rules: • • Maintain Oracle VM’s default VCPU allocation for dom-0: Oracle VM will allocate 1 VCPU for each real CPU or core to dom-0.General Oracle VM Minimum Oracle VM release: 2.1 and later. Oracle RAC One Node is supported with Oracle VM 2. should not exceed two times (2x) the amount of real CPUs / cores in the Oracle VM server.5 and later and Oracle Database 11g Rel.1 or higher (OEL 5. still not recommended to over-commit CPUs. CPU pinning is only recommended for hard partitioning.2 Older releases are not supported with Oracle RAC or Oracle Clusterware. The amount of VCPUs allocated to a single guest domain should not exceed the amount of real CPUs / cores in the Oracle VM server. CPU pinning should not be used. The total amount of VCPUs allocated to guest domains (running Oracle RAC guests).1.1. 2 and later. Live-migration of an Oracle RAC VM is supported with Oracle VM 2. however.2.

6-core Valid configuration (CPUs are not over committed) • • • • • Dom-0 has 24 VCPUs allocated (default allocation) Guest domain 1 (running RAC) has 12 VCPUs allocated Guest domain 2 (running RAC) has 2 VCPUs allocated Guest domain 3 (running RAC) has 4 VCPUs allocated Guest domain 4 (running RAC) has 6 VCPUs allocated Invalid configuration • Dom-0 has 32 VCPUs allocated (non-default allocation) o • Violation 1: non-default dom-0 VCPU allocation Guest domain 1 (running RAC) has 28 VCPUs allocated o Violation 2: allocated VCPUs (28) > real CPUs (24) • • Guest domain 2 (not running RAC) has 8 VCPUs allocated Guest domain 3 (running RAC) has 12 VCPUs allocated Oracle Real Application Clusters in Oracle VM Environments Page 17 . quad core.VCPU allocation examples Example 1: A server with 8 cores – 2 CPUs. Valid configuration (CPUs are over-committed in accordance to the rules) • • • • • Dom-0 has 8 VCPUs allocated (default allocation) Guest domain 1 (running RAC) has 8 VCPUs allocated Guest domain 2 (running RAC) has 4 VCPUs allocated Guest domain 3 (running RAC) has 2 VCPUs allocated Guest domain 4 (running RAC) has 2 VCPUs allocated Invalid configuration • Dom-0 has 4 VCPUs allocated (non-default allocation) o • Violation 1: non-default dom-0 VCPU allocation Guest domain 1 (running RAC) has 10 VCPUs allocated o Violation 2: allocated VCPUs (10) > real CPUs (8) • • Guest domain 2 (running RAC) has 6 VCPUs allocated Guest domain 3 (running RAC) has 8 VCPUs allocated o Violation 3: Total allocated VCPUs (24) > 2x real CPUs (16) Example 2: A server with 24 cores – 4 CPUs.

It is not visible in dom-0. the storage is made available in dom-0 and then made available in the guest domains using the guest’s configuration file. Figure 8: Storage configuration options in Oracle VM Generally. Oracle RAC and Oracle Clusterware are not supported on all possible storage configurations that Oracle VM offers. Guest managed storage In this method of storage configuration. Storage configuration method Dom-0 managed storage Supported with Oracle RAC NFS Guest managed storage • • • • • • • SAN / block device iSCSI / block device SAN / OCFS iSCSI / OCFS Yes Yes No No No Yes Yes iSCSI NFS Table 1: Storage options supported with Oracle RAC Oracle Real Application Clusters in Oracle VM Environments Page 18 . storage configurations can be divided into two groups: Dom-0 managed storage In this method of storage configuration.Oracle VM supported storage configurations for Oracle RAC Oracle VM itself allows configuring storage in many different ways. the storage is made available directly in the guest domain.

which can be used to synchronize the time between cluster members if NTPD is not used in the VM Guests to synchronize the time against an external time server. the Oracle VM Guest time is automatically synchronized with Domain0.ORACLE RAC ON ORACLE VM – BEST PRACTICES Based on extensive tests in the course of the Oracle RAC for Oracle VM certification. Oracle Installation Recommendations Setting diagwait in Oracle Clusterware When running Oracle RAC in highly stressed clusters (CPU and memory utilization). Note: Oracle is constantly in the process of testing additional and advanced Oracle VM features with Oracle RAC. Note that Oracle Grid Infrastructure 11g Rel. the following recommendations should be implemented when running Oracle RAC in Oracle VM: • Configure xen. review Metalink Note 559365. 1 in Oracle VM environments.0. it is strongly recommended to set diagwait to 13 seconds for all installations. This paper will be updated regularly as new test results are available. Oracle recommends setting the diagwait to 13 seconds. Before changing the diagwait value.1 • • See also Metalink Note 580296. 2 provides the Oracle Cluster Time Synchronization Service (CTSS) daemon. Setting the diagwait value is not required anymore. This prevents false evictions and enables a better diagnosis in case of false evictions. This allows the para-virtualized guests to manage their own system clocks. Note that with 11g Rel.2. This time synchronization can allow some time drifting in the guest domains running Oracle RAC. Oracle has developed some best practices recommendations in order to run Oracle RAC in an optimized virtual environment.1 (Clock drift issue between Dom-0 and Dom-U on OVM Server) for more context. Therefore.4 or 11g Rel. please. regardless of utilization. Below you will find some of the recommendations as a result of those tests.conf in the guest domains only. Configure NTPD in dom-0 Configure NTPD with the –x flag in all the guest domains per Metalink Note 1056693.1 (Using Diagwait as a diagnostic to get more information for diagnosing Oracle Clusterware Node evictions). Oracle Real Application Clusters in Oracle VM Environments Page 19 .independent_wallclock=1 in /etc/sysctl. Generic Configuration Recommendations Time synchronization Per default. 2 the diagwait setting has been internalized. When running Oracle RAC 10.

All supported multipathing tools can be used. it is required to configure RAW devices. should also be set up in Domain-0.g.Storage Configuration Multipathing and Device Persistency in Domain-0 For Oracle RAC in Oracle VM environments. ASMLib can be used in the guest domains in order to further simplify OS disk administration. if not already configured as part of the multipathing solution mentioned above. e. O r a c le V M G uest 1 G uest 2 A S M In s t a n c e +A SM 1 A S M In s t a n c e +ASM2 /d e v /x v d a V B D D riv e r V B D D r iv e r /d e v /x v d a D o m a in . when running Oracle RAC 10g Release 2. multipathed access to the (SAN) storage is highly recommended. Oracle recommends using Oracle Automatic Storage Management (ASM) to manage these RAW devices and as the underlying volume manager for the Oracle RAC database files.0 /d e v /s d a M u lt ip a t h in g D r iv e r S A N H o s t B u s A d a p te r p o rt-0 p o rt -1 S A N S w itc h 1 S A N S w itc h 2 P ro c es s o r 0 S A N S to ra g e P ro c e s s o r 1 L U N -1 Figure 9: SAN Storage on Oracle VM Oracle Real Application Clusters in Oracle VM Environments Page 20 . QLogic multipathing. It is strongly recommended to use the Linux native udev tool to create the RAW devices with the right permissions on the disks in the Oracle VM guest. Storage Configuration for the Oracle VM Guests hosting the Oracle RAC database The only configuration that is required to be set up in the Oracle RAC guest domains is the setup of the permissions on the block devices. In addition. Multipathing should be configured in Domain-0 and not in the guest domains. the Linux inherent udev configuration should be used. Optionally. Device Mapper. If the multipathing software doesn’t offer device persistency. There is no need to set up device persistency in the Guest VMs. Device persistency. The mapping of Oracle VM disks to guest disks is done statically in the guest configuration file (see Appendix A for an example). etc.

The actual number of NICs depends on the overall configuration. For these applications the Oracle Cluster File System OCFS2 or the Oracle ASM Cluster File System (ACFS – 11g Rel. 2 or later) should be used in the guest domains. Oracle VM Guest 1 Guest 2 OCFS filesystem /dev/xvda VBD Driver VBD Driver /dev/xvda Domain-0 /dev/sda Multipathing Driver SAN Host Bus Adapter port-0 port-1 SAN Switch 1 SAN Switch 2 Processor 0 SAN Storage Processor 1 LUN-1 Figure 10: SAN Storage with OCFS on Oracle VM Network Configuration Required Networks The Oracle VM host should have a sufficient number of NICs to provide at least two distinct bridges and virtual NICs to the guest domains. Oracle Real Application Clusters in Oracle VM Environments Page 21 . For production systems the number of NICs per Oracle VM host is specified in the “Hardware and Software Requirements” section of this paper.Cluster file system requirements Some applications require running the Oracle RAC database on a cluster file system or relying on some files that need to be available on every node.

a separation of networks for the 1. Network Bonding For production environments it is strongly recommended to have two Network Interface Controllers (NICs) for each network and use Linux bonding to make them highly available. Appendix B explains setting up bonding devices step-by-step.oracle.oracle. Public network Private network Storage network (if applicable) is required for production environments. This results in a requirement of a minimum of four NICs (for public and private network) per Oracle VM host running Oracle RAC as illustrated in figure 8. the Oracle VM host must ensure that the respective communication would not interfere with each other.com:/volume01 Public network Guest 2 /u01/oradata Private network Storage network Storage network eth0 eth1 eth2 eth0 eth1 eth2 Domain-0 xenbr0 xenbr1 xenbr2 bond0 bond1 bond2 eth0 eth1 eth2 eth3 eth4 eth5 Public Network Switch 1 Public Network Switch 2 Private Network Switch 1 Private Network Storage Network Switch 2 Switch 1 Storage Network Switch 2 NetApp Filer: filer01. 3. 2.us.As for any other Oracle RAC configuration.com Exported volume: volume01 Figure 11: Full network bonding in Oracle VM Oracle Real Application Clusters in Oracle VM Environments Page 22 . Therefore. These networks can be shared with multiple Oracle RAC VM Guests on an Oracle VM host. network bandwidth and capacity must be considered in this case (see “Sizing the Oracle VM environment for Oracle RAC” for recommendations). However. which also shows the additional network interfaces. Oracle VM Guest 1 /u01/oradata Public network Private network filer01.us.

The dedicated storage network should be configured in the same way as the public or interconnect network. For performance reasons it is therefore recommended to use at least 1GBit Ethernet network cards (in production environments. Oracle Real Application Clusters in Oracle VM Environments Page 23 . but not recommended. The multipathing drivers usually combine the bandwidth of each path automatically. and the Oracle RAC databases in each of the guest domains. Storage When using SAN storage for your Oracle RAC in Oracle VM deployment. Memory Memory is not shared between domains in Oracle VM. Particular attention should be paid to the following parameters: CPUs and cores Follow the requirements as stated in this document for assigning VCPUs to dom-0 and guest domains.Sizing the Oracle VM Environment for Oracle RAC As a general rule of thumb. multiple NICs can be used to eliminate a single NIC as a SinglePoint-Of-Failure and appropriate bonding configurations can be used to increase bandwidth. When sizing memory for your Oracle RAC VM system. the Linux Operating systems. Load balancing should then be configured in Domain-0 to combine the network bandwidth. Again.” Following this rule when sizing an Oracle VM system Oracle RAC should cover most of the optimization. it is recommended to use a dedicated network interface to access the NAS storage. more than the required minimum amount of network cards should be used. or when deploying guest VMs that require a high amount of network bandwidth. When configuring a larger number of guest VMs on one host. you should “size your Oracle VM environment in a similar way as you would size a non-VM environment. It is supported. Network For an Oracle RAC in Oracle VM environments the general recommendation is to install a minimum amount of 2 NICs per Oracle VM host machine. Keep in mind that the network bandwidth is shared between the different guest domains installed on one Oracle VM host. 1 Gbit Ethernet is required). When using NAS storage (preferably using iSCSI). Oracle Clusterware. more than one HBA can be used to use a higher bandwidth to the storage in the Oracle VM host. For a production environment the recommendation is to have at least 4 network cards installed in the host and use bonding. make sure your system memory is large enough to accommodate the memory needed for Domain-0. to over-commit by a factor of 2.

11g Rel.INSTALLING ORACLE RAC IN ORACLE VM ENVIRONMENTS The following steps describe the complete installation of Oracle RAC in an Oracle VM environment: 1. The current 11g Rel. Optionally.7) RAC cluster. Install Oracle VM 2. and Oracle 11g Automatic Storage Management (ASM). Installation Alternative: Templates Using Oracle VM Oracle RAC templates provide an easy and fast way of deploying an Oracle RAC cluster in Oracle VM for test as well as production environments. 2 as for non-virtualized environments. 6. Install Oracle Clusterware and Oracle RAC 10. following the installation guides for these products.4. More nodes can be added easily.1 (“10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10”).2. Make all necessary configuration changes to the guest operating system as described in the requirements for installing Oracle Clusterware and Oracle RAC. 1 based template is designed to build a 2-node Oracle 11g Release 1 (11. Oracle VM Manager cannot be used to enable this configuration currently.2. networking and time synchronization in Domain-0 of your Oracle VM host(s) following the guidelines described in this document.1 or higher).0. which describes some issues and workarounds for installing Oracle 10gR2 on Oracle Enterprise Linux 5. which includes an Oracle 11g Database. Follow the Oracle VM Server Installation Guide for the details on how to do this. 4. Use udev to configure the raw devices required for installing Oracle RAC 10g Release 2. ASMLib can be used in the guest domains in order to further simplify OS disk administration. Pay attention to Metalink note 414163. 3. 2. 1 or 11g Rel. Oracle 11g Clusterware. Plan your installation carefully.1. Consider the requirements for your new environment and plan accordingly using the guidelines and best practices in this white paper and the official Oracle documentation.1 or higher on the machine(s) on which you want to perform the Oracle RAC installation. Create the para-virtualized guests domains for the Oracle RAC installation using a physical disk partition for the root file system. Follow the instructions in chapter 4 of the Oracle VM Server User’s Guide to create the guest domains. 5. Oracle Real Application Clusters in Oracle VM Environments Page 24 .0. Install and configure the guest operating system (Oracle Enterprise Linux 5. Configure storage.

4. Configuration and benefits at a glance: • The Oracle VM template builds a 2-node Oracle RAC 11g Release 1 (11. etc. OS Watcher. requesting minimal information (e. and Oracle Automatic Storage Management (ASM). patched to the latest recommended patches. • • • Download the Oracle VM Template for Oracle RAC 11g Release 1: o http://edelivery.g. and more tools. Only basic RPM packages are installed. The environment comes loaded with Swingbench.com/oraclevm Figure 12: Oracle Template Deployment Oracle Real Application Clusters in Oracle VM Environments Page 25 . which includes Oracle 11g Clusterware. The final 2-node cluster configuration adheres to the best practices for production systems as described in this paper.7) cluster.0.The entire installation is automated. Oracle 11g Database. The current Oracle VM Oracle RAC template uses an Oracle Enterprise Linux 5. Find more information on how to configure an Oracle 11g RAC o • on Oracle VM in test or production systems.1.) from the user when the first guest is booted at creation time.4 system image for either 32-bit or 64-bit. More nodes can be added easily. node names.oracle. The OS image contains a minimal installation of Oracle Enterprise Linux 5. Oracle Cluster Health Monitor. IP addresses. During the installation process an Oracle RAC database instance is created on both nodes.

Oracle Live Migration basically consists of iteratively pre-copying the contents of a source VM’s memory from one physical host to another target VM on a remote host with minimal interruption to running services. When the Live Migration is complete.4GB (90MB/sec * MC) where MC= misscount set to 60 seconds). At this point. 60 seconds misscount would allow a suspend period of 5. For most applications. the suspend time of the VM could be considerably longer. fault management and system maintenance operations. Assuming a conservative maximum throughput for a single 1GbE shared link provides 90MB/sec. set the Oracle Clusterware misscount back to the default. Issue the following command as root: `crsctl set css misscount 60` This will allow a Live Migration for an application with a potential dirty page set of greater than 2. To avoid these potential failures during a Live Migration of VMs the following best practices should be observed: 1. Oracle Real Application Clusters in Oracle VM Environments Page 26 .LIVE MIGRATION AND ONLINE RELOCATION BEST PRACTICES Oracle VM Live Migration Best Practices Live Migration of VMs offers operating system (OS) level migration to facilitate workload management. But for large highly active applications with potential dirty page sets of greater than 2. the dirty page rate will be low and the suspend time will measure in milliseconds to seconds. 2. Issue the following command as root: `crsctl unset css misscount` Only one Live Migration should be executed at a time. potentially violating clusterware heartbeat thresholds which would trigger node fencing at the Oracle Clusterware level.7GB. the VM is stopped and all remaining dirty pages are copied from the source VM to the target VM..7GB. The stop-and-copy operation to complete the Live Migration is a suspend time blackout of the VM. Multiple. simultaneous Live Migrations within the clustered environment may violate the suspend time thresholds described above. This iterative pre-copy of the memory continues until it is determined that the dirty page rate on the source machine is consistently higher than the memory transfer rate to the target machine. Prior to initiating a Live Migration in an Oracle RAC production environment redefine the Oracle Clusterware misscount from the default of 30 seconds to 60.

Only one online relocation operation should be executed at a time.oracle. high bandwidth network should be used for Live Migrations and the VM guests should be on the same network and IP subnet. a secure connection can be avoided. consider the following: 1.1) User’s Guide is available under: http://www. Online Relocation of an Oracle RAC One Node Database Best Practices The best practices for an online relocation of an Oracle RAC One Node Database remain the same when performing this operation within an Oracle VM based environment as opposed to executing this procedure on physical machines. While Secure Live Migration is enabled by default. If Live Migration is used as a frequent maintenance operation. The default network used by Live Migration is the OVM management network that may be the public network. if the Live Migration network is inherently secure. In general. It is therefore recommended to avoid such secure connections. NOTE: The pause. More information on the Online Relocation of an Oracle RAC One Node Database can therefore be found in the Oracle RAC One Node User’s Guide11. 11 The Oracle RAC One Node 11g Rel. 2. The target VM for an online relocation of an Oracle RAC One Node Database must have adequate OS/system resources to allow for an Oracle RAC One Node instance to run. 2 (11.pdf Oracle Real Application Clusters in Oracle VM Environments Page 27 . if permitted. The target VM must be a configured member of the cluster.2.If possible. suspend and resume OVM management functionality for Guest domains should be avoided when the Guest Domain contains an actively running production RAC instance. When performing an online relocation of an Oracle RAC One Node Database between two Oracle VM guest. a dedicated. it should be considered that a secure connection to the remote guest (using –ssl) adds overhead to the Live Migration operation.0. it is recommended to deploy bonded interfaces used to separate the Dom0/ovs-agent/OCFS2/Live Migration traffic from other application traffic. 3. Any pause or suspend operation could trigger the clusterware to fence the suspended Oracle VM.com/technology/products/database/clustering/pdf/ug_raconenode-2009.

9 or even more sophisticated configurations in the future. there are no limitations in utilizing these standard technologies in (Oracle) enterprise grid infrastructures like the one illustrated in fig. Core Router 1 Core Router 2 Public Network Private Network Oracle VM Host 1 Oracle VM Host 2 Cluster 1 Guest Domain 3 Oracle VM Host 3 Guest Domain 3 Guest Domain 3 Guest Domain 2 Cluster 2 Guest Domain 2 Guest Domain 2 Guest Domain 1 Cluster 3 Guest Domain 1 Guest Domain 1 Domain-0 Domain-0 Domain-0 SAN Switch 1 SAN Switch 2 Storage Processor 0 SAN Storage LUN-2 Storage Processor 1 LUN-1 Storage System Figure 13: Production Architecture Example Oracle Real Application Clusters in Oracle VM Environments Page 28 .SUMMARY Having certified Oracle RAC in Oracle VM based virtual environments and following the recommendations made in this paper.

bridge=xenbr0'.xvda.w!'.w!'. ] vfb = ["type=vnc. 'phy:/dev/shared/sdsk-a1-l21-spb.vncunused=1"] uuid = "3d6f1de4-626c-e02a-42a1-458c9c17e728" bootloader="/usr/bin/pygrub" vcpus=8 on_reboot on_crash = 'restart' = 'restart' Oracle Real Application Clusters in Oracle VM Environments Page 29 .xvdb. 'mac=00:16:3E:10:A5:96.xvdc. bridge=xenbr1'. ] vif = [ 'mac=00:16:3E:00:00:08.APPENDIX A – GUEST CONFIGURATION FILE EXAMPLE # xen config file example for RAC Guest Domain name = "vmhost01-g01" memory = "16384" disk = [ 'phy:/dev/shared/sdsk-a1-l20-spb.w!'. 'phy:/dev/shared/sdsk-a1-l22-spb.

eth2 and eth3. This setup is meant to support an Oracle RAC running in VM guest domains. The eth2 and eth3 interfaces are dedicated to “private” connectivity.APPENDIX B – BONDING SETUP EXAMPLE Disclaimer: Making changes to the network configuration of an Oracle VM machine to the following extend must be performed using remote or direct console access to the machine. Direct or remote console access will be required to finish the configuration. eth1. configured in dom-0. network connectivity to dom-0 will be lost. The network devices used in this example are eth0. The eth0 and eth1 interfaces are dedicated to “public” connectivity./network-bridges stop Create a script that only returns “true” in the /etc/xen/scripts directory. The bond0 bonding device will be attached to the xenbr0 bridge. A separate public and private network is required. Any other modes might require specific switches and a certain switch configuration. These interfaces are not used for external connectivity and therefore do not get any other IP addresses assigned. The bonding mode used in this example is mode 1. In the course of this configuration. For example: /etc/xen/scripts/network-bridge-dummy #!/bin/sh /bin/true Oracle Real Application Clusters in Oracle VM Environments Page 30 . These interfaces will be part of the bond0 bonding device. These interfaces will be part of the bond1 bonding device. active-backup. Step 1: Restoring and disabling the xend Network Configuration Execute the following commands as root to restore the network configuration changed by xend: # cd /etc/xen/scripts/ # . based on 4 Ethernet Network Interface Cards (NIC). The bond1 bonding device will be attached to the xenbr1 bridge. The dom-0 IP address will also be configured on bridge xenbr0 in order to ensure connectivity to dom-0. Introduction The following example shows how to create two bonding devices and two bridges to be used by the guests. This is the easiest mode and will work on most switches without any problems.

which this network interface will be part of.In the /etc/xen/xend-config.sxp change the following line from: (network-script network-bridges) to (network-script network-bridge-dummy) Step 2: Loading the Bonding Modules Add the following lines to the /etc/modprobe. Then configure the bonding device bond0 as follows: In /etc/sysconfig/network-scripts/ifcfg-bond0 set: DEVICE=bond0 ONBOOT=yes BRIDGE=xenbr0 Oracle Real Application Clusters in Oracle VM Environments Page 31 . The SLAVE parameter defines this network card as a slave of a bond-device. edit /etc/sysconfig/network-scripts/ifcfg-eth0 file as follows: DEVICE=eth0 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes USERCTL=no HWADDR=00:14:22:10:A5:F7 For /etc/sysconfig/network-scripts/ifcfg-eth1: DEVICE=eth1 BOOTPROTO=none ONBOOT=yes MASTER=bond0 SLAVE=yes USERCTL=no HWADDR=00:14:22:10:A5:F8 The HWADDR is the pointer to the network card (MAC address) being used. The MASTER parameter points to the actual bonding device.conf: alias bond0 bonding alias bond1 bonding options bonding max_bonds=2 Add more alias lines and increase the max_bonds parameter as required. Step 3: Configuring the network devices and bridges for public connectivity To configure the eth0 and eth1 interfaces.

166. edit /etc/sysconfig/network-scripts/ifcfg-eth2 as follows: DEVICE=eth2 BOOTPROTO=none ONBOOT=yes MASTER=bond1 SLAVE=yes USERCTL=no HWADDR=00:04:23:BB:54:66 For: /etc/sysconfig/network-scripts/ifcfg-eth3 DEVICE=eth3 BOOTPROTO=none ONBOOT=yes MASTER=bond1 SLAVE=yes USERCTL=no HWADDR=00:04:23:BB:54:67 Then configure the bonding device bond1 by editing /etc/sysconfig/network-scripts/ifcfg-bond1 as follows: DEVICE=bond1 ONBOOT=yes BRIDGE=xenbr1 BONDING_OPTS="mode=active-backup miimon=50 downdelay=200 updelay=200 use_carrier=1" Oracle Real Application Clusters in Oracle VM Environments Page 32 . The parameters NETWORK and BROADCAST are deprecated. The BRIDGE parameter specifies that this bonding interface does not have an IP address configured to it.252. Step 4: Configuring the network devices and bridges for private connectivity To configure the eth2 and eth3 interfaces. These will be automatically calculated with ipcalc.0 An IP address is assigned to xenbr0 using the IPADDR and NETMASK in order to ensure connectivity to dom-0. but will be connected to bridge xenbr0.150 NETMASK=255.BONDING_OPTS="mode=active-backup miimon=100 downdelay=200 updelay=200 use_carrier=1" Note that the parameter BONDING_OPTS used in the configuration file illustrated above allows for setting the bonding options for each individual bonding interface. In /etc/sysconfig/network-scripts/ifcfg-xenbr0 set: DEVICE=xenbr0 ONBOOT=yes STP=off IPADDR=130.255.35.

34 NETMASK=255. which otherwise would be performed by xend automatically.255.In /etc/sysconfig/network-scripts/ifcfg-xenbr1 set: DEVICE=xenbr1 ONBOOT=yes STP=off Step 5: Restart Oracle VM To activate the changes made to the network configuration. in the following it is explained how to set up bridges on a non-bonded interfaces. its is recommended to restart the machine. Edit /etc/sysconfig/network-scripts/ifcfg-eth4 as follows: DEVICE=eth4 BOOTPROTO=none ONBOOT=yes USERCTL=no BRIDGE=xenbr3 HWADDR=00:04:23:AA:51:23 In /etc/sysconfig/network-scripts/ifcfg-xenbr3 set: DEVICE=xenbr3 ONBOOT=yes STP=off IPADDR=192.168. which requires to disable the xend based network and bridge configuration. Oracle Real Application Clusters in Oracle VM Environments Page 33 . This example assumes a configuration of a bridge configured directly on top of an Ethernet interface. This example uses the network interface eth4 and bridge xenbr3.255.20.0 The IPADDR and NETMASK parameters are optional and only required if connectivity to dom-0 needs to be established through this interface. but without the use of bonding. If required: Configuring bridges on interfaces without bonding For the purpose of completeness and since this guide explains how to use bonding. by executing the reboot command in dom-0.

com/pls/db112/to_toc?pathname=install.htm http://www.com/pls/db111/to_toc?pathname=install.1 : Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.oracle.com/virtualization http://wiki.111/b28264/toc.0) on RHEL5/OEL5 Note 790189.APPENDIX C – REFERENCES Oracle VM on oracle.1 : Enabling network bonding in Oracle VM Note 735975.1 : Configuring raw devices (singlepath) for Oracle Clusterware 10g Release 2 (10.111/b28263/toc.oracle.com/pls/db112/to_toc?pathname=install.com/pls/db111/to_toc?pathname=install.com/technology/tech/linux/asmlib/index.oracle.oracle.oracle.com/docs/cd/B19306_01/install.com: http://www.1 : Clock drift issue between Dom-0 and Dom-U on OVM Server Note 564580.com/rac Oracle Clusterware on oracle.com/Oracle+VM http://otn.1 : 10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10 Note 738269.2.112/e10812/toc.1 : Oracle Clusterware and Application Failover Management Oracle Real Application Clusters in Oracle VM Environments Page 34 .com/asm Oracle RAC documentation: http://download.com: http://otn.112/e10813/toc.oracle.102/b14203/toc.com : Oracle VM on the Wiki : Oracle RAC on oracle.1 : Oracle VM: Configuring Quality of Service (QoS) for Guest Virtual Machines Note 580296.htm http://www.oracle.oracle.html http://otn.htm http://www.2.oracle.oracle.com/clusterware Oracle ASM on oracle.com: Oracle ASMLib: http://www.htm Metalink Notes Note 414163.htm http://www.oracle.0) on RHEL5/OEL5 Note 465001.

. 20 Figure 10: SAN Storage with OCFS on Oracle VM .............................................................. 7 Figure 4: Oracle VM HA and Oracle RAC ................... 14 Figure 8: Storage configuration options in Oracle VM............................................................................. 9 Figure 5: Live Migration and Online Relocation of an Oracle RAC One Node Database illustrated ..........................typical architecture overview ................................................................ 25 Figure 13: Production Architecture Example ............................................. 21 Figure 11: Full network bonding in Oracle VM ............................ 11 Figure 6: Oracle RAC on Oracle VM: Development Deployment example .................... 18 Figure 9: SAN Storage on Oracle VM.................. 22 Figure 12: Oracle Template Deployment .................................................................................. 28 Oracle Real Application Clusters in Oracle VM Environments Page 35 ............................................................................................................ 6 Figure 3: Oracle VM overview. 13 Figure 7: Oracle RAC on Oracle VM: Production Deployment example ........ 5 Figure 2: Oracle RAC One Node .APPENDIX D – TABLE OF FIGURES Figure 1: Oracle Real Application Clusters Overview .......................................................................

1 and earlier. File backed VBDs are not supported in an Oracle RAC on Oracle VM deployment Using P2V to convert from bare metal to virtual images is not supported for RAC guest creation.1.2 does not have this limitation.2. o Oracle VM Manager 2. since P2V produces HVM images Oracle Real Application Clusters in Oracle VM Environments Page 36 . Full HugePage support is targeted for the Xen 3.0 kernel.2 cannot be used to create Guest VMs running Oracle RAC. This is due to the requirement for Oracle RAC to use physical devices as Virtual Block Devices (VBDs).APPENDIX E – KNOWN LIMITATIONS • Oracle VM Manager 2. • • • No support for HugePages in Xen kernels 2.

Oracle Real Application Clusters in Oracle VM Environments June 2010. Saar Maoz. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Adam Hawley. nor subject to any other warranties or conditions. Xu Wang Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores.506. This document may not be reproduced or transmitted in any form or by any means. Wim Coekaerts. Nitin Vengurlekar.7200 oracle. electronic or mechanical. This document is provided for information purposes only and the contents hereof are subject to change without notice. . without our prior written permission. including implied warranties and conditions of merchantability or fitness for a particular purpose.S. Markus Michalewicz Contributing Authors: Chris. whether expressed orally or implied in law. Rene Kundersma.650. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document.506. Oracle Corporation and/or its affiliates. Michael Timpanaro-Perrotta. John McHugh.7000 Fax: +1.com Copyright © 2008. Barb Lundhild. All rights reserved. Version 1. CA 94065 U.6 Authors: Daniel Dibbets. Barclay. This document is not warranted to be error-free. for any purpose.A. Worldwide Inquiries: Phone: +1.650.

Sign up to vote on this title
UsefulNot useful