Configuration, Invocation – Sun Microsystems FC Switch-8 and Switch-16 816-0830-12 User Manual

Page 161

Advertising
background image

Chapter 9

Managing the SAN

131

Configuration

Each network interface should have an

/etc/hostname

.interface file defining the

name of the IP address associated with it. For example, an FCIP network interface
fcip0 will have a file named

/etc/hostname.fcip0

.

1. Manually create a

/etc/hostname

.interface file with a text editor so it contains a

single line that identifies the host name or interface IP address.

2. Use a text editor to make any additional entries to the

/etc/inet/hosts

file.

The Solaris installation program creates the

/etc/inet/hosts

file with minimum

entries. You must manually make additional entries with a text editor. (Refer to the

hosts

(4) man page for additional information).

The

/etc/inet/hosts

file contains the hosts database. This file contains the host

names and the primary network interface IP addresses, other network interfaces
attached to the machine, and any other network interface that the machine should
know about.

CODE EXAMPLE 9-4

sun1 machine

/etc/inet/hosts

3. Edit the

/etc/nsswitch.conf

file so all the uncommented entries will have the

word “files” before any other name service.

The

/etc/nsswitch.conf

specifies which name service to use for a particular

machine.

CODE EXAMPLE 9-5

sun1 machine

/etc/nsswitch.conf

File

Invocation

After installation, FCIP has to be started manually using

ifconfig

. On subsequent

reboots, the FCIP network interface starts automatically.

127.0.0.1 localhost loghost

192.9.200.70 sun1 #This is the local host name

192.9.201.10 fcip0 #Interface to network 192.9.201.10

hosts: files nis

Advertising