I am trying to build a RAC lab on my vm workstation. use redhat Linux 6.6 , two nodes, version 12.1.0.2
However during GI installation it always stuck at the final check about DNS like the following
DNS/NIS name service - This test verifies that the Name Service lookups for the Distributed Name Server (DNS) and the Network Information Service (NIS) match for the SCAN name entries. Error:
-
PRVG-1101 : SCAN name "rac-scan.labdomain" failed to resolve - Cause: An attempt to resolve specified SCAN name to a list of IP addresses failed because SCAN could not be resolved in DNS or GNS using ''nslookup''. - Action: Check whether the specified SCAN name is correct. If SCAN name should be resolved in DNS, check the configuration of SCAN name in DNS. If it should be resolved in GNS make sure that GNS resource is online.
-
PRVF-4657 : Name resolution setup check for "rac-scan.labdomain" (IP address: 192.168.126.100) failed - Cause: Inconsistent IP address definitions found for the SCAN name identified using DNS and configured name resolution mechanism(s). - Action: Look up the SCAN name with nslookup, and make sure the returned IP addresses are consistent with those defined in NIS and /etc/hosts as configured in /etc/nsswitch.conf by reconfiguring the latter. Check the Name Service Cache Daemon (/usr/sbin/nscd) by clearing its cache and restarting it.
Check Failed on Nodes: [rac2, rac1]
Verification result of failed node: rac2 Details:
-
PRVF-4664 : Found inconsistent name resolution entries for SCAN name "rac-scan.labdomain" - Cause: The nslookup utility and the configured name resolution mechanisms, as defined in /etc/nsswitch.conf, returned inconsistent IP address information for the SCAN name identified. - Action: Check the Name Service Cache Daemon (/usr/sbin/nscd), the Domain Name Server (nslookup) and the /etc/hosts file to make sure the IP address for the SCAN names is registered correctly. Clear the stale IP addresses from the name service cache using the command ''/usr/sbin/nscd -i hosts''.
Back to Top
Verification result of failed node: rac1 Details:
-
PRVF-4664 : Found inconsistent name resolution entries for SCAN name "rac-scan.labdomain" - Cause: The nslookup utility and the configured name resolution mechanisms, as defined in /etc/nsswitch.conf, returned inconsistent IP address information for the SCAN name identified. - Action: Check the Name Service Cache Daemon (/usr/sbin/nscd), the Domain Name Server (nslookup) and the /etc/hosts file to make sure the IP address for the SCAN names is registered correctly. Clear the stale IP addresses from the name service cache using the command ''/usr/sbin/nscd -i hosts''.
Back to Top
Actually I am not planning to use dns server , instead I only use /etc/hosts.
[root@rac2 network-scripts]# cat /etc/hosts
127.0.0.1 rac2.labdomain ra12 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
192.168.127.200 rac1 rac1.labdomain
192.168.127.201 rac2 rac2.labdomain
192.168.126.200 rac1-vip rac1-vip.labdomain
192.168.126.201 rac2-vip rac2-vip.labdomain
192.168.126.100 rac-scan rac-scan.labdomain
192.168.127.133 openfiler openfiler.labdomain
[root@rac2 network-scripts]#
What can I do pass this check ???