Installing AFS on HP-UX 11.0
AFS Kernel Modifications
The modifications which allow the AFS Cache Manager to function must be incorporated into the kernel on every AFS client machine. On Hewlett-Packard systems, this is done by building a new kernel which incorporates AFS modifications.
- Check contents of /usr/vice/etc/lib
This directory should contain the library for the AFS module software. You should get something that looks a lot like:
# ls /usr/vice/etc/lib libafs.nonfs.a libafs64.nonfs.a
- Copy the AFS release driver
- Copy the AFS library file
For 32 bit HP-UX:
cp /usr/vice/etc/lib/libafs.nonfs.a /usr/conf/lib/libafs.a
For 64 bit HP-UX:
cp /usr/vice/etc/lib/libafs64.nonfs.a /usr/conf/lib/libafs.a
- Modify /stand/system
Add AFS to the kernel's list of drivers and subsystems in /stand/system. Append a line that reads "afs" (no quotes) to the end of this file.
- Build the kernel
- Move the newly build kernel into place
- Reboot the machine
- Install the init script
Digital Unix needs to find the init script in two locations, like so:
cp /usr/vice/etc/afs.rc /etc/init.d/afs chmod 555 /etc/init.d/afs ln -s /sbin/init.d/afs /sbin/rc0.d/K800afs ln -s /sbin/init.d/afs /sbin/rc2.d/S460afs
- Return to the AFS Install Guide to set up your AFS cache and finish the installation.
cp /usr/vice/etc/afs.driver /usr/conf/master.d/afs
cd /stand/build /usr/sbin/mk_kernel
cp /stand/vmunix /stand/vmunix.FCS mv /stand/build/vmunix_test /stand/vmunix