| Release Notes | ||
|---|---|---|
| <<< Previous | Upgrading Server and Client Machines to AFS 3.6 | Next >>> |
The AIX kernel extension facility is the dynamic kernel loader provided by IBM Corporation. AIX does not support incorporation of AFS modifications during a kernel build.
For AFS to function correctly, the kernel extension facility must run each time the machine reboots, so the AFS initialization script (included in the AFS distribution) invokes it automatically. In this section you copy the script to the conventional location and edit it to select the appropriate options depending on whether NFS is also to run.
After editing the script, you verify that there is an entry in the AIX inittab file that invokes it, then reboot the machine to incorporate the new AFS extensions into the kernel and restart the Cache Manager.
Access the AFS distribution by changing directory as indicated. Substitute rs_aix42 for the sysname variable.
If you copied the contents of the root.client directory into AFS (in Step 6 of Storing Binaries in AFS), change directory as indicated.
# cd /afs/cellname/sysname/usr/afsws/root.client |
If copying files from the CD-ROM, mount the CD-ROM for this machine's system type on the local /cdrom directory. For instructions on mounting CD-ROMs (either locally or remotely via NFS), consult the operating system documentation. Then change directory as indicated.
# cd /cdrom/sysname/root.client |
If accessing the distribution electronically, you possibly already downloaded it in Storing Binaries in AFS. If so, it is still in the temp_afs36_dir directory. If not, download it and run any commands necessary to uncompress or unpack the distribution. Place it in a temporary location (temp_afs36_dir), and change directory to the indicated subdirectory.
# cd temp_afs36_dir/root.client |
Copy the AFS kernel library files to the local /usr/vice/etc/dkload directory.
# cd usr/vice/etc # cp -rp dkload /usr/vice/etc |
Because you ran AFS 3.5 on this machine, the appropriate AFS initialization file possibly already exists as /etc/rc.afs. Compare it to the version in the root.client/usr/vice/etc directory of the AFS 3.6 distribution to see if any changes are needed. If the initialization file is not already in place, copy it now.
# cp -p rc.afs /etc/rc.afs |
Edit the /etc/rc.afs script, setting the NFS variable if it is not already.
If the machine is not to function as an NFS/AFS Translator, set the NFS variable as follows:
NFS=$NFS_NONE |
If the machine is to function as an NFS/AFS Translator and is running AIX 4.2.1 or higher, set the NFS variable as follows. Only sites that have a license for the NFS/AFS Translator are allowed to run translator machines. Machines running the base level of AIX 4.2 cannot be translator machines.
NFS must already be loaded into the kernel. It is loaded automatically on machines running AIX 4.1.1 and later, as long as the file /etc/exports exists.
NFS=$NFS_IAUTH |
Place the following line in the AIX initialization file, /etc/inittab, if it is not already. It invokes the AFS initialization script and needs to appear just after the line that starts NFS daemons.
rcafs:2:wait:/etc/rc.afs > /dev/console 2>&1 # Start AFS services |
(Optional) There are now copies of the AFS initialization file in both the /usr/vice/etc and /etc directories. If you want to avoid potential confusion by guaranteeing that they are always the same, create a link between them. You can always retrieve the original script from the AFS distribution if necessary.
# cd /usr/vice/etc # rm rc.afs # ln -s /etc/rc.afs |
Reboot the machine.
# shutdown -r now |
If you are upgrading a server machine, login again as the local superuser root, then return to Step 6 in Upgrading Server Machines.
login: root Password: root_password |
| <<< Previous | Home | Next >>> |
| Incorporating AFS into the Kernel and Enabling the AFS Initialization Script | Up | Building AFS into the Digital UNIX Kernel |