没有合适的资源?快使用搜索试试~ 我知道了~
首页有关于Oracle11g RAC技术应用基于VBox实验的官方文档(英文版)
资源详情
资源评论
资源推荐
Oracle Database 11g Release 2 (11.2.0.3.0) RAC On
Oracle Linux 6.1 Using VirtualBox
This article describes the installation of Oracle Database 11g release 2 (11.2.0.3 64-bit) RAC
on Linux (Oracle Linux 6.1 64-bit) using VirtualBox (4.1.4) with no additional shared disk
devices.
Introduction
Download Software
VirtualBox Installation
Virtual Machine Setup
Guest Operating System Installation
Oracle Installation Prerequisites
Install Guest Additions
Create Shared Disks
Clone the Virtual Machine
Install the Grid Infrastructure
Install the Database
Check the Status of the RAC
Introduction
One of the biggest obstacles preventing people from setting up test RAC environments is the
requirement for shared storage. In a production environment, shared storage is often provided
by a SAN or high-end NAS device, but both of these options are very expensive when all you
want to do is get some experience installing and using RAC. A cheaper alternative is to use a
FireWire disk enclosure to allow two machines to access the same disk(s), but that still costs
money and requires two servers. A third option is to use virtualization to fake the shared
storage.
Using VirtualBox you can run multiple Virtual Machines (VMs) on a single server, allowing you
to run both RAC nodes on a single machine. In additon, it allows you to set up shared virtual
disks, overcoming the obstacle of expensive shared storage.
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. As you can see, 11gR2
RAC requires much more memory than 11gR1 RAC. 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 Oracle Linux and Oracle 11g Release 2.
When doing this installation on my server, I split the virtual disks on to different
physical disks ("/u02", "/u03", "/u04"). This is not necessary, but makes things run a
bit faster.
Download Software
Download the following software.
Oracle Linux 6.1
VirtualBox (Must be version 4.1.2 or later)
Oracle 11g Release 2 (11.2.0.3) Software (64 bit)
VirtualBox Installation
First, install the VirtualBox software. On RHEL and its clones you do this with the following
command as the root user.
Once complete, VirtualBox is started from the "Applications > System Tools > Oracle VM
VirtualBox" menu option.
Virtual Machine Setup
Now we must define the two virtual RAC nodes. We can save time by defining one VM, then
cloning it when it is installed.
Start VirtualBox and click the "New" button on the toolbar. Click the "Next" button on the first
page of the Virtual Machine Wizard.
Enter the name "ol6-112-rac1", OS "Linux" and Version "Oracle (64 bit)", then click the "Next"
button.
Enter "4096" as the base memory size, then click the "Next" button.
Accept the default option to create a new virtual hard disk by clicking the "Next" button.
Click the "Next" button on the Create Virtual Disk Wizard welcome screen.
Acccept the default option by clicking the "Next" button.
剩余51页未读,继续阅读
伍婷
- 粉丝: 300
- 资源: 10
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1