Question & Answer
Question
What is the order for host name resolution in LSF?
Answer
The $LSF_ENVDIR/hosts is searched and used for host name resolution first in LSF, and it has the top precedence in LSF host name resolution. The format for $LSF_ENVDIR/hosts is the same as /etc/hosts. If file $LSF_ENVDIR/hosts exists, and it is assumed /etc/nsswitch.conf has the following settings for hosts:
hosts: dns nis files
Then the host name resolution order is:
1, $LSF_ENVDIR/hosts
2, DNS
3, NIS
4, /etc/hosts
The configuration in /etc/resolv.conf is important for DNS. The settings for the nameservers must be correct in /etc/resolv.conf. Or else, host name resolution by DNS may not work and thus host resolution falls next to NIS or file based /etc/hosts.
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
isg3T1025434