On Wed, Aug 10, 2011 at 1:34 PM, Mark A. Grondona <[email protected]> wrote:
> On Wed, 10 Aug 2011 10:19:56 -0700, Mike Schachter <[email protected]> 
> wrote:
>> A note from the guy who set up DNS:
>>
>> "the dynamic dns updates about every 5 min, so a dead server will have
>> its dns entry removed"
>>
>> Also, looks like nothing is being returned by gethostbyname:
>>
>> me@slurmctrlr:~$ perl -MSocket -e 'print (inet_ntoa(scalar
>> gethostbyname("thenodename")),"\n")'
>> Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at -e line 1.
>>
>> me@slurmctrlr:~$ perl -MSocket -e 'print (scalar
>> gethostbyname("thenodename"), "\ntest line\n")'
>>
>> test line
>
> Node hostnames need to be resolvable whether they are up or down.
> I'm not sure dynamic dns is going to work very well with SLURM either.
> I would put all your hosts into /etc/hosts, and don't let their IP
> addresses change.

Not that I have any plans to implement dynamic dns.   Just out of
sheer curiosity, why is dns resolution a hard requirement for slurm?
Is there something in or about the code that's keyed on the hostname?

Reply via email to