You are on page 1of 6

北京时代朝阳数据库技术中心 Trail 实验室 www.zhaoyang-db.

com

时代朝阳会员专区:Oracle RAC 集群

安装前运行 rootpre.sh 并进行 cluvfy 检查

达成的目标/方案
1 运行 rootpre.sh Script(节点 1 和 2)

2 网络检查:cluvfy

3 版本 1.0.0

详细操作过程描述

运行 rootpre.sh Script(节点 1 和 2)

在节点 1 运行 rootpre
1 如不是 root,则切换到 root 用户:

$ su - root

2 进入 rootpre 所在的目录,查看:

时代朝阳会员专区:Oracle RAC 集群 第 1 页
www.zhaoyang-db.com/huiyuan
北京时代朝阳数据库技术中心 Trail 实验室 www.zhaoyang-db.com

运行:

# ./rootpre.sh

在节点 2 运行 rootpre
1 运行 rootpre.sh

时代朝阳会员专区:Oracle RAC 集群 第 2 页
www.zhaoyang-db.com/huiyuan
北京时代朝阳数据库技术中心 Trail 实验室 www.zhaoyang-db.com

网络检查:cluvfy(节点 1)
1 $ ./runcluvfy.sh comp nodecon -n node_a,node_b -verbose

Verifying node connectivity

Checking node connectivity...

Interface information for node "node_b"


Interface Name IP Address Subnet
------------------------------ ------------------------------ ----------------
en0 143.168.100.32 143.168.0.0

时代朝阳会员专区:Oracle RAC 集群 第 3 页
www.zhaoyang-db.com/huiyuan
北京时代朝阳数据库技术中心 Trail 实验室 www.zhaoyang-db.com

en1 172.16.100.32 172.16.100.0

Interface information for node "node_a"


Interface Name IP Address Subnet
------------------------------ ------------------------------ ----------------
en0 143.168.100.31 143.168.0.0
en1 172.16.100.31 172.16.100.0

Check: Node connectivity of subnet "143.168.0.0"


Source Destination Connected?
------------------------------ ------------------------------ ----------------
node_b:en0 node_a:en0 yes
Result: Node connectivity check passed for subnet "143.168.0.0" with node(s) node_b,node_a.

Check: Node connectivity of subnet "172.16.100.0"


Source Destination Connected?
------------------------------ ------------------------------ ----------------
node_b:en1 node_a:en1 yes
Result: Node connectivity check passed for subnet "172.16.100.0" with node(s) node_b,node_a.

Suitable interfaces for VIP on subnet "143.168.0.0":


node_b en0:143.168.100.32
node_a en0:143.168.100.31

Suitable interfaces for the private interconnect on subnet "172.16.100.0":


node_b en1:172.16.100.32
node_a en1:172.16.100.31

Result: Node connectivity check passed.

Verification of node connectivity was successful.


$

时代朝阳会员专区:Oracle RAC 集群 第 4 页
www.zhaoyang-db.com/huiyuan
北京时代朝阳数据库技术中心 Trail 实验室 www.zhaoyang-db.com

时代朝阳会员专区:Oracle RAC 集群 第 5 页
www.zhaoyang-db.com/huiyuan

You might also like