/share/local wirehead.hq.nasa.gov apollo.hq.nasa.gov zeus.hq.nasa.gov \ -root=wirehead.hq.nasa.gov:apollo.hq.nasa.gov:zeus.hq.nasa.govand the relevant part of /etc/fstab on all the machines (including wirehead) is:
wirehead:/share/local /usr/local nfs bg,intr 0 0 wirehead:/share/local/bin.irix5 /usr/local/bin nfs bg,intr 0 0So we're mounting the whole /share/local, then on each kind of platform, mounting on top of that the appropriate hardware-specific binary directory.
As Stern indicates, to avoid duplicating architecture-neutral executables like scripts in the different/usr/local/bin, you should install these in a separate, exported directory. He suggests /usr/local/share, but here that might be confusing; I propose /usr/local/generic. We haven't done this here yet, since we don't have multiple architectures, but we probably will soon.
/var/mail wirehead.hq.nasa.gov apollo.hq.nasa.gov zeus.hq.nasa.gov \
-root=wirehead.hq.nasa.gov:apollo.hq.nasa.gov:zeus.hq.nasa.gov
We had the DNS folks add MX records to the name server like the following:
apollo IN A 131.182.121.87 IN MX 10 apollo.hq.nasa.gov. wirehead IN A 131.182.121.88 IN MX 10 apollo.hq.nasa.gov. zeus IN A 131.182.121.86 IN MX 10 apollo.hq.nasa.gov.
Wirehead exports /usr/local, and imports /usr/people and /var/mail from apollo.
/share/local wirehead.hq.nasa.gov apollo.hq.nasa.gov zeus.hq.nasa.gov \
-root=wirehead.hq.nasa.gov:apollo.hq.nasa.gov:zeus.hq.nasa.gov
/dev/root / efs rw,raw=/dev/rroot 0 0 /dev/usr /usr efs rw,raw=/dev/rusr 0 0 /dev/var /var efs rw,raw=/dev/rvar 0 0 /dev/share /share efs rw,raw=/dev/rshare 0 0 # # We *could* use symlinks for local filesystems, # but this NFS loopback mount will make all machines look the same. # wirehead:/share/local /usr/local nfs bg,intr 0 0 wirehead:/share/local/bin.irix5 /usr/local/bin nfs bg,intr 0 0 apollo:/share/people /usr/people nfs bg,intr 0 0 apollo:/var/mail /var/mail nfs bg,intr 0 0 #
/share/people wirehead.hq.nasa.gov apollo.hq.nasa.gov zeus.hq.nasa.gov \
-root=wirehead.hq.nasa.gov:apollo.hq.nasa.gov:zeus.hq.nasa.gov
/var/mail wirehead.hq.nasa.gov apollo.hq.nasa.gov zeus.hq.nasa.gov \
-root=wirehead.hq.nasa.gov:apollo.hq.nasa.gov:zeus.hq.nasa.gov
/dev/root / efs rw,raw=/dev/rroot 0 0 /dev/usr /usr efs rw,raw=/dev/rusr 0 0 /dev/share /share efs rw,raw=/dev/rshare 0 0 /dev/var /var efs rw,raw=/dev/rvar 0 0 # # We *could* use symlinks since this is on a local filesystem, # but this will make all machines look the same. # wirehead:/share/local /usr/local nfs bg,intr 0 0 wirehead:/share/local/bin.irix5 /usr/local/bin nfs bg,intr 0 0 # # Now get people directories. # apollo:/share/people /usr/people nfs bg,intr 0 0 # # Don't mount on top of ourselves in the same dir/mount-point; # else we get recursive overflow on client hosts who try to mount. #apollo:/var/mail /var/mail nfs bg,intr 0 0 #