集群数据库安装手册目录1.准备工作...................................................................................................................................21.1服务器信息...................................................................................................................21.2系统安装磁盘划分.......................................................................................................21.3网络检查.......................................................................................................................31.4NTP配置.......................................................................................................................41.5创建用户和组.....................................................................................................................51.6创建用户等效性(ssh配置)[需测试]..................................................................................51.7创建目录.............................................................................................................................61.8配置用户环境变量.............................................................................................................61.9上传安装包.........................................................................................................................71.10检查硬件...........................................................................................................................81.10补丁安装(x86_64)............................................................................................................81.10.1系统包(32位的和64位的包均要检查!).............................................................81.11内核参数配置...................................................................................................................81.12CVU集群验证....................................................................................................................91.13配置裸设备........................................................................................错误!未定义书签。1.13.1格式化分区..........................................................................错误!未定义书签。1.13.2配置裸设备.............................................................................错误!未定义书签。2.RAC安装...................................................................................................................................92.1GridInfrastructure安装...............................................................................................92.1.1GI安装(11.2.0.4.0)............................................................................................92.2Database安装............................................................................................................172.2.1Database安装(11.2.0.4.0)..............................................................................172.3创建监听器.................................................................................................................263.创建实例.................................................................................................................................26集群数据库安装手册第2页/共35页1.准备工作1.1服务器信息机器名IP虚拟IP私有IPyxhis110.208.108.10010.208.108.101192.168.108.100yxhis210.208.108.10210.208.108.103192.168.108.1021.2系统安装磁盘划分多路径软件安装:device-mapper-multipath-0.4.9-72.el6.x86_64.rpmdevice-mapper-multipath-libs-0.4.9-72.el6.x86_64.rpm补丁安装:compat-libcap1-1.10-1.x86_64.rpmcompat-libstdc++-33-3.2.3-69.el6.x86_64.rpmcvuqdisk-1.0.9-1.rpmlibaio-devel-0.3.107-10.el6.x86_64.rpmpdksh-5.2.14-30.x86_64.rpm配置多路径:方法1:手工修改配置/etc/multipath.conf(从安装路径复制,如/usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf)方法2:multipathenable(未测试)启动multipathd服务:servicemultipathdstart设置开机启动服务:chkconfigmultipathdon将下面内容记录到/ETC/RC.LOCAL中,raw/dev/raw/raw1/dev/mapper/mpatharaw/dev/raw/raw2/dev/mapper/mpathbraw/dev/raw/raw3/dev/mapper/mpathcraw/dev/raw/raw4/dev/mapper/mpathdraw/dev/raw/raw5/dev/mapper/mpathe集群数据库安装手册第3页/共35页sleep5/bin/chown-Rgrid:oinstall/dev/mapper/mpatha/bin/chown-Rgrid:oinstall/dev/mapper/mpathb/bin/chown-Rgrid:oinstall/dev/mapper/mpathc/bin/chown-Rgrid:oinstall/dev/mapper/mpathd/bin/chown-Rgrid:oinstall/dev/mapper/mpathechmod-R660/dev/raw/raw1chmod-R660/dev/raw/raw2chmod-R660/dev/raw/raw3chmod-R660/dev/raw/raw4chmod-R660/dev/raw/raw5/bin/chown-Rgrid:oinstall/dev/raw/raw1/bin/chown-Rgrid:oinstall/dev/raw/raw2/bin/chown-Rgrid:oinstall/dev/raw/raw3/bin/chown-Rgrid:oinstall/dev/raw/raw4/bin/chown-Rgrid:oinstall/dev/raw/raw5位置用处说明/dev/raw/raw1/dev/raw/raw2/dev/raw/raw3OCR盘采用ASM方式,大小各2G,挂载/dev/raw/raw1,/dev/raw/raw2,/dev/raw/raw3/dev/raw/raw4存放数据文件采用ASM方式,大小500G,挂载/dev/raw/raw2/dev/raw/raw5FRA采用ASM方式,大小300G,挂载/dev/mapper/mpathc1.3网络检查主机公有网络、私有网络网卡IP的配置。配置/etc/hosts127.0.0.1localhost#Public10.208.108.141yxsjkhddb110.208.108.143yxsjkhddb2集群数据库安装手册第4页/共35页#Private192.168.108.141yxsjkhddb1-priv192.168.108.143yxsjkhddb2-priv#Virtual10.208.108.142yxsjkhddb1-vip10.208.108.144yxsjkhddb2-vip#SCAN10.208.108.145yxsjkhddb-scan1.4NTP配置(未配置)1.检查时区:检查/etc/sysconfig/clock设置:ZONE=Asia/Shanghai(Linux会拷贝/usr/share/zoneinfo/Asia/Shanghai到/etc/locatime作为本地时区,