Summary

From: Terry White (blazer!tkw@bagate.UUCP)
Date: Wed May 19 1993 - 16:20:54 CDT


Thanks to all that replied. My original question was:

 | Hello all, can someone provide the information needed to boot
 | a diskless workstation off le1.
 |
 | We have a SparcCenter 2000 with a differential SCSI in slot 0 (le0)
 | and a scsi/ethernet in slot 3 (le1). The differential scsi card has
 | a twisted pair connection which we don't have and the le1 has an aui
 | connection which we do have. What file's do I change to boot from le1.
 | I will post the information.

Below are the responses that I received. The easiest way appears to do
this appears to be using admintool. Again thanks to all that replied.

=============================================================================
/'''
c-00 bill hunter bill@access.com i have a photographic memory,
   \ access graphics (303)545-1167 but i'm out of film!
  - 1426 pearl / boulder,co 80302

1: This discussion assumes that:

    *** server is operating under SunOS 4.0
    *** server was installed to support diskless clients (i.e., the
        '/tftpboot' directory is in place)
    *** architecture support for the diskless client is already
        installed on the server ('Early American' Sun2,
        'Gothic' Sun3, etc.)
    *** Yellow Pages is operational (I've never tried this without YP;
        booting diskless via ie1 may well work without it)
    *** you have already enabled 'ie1' and have successfully enabled
        routing between the two EtherNET controllers.

2: Edit '/etc/rc.local'; proceed to the section concerned with '/tftpboot'
    and create an entry to enable 'rarpd' for the 2nd Ethernet controller:
 
    rarpd ie1 server-name-on-ie1;
 
3: Edit the '/etc/hosts' file on the server so that it contains entries for
    both EtherNET interfaces on the server as well as for the diskless
    client:
 
    192.9.200.1 server-name-on-ie0
    192.9.201.1 server-name-on-ie1
    192.9.201.2 client-name-on-ie1
 
4: Edit the '/etc/ethers' file on the server so that it contains entries for
    both EtherNET interfaces on the server as well as for the diskless
    client:
    8:0:20:0:42:42 server-name-on-ie0
    8:0:20:0:42:42 server-name-on-ie1
    8:0:20:0:ab:cd client-name-on-ie1
 
5: Update the Yellow Pages tables and issue an '/etc/fastboot' command. Verify
    that Yellow Pages is aware of the preceding table modifications (use the
    'ypmatch' command against the 'hosts' and 'ethers' YP maps).
 
6: 'cd' to the '/usr/etc/install/script' directory and execute the
    'setup_client' script to create the diskless client, 'client-name-on-ie1'.
 
7: Edit the '/etc/bootparams' file on the server so that the entry relating
    to 'client-name-on-ie1' references 'server-name-on-ie1':
 
    client-name-on-ie1 \
        root=server-name-on-ie1:/export/root/client-name-on-ie1 \
        swap=server-name-on-ie1:/export/swap/client-name-on-ie1
 
8: Update the Yellow Pages tables and issue an '/etc/fastboot' command. Verify
    that Yellow Pages is aware of the preceding table modification (use the
    'ypmatch' command against the 'bootparams' YP map).
 
9: Edit '/export/root/client-name-on-ie1/etc/hosts'. Normally the
    'setup_client' routine includes only 'server-name-on-ie0'; you will need to
    add the entry for 'server-name-on-ie1':
 
    192.9.200.1 server-name-on-ie0
    192.9.201.1 server-name-on-ie1
    192.9.201.2 client-name-on-ie1
 
10: Edit '/export/root/client-name-on-ie1/etc/fstab'. Verify that
     all of the entries reference server-name-on-ie1; alter where necessary.
 
    server-name-on-ie1:/export/root/client-name-on-ie1 / nfs rw 0 0
    server-name-on-ie1:/export/exec/machine-architecture /usr nfs rw 0 0
    server-name-on-ie1:/export/share /usr/share nfs ro 0 0
        /home/server-name-on-ie0 nfs rw 0 0

11: Boot the diskless client.

This procedure works quite effectively on Sun3's and Sun4's, assuming you're
using SunOS 4.0 (as Jeff said, "...I don't know about 3.x."). Note that I
have stated several times that this functionality is not supported;
it just works. Please, no flames; my Nomex suit is at the cleaners...

===============================================================================

If you create the diskless client using admintool's Host Mgr and specify the
client as being on the network attached to the le1 interface, the setup should
be done correctly for you. If not, it is a bug that should be reported.

Dave

---------------------------------------------------------------------------
Dave Miner dave.miner@east.sun.com
SunSelect, PC Networking Engineering (508) 442-0463
---------------------------------------------------------------------------

===============================================================================

From: stern@sunne.East.Sun.COM (Hal Stern - NE Area Systems Engineer)
Subject: Re: Booting Diskless
Content-Length: 237

(a) make sure you're running rarpd on le1.
(b) in the bootparams file, list the hostname assigned to le1,
        not to le0. use this hostname for all NFS mounts,
        so that the client can find the "right" machine on
        its local network.

--hal



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:07:51 CDT