25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Hosts with Multiple Addresses<br />

Example /etc/hosts entries<br />

No unique official<br />

name<br />

Both addresses<br />

have the same<br />

official name<br />

The following example is for a host with two interfaces, where the host does<br />

not have a unique official name.<br />

# Address Official name Aliases<br />

# Interface on network A<br />

AA.AA.AA.AA host-AA.domain host.domain host-AA host<br />

# Interface on network B<br />

BB.BB.BB.BB host-BB.domain host-BB host<br />

Looking up the address AA.AA.AA.AA finds the official name host-<br />

AA.domain. Looking up address BB.BB.BB.BB finds the name host-<br />

BB.domain. No information connects the two names, so there is no way for<br />

<strong>LSF</strong> to determine that both names, and both addresses, refer to the same host.<br />

To resolve this case, you must configure these addresses using a unique host<br />

name. If you cannot make this change to the system file, you must create an<br />

<strong>LSF</strong> hosts file and configure these addresses using a unique host name in that<br />

file.<br />

Here is the same example, with both addresses configured for the same official<br />

name.<br />

# Address Official name Aliases<br />

# Interface on network A<br />

AA.AA.AA.AA host.domain host-AA.domain host-<br />

AA host<br />

# Interface on network B<br />

BB.BB.BB.BB host.domain host-BB.domain host-<br />

BB host<br />

With this configuration, looking up either address returns host.domain as the<br />

official name for the host. <strong>LSF</strong> (and all other applications) can determine that<br />

all the addresses and host names refer to the same host. Individual interfaces<br />

can still be specified by using the host-AA and host-BB aliases.<br />

Sun’s NIS uses the /etc/hosts file on the NIS master host as input, so the<br />

format for NIS entries is the same as for the /etc/hosts file.<br />

Since <strong>LSF</strong> can resolve this case, you do not need to create an <strong>LSF</strong> hosts file.<br />

DNS configuration<br />

The configuration format is different for DNS. The same result can be produced<br />

by configuring two address (A) records for each Internet address. Following<br />

the previous example:<br />

# name class type address<br />

host.domain IN A AA.AA.AA.AA<br />

host.domain IN A BB.BB.BB.BB<br />

host-AA.domain IN A AA.AA.AA.AA<br />

host-BB.domain IN A BB.BB.BB.BB<br />

Looking up the official host name can return either address. Looking up the<br />

interface-specific names returns the correct address for each interface.<br />

90<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!