[GE users] How to clear internal hostname cache?

Kim Leng Goh kimleng.goh at gmail.com
Tue Mar 21 11:33:20 GMT 2006


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

Hi Chris,
  Thanks for the response.  /etc/hosts appears to be fine. I've also
tried using the utility binaries before. Seems ok. Maybe you can spot
something...

On 3/21/06, Chris Dagdigian <dag at sonsorol.org> wrote:
>
> I'm willing to bet that this hostname is defined somewhere on your
> system, I've wrestled with SGE hostname resolution issues on many
> clusters and in many complicated network, hostname and DNS resolving
> environments and the root cause for name issues was *always* external
> and not within SGE.
>
> I've also not seen caching activity do anything significant when
> making changes -- when I've fixed DNS or nameservice mistakes they
> are quickly picked up by SGE.
>
> You did not mention testing with the "gethostname" and
> "gethostbbyaddr" and the other utility binaries that should be in /
> opt/gridengine/utilbin/<arch> on your system. Try running those
> directly to see what SGE sees. After that, carefully make sure that
> what is in /etc/hosts matches what is being returned by forward and
> reverse DNS. Depending on your operating system there can also be
> other files and locations where hardcoded hostnames may be laying
> around.
>
>
> -Chris

[root at compute-0-7 lx24-amd64]# ls gethost*
gethostbyaddr  gethostbyname  gethostname

[root at compute-0-7 lx24-amd64]# ./gethostbyaddr 10.255.255.247
Hostname: compute-0-7.local
Aliases:  compute-0-7
Host Address(es): 10.255.255.247

[root at compute-0-7 lx24-amd64]# ./gethostbyname compute-0-7
Hostname: compute-0-7.local
Aliases:  compute-0-7
Host Address(es): 10.255.255.247
[root at compute-0-7 lx24-amd64]# ./gethostbyname -name compute-0-7
compute-0-7.local
[root at compute-0-7 lx24-amd64]# ./gethostbyname -aname compute-0-7
compute-0-7.local

[root at compute-0-7 lx24-amd64]# ./gethostname
Hostname: compute-0-7.local
Aliases:  compute-0-7
Host Address(es): 10.255.255.247


Not very sure about forward and reverse DNS:

[root at compute-0-7 root]# nslookup compute-0-7
Server:         10.1.1.1
Address:        10.1.1.1#53

Name:   compute-0-7.local
Address: 10.255.255.247

[root at compute-0-7 root]# nslookup compute-0-7.local
Server:         10.1.1.1
Address:        10.1.1.1#53

Name:   compute-0-7.local
Address: 10.255.255.247

[root at compute-0-7 root]# host compute-0-7
compute-0-7.local has address 10.255.255.247
[root at compute-0-7 root]# host compute-0-7.local
compute-0-7.local has address 10.255.255.247


I've also looked at dhcpd (/etc/dhcpd.conf) and named (including
/etc/named.conf) and restarted them.

Thanks in advance,
KL

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list