IBM Support

An example of host name resolution order in LSF

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.

[{"Product":{"code":"SSKTRX","label":"Platform ISF"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF016","label":"Linux"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 June 2018

UID

isg3T1025434