Before you launch into this installation, here are a few things to consider.
The finished system includes the host operating system, two guest operating
systems, two sets of Oracle Grid Infrastructure (Clusterware + ASM) and two
Database instances all on a single server. As you can imagine, this requires a
significant amount of disk space, CPU and memory.
Following on from the last point, the VMs will each need at least 3G of RAM,
preferably 4G if you don't want the VMs to swap like crazy. Don't assume you will be
able to run this on a small PC or laptop. You won't.
This procedure provides a bare bones installation to get the RAC working. There is
no redundancy in the Grid Infrastructure installation or the ASM installation. To add
this, simply create double the amount of shared disks and select the "Normal"
redundancy option when it is offered. Of course, this will take more disk space.
During the virtual disk creation, I always choose not to preallocate the disk space.
This makes virtual disk access slower during the installation, but saves on wasted
disk space. The shared disks must have their space preallocated.
This is not, and should not be considered, a production-ready system. It's simply to
allow you to get used to installing and using RAC.
The Single Client Access Name (SCAN) should be defined in the DNS or GNS and
round-robin between one of 3 addresses, which are on the same subnet as the public
and virtual IPs. Prior to 11.2.0.2 it could be defined as a single IP address in the
"/etc/hosts" file, which is wrong and will cause the cluster verification to fail, but it
allowed you to complete the install without the presence of a DNS. This does not
seem to work for 11.2.0.2 onward.
The virtual machines can be limited to 2Gig of swap, which causes a prerequisite
check failure, but doesn't prevent the installation working. If you want to avoid this,
define 3+Gig of swap.
This article uses the 64-bit versions of Windows and Oracle 11g Release 2.
In this article I am using a Oracle Linux as my host OS.
Download Software
评论7
最新资源