失效链接处理 |
Oracle安装11G RAC(DNS版本) PDF 下载
本站整理下载:
相关截图:
主要内容:
一、环境介绍
此次安装的oracle为11.2.0.3,Redhat环境为6.8
二、前期准备
1.上传6.8安装oracle的缺失包,一级安装需要的软件和脚本
2.安装Redhat6.8缺失的pdk包:rpm -ivh pdksh-5.2.14-30.x86_64.rpm --nodeps
3.执行安装前脚本
4.修改udev的裸设备路径vi /etc/udev/rules.d/60-raw.rules
ACTION=="add", KERNEL=="sdb1", RUN+="/bin/raw /dev/raw/raw1 %N"
ACTION=="add", KERNEL=="sdb2", RUN+="/bin/raw /dev/raw/raw2 %N"
ACTION=="add", KERNEL=="sdb3", RUN+="/bin/raw /dev/raw/raw3 %N"
ACTION=="add", KERNEL=="sdc1", RUN+="/bin/raw /dev/raw/raw4 %N"
ACTION=="add", KERNEL=="sdc2", RUN+="/bin/raw /dev/raw/raw5 %N"
ACTION=="add", KERNEL=="sdc3", RUN+="/bin/raw /dev/raw/raw6 %N"
ACTION=="add", KERNEL=="sdd1", RUN+="/bin/raw /dev/raw/raw7 %N"
ACTION=="add", KERNEL=="sdd2", RUN+="/bin/raw /dev/raw/raw8 %N"
ACTION=="add", KERNEL=="sdd3", RUN+="/bin/raw /dev/raw/raw9 %N"
KERNEL=="raw[1-9]",OWNER="grid",GROUP="asmadmin" MODE="660"
KERNEL=="raw1[0-2]",OWNER="grid",GROUP="asmadmin" MODE="660"
5.启动udev,让其配置生效
6.登录grid(oracle)用户配置两节点互信:ssh-keygen -t rsa/dsa
7.把自动生成的公钥传送到其他节点scp id_rsa.pub node2:/home/grid/.ssh/id_rsa.pub0 && scp id_dsa.pub node2:/home/grid/.ssh/id_dsa.pub0
8.在其他节点把所有的公钥cat到authorized_keys,然后把authorized_keys传到其他节点
9.使用ssh node date进行验证,是都需要密码,如果不需要,则表示互信成功了ssh rac0 date && ssh rac0priv date && ssh rac0.localdomain date && ssh rac0priv.localdomain date&& ssh rac2 date && ssh rac2priv date && ssh rac2.localdomain date && ssh rac2priv.localdomain date
三、DNS配置
1.修改/etc/named.conf,把里面的127.0.0.1和localhost改为any
|