This chapter describes the network files and daemons that the
ris
utility uses and the sequence of events that occur when a client
broadcasts a
bootp
request.
If you use RIS to install the
operating system on a client, the client must boot across the network.
Note
The client must be registered on the RIS server before you can install the operating system.
Table 5-1 describes the files and daemons used by RIS servers to boot a remote client.
| Name | Description |
/etc/bootptab |
Contains information needed to boot remote clients |
/sbin/init.d/dhcp |
Script used to start
joind |
/etc/inetd.conf |
Contains start-up information for various internet daemons |
/usr/sbin/joind |
The
bootp
server daemon
(handles both
bootp
and
dhcp
requests,
if configured) |
/usr/sbin/tftpd |
The
tftpd
server daemon |
/usr/sbin/inetd |
The Internet server daemon |
Network boots occur using the
bootp
protocol.
This
protocol is serviced by one of two daemons:
bootpd
and
joind.
The use of the
joind
daemon is recommended.
The
bootpd
daemon is started using the internet daemon,
the
joind
daemon is not.
The
inetd
daemon
starts networking-related daemons on the system.
Some of these daemons, such
as
tftpd, are related to RIS; others, such as
fingerd, are not.
On request, the
inetd
daemon
starts any of the daemons listed in its configuration file,
/etc/inetd.conf.
The
bootp
daemon handles remote boot requests.
It
handles any
bootp
requests received by the RIS server.
As it starts up, the
bootp
daemon reads its
/etc/bootptab
file to determine the systems from which it will recognize remote
boot requests.
Whenever the
/etc/bootptab
file is modified,
the
bootp
daemon rereads it.
Section 5.1.3
describes the content and format
of the
/etc/bootptab
file.
See
joind(8)
or
bootpd(8)
for more information.
The
/etc/bootptab
file is a text file that contains
information that a server needs to boot a remote client.
The
ris
utility adds and removes entries from this file during client management.
Other applications may also place entries in the
/etc/bootptab
file.
The general format for entries in the
bootptab
file
is as follows:
tag : tg= value... : tg= value... : tg= value...
Example 5-1
describes the entries in the
/etc/bootptab
file for RIS clients.
For additional information about the contents of the
bootptab
file, see the
joind(8)
reference page.
.ris.dec:hn:vm=rfc1048 [1] .ris0.alpha:tc=.ris.dec:bf=/var/adm/ris/ris0.alpha/vmunix: [2] atlanta:tc=.ris0.alpha:ht=ethernet:gw=16.69.224.222: \ ha=08002b309668:ip=16.30.0.143: [3] .ris93.alpha:tc=.ris.dec:bf=/ris/ris93.a/vmunix: \ rp="ds9:/ris/ris93.a/product_001": [4]
The
.ris.dec
entry defines
characteristics common to all clients.
The fields specify the following:
hn: Tells the boot server to send the name
of the client system to the client when it makes a boot request.
vm: Vendor-specific information
The
.risN.arch
entry, in this example
.ris0.alpha,
defines characteristics common to all clients using this RIS area.
The fields
specify the following:
tc: Table continuation
The
tc
field lets you follow pointers back to common
entries.
For example, the
tc
entry for
.ris0.alpha
in
Example 5-1
points to the
.ris.dec
entry.
The
.ris.dec
entry contains
the common hardware type (ht) and vendor specific (vm) information.
The
.ris0.alpha
entry, itself, contains common information about the
boot file location.
bf: Name of the boot file
The
hostname
entry,
in this example
atlanta,
defines characteristics for a
specific client.
The fields specify the following:
tc: Table continuation
The following describes the entry for the host
atlanta:
its
tc
entry points to
ris0.alpha, which
contains its boot file information.
The
ris0.alpha, entry
in turn points back to
ris.dec,
which contains relevant
hardware type and vendor specific information.
If you added another host entry
to the
/etc/bootptab
file, it would look similar to the
following:
lee:tc=ris0.alpha:ht=ethernet:ha=08002b390668: \ ip=16.140.64.249:
ht: The client's hardware type is either
ethernet,
fddi, or
ieee802
(for Token Ring)
ha: Client's network hardware address
ip: Client's IP address
The
.ris93.alpha
entry defines characteristics for the current version of the operating system
RIS area.
The fields specify the following:
tc: Table continuation
The
tc
field lets you follow pointers back to common
entries.
For example, the
tc
entry for
.ris93.alpha
in
Example 5-1
points to the
.ris.dec
entry.
The
.ris.dec
entry contains
the common hardware type (ht) and vendor specific (vm) information.
The
.ris93.alpha
entry contains common information about the boot file
location.
bf: Name of the boot file
rp: The rp parameter points the client
to the point where it will mount its root on the server.
The
tftpd
daemon uses the Trivial File Transfer Protocol
(TFTP) to transfer the boot file during a remote boot.
This daemon starts
when there is a file to be transferred.
See the
TFTP
entry in the
Glossary
and the
tftp(1)
and
tftpd(8)
reference pages for more information.
Client systems use the
bootp
protocol to perform
the remote bootstrap operation from a RIS server.
The command used to initiate
a remote boot is processor-specific.
For additional information, see the
Installation Guide.
However, once the remote boot operation has started, the underlying process
is the same for all versions of the operating system that support network
booting:
The processor-specific remote boot command is issued at the client console prompt.
The client processor firmware sends a
bootp
packet over the Ethernet.
This packet contains the hardware Ethernet address
of the client.
The
bootp
server daemon compares the Ethernet
hardware address in the packet with the client registration information stored
in its
/etc/bootptab
file to determine if the client requesting
the remote boot is registered to the server.
If the address matches one in its
/etc/bootptab
file, the
bootp
daemon sends to the client a packet of
information that includes the server's Internet address, client's Internet
address, and the name of the file to be loaded from the server.
This information
was placed in the
bootptab
file by the
ris
utility when the client was registered on the server.
Internet addresses are used to set up a network that is used to download
to the client processor the file specified in the
bootptab
file.
For Tru64 UNIX RIS clients, this file is
/var/adm/risN
.alpha/vmunix, where
risN
.alpha
corresponds to the RIS area to which the client is registered.
This file is the Tru64 UNIX standalone operating system used to start
the installation.
The client system requests the file from the server system.
The client and server system use the
tftp
protocol to transfer
vmunix
to the client.
Once
vmunix
is loaded, the client system
begins to execute
vmunix
and the operating system standalone
system messages are displayed on the client console terminal.
After the operating system is installed, the client is a self-supporting system. Follow normal procedures to boot the system from its own local disk.