Customizing the fileserver
The next step is to customize the fileserver, so we can boot cpu servers and terminals off of the fileserver.
First turn permission checking off on the fileserver so you can modify system files, reboot the machine and hit a key when you get the message about entering config mode, type "allow" followed by "end". Permission checking is now off and you can customize the fileserver. using the cpu/auth server, mount the fileserver filesystem on the cpu/auth server machine using commands like:
srv il!vampira.acl.lanl.gov mount -c /srv/il!vampira.acl.lanl.gov /n/vampiraand edit the files.
The fileserver will be used to boot 3 kinds of systems: terminals, secondary cpu server, the primary cpu/auth server.
Booting terminals
Very few modifications are needed to for booting terminals off of the file server the first it to setup the ndb/local file which is used by all the network services. Our /lib/ndb/local is here . Given that permisson checking is off, we can just copy this file on to the file server:
cp /lib/ndb/local /n/vampira/lib/ndb/local
Cpu servers and terminals run different copies of some services. When seting up the Cpu/Auth server we just deleted the terminal services and replaced them by the appropriate Cpu/auth server once. For the general setup where multiple types of machine can boot off of the fileserver, things are a bit more involved:
mkdir /n/vampira/rc/bin/service.noauth cd /n/vampira/rc/bin/ mv service/il566 service.noauth/il566 mv service/tcp567 service.noauth/tcp567 mv service.auth/authserv.il566 il566 mv service.auth/authserv.tcp567 rcp567
Modify the aux/listen lines in /n/vampira/rc/bin/termrc to start the services in both /rc/bin/service and /rc/bin/service.noauth, that is replace
# services available to networks aux/listen -q -d /rc/bin/service il aux/listen -q -d /rc/bin/service tcp
with:
# services available to networks aux/listen -q -d /rc/bin/service -t /rc/bin/service.noauth il aux/listen -q -d /rc/bin/service -t /rc/bin/service.noauth tcp
(is it possible to use multiple -d options rather than misusing -t???)
At this point you should be able to boot a terminal by typing "il" at the boot prompt rather that "local"
Booting Secondary cpu servers
Copy the /rc/bin/cpurc . file from the cpu server to the fileserver.
Set up /n/vampira/lib/ndb/auth so that the cpu owner user is allowed to become any user
hostid=bootes uid=!sys uid=!adm uid=*...