hi all
i am using oracle database 11g R2
Oracle Grid 11g R2
Oracle Linux 5.5
i want to know about DNS and Scan name.
i read somewhere that for installation purposes we need to define or configure Scan name in /etc/hosts
and i also read that we do not need to configure Scan Name with IP address in /etc/hosts.
and for Rac we need three DNS if yes then how could we configure three DNS and what will be
purpose of these three DNS?
as i configured SCAN NAME in hosts
but when i look for scan name then it just returned lisntener as true without scan name and IP address.
and i also create nslookup script with my scan name and ip address.
192.167.1.187 racnode-cluster-scan
and this the code i used.
#!/bin/bash
HOSTNAME=${1}
if [[ $HOSTNAME = "
racnode-cluster-scan" ]]; then
echo "Server:
24.154.1.34"
echo "Address:
24.154.1.34#53"
echo "Non-authoritative answer:"
echo "Name:
racnode-cluster-scan"
echo "Address:
192.168.1.187"
else
/usr/bin/nslookup.original $HOSTNAME
fi
and here the nslookup result.
[grid@racnode1 ~]$ cluvfy comp scan -verbose
Verifying scan
Checking Single Client Access Name (SCAN)...
SCAN VIP name Node Running? ListenerName Port Running?
---------------- ------------ ------------ ------------ ------------ ------------
racnode-cluster-scan racnode2 true LISTENER 1521 true
Checking name resolution setup for "racnode-cluster-scan"...
ERROR:
PRVF-4664 : Found inconsistent name resolution entries for SCAN name "racnode-cluster-scan"
SCAN Name IP Address Status Comment
------------ ------------------------ ------------------------ ----------
racnode-cluster-scan 192.167.1.187 failed NIS Entry
ERROR:
PRVF-4657 : Name resolution setup check for "racnode-cluster-scan" (IP address: 192.167.1.187) failed
ERROR:
PRVF-4664 : Found inconsistent name resolution entries for SCAN name "racnode-cluster-scan"
Verification of SCAN VIP and Listener setup failed
Verification of scan was unsuccessful on all the specified nodes.
[grid@racnode1 ~]$
note: i did not configure DNS for my network DNS is empty.
NISHA
Edited by: nisha on May 29, 2011 11:36 AM