Re: Configuration of BIND (named) for GNS in 11.2 RAC

From: Martin Bach <development_at_the-playground.de>
Date: Mon, 5 Oct 2009 13:16:11 +0200 (CEST)
Message-ID: <54795.217.33.98.4.1254741371.squirrel_at_oberon.hgrfactory.com>



Seems like the last message hasn't come through, sending again...

Hello and thanks all for your replies, I have since figured out where the problem was. In my reverse lookup file I forgot to include the domain name, i.e. I did this:

....

10	IN PTR	node1
20	IN PTR	node2

...

when I should have done that:

10      IN PTR  node1.the-playground.de.
20      IN PTR  node2.the-playground.de.
30      IN PTR  node3.the-playground.de.

I have since blogged about the two 11.2 RAC DNS setups, using GNS and the pre 11.2 manual method at the following URLs

http://bit.ly/1xsF07
http://bit.ly/tvnnc

for those who are interested. I am hoping to complete the series soon...

Thanks again for all your help,

Martin

Matthew Zito wrote:
> It's hard to say without testing it, but the issue could be that your
bind server is configured to slave the prod-cluster.the-playground.de from the gns-server IP, which does not yet exist (hasn't been bound to the machine). This will cause bind to attempt to contact that IP, fail to, and then start returning SERVFAIL to queries directed against that subdomain, since it hasn't been able to slave the zone (this is correct behavior, btw, since NXDOMAIN is a cacheable query response, and in this case the dns server is just saying, "hey, look, maybe it's me").
>
> Try removing the prod-cluster search subdomain, and if that doesn't
work, you can try reversing the nsswitch order.
>
> You can also manually enter your gns-server ip in the hosts file, see if
that fixes it.
>
> Matt
>
> --
> Matthew Zito
> Chief Scientist
> GridApp Systems
> P: 646-452-4090
> mzito_at_gridapp.com
> http://www.gridapp.com
>
>
>
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org on behalf of Martin Bach
> Sent: Tue 9/29/2009 5:54 AM
> To: oracle-l_at_freelists.org
> Subject: Configuration of BIND (named) for GNS in 11.2 RAC
>
> Hello group,
>
> I am trying to get my head around GNS but somehow I am unable to install
Grid Infrastructure for RAC. OUI complains about INS-40904, unable to resolve the hostname I put in.
>
> INFO: Completed validating state <CRSNodeInformationUI>
> INFO: Terminating all background operations
> INFO: Terminated all background operations
> INFO: Transition aborted
> INFO: Rolled back to state <CRSNodeInformationUI>
> INFO: Waiting for completion of background operations
> INFO: Completed background operations
> INFO: Validating view at state <CRSNodeInformationUI>
> INFO: Completed validating view at state <CRSNodeInformationUI>
> INFO: Validating state <CRSNodeInformationUI>
> INFO: Performing Generic Validations
> INFO: Performing generic checks
> SEVERE: [FATAL] [INS-40904] ORACLE_HOSTNAME does not resolve to a valid
host name.
> CAUSE: The value provided for ORACLE_HOSTNAME does not resolve to a
> valid host name.
> ACTION: Provide a valid host name for ORACLE_HOSTNAME, and restart the
> installer.
>
> This is RHEL 5.4 32bit, bind and dhcpd are configured and running. I am
pretty sure that name resolution works as I can ping the hosts without entries in /etc/hosts. /etc/resolve.conf and /etc/nsswitch.conf are as follows, I have attached my bind configuration (the custom one) to the email. I also used the advanced installation as explained in the documentation section 2.7.3 DNS Configuration for Domain Delegation to Grid Naming Service
>
> More info:
>
> [root_at_node1 OraInstall2009-09-28_08-48-53PM]# cat /etc/resolv.conf
>
> options attempts: 2
> options timeout: 1
>
> #search the-playground.de prodcluster.the-playground.de search

        prodcluster.the-playground.de the-playground.de nameserver 192.168.30.10
>
> [root_at_node1 OraInstall2009-09-28_08-48-53PM]# grep hosts
/etc/nsswitch.conf hosts: dns files
>
>
> Any pointers greatly appreciated. BTW there is nothing on google or
metalink about the particular error.... The gns-server VIP is not assigned to a host (can't ping it). The DNS server host can't reach the Internet, bind occasionally complains about not being able to resolve "." zone (which I don't want it to)
>
> Regards,
>
> Martin
>

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Oct 05 2009 - 06:16:11 CDT

Original text of this message