The purpose of this document is to assist with configuring an IBM 7318 model P10 or model S20 to boot using an TCP/IP directed load configuration. This document was designed for AIX System Administrators with a knowledge of AIX administration and the 7318. Using this document, a TCP/IP directed boot configuration takes about 25 minutes.
In a directed load configuration, the 7318 requests its load image and configuration file from a specific host on the network. Configuring the 7318 to boot using the directed load method requires saving load parameters in the 7318's NVRAM (Non-Volatile RAM, which can be edited through a BIOS Console session). The host must be configured to communicate with the 7318 and allow the 7318 to access certain directories.
This document applies to AIX versions 3.2.5 through 4.3.
NOTE: Since boot parameters are specified in the NVRAM, the 7318 boots faster (compared to a broadcast configuration) because it does not have to search for the correct boot settings.
The 7318 was originally designed to boot and operate locally to a RS/6000 (i.e. the RS/6000 and 7318 are on the same LAN). Frequently the 7318's functionality is needed in a remote network (i.e. the RS/6000 and 7318 are on separate networks, linked by a gateway or router). The 7318 is capable of booting while remote from the RS/6000, but special care needs to be taken for the communication channel. REMOTE BOOTING tips will be listed throughout this document when a remote configuration is different than the normal configuration.
Before using this document, the following is assumed:
To use this document effectively, you must:
The host communicates with the network through an interface (tr0, en0, et0, fi0). To configure an interface for TCP/IP, the interface must be active (the words <UP, RUNNING> appear in the flags when the ifconfig command is run).
NOTE:
ent0 Available 00-02 Ethernet High-Performance LAN Adapter (8ef5) fddi0 Available 00-03 FDDI Primary Card, Single Ring Fiber tok0 Available 00-04 Token-Ring High-Performance Adapter (8fc8)
For a Standard Ethernet Interface configured on ent0, execute:
ifconfig en0
Sample output is as follows:
en0: flags=8080863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> inet 9.3.6.32 netmask 0xffffffc0 broadcast 9.3.6.63
For a Standard Token Ring Interface on tok0, execute:
ifconfig tr0
Sample output is as follows:
tr0: flags=80a0043<UP,BROADCAST,RUNNING,ALLCAST,MULTICAST> inet 9.3.6.68 netmask 0xffffffc0 broadcast 9.3.6.127
If the interface is active (the words <UP, RUNNING> appear in the flags list), then continue to the next section. If the words <UP, RUNNING> do not appear in the flags list, then configure the interface through SMIT, execute:
smit inet
tftp is the daemon that services file requests from the 7318 using UDP/IP. This service must be active on the host to send the load image and configuration file to the 7318.
lssrc -ls inetd | grep tftp
Sample output is as follows:
tftp /usr/sbin/tftpd tftpd -n active
If the process is active, proceed to the next section. If the process is inactive or is not listed, continue to start the process.
tftp dgram udp wait nobody /usr/sbin/tftpd tftpd -n
tftp 69/udp
refresh -s inetd
NOTE: For AIX 3.2.5 systems, first run the command inetimp.
tftp must have permission to access the directories in which the boot image and configuration file reside. The /etc/tftpaccess.ctl file contains the directories tftp is allowed to access. If /etc/tftpaccess.ctl does not exist, then tftp can access any directory.
NOTE: If the /etc/tftpaccess.ctl file does not exist, either create the file (and allow tftp access to the directories in which the files reside) or continue to the section "Choosing the Boot Method for the 7318". If the /etc/tftpaccess.ctl file does not exist, then tftp is allowed access to all directories.
The following is a sample /etc/tftpaccess.ctl file entry with tftp allowed access to the /usr/lib/cns directory.
########################################################## # The following example, when uncommented, only # # allows access to the Diskless Client boot files. # ########################################################## allow:/tftpboot allow:/usr/lib/cns
ls -l | more
Correct sample file permissions are as follows:
-r--r--r-- 1 root system 442532 Jul 24 01:56 cns-p10 -r--r--r-- 1 root system 1240228 Jul 24 01:56 cns-s20e -rw-r--r-- 1 root system 17539 Sep 09 1995 p10.cfg -rw-r--r-- 1 root system 43120 Jul 24 01:56 s20.cfg
chmod 444
Configure the 7318 model P10 or S20 to request its boot files from a specific host. These boot parameters are saved in the 7318's NVRAM (Non-Volatile RAM), which can be modified through a BIOS Console session. A BIOS Console session can be accessed by connecting a terminal (IBM3151) to one of the ports on the front of the 7318 with an RJ-45 cable and a null-modem adapter.
9600 baud 8 data bits no parity 1 stop bit
NOTE: You can access a BIOS Console between the time the 7318 is first powered on and the ready light (second light) starts blinking. If the ready light begins blinking, you have missed the window to enter the BIOS Console and must recycle the power and try again. Once four # signs scroll across the screen, the 7318 will begin a BIOS Console session.
admin
show
Sample command to set the load image for a P10 is as follows:
set loadimage /usr/lib/cns/cns-p10
set config /usr/lib/cns/00406ef000f0.cfg
NOTE: If the 7318's configuration file has not been created, copy the 7318's default configuration file and name it 00406eXXXXXX.cfg where XXXXXX refers to the last six digits of the 7318's hardware address. The default configuration files in the /usr/lib/cns directory are s20.cfg and p10.cfg. You can use the default configuration to boot the 7318 but DO NOT MODIFY THE DEFAULT CONFIGURATION FILE.
Sample command to set the load interface is as follows:
set interface 1
NOTE: This may be needed if the HA feature is being used and the system to load from is on the AUI port (the 10BaseT is checked first). Otherwise, leave the default value.
Sample command to set the frametype is as follows:
set frametype 1
NOTE: This feature is most useful for speeding up the boot process. If the frametype is specified, the 7318 will not search for the frametype needed.
Sample command to set the protocol is as follows:
set protocol 1
NOTE: Since IPX is tried first, specifying this parameter speeds up the boot process for a 7318 using TCP/IP (UDP). No time will be wasted looking for an IPX boot host when one doesn't exist.
Now that we have made the necessary configuration changes, boot the 7318. The 7318 can be rebooted in two ways. Choose the most convenient method from the following.
After approximately 20 seconds, the light sequence on the front of the 7318 should be either 1110 or 1101. If the sequence is (1 Flash 1 0) or (1 Flash 0 1), verify the boot configuration methods used above. If booting the 7318 is unsuccessful, please contact an IBM AIX Technical Specialist.