[GE users] questions about hostname resolution

Ed Struzynski Ed.Struzynski at rlx.com
Mon Nov 8 19:07:35 GMT 2004


    [ 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,
 
I'm seeing some strange results with hostnames when creating a cluster. I created a simple cluster using 6.0u1 on RedHat EL3, with 3 hosts, *not* using the FQDN, the master is rlx-2-2-5, and two exec nodes, rlx-2-2-6 and rlx-2-2-7. The domain name is "internal-management". When running SGE commands, the hostnames are not always returned the same way. For example:
 
# qstat -f
queuename                      qtype used/tot. load_avg arch          states
----------------------------------------------------------------------------
all.q at rlx-2-2-5                BIP   0/1       0.17     lx24-x86
----------------------------------------------------------------------------
all.q at rlx-2-2-6                BIP   0/1       0.06     lx24-x86
----------------------------------------------------------------------------
all.q at rlx-2-2-7.internal-manag BIP   0/1       0.09     lx24-x86
 
 
# qconf -sh
rlx-2-2-5
rlx-2-2-6.internal-management
rlx-2-2-7.internal-management
 
 
 
# qhost -q
HOSTNAME                ARCH         NCPU  LOAD  MEMTOT  MEMUSE  SWAPTO  SWAPUS
-------------------------------------------------------------------------------
global                  -               -     -       -       -       -       -
rlx-2-2-5               lx24-x86        1  0.07 1006.4M   48.3M    2.0G     0.0
   all.q                BIP   0/1
rlx-2-2-6               lx24-x86        1  0.02 1006.4M   29.1M    2.0G     0.0
   all.q                BIP   0/1
rlx-2-2-7               lx24-x86        1  0.08 1006.4M   27.7M    2.0G     0.0
   all.q                BIP   0/1
 
 
This inconsistency creates problems when trying to control the cluster using scripting. The nsswitch.conf file has "hosts" set to "files", and the /etc/hosts file does not include the domain name anywhere.
 
Regards,
Ed Struzynski
RLX Technologies



More information about the gridengine-users mailing list