查看: 1624|回复: 2

RAC节点更换出现的问题,盼指教

[复制链接]
论坛徽章:
2
复活蛋
日期:2012-12-05 16:23:53巨蟹座
日期:2015-07-09 16:30:02
发表于 2015-10-27 11:20 | 显示全部楼层 |阅读模式
    虚拟化环境里,一个双节点的Oracle RAC的一个系统出现故障,现将该2号节点从集群中踢出并关闭电源,然后加入3号节点代替他,但是继续沿用2号的主机名和IP地址,已经在集群里删除了原2号节点的痕迹
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
附件内是执行下面两条命令的输出,一次是全部成功,另外一次是有一个失败
cluvfy stage -pre crsinst -n hanxxrac1 -verbose


cluvfy stage -pre nodeadd -n hanxxrac1 -verbose


新建文本文档 (2).txt (50.06 KB, 下载次数: 0)
认证徽章
论坛徽章:
6
优秀写手
日期:2014-08-06 06:00:132015年新春福章
日期:2015-03-04 14:55:132015年新春福章
日期:2015-03-06 11:59:47暖羊羊
日期:2015-07-01 09:29:48白羊座
日期:2016-02-19 09:32:40处女座
日期:2016-03-15 08:50:57
发表于 2015-10-27 12:25 | 显示全部楼层
PRKN-1034 : Failed to retrieve IP address of host "harac1")







[grid@hanxxrac2 bin]$ ssh hanxxrac1 date
Tue Oct 27 10:53:46 CST 2015
[grid@hanxxrac2 bin]$ ssh hanxxrac2 date
Tue Oct 27 10:54:05 CST 2015
[grid@hanxxrac2 bin]$ ssh hanxxrac2-priv date
Tue Oct 27 10:54:06 CST 2015
[grid@hanxxrac2 bin]$ ssh hanxxrac1-priv date
Tue Oct 27 10:54:16 CST 2015

[grid@hanxxrac1 ~]$ ssh hanxxrac1-priv date
Mon Oct 26 20:26:44 CST 2015
[grid@hanxxrac1 ~]$ ssh hanxxrac2-priv date
Mon Oct 26 20:26:42 CST 2015
[grid@hanxxrac1 ~]$ ssh hanxxrac2 date
Mon Oct 26 20:26:45 CST 2015
[grid@hanxxrac1 ~]$ ssh hanxxrac1 date

使用道具 举报

回复
论坛徽章:
2
复活蛋
日期:2012-12-05 16:23:53巨蟹座
日期:2015-07-09 16:30:02
 楼主| 发表于 2015-10-27 12:47 | 显示全部楼层
yeling8088 发表于 2015-10-27 12:25
PRKN-1034 : Failed to retrieve IP address of host "harac1")

多谢,确实这里有问题,我刚刚检查了两个节点的hosts和hostname ,但并没有发现少了个字母n,我现在检查下dns和vcenter里其他的机器看看。
[root@hanxxrac1 ~]# hostname
hanxxrac1
[root@hanxxrac1 ~]# more /etc/hosts
127.0.0.1   localhost
::1         localhost
#public
172.25.113.52        hanxxrac1       
172.25.113.53        hanxxrac2       

#private
10.10.10.1        hanxxrac1-priv
10.10.10.2        hanxxrac2-priv

#vip
172.25.113.54   hanxxrac1-vip  
172.25.113.55   hanxxrac2-vip  

#scan ip
#172.25.113.71        hanxxrac.view.xx        hanxxrac
#172.25.113.72        hanxxrac.view.xx        hanxxrac
#172.25.113.73        hanxxrac.view.xx        hanxxrac
[root@hanxxrac1 ~]# ssh hanxxrac2
root@hanxxrac2's password:
Last login: Mon Oct 26 19:45:25 2015 from 172.16.39.207
[root@hanxxrac2 ~]# more /etc/hosts
127.0.0.1   localhost
::1         localhost
#public
172.25.113.52        hanxxrac1       
172.25.113.53        hanxxrac2       

#private
10.10.10.1        hanxxrac1-priv
10.10.10.2        hanxxrac2-priv

#vip
172.25.113.54        hanxxrac1-vip  
172.25.113.55        hanxxrac2-vip  

#scan ip
#172.25.113.71        hanxxrac.view.xx        hanxxrac
#172.25.113.72        hanxxrac.view.xx        hanxxrac
#172.25.113.73        hanxxrac.view.xx        hanxxrac
[root@hanxxrac2 ~]# hostname
hanxxrac2

贴下完整的addnode执行过程
-----------------------------------------------------------------------------
[grid@hanxxrac2 bin]$ ./addNode.sh -silent "CLUSTER_NEW_NODES={hanxxrac1}" "CLUSTER_NEW_VIRTUAL_HOSTNAMES={hanxxrac1-vip}"

Performing pre-checks for node addition

Checking node reachability...
Node reachability check passed from node "hanxxrac2"


Checking user equivalence...
User equivalence check passed for user "grid"

Checking CRS integrity...

Clusterware version consistency passed

CRS integrity check passed

Checking shared resources...

Checking CRS home location...
"/u01/app/11.2.0/grid" is shared
Shared resources check for node addition passed


Checking node connectivity...

Checking hosts config file...

Verification of the hosts config file successful

Check: Node connectivity for interface "eth0"
Node connectivity passed for interface "eth0"
TCP connectivity check passed for subnet "172.25.113.0"


Check: Node connectivity for interface "eth1"
Node connectivity passed for interface "eth1"
TCP connectivity check passed for subnet "10.10.10.0"

Checking subnet mask consistency...
Subnet mask consistency check passed for subnet "172.25.113.0".
Subnet mask consistency check passed for subnet "10.10.10.0".
Subnet mask consistency check passed.

Node connectivity check passed

Checking multicast communication...

Checking subnet "172.25.113.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "172.25.113.0" for multicast communication with multicast group "230.0.1.0" passed.

Checking subnet "10.10.10.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "10.10.10.0" for multicast communication with multicast group "230.0.1.0" passed.

Check of multicast communication passed.
Total memory check passed
Available memory check passed
Swap space check passed
Free disk space check passed for "hanxxrac2:/u01/app/11.2.0/grid,hanxxrac2:/tmp"
Free disk space check passed for "hanxxrac1:/u01/app/11.2.0/grid,hanxxrac1:/tmp"
Check for multiple users with UID value 1100 passed
User existence check passed for "grid"
Run level check passed
Hard limits check passed for "maximum open file descriptors"
Soft limits check passed for "maximum open file descriptors"
Hard limits check passed for "maximum user processes"
Soft limits check passed for "maximum user processes"
System architecture check passed
Kernel version check passed
Kernel parameter check passed for "semmsl"
Kernel parameter check passed for "semmns"
Kernel parameter check passed for "semopm"
Kernel parameter check passed for "semmni"
Kernel parameter check passed for "shmmax"
Kernel parameter check passed for "shmmni"
Kernel parameter check passed for "shmall"
Kernel parameter check passed for "file-max"
Kernel parameter check passed for "ip_local_port_range"
Kernel parameter check passed for "rmem_default"
Kernel parameter check passed for "rmem_max"
Kernel parameter check passed for "wmem_default"
Kernel parameter check passed for "wmem_max"
Kernel parameter check passed for "aio-max-nr"
Package existence check passed for "binutils"
Package existence check passed for "compat-libcap1"
Package existence check passed for "compat-libstdc++-33(x86_64)"
Package existence check passed for "libgcc(x86_64)"
Package existence check passed for "libstdc++(x86_64)"
Package existence check passed for "libstdc++-devel(x86_64)"
Package existence check passed for "sysstat"
Package existence check passed for "gcc"
Package existence check passed for "gcc-c++"
Package existence check passed for "ksh"
Package existence check passed for "make"
Package existence check passed for "glibc(x86_64)"
Package existence check passed for "glibc-devel(x86_64)"
Package existence check passed for "libaio(x86_64)"
Package existence check passed for "libaio-devel(x86_64)"
Check for multiple users with UID value 0 passed
Current group ID check passed

Starting check for consistency of primary group of root user

Check for consistency of root user's primary group passed

Checking OCR integrity...

OCR integrity check passed

Checking Oracle Cluster Voting Disk configuration...

Oracle Cluster Voting Disk configuration check passed
Time zone consistency check passed

Starting Clock synchronization checks using Network Time Protocol(NTP)...

NTP Configuration file check started...
No NTP Daemons or Services were found to be running

Clock synchronization check using Network Time Protocol(NTP) passed


User "grid" is not part of "root" group. Check passed
Checking consistency of file "/etc/resolv.conf" across nodes

File "/etc/resolv.conf" does not have both domain and search entries defined
domain entry in file "/etc/resolv.conf" is consistent across nodes
search entry in file "/etc/resolv.conf" is consistent across nodes
The DNS response time for an unreachable node is within acceptable limit on all nodes

File "/etc/resolv.conf" is consistent across nodes


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

Checking VIP configuration.
Checking VIP Subnet configuration.
Check for VIP Subnet configuration passed.
Checking VIP reachability
Check for VIP reachability passed.

Pre-check for node addition was successful.
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 7952 MB    Passed
Oracle Universal Installer, Version 11.2.0.4.0 Production
Copyright (C) 1999, 2013, Oracle. All rights reserved.


Performing tests to see whether nodes haxxrac1,hanxxrac1 are available
.................SEVERE:OUI-35000: Fatal cluster error encountered (PRKN-1034 : Failed to retrieve IP address of host "haxxrac1"). Correct the problem and try the operation again.
.............................................. 100% Done.

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

DTCC2020中国数据库技术大会 限时8.5折

【架构革新 高效可控】2020年6月4日~6日第十一届中国数据库技术大会将在北京隆重召开。

大会设置2大主会场,20+技术专场,将邀请超百位行业专家,重点围绕数据架构、AI与大数据、传统企业数据库实践和国产开源数据库等内容展开分享和探讨,为广大数据领域从业人士提供一场年度盛会和交流平台。

http://dtcc.it168.com


大会官网>>
TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 
京ICP备09055130号-4  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表