Step by Step Oracle RAC on Veritas DBE/AC

在Solaris中安装Veritas DBAC for Oracle RAC


一、 安装Solaris 9 8/03版本,由于该版本是Solaris操作系统的最新版,所以不需要在安装补丁程序 。
二、 使用Sun公司发布的补丁盘,安装SUNWsan软件包和补丁包
三、 为要安装Oracle RAC的Sun V880设置好网络
主机A:
机器名:rac1
网卡 eri0:192.0.0.101/255.255.255.0 用于做心跳网卡2
网卡 ge0:192.0.1.101/255.255.255.0 用于做心跳网卡1
网卡 ce0:172.39.199.101/255.255.255.0 用于做对外服务网卡

主机A具体配置文件如下:
l /etc/hosts文件的内容:
#
# Internet host table
#
127.0.0.1 localhost
192.168.0.101 rac1 loGhost a.b
192.168.0.102 rac2
192.168.1.101 rac1-ge0
172.39.199.101 rac1-ce0

l /etc/netmasks文件的内容
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center. Currently this number is restricted to being a class
# A, B, or C network number. In the future we should be able to support
# arbitrary network numbers per the Classless Internet Domain Routing
# guidelines.
#
# Both the network-number and the netmasks are specifIEd in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0
#
192.168.0.0 255.255.255.0
172.39.199.0 255.255.255.0

l /etc/hostname.eri0文件的内容:
rac1

l /etc/hostname.ge0文件的内容:
rac1-ge0

l /etc/hostname.ce0文件的内容:
rac1-ce0

l /etc/hosts.equiv文件的内容:


l /etc/notrouter文件是一个空文件

l /etc/defaultrouter文件的内容
172.16.199 。254

l /.rhosts文件的内容
rac1
rac2


主机B:
机器名:rac2
网卡 eri0:192.0.0.102/255.255.255.0 用于做心跳网卡2
网卡 ge0:192.0.1.102/255.255.255.0 用于做心跳网卡1
网卡 ce0:172.39.199.102/255.255.255.0 用于做对外服务网卡

具体配置文件如下:
l /etc/hosts文件的内容:
#
# Internet host table
#
127.0.0.1 localhost
192.168.0.102 rac2 loghost a.b
192.168.0.101 rac1
192.168.1.102 rac2-ge0
172.39.199.102 rac2-ce0

l /etc/netmasks文件的内容
#
# The netmasks file associates Internet Protocol (IP) address
# masks with IP network numbers.
#
# network-number netmask
#
# The term network-number refers to a number obtained from the Internet Network
# Information Center. Currently this number is restricted to being a class
# A, B, or C network number. In the future we should be able to support
# arbitrary network numbers per the Classless Internet Domain Routing
# guidelines.
#
# Both the network-number and the netmasks are specified in
# "decimal dot" notation, e.g:
#
# 128.32.0.0 255.255.255.0
#
192.168.0.0 255.255.255.0
172.39.199.0 255.255.255.0

l /etc/hostname.eri0文件的内容:
rac2

l /etc/hostname.ge0文件的内容:
rac2-ge0

l /etc/hostname.ce0文件的内容:
rac2-ce0

l /etc/hosts.equiv文件的内容:


l /etc/notrouter文件是一个空文件

l /etc/defaultrouter文件的内容
172.16.199.254

l /.rhosts文件的内容
rac1
rac2


四、 为两台主机的超级用户加上如下环境变量

l 在文件/ 。Profile中加上以下内容
PATH=/sbin:/usr/sbin:/usr/bin:/usr/lib/vxvm/bin:/usr/lib/fs/vxfs:/opt/VRTSvxfs/sbin:
/opt/VRTSvcs/bin:/opt/VRTSvcs/rac/bin:/opt/VRTSob/bin:$PATH
export PATH

MANPATH=/usr/share/man:/opt/VRTS/man
export MANPATH


五、 使用超级用户的身份登录到系统RAC1上,将VERITAS DBE/AC for Oracle9i RAC software介质放入RAC1的CDROM中,等待一会后,运行Veritas安装脚本 。

推荐阅读