RedHat 5 下安装 Oracle 11gR2 RAC 环境
安装前准备
1、 硬件需求
A minimum of 2 GB RAM is required for the complete Grid Infrastructure
and RAC software installation.
(1)至少2g的内存(for database & grid infrastrature)
本环境:每个2g内存
A minimum of 1 GB free space is required in the /tmp directory.
(2)至少1g的临时目录空间,这个尽可能要大一点,因为如果使用amm,会用到tmp空间,它的大小应该=swap+phycal memory/2。
本环境:每个5g
By default, tmpfs is allocated from virtual memory. Thus it can include both physical RAM and swap
space, and it is sized to half of physical memory without swap space. However, unlike huge pages, which
you will learn more about later in this chapter, tmpfs memory allocation is dynamic. Therefore, if tmpfs
is not used, it does not take any allocation of memory, and it does not require a change in settings if
AMM is not used. When AMM is used, Oracle allocates a number of memory mapped files in tmpfs.
These files are allocated with at a file, or granule, size ranging from 4MB to MEMORY_MAX_TARGET of 1GB
and 16ater than 1GB. The allocated files can be identified by the shmid of the
corresponding single page shared memory segment. The following example shows single page shared
memory segments for both an ASM instance and a database instance:
A minimum of 10 GB free space for the entire Clusterware/Grid and RAC
software homes is required.
(3)至少10gb的空闲空间(for database & grid infrastrature)
本环境/u01/ 每个20g
Ensure that you have prepared shared storage in which to place Clusterware
critical components: Oracle Cluster Registry (OCR) and Voting Disk.
(4)确定拥有共享存储用来存放 ocr&vote disk 。
本环境:查看第三章存储规划
Also ensure that you have adequate shared storage disks for Automatic
Storage Management, if you consider using ASM to host the datafiles.
(5)确保充足的空间供asm使用来存放数据库文件。
本环境:查看第三章存储规划
Configure the server swap size to be 1.5 time if the RAM on the server
is <=2 GB.

(6)swap空间至少为内存的1.5倍,至少为2gb
本环境:4g
Each server must have a minimum of two network adapters
or network interface cards (NIC) configured to be able to support the public
and private networks.
(7)至少拥有两块网卡,用来提供public network 和 private network
本环境:虚拟机提供的两块hostonly网卡(因为经常单机工作,如果有网络环境可以考虑briged+hostonly)
RedHat 5 下安装 Oracle 11gR2 RAC 环境 PDF版下载
免费下载地址在 http://linux.linuxidc.com/
用户名与密码都是www.linuxidc.com
具体下载目录在 /2012年资料/8月/10日/RedHat 5 下安装 Oracle 11gR2 RAC 环境
教材具体内容:
一、 安装环境
二、 拓扑图
三、 存储规划
四、 网络规划
五、 安装前准备
1、 硬件需求
2、 网络需求
dns+dhcp 服务器ip设置
dns设置
dex.com域设置
grid.dex.com域设置
反向解析域设置
解析设置
最后验证一下
dhcp设置
3、 内核参数
4、 依赖包
5、 时间同步ntpserver
6、 配置用户和组
7、 配置ssh互信
8、 配置asm磁盘
六、 安装grid
七、 安装database软件
八、 建库
九、 配置em
十、 附录
错误解决方案
1、 tmp目录权限不足
2、 ntp running failed
拓容
配置共享磁盘的方法
客户端连接
