7318 Boot Configuration


Contents

About this document
Document information
Remote booting
Assumptions and terms
Requirements
Checking for conflicting software
Checking the interface
Choose the boot protocol
Checking the IPX and cnsview daemons
Verify the IPX network
Adding the 7318 as a device using SMIT
Checking the tftp daemon
Checking the tftp file access permissions
Choosing the boot method
Booting the 7318 using a broadcast load configuration
Adding the 7318 entry in the /etc/bootptab file
Checking the active bootp services
Configuring the 7318s NVRAM for a directed load
Directed load configuration using IPX
Directed load configuration using TCP/IP
Saving the boot parameters in the NVRAM
Boot the 7318

About this document

This document is designed to assist IBM eServer pSeries and RS/6000 system administrators with the boot configuration for the IBM 7318 model P10 (Terminal Server) or model S20 (Communications Server). Using this document, boot configurations take about 20 to 45 minutes, depending on the configuration. This document is applicable to AIX Versions 3.2.5 to 4.2.

Document information

This document will ask a series of questions that will help you determine the boot configuration that best suits your network and system configuration. The document is comprised of modules that contain specific configuration steps. The modules have been arranged from general to specific configuration issues. Since this document contains modules for four different configurations, you will not use all of the modules presented in this document.

If you are unsure of which boot configuration to use, the default configuration is marked with a double asterisk (**). If you already have a specific boot configuration in mind, it may be more efficient to use other documents that have been specifically written for that boot configuration. Specific boot configuration documents available are:


Remote booting

The 7318 was originally designed to boot and operate locally to the computer (that is, the pSeries or RS/6000 and 7318 are on the same LAN). Frequently, the 7318's functionality is needed in a remote network (that is, the pSeries or RS/6000 and 7318 are on separate networks, linked by a gateway or router). The 7318 is capable of booting while remote from the pSeries or 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 from the normal configuration.

Booting from a non-AIX host

The 7318 model S20 can load from a non-AIX computer using TCP/IP. This document does not cover this boot configuration. Please call an AIX Technical Specialist for configuring a 7318 S20 to load from a non-AIX host.


Assumptions and terms

Before using this document, it is assumed that:

Terms used in this document:


Requirements


Checking for conflicting software

AIX Connections use an IPX protocol stack (indicating IPXd) that is slightly different than the IPX (indicating IPX) software that is used for NetWare and the 7318 Terminal Server. Both IPX software (IPX and IPXd) CANNOT be active on a host at the same time. To configure IPX for NetWare or the 7318, verify that AIX Connections are not active on the host at the same time.

NOTE: Other hosts running AIX Connections can reside on the same physical network without any incompatibility problems.

  1. Check if AIX Connections are active. Enter:
       ps -ef | grep nw
    

    Sample output is as follows:

       root 11676     1   0   Oct 11      -  0:00 /usr/tn/nw/NWfile
       root 23948     1   0   Oct 11      -  0:00 /usr/tn/nw/NWbinderyd
       root 33958     1   0   Oct 11      -  0:00 /usr/tn/nw/NWprint
       user 34264 47824   2 16:30:01 pts/22  0:00 grep nw
       root 43820 11676   0   Oct 11      -  0:00 /usr/tn/nw/NWfile
       root 46740     1   0   Oct 11      -  0:00 /usr/tn/nw/NWlockd
       root 48002     1   0   Oct 11  pts/0  0:15 /usr/tn/nw/IPXd
       root 48558     1   0   Oct 11      -  0:00 /usr/tn/nw/NWdiagd
    

  2. Verify that AIX Connections are inactive (AIX Connections are inactive if none of the processes listed above are running).

    If any AIX Connections processes are active, you cannot configure an IPX network for NetWare or the 7318 on this host.

    Check if the new IPX stack is installed. Enter:

    	lslpp -l ipx.base.*
    
    If filesets are returned, then the new IPX stack is already on the machine and the 7318's IPX stack cannot be installed.

    If AIX Connections are NOT active and the new IPX stack is not installed, please continue with the next section, "Checking the interface".


Checking the interface

The host communicates with the network through an interface (tr0, en0, et0, fi0). To configure an interface for IPX, the interface must be active (the words <UP, RUNNING> appear in the flags when the ifconfig command is run).

NOTE:

  1. Verify that the communications interface is active using the ifconfig command and the adapter name.

    For a standard Ethernet interface configured on ent0, enter:

       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, enter:

       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. Enter:

       smit inet
    

Choose the boot protocol

The 7318 model P10 and S20 can use either the SPX/IPX or TCP/IP protocol to boot. For the SPX/IPX boot configuration, continue to the next section "Checking the IPX and cnsview daemons". For the TCP/IP boot configuration, continue to the section "Checking the tftp daemon".


Checking the IPX and cnsview daemon

The Terminal Server depends on many daemons for operation. The sapd and npsd daemons (Novell Protocol Suite) manage the IPX channel for communication and the cnsview daemon manages all Terminal Server devices and processes on the host. All three daemons must be active for a successful IPX boot and normal Terminal Server operation.

  1. Verify if the IPX npsd daemon is active. Enter:
       ps -ef | grep npsd
    

    Sample output when it is active follows:

       root  5150     1  0 06:45:54     -  0:00 ./npsd
       root 16170 15336  2 15:47:33 pts/1  0:00 grep npsd
    

  2. Verify if the IPX sapd daemon is active. Enter:
       ps -ef | grep sapd
    

    Sample output when it is active follows:

       root  5404     1   0 06:45:52     -  0:09 ./sapd
       root 16178 15336   5 15:47:39 pts/1  0:00 grep sapd
    

  3. Verify if the cnsview daemon is active. Enter:
       ps -ef | grep cnsview
    

    Sample output when it is active follows:

       root  3370  1   0 06:46:03   -  0:03 /usr/bin/cnsview -c daemon start
       root  18978 15336   6 15:47:25  pts/1  0:00 grep cnsview
    

  4. If all three processes were listed in the output from the above ps commands, then please continue to the section "Verify the IPX network".

    If the cnsview daemon was active but the sapd and/or npsd daemons were not active, stop the cnsview daemon and restart all three daemons using the sequence in the step below.

    To stop the cnsview daemon. Enter:

       cnsview -c "daemon stop"
    

    If all three processes were NOT listed in the output from the above ps commands, then continue with the steps below, to start the daemons.

  5. To start the sapd and npsd daemons, enter:
       /usr/lpp/netware/bin/startnps
    

  6. To start the cnsview daemon, enter:
       cnsview -c "daemon start"
    

    NOTE: The cnsview daemon cannot be active until both the sapd and npsd daemons are active. If you are stopping daemons and yet they are still listed as an active system process, execute a kill -1 on the process id and restart all three daemons starting with step 4 above. If still unsuccessful, please contact an IBM AIX Technical Specialist.

  7. Once these daemons are active, continue to the next section, "Verify the IPX network".

Verify the IPX network

The host's IPX routing table can be viewed by executing the following program:

   /usr/lpp/netware/bin/drouter

If the IPX network is configured properly, it will be listed in the IPX routing table.

Remote configurations

All remote IPX networks will appear in the host's IPX routing table if there is an active IPX communication channel between the two IPX networks (that is, a router or gateway is configured for IPX and passes IPX packets).

  1. To view the host's IPX routing table, enter:
       /usr/lpp/netware/bin/drouter
    

    Sample output is as follows:

       NETWORK   HOPS TIME  NODE          NETWORK   HOPS  TIME  NODE
       --------  ---- ----  ------------  --------  ----  ----  ------
       00000001  0000 0001  000000000001  00000002  0000  0001  02608C2F7119
       00000003  0000 0001  02608C2F1591  00000004  0001  0002  00406E0002F5
       00000005  0001 0002  00406E0002DB
    

    NETWORK is the network number, internal or external. There should be one entry in this table for each network segment in the overall network.

    HOPS is the number of routers which must be passed through to get to this network.

    NODE is the Ethernet address of the station used to get to the network.

  2. Verify that the IPX network is shown in the listing.

    If the IPX network on which the 7318 resides is shown in the host's IPX network table, continue to the next section.

    If an IPX network is not shown and must be configured, refer to documentation on configuring IPX networks or call an IBM AIX Technical Specialist.


Adding the 7318 as a device using SMIT

To boot the 7318 using the SPX/IPX broadcast configuration, the 7318's device and network definitions must be added to the ODM using SMIT.

  1. Start SMIT and use the fastpath ts7318_cs_add_hdr. Enter:
       smitty ts7318_cs_add_hdr
    

  2. Enter the configuration information in the following fields:

    New ComNetServer Number

    The New ComNetServer Number is the number of the 7318 you are adding. The first 7318 is typically 01, then 02, 03, 04 . . . NN as more are added.

    Autogenerated TTY Devices

    With the arrow key, move down to the Autogenerated TTY Devices field. Press the Tab key until the selection reads none. Many times it is more convenient to add the TTYs later. However, if all 16 serial ports on the 7318 will be used as TTYs, it is easier to autogenerate the TTYs now.

    Interface Type

    Select the desired interface type for the TTYs. The default type is RS-232.

    ComNetServer Network Address

    The ComNetServer Network Address is the IPX network on which the 7318 resides. The Network Address must match an IPX network address listed in the host's IPX network table.

    NOTE: When the 7318 is local to the host (on the same physical LAN), the IPX network address is listed as the lan_X_network number in the /etc/netware/NPSConfig file. If the 7318 is remote from the host (on a different LAN), an IPX communication channel must be active between the two IPX networks. Enter the following command:

       /usr/lpp/netware/bin/drouter
    

    to see if the IPX communication channel is active between the pSeries or RS/6000 and the remote IPX network. The IPX network on which the 7318 resides should be listed.

    ComNetServer Ethernet Address

    The ComNetServer Ethernet Address [00406eXXXXXX] is the hardware address of the 7318, where XXXXXX refers to the last six digits of the 7318's hardware address. This address can be found on the white label on the back of the 7318.

    ComNetServer Bootfile

    The ComNetServer Bootfile is the boot image sent to the 7318. For P10s, the default image is /usr/lib/cns/cns-p10 and for S20s, it is /usr/lib/cns/cns-s20 or /usr/lib/cns/cns-s20e depending on the version of the software you are using. A sample entry looks similar to the following:

       New ComNetServer Number                 [01]
       Autogenerated TTY Devices               none
       Interface Type                          RS-232
       ComNetServer Network Address            [00000300]
       ComNetServer Ethernet Address           [00406ee00155]
       ComNetServer Bootfile                   [/usr/lib/cns/cns-p10]
    

  3. After finishing the configuration, press Enter to add the device definition. Continue to the next section.

Checking the tftp daemon

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.

  1. Verify that tftp is active. Enter:
       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.

  2. To activate the tftp daemon, open the /etc/inetd.conf file with a text editor, and search on tftp.

  3. If the entry is commented out, uncomment the entry by removing the # sign. An uncommented, sample tftp entry will look as follows:

    At 4.2.1 and lower:

       tftp    dgram  udp     wait    nobody  /usr/sbin/tftpd      tftpd -n
    
    At 4.3.0 and higher:
       tftp    dgram  udp6    SRC     nobody  /usr/sbin/tftpd      tftpd -n
    

  4. Save any modifications and exit the file.

  5. Open the /etc/services file with your favorite text editor and search on tftp.

  6. If the entry is commented out, uncomment the entry. An uncommented, sample tftp entry will look as follows:
       tftp 69/udp
    

  7. Save any modifications and exit the file.

  8. Refresh the inetd daemon to implement file modifications. Enter:
       refresh -s inetd
    

    NOTE: For AIX 3.2.5 systems, first run the command inetimp.

  9. Refer to step 1 (above) to check for an active tftp process once more. Continue to the next section, "Checking the tftp file access permissions", when the process is active. If you are unable to start tftp, please contact an IBM AIX Technical Specialist.

Checking the tftp file access permissions

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.

  1. Open the /etc/tftpaccess.ctl file with an editor.

    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" . If the /etc/tftpaccess.ctl file does not exist, then tftp is allowed access to all directories.

  2. Specify the directories to which tftp is allowed access (uncomment or add allow:/usr/lib/cns directory).

    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
    

  3. Save any modifications and exit this file.

  4. Change to the directory in which the load image and configuration file reside.

  5. Verify that the permissions for the files are world-readable. Enter:
       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
    

  6. If the file is not world-readable, change the permissions. Enter:
       chmod 444 <filename>
    

  7. Continue to the next section.

Choosing the boot method

The 7318 model P10 and S20 can use two different boot methods with either TCP/IP or SPX/IPX, that is, a directed load or a broadcast load.


Booting the 7318 using a broadcast load configuration

To configure the 7318 to boot using the IPX protocol for a broadcast load, continue to the section "Boot the 7318".

Booting remotely

To boot using a TCP/IP broadcast configuration, the router or gateway connecting the two LANs must be able to pass bootp broadcast packets. If the router cannot pass these broadcast packets, then use the TCP/IP directed load configuration instead.

To configure the 7318 to boot using the TCP/IP protocol for a broadcast load, continue to the next section, "Adding the 7318 entry in the /etc/bootptab file".


Adding the 7318 entry in the /etc/bootptab file

To boot the P10 or S20 using a TCP/IP broadcast load, the 7318 must be added to the /etc/bootptab file. The /etc/bootptab file lists the devices on the network to which the bootp server should reply. A bootp server listens for boot requests from the devices listed in the /etc/bootptab file and then begins boot services.

  1. Open the /etc/bootptab file with an editor.

  2. Add an entry for the 7318 at the end of the file.

    NOTE: Device parameters are listed at the beginning of the file. All entries must be on one line (lines may wrap to the next line), with no spaces, and separated by a colon. The entry must end with a colon.

    Sample entry looks like the following:

       cns01.ibm.com:ht=ethernet:bf=/usr/lib/cns/cns-s20:ha=00406
    e000999:ip=1.1.1.2:
    

    NOTE: The ht=ethernet is mandatory and indicates the format of the hardware address, which will always be Ethernet. This can be an issue for those who are booting across a bridge to token ring.

  3. Save the modifications and exit the file. Continue to the next section, "Checking for active bootp services."

Checking for active bootp services

bootp is the daemon that listens for the 7318's file requests and replies with its IP address and the name of its boot file. To boot the 7318 using a broadcast configuration, bootp must be active.

  1. Verify that the bootp daemon is active. Enter:
       lssrc -ls inetd | grep bootps
    

    Sample output looks like the following:

       bootps       /usr/sbin/bootpd bootpd /etc/bootptab     active
    

    If bootp is active, continue to the section "Boot the 7318". If the process is inactive or is not listed, continue to start the process.

  2. Open the /etc/inetd.conf file with your favorite editor and search on bootps.

  3. If the entry is commented out, uncomment the entry by removing the # sign.

    An uncommented, sample entry from the /etc/inetd.conf file looks like the following:

       bootps  dgram  udp   wait  root  /usr/sbin/bootpd    bootpd /etc/bootptab
    

  4. Save any modifications and exit the file.

  5. Open the /etc/services file with your favorite editor and search on bootps.

  6. If the entry is commented out, uncomment the entry.

    An uncommented, sample entry from the /etc/services looks like the following:

    bootps        67/udp                       # bootp server port
    

  7. Save any modifications and exit the file.

  8. Refresh the inetd daemon with the file modifications. Enter:
       refresh -s inetd
    

    NOTE: For AIX 3.2.5 systems, first run the command inetimp.

  9. Refer to step 1 (above) to check for an active bootp process. If you are unable to start bootp, please contact an IBM AIX Technical Specialist. Continue to the section "Boot the 7318" when the process is active.

Configuring the 7318s NVRAM for a directed load

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.

  1. Verify the terminal connectivity and configuration. The terminal should be connected to any one of the 16 ports on the front of the 7318. The terminal should emulate an ASCII terminal with the following settings:
       9600 baud       8 data bits     no parity       1 stop bit
    

  2. To start a BIOS Console session, recycle the power on the 7318 by unplugging and replugging the power cord. When the 7318 is powered back on, hold the Shift key and press 3 (the # sign) repeatedly until four # signs scroll across the screen of the terminal.

    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.

  3. To make changes to the NVRAM, change to the administrative user. Enter:
       admin
    

  4. Display the current contents of the NVRAM. Enter:
       show
    

  5. Specify the boot parameters using the set command.

    Specify the loadimage. Set the loadimage for the 7318. Default loadimages (in the /usr/lib/cns directory) are as follows:

    A sample command to set the loadimage for a P10 follows:

       set loadimage /usr/lib/cns/cns-p10
    

    Specify the configuration file. Set the configuration file for the 7318. A sample command to set the configuration file for 00406ef000f0 follows:

       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.

    Specify the load interface. Use the set command to specify the load interface. The 7318 can be forced to use either the AUI or 10BaseT Ethernet interface instead of searching for the attached interface. If you are unsure, leave the default value.

    A sample command to set the load interface 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.

    Specify the frametype. Use the set command to specify the packet type. The 7318 can be forced to use a packet type by setting the frametype parameter. If you are unsure, leave the default value.

    A sample command to set the frametype 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.

    Specify the protocol. Use the set command to specify the protocol. The 7318 can be forced to use either IPX (1) or UDP (2) to load. If you are unsure, leave the default value.

    A sample command to set the protocol 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.


Directed load configuration using IPX

To force the 7318 to download files from a specific SPX/IPX host, follow these steps:

  1. Through the 7318's BIOS Console, set the host1 parameter with the internal IPX network number of the host.

    A sample command to set an IPX load host follows (the host's internal_network number is 8ae46c31):

       set host1 8ae46c31:000000000001
    

  2. Continue to the section "Saving the boot parameters in the NVRAM".

Directed load configuration using TCP/IP

Since the 7318 is using TCP/IP, the 7318 must have an IP address.

  1. Set the 7318's IP address using the set command.

    A sample command to set the IP address follows (the 7318's IP address is 9.3.6.7):

       set inet 9.3.6.7
    

  2. To force the 7318 to download files from a specific TCP/IP host, set the host1 parameter with the IP address of the host.

    A sample command to set a TCP/IP load host follows (the host's IP address is 9.3.6.42):

       set host1 9.3.6.42
    

    NOTE: If you have a name server or a non-standard netmask, configure them with the set command as well (as shown above for other NVRAM boot parameters). If you enter a name server IP address and DNS domain, you can enter a host name for the host1 parameter instead of an IP address.

  3. If the 7318 is on a remote network, then the gateway between the two IP networks also should be specified.

    A sample command to set a TCP/IP gateway follows (the gateway's IP address is 9.3.6.2):

       set gateway 9.3.6.2
    
  4. Continue to the next section, "Saving the boot parameters in the NVRAM".

Saving the boot parameters in the NVRAM

  1. If all the boot parameters have been entered and are correct, save the modifications. Enter:
       save
    

  2. Continue to the next section.

Boot the 7318

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.

  1. Recycle the 7318's power by unplugging and replugging the power cord.

  2. Execute the load command from the BIOS Console session on the 7318.

    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.




[ Doc Ref: 90605191014772     Publish Date: Jan. 30, 2001]