You must register a RIS client on the RIS server before you can use RIS to install the operating system on the RIS client. If you use RIS to install the operating system on a client, the client must boot across the network by issuing a BOOTP request. This chapter includes the following topics:
Describing remote boot files and daemons (Section 5.1)
Explaining the remote boot process flow (Section 5.2)
5.1 Remote Boot Files and Daemons
Several files and daemons are associated with booting a RIS client over the network. This section includes the following topics:
The
inetd
internet daemon and its configuration
file,
inetd.conf
(Section 5.1.1)
The internet boot protocol (BOOTP)
joind
daemon (Section 5.1.2)
The
/etc/bootptab
file (Section 5.1.3)
The TFTP daemon
tftpd
(Section 5.1.4)
Refer to the following reference pages for more information:
bootptab
(4)inetd.conf
(4)inet
(7)inetd
(8)joind
(8)
Table 5-1
describes
the files and daemons used by RIS servers to boot a remote client.
Table 5-1: Remote Boot Files and Daemons
Name | Description |
/etc/bootptab |
Contains information needed to boot remote clients |
/etc/inetd.conf |
Contains start-up information for various internet daemons |
/sbin/init.d/dhcp |
Script used to start
joind |
/usr/sbin/inetd |
The Internet server daemon |
/usr/sbin/joind |
The BOOTP server daemon (handles both BOOTP and DHCP requests, if configured) |
/usr/sbin/tftpd |
The
tftpd
server daemon |
5.1.1 The Internet Daemon and Configuration File
The
inetd
internet 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
.
Network boots use the BOOTP protocol and are serviced by the
joind
daemon, discussed in
Section 5.1.2.
5.1.2 The BOOTP Daemon
The internet boot protocol (BOOTP) daemon
joind
processes
any BOOTP requests received by the RIS server.
As it starts, the BOOTP daemon
reads the
/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.
The
joind
daemon provides configuration to network
clients using either BOOTP or the Dynamic Host Configuration Protocol (DHCP).
If
joind
is not running,
RIS restarts it with the
/sbin/init.d/dhcp
script.
Section 5.1.3
describes the content and format
of the
/etc/bootptab
file.
Refer to the
bootptab
(4)
and
dhcptags
(4)
reference pages for more information.
5.1.3 The /etc/bootptab File
The
/etc/bootptab
file is a text file containing
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 place entries in the
/etc/bootptab
file.
Example 5-1
describes the entries in an
/etc/bootptab
file for RIS clients.
Example 5-1: Sample /etc/bootptab File
.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=nn.nn.nnn.nnn: \ ha=nnnnnnnnnnnn:ip=nn.nn.nnn.nnn : [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=nnnnnnnnnnnn : \ ip=nn.nn.nnn.nnn :
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 client will mount its root on the
server.
The general format for entries in the
bootptab
file
is a
label
followed by one or more colon-separated
fields.
Each of these fields consists of a two-character tag field
tg
followed by an equal sign (=
) and the
tag value
value:
[label]:tg[=value][:tg[=value]:...]
For
additional information about the contents of the
bootptab
file, refer to the
bootptab
(4)
reference page.
For information about valid
tg
tags, refer to the
dhcptags
(4)
reference page.
5.1.4 The tftpd Daemon
The
tftpd
daemon uses the Trivial File Transfer Protocol
(TFTP) to transfer the boot file during a remote boot process.
The
tftpd
daemon starts when a file is ready to be transferred.
Refer
to the
tftp
(1)
and
tftpd
(8)
reference pages for more information.
5.2 Remote Boot Process Flow
Client systems use the
bootp
protocol to perform
the remote boot operation from a RIS server.
The command used to initiate
a remote boot is processor-specific.
For additional information, refer to
the
Installation Guide -- Advanced Topics.
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 contining the client's hardware Ethernet address.
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 RIS server.
If a matching address is found in the
/etc/bootptab
file, the BOOTP daemon sends the client an information packet that
includes the server's Internet address, the 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 RIS server.
Internet addresses are used to download the
/var/adm/risN.alpha/vmunix
file specified in the
bootptab
file to the client processor, where
risN.alpha
corresponds to the RIS area to which the client
is registered.
This file contains the 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 the
vmunix
file to the client.
Once
vmunix
is loaded, the client system
begins to execute the
vmunix
file, 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 the procedures documented in the Installation Guide to boot the system from its own local disk.