大家好,又见面了,我是你们的朋友全栈君。
背景:安装RAC,安装GI集群管理软件时,在最后快结束时,总是报如上INS-错误
#官方文档:error 说明;字符串解析失败
INS-20802: string failed.
如果主机文件用于解析SCAN主机名,则安装结束时将收到Cluster Verification Utility故障
###################此报错可忽略#############################
INFO: PRVG-1101 : SCAN name "cluscan.us.oracle.com" failed to resolveINFO: ERROR:INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name "cluscan.us.oracle.com"INFO: ERROR:INFO: PRVF-4657 : Name resolution setup check for "scanclunm" (IP address: 10.4.0.202) failedORPRCS-1016 : Failed to resolve Single Client Access Name cluscan.us.oracle.com
nslookup cluscan.us.oracle.com
..
cluscan.us。oracle.com canonical name = cluscan.a3。oracle.com
名称:cluscan.a3.oracle.com
地址:10.4.0.201
名称:cluscan.a3.oracle.com
地址:10.4.0.202
名称:cluscan.a3.oracle.com
地址:10.4.0.203
#解决方案:SCAN 将DNS中的SCAN记录更新为A类型,而不是CNAME类型
#原因4: DNS配置正确,但是正在使用其它的命名(nls,ldap)解决方案,SA检查还是认定使用主机名解析SCAN ip
使SA检查名称解析开关配置(Linux,Solaris和/或Linux上的/etc/nsswitch.conf) AIX上的hp-ux或/etc/netsvc.conf)并更正所有节点上的错误配置。nsswitch.conf中的示例主机:
hosts:files dns nis
一旦更正,执行“ $ GRID_HOME / bin / cluvfy comp scan ”确认
请注意,在AIX上,netsvc.conf可能有如下条目:
hosts =本地,绑定
#原因5: Persistent cache for nscd has incorrect information.
Solution: Engage SA to restart nscd and clear persistent cache on all nodes. Example on Linux
# /sbin/service nscd restart
# /usr/sbin/nscd --invalidate=hosts
Once it's corrected, execute "$GRID_HOME/bin/cluvfy comp scan" to confirm.
What's the expected output when executing nslookup
nslookup cluscan.us.oracle.com
..
Name: cluscan.us.oracle.com
Address: 10.4.0.201
Name: cluscan.us.oracle.com
Address: 10.4.0.202
Name: cluscan.us.oracle.com
Address: 10.4.0.203
ping -c 1 cluscan.us.oracle.com
PING cluscan.us.oracle.com (10.4.0.201) 56(84) bytes of data.
64 bytes from cluscan.us.oracle.com (10.4.0.201): icmp_seq=1 ttl=64 time=0.258 ms
--- cluscan.us.oracle.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.258/0.258/0.258/0.000 ms
ping -c 1 cluscan.us.oracle.com
PING cluscan.us.oracle.com (10.4.0.202) 56(84) bytes of data.
64 bytes from cluscan.us.oracle.com (10.4.0.202): icmp_seq=1 ttl=64 time=0.258 ms
--- cluscan.us.oracle.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.258/0.258/0.258/0.000 ms
ping -c 1 cluscan.us.oracle.com
PING cluscan.us.oracle.com (10.4.0.203) 56(84) bytes of data.
64 bytes from cluscan.us.oracle.com (10.4.0.203): icmp_seq=1 ttl=64 time=0.258 ms
--- cluscan.us.oracle.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.258/0.258/0.258/0.000 ms
From above you can see:
1. nslookup is returning proper SCAN name and IPs
2. ping to SCAN name is Round Robin resolved to different IP each time by DNS
If you see different behaviour than above, please engage SA to investigate.
------------------------------------------------------------------------------------------------------------
Ping command reference
Linux: /bin/ping -c 1 cluscan.us.oracle.com
Solaris: /usr/sbin/ping -s cluscan.us.oracle.com 1500 1
hp-ux: /usr/sbin/ping cluscan.us.oracle.com -n 1
AIX: /usr/sbin/ping -c 1 cluscan.us.oracle.com
Windows: ping -n 1 cluscan.us.oracle.com
转载于:https://www.cnblogs.com/lvcha001/p/8989845.html
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/107543.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...