我是靠谱客的博主 落寞狗,最近开发中收集的这篇文章主要介绍rac添加节点前检查报错PRCT-1011 : Failed to run "oifcfg".处理,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

数据库版本:oracle 11204
操作系统版本:redhat 6.4
rac添加节点前的检查报错PRCT-1011 : Failed to run “oifcfg”. Detailed error: null

[grid@rac1 sshsetup]$ cluvfy stage -post hwos -n rac2

Performing post-checks for hardware and operating system setup

Checking node reachability…
Node reachability check passed from node “rac1”

Checking user equivalence…
User equivalence check passed for user “grid”

ERROR:
Unable to obtain network interface list from Oracle ClusterwarePRCT-1011 : Failed to run “oifcfg”. Detailed error: null
Verification cannot proceed

Post-check for hardware and operating system setup was unsuccessful on all the nodes.

处理报错:
[root@rac1 grid]# /db/grid/bin/ocrdump /tmp/dump.ocr1
[root@rac1 grid]# grep ‘css.interfaces’ /tmp/dump.ocr1 | awk -F ] ‘{print $1}’ | awk -F . ‘{print $5}’ | sort -u

eth0
eth1
本案例etho是公网IP eth1是私网IP
[root@rac1 grid]# /db/grid/bin/oifcfg delif -global etho -force
[root@rac1 grid]# /db/grid/bin/oifcfg delif -global eth1 -force
[root@rac1 grid]# su - grid
[grid@rac1 ~]$ /db/grid/bin/oifcfg iflist -p -n
eth0 192.168.1.0 PRIVATE 255.255.255.0
eth1 10.1.1.0 PRIVATE 255.255.255.0
eth1 169.254.0.0 UNKNOWN 255.255.0.0
注意IP地址,10.1.1.200为2节点的私网,192.168.1.0为公网的网关
[grid@rac1 ~]$ /db/grid/bin/oifcfg setif -global eth1/10.1.1.200:cluster_interconnect
[grid@rac1 ~]$ /db/grid/bin/oifcfg setif -global eth0/192.168.1.0:public
[grid@rac1 ~]$ /db/grid/bin/oifcfg getif
eth0 192.168.1.0 global public
eth1 10.1.1.100 global cluster_interconnect

重新检查通过:
[grid@rac1 ~]$ cluvfy stage -post hwos -n rac2
Performing post-checks for hardware and operating system setup

Checking node reachability…
Node reachability check passed from node “rac1”

Checking user equivalence…
User equivalence check passed for user “grid”

Checking node connectivity…

Checking hosts config file…

Verification of the hosts config file successful

ERROR:
PRVG-11050 : No matching interfaces “eth1” for subnet “10.1.1.100” on nodes “rac2”

ERROR:
PRVG-11050 : No matching interfaces “eth1” for subnet “10.1.1.200” on nodes “rac2”

Check: Node connectivity for interface “eth0”
Node connectivity passed for interface “eth0”
TCP connectivity check passed for subnet “192.168.1.0”

Check: Node connectivity for interface “eth1”
Node connectivity failed for interface “eth1”

Check: Node connectivity for interface “eth1”
Node connectivity failed for interface “eth1”

Node connectivity check failed

Checking multicast communication…

Checking subnet “192.168.1.0” for multicast communication with multicast group “230.0.1.0”…
Check of subnet “192.168.1.0” for multicast communication with multicast group “230.0.1.0” passed.

Check of multicast communication passed.
Check for multiple users with UID value 0 passed
Time zone consistency check passed

Checking shared storage accessibility…

Disk Sharing Nodes (1 in count)


/dev/sda rac2

Disk Sharing Nodes (1 in count)


/dev/sdb rac2

Disk Sharing Nodes (1 in count)


/dev/sdc rac2

Disk Sharing Nodes (1 in count)


/dev/sdd rac2

Disk Sharing Nodes (1 in count)


/dev/sde rac2

Shared storage check was successful on nodes “rac2”

Checking integrity of name service switch configuration file “/etc/nsswitch.conf” …
Check for integrity of name service switch configuration file “/etc/nsswitch.conf” passed

Post-check for hardware and operating system setup was unsuccessful on all the nodes.

最后

以上就是落寞狗为你收集整理的rac添加节点前检查报错PRCT-1011 : Failed to run "oifcfg".处理的全部内容,希望文章能够帮你解决rac添加节点前检查报错PRCT-1011 : Failed to run "oifcfg".处理所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(52)

评论列表共有 0 条评论

立即
投稿
返回
顶部