Way to success...

--"Running Away From Any PROBLEM Only Increases The DISTANCE From The SOLUTION"--.....--"Your Thoughts Create Your FUTURE"--.....--"EXCELLENCE is not ACT but a HABIT"--.....--"EXPECT nothing and APPRECIATE everything"--.....

Sunday, February 28, 2016

PRVF-4664 : Found inconsistent name resolution entries for SCAN name


Issue:

INFO: PRVF-4657 : Name resolution setup check for "rac-scan" (IP address: 192.168.1.50) failed
INFO: ERROR:
INFO: PRVF-4657 : Name resolution setup check for "rac-scan" (IP address: 192.168.1.40) failed
INFO: ERROR:
INFO: PRVF-4664 : Found inconsistent name resolution entries for SCAN name "rac-scan"
INFO: Verification of SCAN VIP and Listener setup failed




Cause:

In my case DNS is configured, still I was getting this error due to the scan host entries added into the host file.

[root@rac02 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6

#Public IP
192.168.1.10   rac01.dba.com  rac01
192.168.1.20   rac02.dba.com  rac02

#Private IP
192.168.2.10  rac01-priv.dba.com        rac01-priv
192.168.2.20  rac02-priv.dba.com        rac02-priv

#Virtual IP
192.168.1.11 rac01-vip.dba.com          rac01-vip
192.168.1.21 rac02-vip.dba.com          rac02-vip

#SCAN IP
192.168.1.30   rac-scan.dba.com        rac-scan
192.168.1.40   rac-scan.dba.com        rac-scan
192.168.1.50    rac-scan.dba.com        rac-scan
[root@rac02 ~]#


Solution:

Solution would be to remove/comment the scan host entries in the host file and reconfigure the SCAN Listener.

Comment the SCAN host entries as shown below: 

[root@rac02 ~]# cat /etc/hosts

#SCAN IP
#192.168.1.30   rac-scan.dba.com        rac-scan
#192.168.1.40   rac-scan.dba.com        rac-scan
#192.168.1.50    rac-scan.dba.com        rac-scan


Steps to reconfigure the scan listener:

[grid@rac01 ~]$ cd /u01/11.2.0/grid
[grid@rac01 grid]$ cd bin
[grid@rac01 bin]$ ./srvctl stop scan_listener
[grid@rac01 bin]$ ./srvctl stop scan
[grid@rac01 bin]$ ./srvctl config scan
SCAN name: rac-scan, Network: 1/192.168.1.0/255.255.255.0/eth1

SCAN VIP name: scan1, IP: /rac-scan/192.168.1.30


[grid@rac01 bin]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1561
[grid@rac01 bin]$
[grid@rac01 bin]$ exit
logout
[root@rac01 rpm]# cd ..
[root@rac01 grid]# cd /u01/11.2.0/grid/bin


[root@rac01 bin]# ./srvctl modify scan -h

Modifies the SCAN name.

Usage: srvctl modify scan -n <scan_name>
    -n <scan_name>           Domain name qualified SCAN name
    -h                       Print usage
[root@rac01 bin]# ./srvctl modify scan -n rac-scan


[root@rac01 bin]# ./srvctl config scan
SCAN name: rac-scan, Network: 1/192.168.1.0/255.255.255.0/eth1
SCAN VIP name: scan1, IP: /rac-scan/192.168.1.40
SCAN VIP name: scan2, IP: /rac-scan/192.168.1.50
SCAN VIP name: scan3, IP: /rac-scan/192.168.1.30


[root@rac01 bin]# ./srvctl modify scan_listener -u
[root@rac01 bin]# ./srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1561
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1561
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1561


[root@rac01 bin]# ./srvctl start scan_listener
[root@rac01 bin]# ./srvctl config scan
SCAN name: rac-scan, Network: 1/192.168.1.0/255.255.255.0/eth1
SCAN VIP name: scan1, IP: /rac-scan/192.168.1.40
SCAN VIP name: scan2, IP: /rac-scan/192.168.1.50
SCAN VIP name: scan3, IP: /rac-scan/192.168.1.30
[root@rac01 bin]#



No comments:

Post a Comment