Platform LSF Administration Guide Version 6.2
Hosts with Multiple Addresses
Administering Platform LSF
116
Example /etc/hosts entries
No unique official
name
The following example is for a host with two interfaces, where the host does not have a
unique official name.
# Address Official name Aliases
# Interface on network A
AA.AA.AA.AA host-AA.domain host.domain host-AA host
# Interface on network B
BB.BB.BB.BB host-BB.domain host-BB host
Looking up the address AA.AA.AA.AA finds the official name host-AA.domain.
Looking up address
BB.BB.BB.BB finds the name host-BB.domain. No
information connects the two names, so there is no way for LSF to determine that both
names, and both addresses, refer to the same host.
To resolve this case, you must configure these addresses using a unique host name. If
you cannot make this change to the system file, you must create an LSF hosts file and
configure these addresses using a unique host name in that file.
Both addresses have the same official name
Here is the same example, with both addresses configured for the same official name.
# Address Official name Aliases
# Interface on network A
AA.AA.AA.AA host.domain host-AA.domain host-AA host
# Interface on network B
BB.BB.BB.BB host.domain host-BB.domain host-BB host
With this configuration, looking up either address returns host.domain as the official
name for the host. LSF (and all other applications) can determine that all the addresses
and host names refer to the same host. Individual interfaces can still be specified by
using the
host-AA and host-BB aliases.
Sun Solaris
example
For example, Sun NIS uses the /etc/hosts file on the NIS master host as input, so
the format for NIS entries is the same as for the
/etc/hosts file. Since LSF can
resolve this case, you do not need to create an LSF hosts file.
DNS configuration
The configuration format is different for DNS. The same result can be produced by
configuring two address (A) records for each Internet address. Following the previous
example:
# name class type address
host.domain IN A AA.AA.AA.AA
host.domain IN A BB.BB.BB.BB
host-AA.domain IN A AA.AA.AA.AA
host-BB.domain IN A BB.BB.BB.BB
Looking up the official host name can return either address. Looking up the interface-
specific names returns the correct address for each interface.
PTR records in
DNS
Address-to-name lookups in DNS are handled using PTR records. The PTR records for
both addresses should be configured to return the official name: