Notes on when I reinstalled AIX 4.1.3 on nemesis on 8-15-95 and reconfigured NIM. 0) Installed 4-gig disk in lieu of 2 670's & 1 1-gig. Installed cd drive stolen/borrowed from maple. 1) Installed bos from cd. Set date/time. Answered "Yes" to "On Daylight Savings Time" & chose "Pacific Standard Time", resulting in PDT. Set root's password. Configured TCP/IP using nemesis & 129.33.40.14 as hostname, 129.33.40.250 as gateway, 129.33.40.254 as name server, and almaden.ibm.com as domain name. 2) Installed afs with tftp -o /tmp/afsinstall oak /local/lib/afs/afsinstall image chmod 755 /tmp/afsinstall tftp -o /tmp/afsclient.tar oak /local/lib/afs/afsclient-41.tar image and /tmp/afsinstall /tmp/afsclient.tar Since nfs wasn't installed yet, it turns out the afsinstall script mostly worked, but failed to update /etc/inittab. See step 23) below. 3) Get the cd readable by crfs -v cdrfs -p ro -dcd0 -m/cd -Ano and mount -v cdrfs -r /dev/cd0 /cd 4) Got a list of filesets that needed to be installed by doing a lslpp -L on nemesis and comparing it with the list I had before. Created an installp command that was 7157 characters long that installed 347 filesets. installp -agX -d /cd/usr/sys/inst.images bos.acct bos.adt.base bos.adt.data ... and ran it. This step took over 2 hours. Command saved in /home/root/NIM_Configuration_Archive/installp.command.to.augment.nemesis. 5) Ran setupnet from a squirreled-away copy in /u/jasper/nemesis/home/root/setupnet. ./afs/alm/@sys/local/bin/klog jasper cp -p /afs/alm/u/jasper/nemesis/home/root/setupnet /tmp/setupnet chmod +x /tmp/setupnet and ./tmp/setupnet (This failed before doing step 4) above because /usr/sbin didn't have gated or named yet - they were in the bos.net.tcp.server fileset. I modified setupnet to handle this case.) 6) Since the 4.1 version of customize was still in /afs/alm/ais/install/alminst, export ALMINST=/afs/alm/ais/install/alminst cd $ALMINST/scripts ./customize -net -afsrinst (this failed before step 4) above because nemesis didn't have a graphics adapter in it, so the desktop filesets didn't get installed, and we were missing /usr/dt/bin, which the afsrinst script wanted to backup.) 7) Created the /export file system for the spots & nim/scripts, etc. Made it 2 gig big (4194304 512-byte blocks = 2 gig). crfs -v jfs -g rootvg -a size=4194304 -m /export -A yes mount /export mkdir /export/nim mkdir /export/nim/scripts 8) Activated the NIM master. nimconfig -a pif_name=en0 -a master_port=1058 -a netname=subnet40 \ -a platform=rs6k -a cable_type=di 9) Define the network. There were 10 ethernet subnets (10, 12-15, 17, 20, 22, 30, and 32) and 10 token ring subnets (60, 62-65, 67-68, 70, 72, and 82). The commands all looked like nim -o define -t ent -a net addr=129.33.10.00 -a snm=255.255.255.0 subnet10 or nim -o define -t tok -a net addr=129.33.60.00 -a snm=255.255.255.0 subnet60. Subnet40 didn't have to be redefined, because it was automatically defined in step 8) above. Script to do this saved in /home/root/NIM_Configuration_Archive/nim.commands.to.define.networks. 10) Define the routing. There were 20 commands, all similar to nim -o change -a routing1='subnet10 wf-40 wf-10' subnet40 Again, no routing had to be defined between subnet40 & subnet40. Had errors on subnet 14, 15, & 17 (unable to resolve wf-1x to an IP address). For those subnets, had to nim -o change -a routing4='subnet14 wf-40 bobcat' subnet40 nim -o change -a routing5='subnet15 wf-40 bobcat' subnet40 nim -o change -a routing6='subnet17 wf-40 wf-172-20-192' subnet40 Script saved in /home/root/NIM_Configuration_Archive/nim.commands.to.define.routing. 11) Define the /inst.images file system for the lpp_source. Made it 1 gig big. crfs -v jfs -g rootvg -a size=2097152 -m /inst.images -A yes mount /inst.images This step is only given a passing reference in the nim guide on page 5-5, but is presumed to be done on page 5-6. 12) Define the lpp_source. umount /cd (had to make /dev/cd0 unbusy - I had it mounted from step 3) above). nim -o define -t lpp_source -a location=/inst.images -a server=master \ -a source=/dev/cd0 lpp-413 13) Add all the other filesets from the cd into the lpp_source, lpp-413. Created one 550-character bffcreate command that installed 43 packages. mount /cd bffcreate -d /cd/usr/sys/inst.images -X -t /inst.images bos.acct bos.adt ... Command saved in /home/root/NIM_Configuration_Archive/bffcreate.command.to.augment.lpp-413. 14) Define the spot. (Took 43 minutes) nim -o define -t spot -a location=/export -a server=master -a source=lpp-413 spot1 15) Add the 151 additional filesets we need in the spot. nim -o cust -a lpp_source=lpp-413 -a filesets="bos.acct bos.adt.base ..." spot1 Command saved in /home/root/NIM_Configuration_Archive/nim.cust.command.to.augment.spot1. 16) Set up to service the info documentation to the lab. Everybody that runs customize -other will NFS-mount /usr/lpp/info/lib/en_US to get the info documentation. mknfsexp -d'/usr/lpp/info/lib/en_US' -t'ro' -B This command put stuff into /etc/exports and started up the NFS daemons. 17) Did local customization for afsinstall. echo 'allow:/afs/almaden.ibm.com/rs_aix32/local/lib/afs' >> /etc/tftpaccess.ctl Normally, this would be for simply /local/lib/afs, but the 4.1.3 tftp is broken and doesn't follow any links correctly. The bypass is to fully spell out the complete path for /local/lib/afs. At this time, that was it (i.e. pointing back to rs_aix32). I had to later come back and add a echo 'allow:/tftpboot' >> /etc/tftpaccess.ctl to get a machine to boot. The spot creation step in 14) above was supposed to add that line, but perhaps I did something to screw it up by doing this step while step 14) was running. 18) Define the necessary nim install-time scripts. I had them squirreled away in my home directory, so I just copied them over to /home/root/Install_Scripts. nim -o define -t script -a server=master -a location=/home/root/Install_Scripts/Do-net Do-net nim -o define -t script -a server=master -a location=/home/root/Install_Scripts/Do-afs Do-afs 19) Changed root's home directory from / to /home/root. Also stuck in my favorite customizations. 20) The machines are ready to be defined to nim via the command nim -o define -t standalone -a platform=rs6k \ -a if1="subnet63 cabernet.almaden.ibm.com 0" -a cable_type1=dix cabernet 21) To initiate a bos install on a machine, nim -o allocate -a lpp_source=lpp-413 -a spot=spot1 \ -a script=Do-net -a script=Do-afs cabernet and nim -o bos_inst -a source=spot <-a no_client_boot=yes> cabernet The no_client_boot option won't wait for the bos_inst operation to time out if the host isn't ready right this second to do a bos install. 22) I have two scripts in /home/root to define machines to NIM, nimadd & nimadd-isa. Turns out Flick has some new 7248-133, PowerPC machines that have the ISA-bus (qbic*), that needed to be defined as platform=rspc, not the normal rs6k. Yes, I should have combined the two scripts together, but I didn't know how. 23) Updated /etc/inittab to remove the install_assist line (this line should have been removed the first time I exited the install assistant - I must have quit it instead of exiting cleanly). Also added rcafs:2:wait:/etc/rc.afs > /dev/console 2>&1 # Start AFS Daemons after the rcnfs line. This should have been done in step 3) above, but didn't happen because nfs wasn't installed yet, so the rcnfs line wasn't in /etc/inittab.