2.1
系统硬件环境检查
....................................................................................................6
2.1.1 Oracle11gR2 RAC
最低安装要求:
.................................................................6
2.1.2
验证方法:
.........................................................................................................6
2.1.2.1
确认内存大小
............................................................................................6
2.1.2.2
确认
SWAP
空间,最少
4G
。
..................................................................6
2.1.2.3
确认
/tmp
大于
1.5GB
和
/oracle
目录空间
15GB......................................6
2.1.2.4
确认系统结构
............................................................................................7
2.1.2.5
确认系统
CPU
个数和主频:
...................................................................7
2.2
安装操作系统软件包
................................................................................................7
2.2.1
安装
FILESETS..................................................................................................7
2.2.2
安装
PATCHES...................................................................................................8
2.3
配置
IP
地址
...............................................................................................................9
2.4
修改
/etc/hosts
文件
.....................................................................................................9
2.5
文件系统准备
...........................................................................................................10
2.5.1
方法
1
:使用命令创建
....................................................................................10
2.5.2
方法
2
:使用
smit
创建
...................................................................................10
2.6
调整系统参数
...........................................................................................................11
2.6.1
打开异步
IO......................................................................................................11
2.6.2
调整虚拟内存管理
..........................................................................................12
2.6.3
调整
maxuproc
(系统最大进程数)和
ncargs
(系统块大小)参数
..........12
2.6.4
调整
SHELL
限制
............................................................................................13
2.6.5
确认网络配置参数
..........................................................................................13
2.7
创建用户、组
...........................................................................................................14
2.7.1
要求
...................................................................................................................14
2.7.2
创建命令:
.......................................................................................................14
2.7.3
修改用户属性
..................................................................................................15
2.7.3.1 grid
用户
....................................................................................................15
2.7.3.2 oracle
用户
.................................................................................................15
2.7.3.3 root
用户
....................................................................................................16
2.8
用户环境变量设置
..................................................................................................16
2.8.1 grid
用户
...........................................................................................................16
2.8.2 oracle
用户
........................................................................................................17
2.9
用户
shell
限制
.........................................................................................................18
2.10
创建安装目录并修改权限
......................................................................................18
2.11 SSH
信任关系设置(可选)
..................................................................................19
2.11.1
首先在两台机器上安装好
OpenSSH
软件;
................................................19
2.11.2
然后在
grid
安装中选择自动配置
SSH
双机信任关系
.................................19
2.11.2.1
方法
1......................................................................................................19
2.11.2.2
方法
2......................................................................................................20
2.12 配置磁盘设备
...........................................................................................................20
2.12.1
设置磁盘属性
..................................................................................................20
2.12.2
修改用于数据库存储的
PV
的属主
...............................................................21
2.12.3
修改用于数据库存储的
PV
的权限
...............................................................21
2.12.4
清除
PVID........................................................................................................21
评论