Remote booting of Solaris
Checklist for installing Solaris 5.x
Pre installation detailsr
Mail Charles charles@umbc.edu for an ip address
and an entry in the nameserver. Some requisite information is
the name of the machine, the location of the machine
and the type of machine. Eg
Could you please assign an ip and an entry in the nameserve
for the following machine:
Name: wrath-of-khan.engr.umbc.edu
Location: ECS 115
Type: Cray T3D/2048 Node
Comment: Machine for running FractStudio
Thanks,
Vijay
Charles will get back to you with an ip number. Note
this down.
Set up the machine, check the ethernet cabling. For ethernet cabling,
the people to know are Charles and Dan (dan@umbc.edu).
If you are not using the 10BaseT port, the other ethernet port is
the lower of two similar looking ports and is marked with
<...>. The upper port is the parallel port
and is marked with two || lines.
Boot up the machine and the ethernet address will be printed on the
screen. Note this down. It will be used later in the boot/install
process by the RARP/ARP protocols. The machine (if configured with
JumpStart will try to boot up and will fail. Leave it be.
Bootserver setup
On the NISmaster server, do the following.
- Edit /etc/hosts and add the ip and name to it.
# IP address-hostname database (see hosts(4) for more information).
# This entry must be present or the system will not work.
127.0.0.1 localhost
# Engineering Supercomputers
130.85.110.111 wrath-of-khan.engr.umbc.edu
- Edit /etc/ethers and add the ethernet address to it.
# /etc/ethers maps Ethernet addresses to hostnames
#
# The library routine ether_line() uses this file.
#
# The format of a line is:
#
# x:x:x:x:x:x hostname
#
# where the first field is the 48-bit Ethernet address
# expressed as 6 hexadecimal bytes.
1:2:34:56:78:90 wrath-of-khan.engr.umbc.edu
- Push the maps out. (on coe1: /usr/etc/yp/ypmake)
The user data, home directories were stored on argos:/home. This was
backed up by
/usr/etc/rdumb 0ubsdf 125 13000 54000 coe2:/dev/rmt/0mn /home
The dump was verified and found to be without errors.
/usr/lib/fs/ufs/ufsrestore ibf 126 /dev/rmt/0mn
/etc/ethers was edited on coe1 with the ethernet address of argos, for
rarpd.
on argos:
/etc/halt
goes to the boot monitor
boot net - install
will boot from net
ask for subnetworks: answer yes
the netmask will be 255.255.255.0
Ask for country/timezone etc. America, Eastern (EDT)
The system will prompt you for the root password.
set the root password at this point.
Set the partitions, initialize.
swap : 150 megabytes
/ : 25 megabytes
/var : 75 megabytes
/usr gets the rest (722742 KB)
(/tmp and swap are the same, be careful of this one).
Filesystem will be initialized. This will take a lot of time on a
gig disk.
Now the system will auto install over the net.
login as root.
First thing, edit the /etc/resolv.conf. It won't exist, so edit and add
the following lines:
domain engr.umbc.edu
nameserver 130.85.110.131
nameserver 130.85.110.100
This will set up the nameservers (coe2, coe2).
After this is done, mkdir /etc/namedb and download localhost.rev and
named.ca edit the /etc/resolv.conf to have the following entry.
domain engr.umbc.edu
nameserver 127.0.0.1
This sets up the caching nameserver. Now start it up again.
/usr/sbin/in.named
Edit /etc/nsswitch.conf so that the the passwd, group etc entries look
like:
passwd: compat
group: files nis
This was hosts: nis etc, change nis to dns
hosts: dns [NOTFOUND=return] files
The automounter entries should look like this:
automount: files
aliases: files nis
Now add patches:
mkdir /tmp/patches
ftp to coe2 and download the patches.
First install the 101331-03 patch (this fixes problems with the patch)
./installpatch /tmp/patch101331-03
is the command to install the patch.
rm -rf /tmp/patches/101331-03
Then I wrote a script that ran through the patch directories and
installed the patches.
After the patches are installed, add sendmail (this is important to
do, as patch modifies sendmail).
Download the new sendmail and sendmail.conf files and install them.
edit the /etc/group files and remove root from all groups that don't
need it. Adm, daemon, mail etc. This is done so that the HP will let
root access the NFS mounted disks. With root in groups, it will fail
and HP's NFS seems only to accept at most about 8 root entries and we
pick up a lot from NIS.
Fix automounter maps:
/etc/auto_master
+auto_master
/net -hosts -nosuid
/users/engr auto_home
/etc/auto_home
# Home directory map for automounter
#
+auto_home
grad3 plato:/users/engr/grad3
grad4 maxwell:/users/engr/grad4
grad5 rocky:/users/engr/grad5
This will make sure that the home directories will be mounted.
---
Edit /etc/passwd and add +'s to the people who will be allowed
to log in to the machines (+panos, +ansari etc).
edit /etc/shadow and add + entries to the people (in the same order
as in /etc/passwd).
+panos
+kuhn
+wezhang
+ansari
+nicolaou
etc.
Test mail.
Test DNS.
Change /etc/services. Add the following line after the sunrpc 111 line.
ident 113/tcp auth tap
Then edit /etc/inet/inetd.conf and add the syslog/tcpd stuff. The
inetd.conf stuff is standard. Look at entries in coe2.
Now get the syslog.conf file (/etc/syslog.conf on coe2). This has
the standard syslog stuff replaced with our custom loggers. The loghost
is coe1.engr.umbc.edu (loghost.engr.umbc.edu).
We are done.
Reboot.