Many users want to know about Oracle RAC, but lack hardware conditions to install and understand RAC. Here we apply the Oracle VM and install it on the Xen virtual machine.
The Oracle VM was officially launched on November 12, 2007, and the latest version is 2.1.1. It is a virtualization software based on open source Xen Manager that supports Oracle and non-Oracle applications. The OTN can be downloaded for free to related resources. Users can quickly create virtual machines and virtual disks in a variety of ways in OVM.
1 Creating a virtual machine
Here we create 2 virtual machines as 2 nodes in the cluster.
• Create virtual machines rac1_13 and rac2_13 through Oracle Virtual Machine template.
• Virtual machine memory is at least 1G
• Each machine should create 2 virtual NIC, as shown in the following illustration:
• The OS version of a virtual machine that is a RAC node should be consistent, where we all choose Oracle Enterprise Linux Release 4 Update 5.
• Created, all nodes in "power on".
2 Preparation of Clusterware before installation
2.1 Check the system hardware environment (on all nodes)
System hardware conditions should at least meet
1g RAM
# grep Memtotal/proc/meminfo
· Swap 1.5G
# grep Swaptotal/proc/meminfo
/tmp >400MB
# DF-K/tmp
650MB disk space as Oracle Clusterware home
1g disk space for Oracle Clusterware file
If redundancy is considered, additional partitions will be required
• At least 4G of disk space as Oracle Database home
• Virtual machine disk space is not enough, you can increase the virtual disk method to solve