Release Notes


[Return to Library] [Contents] [Previous Topic] [Bottom of Topic]


AFS 3.6 Release Notes

This file documents new features, upgrade procedures, and remaining limitations associated with the initial General Availability (GA) release of AFS(R) 3.6 (build level afs3.6 2.0).

Note:This document includes all product information available at the time the document was produced. For additional information that became available later, see the README.txt file included on the AFS CD-ROM.

Summary of New Features

AFS 3.6 includes the following new features.


Supported System Types

AFS supports the following system types.

alpha_dux40 DEC AXP system with one or more processors running Digital UNIX 4.0d, 4.0e, or 4.0f
hp_ux110 Hewlett-Packard system with one or more processors running the 32-bit or 64-bit version of HP-UX 11.0
i386_linux22 IBM-compatible PC with one or more processors running Linux kernel version 2.2.5-15 (the version in Red Hat Linux 6.0), 2.2.10, 2.2.12, 2.2.12-20 (the version in Red Hat Linux 6.1), 2.2.13, or 2.2.14
rs_aix42 IBM RS/6000 with one or more 32-bit or 64-bit processors running AIX 4.2, 4.2.1, 4.3, 4.3.1, 4.3.2, or 4.3.3
sgi_65 Silicon Graphics system with one or more processors running IRIX 6.5 or 6.5.4. Support is provided for the following CPU board types, as reported by the IRIX uname -m command: IP19, IP20, IP21, IP22, IP25, IP26, IP27, IP28, IP30, IP32
sun4x_56 Sun SPARCstation with one or more processors running Solaris 2.6
sun4x_57 Sun SPARCstation with one or more processors running the 32-bit or 64-bit version of Solaris 7

Hardware and Software Requirements

For a list of requirements for both server and client machines, see the chapter titled Installation Overview in the IBM AFS Quick Beginnings document.


Accessing the AFS Binary Distribution and Documentation

The AFS Binary Distribution includes a separate CD-ROM for each supported operating system, containing all AFS binaries and files for both server and client machines, plus the documentation set in multiple formats. At the top level of the CD-ROM is a directory called Documentation plus a directory containing the system-specific AFS binaries, named using the values listed in Supported System Types. The CD-ROM for some operating systems has more than one system-specific directory; for example, the Solaris CD-ROM has sun4x_56 and sun4x_57.

The instructions in Upgrading Server and Client Machines to AFS 3.6 specify when to mount the CD-ROM and which files or directories to copy to the local disk or into an AFS volume.

The documents are also available online at <A HREF="http://www.transarc.com/Library/documentation/afs_doc.html">http://www.transarc.com/Library/documentation/afs_doc.html</A>. The documentation set includes the following documents:

Documents are provided in the following formats:

If you do not already have the Acrobat Reader program, you can download it for free at <A HREF="http://www.adobe.com/products/acrobat/readstep.html">http://www.adobe.com/products/acrobat/readstep.html</A>.

Adobe provides only an English-language version of Acrobat Reader for UNIX platforms. The program can display PDF files written in any language. It is the program interface (menus, messages, and so on) that is available in English only.

To make Reader's interface display properly in non-English language locales, use one of two methods to set the program's language environment to English:


Product Notes

The following sections summarize limitations and requirements that pertain to all system types and to individual system types, and describe revisions to the AFS documents:

Product Notes for All System Types

Product Notes for AIX Systems

Product Notes for Digital UNIX Systems

Product Notes for HP-UX Systems

Product Notes for IRIX Systems

Product Notes for Linux Systems

Product Notes for Solaris Systems

Documentation Notes


Changes to AFS Commands, Files, and Functionality

This section briefly describes commands, command options, and functionality that are new or changed in AFS 3.6. Unless otherwise noted, the IBM AFS Administration Guide and IBM AFS Administration Reference include complete documentation of these items.

A New Command

AFS 3.6 includes the new fs flushmount command. The command's intended use is to discard information about mount points that has become corrupted in the cache. The next time an application accesses the mount point, the Cache Manager must fetch the most current version of it from a File Server. Data cached from files or directories in the volume is not affected. The only other way to discard the information is to reinitialize the Cache Manager by rebooting the machine.

Symptoms of a corrupted mount point included garbled output from the fs lsmount command, and failed attempts to change directory to or list the contents of the volume root directory represented by the mount point.

New File or Command Functionality

AFS 3.6 adds the following new options and functionality to existing commands and files.


Support for Backup to TSM

AFS 3.6 introduces support for backing up AFS data to media managed by the Tivoli Storage Manager (TSM), a third-party backup program which implements the Open Group's Backup Service application programming interface (API), also called XBSA. TSM was formerly called the ADSTAR Distributed Storage Manager, or ADSM. It is assumed that the administrator is familiar with TSM; explaining TSM or XBSA concepts or terminology is beyond the scope of this document.

See the following subsections:

New Command and File Features that Support TSM

The AFS 3.6 version of the following commands and configuration files include new options or instructions to support backup to TSM.

Product Notes for Use of TSM

Configuring the Backup System and TSM

Perform the following steps to configure TSM and the AFS Backup System for interoperation.

Note:You possibly need to perform additional TSM configuration procedures unrelated to AFS. See the TSM documentation.

  1. Become the local superuser root, if you are not already.

       % su root
       Password: root_password   
    

  2. Install version 3.7.1 of the TSM client API on the local disk of the Tape Coordinator machine. If you do not already have the API, you can use the following instructions to download it using the UNIX File Transfer Protocol (ftp).

    1. Verify that there is enough free space on the local disk to accommodate the API package:

      • On AIX systems, 4 MB on the disk that houses the /usr/tivoli directory

      • On Solaris systems, 13 MB on the disk that houses the /opt/tivoli directory

    2. Connect to the ftp server called ftp.software.ibm.com, logging in as anonymous and providing your electronic mail address as the password.

    3. Switch to binary mode.
         ftp> bin   
      

    4. Change directory as indicated:
         ftp> cd storage/tivoli-storage-management-maintenance/client/v3r7   
      

    5. Change to the appropriate directory and retrieve the API file.

      • On an AIX 4.3 system:
           ftp> cd AIX/v371
           ftp> get tivoli.tsm.client.api.aix43.32bit   
        

      • On a Solaris 2.6 or 7 system:
           ftp> cd Solaris/v371
           ftp> get IP21804.tar.Z   
        

    6. Use the appropriate tool to install the TSM API package locally:

      • On AIX machines, use smit, which installs the files in the /usr/tivoli/tsm/client/api/bin directory

      • On Solaris machines, use the following command, which installs the files in the /opt/tivoli/tsm/client/api/bin directory:
           # uncompress IP21804.tar.Z | tar xvf -   
        

  3. Set the following TSM environment variables as indicated. If you do not set them, you must use the default values specified in the TSM documentation.

    DSMI_DIR
    Specifies the pathname of the directory that contains the TSM client system options file, dsm.sys. The directory must have a subdirectory (which can be a symbolic link) called en_US that contains the dsmclientV3.cat catalog file.

    Do not put a final slash ( / ) on the directory name. Examples of appropriate values are /opt/tivoli/tsm/client/api/bin on Solaris machines and /usr/tivoli/tsm/client/api/bin on AIX machines.

    DSMI_CONFIG
    Specifies the pathname of the directory that contains the TSM client user options file, dsm.opt. The value can be the same as for the DSMI_DIR variable. Do not put a final slash ( / ) on the directory name.

    DSMI_LOG
    Specifies the full pathname (including the filename) of the log file for error messages from the API. An appropriate value is /usr/afs/backup/butc.TSMAPI.log.

  4. Verify that the dsm.sys file includes the following instructions. For a description of the fields, see the TSM documentation.
       ServerName           machine_name
          CommMethod        tcpip
          TCPPort           TSM_port
          TCPServerAddress  full_machine_name
          PasswordAccess    prompt
          Compression       yes
    

    The following is an example of appropriate values:

       ServerName tsm3
          CommMethod tcpip
          TCPPort 1500
          TCPServerAddress  tsm3.abc.com
          PasswordAccess  prompt
          Compression  yes   
    

  5. Verify that the dsm.opt file includes the following instructions. For a description of the fields, see the TSM documentation.
       ServerName        machine_name
          tapeprompt     no
          compressalways yes   
    

  6. Create a Backup Database entry for each Tape Coordinator that is to communicate with the TSM server. Multiple Tape Coordinators can interact with the same TSM server if the server has sufficient capacity.
       # backup addhost <tape machine name> <TC port offset>
    

    where

    tape machine name
    Specifies the fully qualified hostname of the Tape Coordinator machine.

    TC port offset
    Specifies the Tape Coordinator's port offset number. Acceptable values are integers in the range from 0 (zero) through 58510.

  7. Create a device configuration file for the Tape Coordinator called /usr/afs/backup/CFG_tcid, where tcid is the Tape Coordinator's port offset number as defined in Step 6. The file must include the following instructions:

    For more detailed descriptions of the instructions, and of other instructions you can include in the configuration file, see CFG_tcid.


Upgrading Server and Client Machines to AFS 3.6

This section explains how to upgrade server and client machines from AFS 3.5 or AFS 3.6 Beta to AFS 3.6. Before performing an upgrade, please read all of the introductory material in this section.

If you are installing AFS for the first time, skip this chapter and refer to the IBM AFS Quick Beginnings document for AFS 3.6.

AFS provides backward compatibility to the previous release only: AFS 3.6 is certified to be compatible with AFS 3.5 but not necessarily with earlier versions.

Note:This document does not provide instructions for upgrading from AFS 3.4a or earlier directly to AFS 3.6. A file system conversion is required on some system types. See the AFS Release Notes for AFS 3.5 and contact your AFS product support representative for assistance.

Prerequisites for Upgrading

You must meet the following requirements to upgrade successfully to AFS 3.6:

Obtaining the Binary Distribution

Use one of the following methods to obtain the AFS distribution of each system type for which you are licensed.

Storing Binaries in AFS

It is conventional to store many of the programs and files from the AFS binary distribution in a separate volume for each system type, mounted in your AFS filespace at /afs/cellname/sysname/usr/afsws. These instructions rename the volume currently mounted at this location and create a new volume for AFS 3.6 binaries.

Repeat the instructions for each system type.

  1. Authenticate as an administrator listed in the /usr/afs/etc/UserList file.

  2. Issue the vos create command to create a new volume for AFS 3.6 binaries called sysname.3.6. Set an unlimited quota on the volume to avoid running out of space as you copy files from the distribution.
       % vos create <machine name> <partition name> sysname.3.6  -maxquota  0    
    

  3. Issue the fs mkmount command to mount the volume at a temporary location.
       % fs mkmount  /afs/.cellname/temp  sysname.3.6    
    

  4. Prepare to access the files using the method you have selected:

  5. Copy files from the distribution into the sysname.3.6 volume.
       % cp -rp  bin  /afs/.cellname/temp  
       
       % cp -rp  etc  /afs/.cellname/temp  
          
       % cp -rp  include  /afs/.cellname/temp  
       
       % cp -rp  lib  /afs/.cellname/temp   
    

  6. (Optional) By convention, the contents of the distribution's root.client directory are not stored in AFS. However, if you are upgrading client functionality on many machines, it can be simpler to copy the client files from your local AFS space than from the CD-ROM or from IBM's Electronic Software Distribution system. If you wish to store the contents of the root.client directory in AFS temporarily, copy them now.
       % cp -rp  root.client  /afs/.cellname/temp  
    

  7. Issue the vos rename command to change the name of the volume currently mounted at the /afs/cellname/sysname/usr/afsws directory. A possible value for the extension reflects the AFS version and build level (for example: 3.5-bld3.32).

    If you do not plan to retain the old volume, you can substitute the vos remove command in this step.

       %  vos rename sysname.usr.afsws  sysname.usr.afsws.extension    
    

  8. Issue the vos rename command to change the name of the sysname.3.6 volume to sysname.usr.afsws.
       %  vos rename sysname.3.6  sysname.usr.afsws    
    

  9. Issue the fs rmmount command to remove the temporary mount point for the sysname.3.6 volume.
        % fs rmmount  /afs/.cellname/temp   
    

Upgrading the Operating System

AFS 3.6 supports the 64-bit version of HP-UX 11.0 and Solaris 7. To upgrade from the 32-bit version, you possibly need to reinstall the operating system completely before installing AFS 3.6. When performing any operating system upgrade, you must take several actions to preserve AFS functionality, including the following:

Distributing Binaries to Server Machines

The instructions in this section explain how to use the Update Server to distribute server binaries from a binary distribution machine of each system type.

Repeat the steps on each binary distribution machine in your cell. If you do not use the Update Server, repeat the steps on every server machine in your cell. If you are copying files from the AFS product tree, the server machine must also be configured as an AFS client machine.

  1. Become the local superuser root, if you are not already.

       % su root
       Password: root_password   
    

  2. Create a temporary subdirectory of the /usr/afs/bin directory to store the AFS 3.6 server binaries.
       # mkdir /usr/afs/bin.36    
    

  3. Prepare to access server files using the method you have selected from those listed in Obtaining the Binary Distribution:

  4. Copy the server binaries from the distribution into the /usr/afs/bin.36 directory.
       # cp -p  *  /usr/afs/bin.36   
    

  5. Rename the current /usr/afs/bin directory to /usr/afs/bin.old and the /usr/afs/bin.36 directory to the standard location.
       # cd /usr/afs
       
       # mv  bin  bin.old
          
       # mv  bin.36  bin   
    

Upgrading Server Machines

Repeat the following instructions on each server machine. Perform them first on the database server machine with the lowest IP address, next on the other database server machines, and finally on other server machines.

The AFS data stored on a server machine is inaccessible to client machines during the upgrade process, so it is best to perform it at the time and in the manner that disturbs your users least.

  1. If you have just followed the steps in Distributing Binaries to Server Machines to install the server binaries on binary distribution machines, wait the required interval (by default, five minutes) for the local upclientbin process to retrieve the binaries.

    If you do not use binary distribution machines, perform the instructions in Distributing Binaries to Server Machines on this machine.

  2. Become the local superuser root, if you are not already, by issuing the su command.
       % su root
       Password: root_password   
    

  3. If the machine also functions as a client machine, prepare to access client files using the method you have selected from those listed in Obtaining the Binary Distribution:

  4. If the machine also functions as a client machine, copy the AFS 3.6 version of the afsd binary and other files to the /usr/vice/etc directory.
    Note:Some files in the /usr/vice/etc directory, such as the AFS initialization file (called afs.rc on many system types), do not necessarily need to change for a new release. It is a good policy to compare the contents of the distribution directory and the /usr/vice/etc directory before performing the copying operation. If there are files in the /usr/vice/etc directory that you created for AFS 3.5 or 3.6 Beta and that you want to retain, either move them to a safe location before performing the following instructions, or alter the following instructions to copy over only the appropriate files.
       # cp  -p  usr/vice/etc/*   /usr/vice/etc   
       
       # cp  -rp  usr/vice/etc/C  /usr/vice/etc   
    

    If you have not yet incorporated AFS into the machine's authentication system, perform the instructions in the section titled Enabling AFS Login for this system type in the IBM AFS Quick Beginnings chapter about configuring client machines. If this machine was running the same operating system revision with AFS 3.5 or AFS 3.6 Beta, you presumably already incorporated AFS into its authentication system.

  5. AFS performance is most dependable if the AFS release version of the kernel extensions and server processes is the same. Therefore, it is best to incorporate the AFS 3.6 kernel extensions into the kernel at this point.

    First issue the following command to shut down the server processes, preventing them from restarting accidently before you incorporate the AFS 3.6 extensions into the kernel.

       # bos shutdown <machine name> -localauth -wait
    

    Then perform the instructions in Incorporating AFS into the Kernel and Enabling the AFS Initialization Script, which have you reboot the machine. Assuming that the machine's AFS initialization script is configured to invoke the bosserver command as specified in IBM AFS Quick Beginnings, the BOS Server starts itself and then the other AFS server processes listed in its local /usr/afs/local/BosConfig file.

    There are two circumstances in which you must incorporate the kernel extensions and reboot now rather than later:

    In any other circumstances, you can choose to upgrade the kernel extensions later. Choose one of the following options:

  6. Once you are satisfied that the machine is functioning correctly at AFS 3.6, there is no need to retain previous versions of the server binaries in the /usr/afs/bin directory. (You can always use the bos install command to reinstall them if it becomes necessary to downgrade). If you use the Update Server, the upclientbin process renamed them with a .old extension in Step 1. To reclaim the disk space occupied in the /usr/afs/bin directory by .bak and .old files, you can use the following command:
       # bos prune <machine name> -bak -old -localauth
    

    Step 5 of Distributing Binaries to Server Machines had you move the previous version of the binaries to the /usr/afs/bin.old directory. You can also remove that directory on any machine where you created it.

       # rm -rf  /usr/afs/bin.old   
    

Upgrading Client Machines

  1. Become the local superuser root, if you are not already, by issuing the su command.
       % su root
       Password: root_password   
    

  2. Prepare to access client files using the method you have selected from those listed in Obtaining the Binary Distribution:

  3. Copy the AFS 3.6 version of the afsd binary and other files to the /usr/vice/etc directory.
    Note:Some files in the /usr/vice/etc directory, such as the AFS initialization file (called afs.rc on many system types), do not necessarily need to change for a new release. It is a good policy to compare the contents of the distribution directory and the /usr/vice/etc directory before performing the copying operation. If there are files in the /usr/vice/etc directory that you created for AFS 3.5 or 3.6 Beta and that you want to retain, either move them to a safe location before performing the following instructions, or alter the following instructions to copy over only the appropriate files.
       # cp  -p  usr/vice/etc/*   /usr/vice/etc   
       
       # cp  -rp  usr/vice/etc/C  /usr/vice/etc   
    

    If you have not yet incorporated AFS into the machine's authentication system, perform the instructions in the section titled Enabling AFS Login for this system type in the IBM AFS Quick Beginnings chapter about configuring client machines. If this machine was running the same operating system revision with AFS 3.5 or AFS 3.6 Beta, you presumably already incorporated AFS into its authentication system.

  4. Perform the instructions in Incorporating AFS into the Kernel and Enabling the AFS Initialization Script to incorporate AFS extensions into the kernel. The instructions conclude with a reboot of the machine, which starts the new Cache Manager.

Incorporating AFS into the Kernel and Enabling the AFS Initialization Script

As part of upgrading a machine to AFS 3.6, you must incorporate AFS 3.6 extensions into its kernel and verify that the AFS initialization script is included in the machine's startup sequence. Proceed to the instructions for your system type:

Loading AFS into the AIX Kernel

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.

  1. Access the AFS distribution by changing directory as indicated. Substitute rs_aix42 for the sysname variable.

  2. Copy the AFS kernel library files to the local /usr/vice/etc/dkload directory.
       # cd  usr/vice/etc
       
       # cp -rp  dkload  /usr/vice/etc   
    

  3. 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    
    

  4. Edit the /etc/rc.afs script, setting the NFS variable if it is not already.

  5. 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   
    

  6. (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   
    

  7. Reboot the machine.
          # shutdown -r now   
    

  8. 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     
    

Building AFS into the Digital UNIX Kernel

On Digital UNIX machines, you must build AFS modifications into a new static kernel; Digital UNIX does not support dynamic loading. If the machine's hardware and software configuration exactly matches another Digital UNIX machine on which AFS 3.6 is already built into the kernel, you can choose to copy the kernel from that machine to this one. In general, however, it is better to build AFS modifications into the kernel on each machine according to the following instructions.

If the machine was running a version of Digital UNIX 4.0 with a previous version of AFS, the configuration changes specified in Step 1 through Step 4 are presumably already in place.

  1. Create a copy called AFS of the basic kernel configuration file included in the Digital UNIX distribution as /usr/sys/conf/machine_name, where machine_name is the machine's hostname in all uppercase letters.
       # cd /usr/sys/conf
       
       # cp machine_name AFS   
    

  2. Add AFS to the list of options in the configuration file you created in the previous step, so that the result looks like the following:
              .                   .
              .                   .
           options               UFS
           options               NFS
           options               AFS
              .                   .
              .                   .   
    

  3. Add an entry for AFS to two places in the /usr/sys/conf/files file.

  4. Add an entry for AFS to two places in the /usr/sys/vfs/vfs_conf.c file.

  5. Access the AFS distribution by changing directory as indicated. Substitute alpha_dux40 for the sysname variable.

  6. Because you ran AFS 3.5 on this machine, the appropriate AFS initialization file possibly already exists as /sbin/init.d/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. Note the removal of the .rc extension as you copy.

        # cp  -p  usr/vice/etc/afs.rc  /sbin/init.d/afs   
    

  7. Copy the AFS kernel module to the local /usr/sys/BINARY directory.

    The AFS 3.6 distribution includes only the libafs.nonfs.o version of the library, because Digital UNIX machines are not supported as NFS/AFS Translator machines.

       # cp  -p  bin/libafs.nonfs.o  /usr/sys/BINARY/afs.mod   
    

  8. Configure and build the kernel. Respond to any prompts by pressing <Return>. The resulting kernel is in the file /sys/AFS/vmunix.
       # doconfig -c AFS   
    

  9. Rename the existing kernel file and copy the new, AFS-modified file to the standard location.
       # mv  /vmunix  /vmunix_orig
       
       # cp  -p  /sys/AFS/vmunix  /vmunix   
    

  10. Verify the existence of the symbolic links specified in the following commands, which incorporate the AFS initialization script into the Digital UNIX startup and shutdown sequence. If necessary, issue the commands to create the links.
       # ln -s  ../init.d/afs  /sbin/rc3.d/S67afs
       
       # ln -s  ../init.d/afs  /sbin/rc0.d/K66afs   
    

  11. (Optional) If the machine is configured as a client, there are now copies of the AFS initialization file in both the /usr/vice/etc and /sbin/init.d 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  afs.rc
      
       # ln -s  /sbin/init.d/afs  afs.rc   
    

  12. Reboot the machine.
       # shutdown -r now   
    

  13. 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     
    

Building AFS into the HP-UX Kernel

On HP-UX machines, you must build AFS modifications into a new kernel; HP-UX does not support dynamic loading. If the machine's hardware and software configuration exactly matches another HP-UX machine on which AFS 3.6 is already built into the kernel, you can choose to copy the kernel from that machine to this one. In general, however, it is better to build AFS modifications into the kernel on each machine according to the following instructions.

  1. Move the existing kernel-related files to a safe location.
       # cp -p  /stand/vmunix  /stand/vmunix.noafs
       
       # cp -p  /stand/system  /stand/system.noafs   
    

  2. Access the AFS distribution by changing directory as indicated. Substitute hp_ux110 for the sysname variable.

  3. Because you ran AFS 3.5 on this machine, the appropriate AFS initialization file possibly already exists as /sbin/init.d/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. Note the removal of the .rc extension as you copy.

       # cp  -p  usr/vice/etc/afs.rc  /sbin/init.d/afs   
    

  4. Copy the file afs.driver to the local /usr/conf/master.d directory, changing its name to afs as you do so.
       # cp  -p  usr/vice/etc/afs.driver  /usr/conf/master.d/afs   
    

  5. Copy the AFS kernel module to the local /usr/conf/lib directory.

    HP-UX machines are not supported as NFS/AFS Translator machines, so AFS 3.6 includes only libraries called libafs.nonfs.a (for the 32-bit version of HP-UX) and libafs64.nonfs.a (for the 64-bit version of HP-UX). Change the library's name to libafs.a as you copy it.

    For the 32-bit version of HP-UX:

       # cp  -p   bin/libafs.nonfs.a   /usr/conf/lib/libafs.a
    

    For the 64-bit version of HP-UX:

       # cp  -p  bin/libafs64.nonfs.a   /usr/conf/lib/libafs.a   
    

  6. Verify the existence of the symbolic links specified in the following commands, which incorporate the AFS initialization script into the HP-UX startup and shutdown sequence. If necessary, issue the commands to create the links.
       # ln -s ../init.d/afs /sbin/rc2.d/S460afs
      
       # ln -s ../init.d/afs /sbin/rc2.d/K800afs   
    

  7. (Optional) If the machine is configured as a client, there are now copies of the AFS initialization file in both the /usr/vice/etc and /sbin/init.d 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 afs.rc
      
       # ln -s  /sbin/init.d/afs  afs.rc   
    

  8. Incorporate the AFS driver into the kernel, either using the SAM program or a series of individual commands. Both methods reboot the machine, which loads the new kernel and starts the Cache Manager.

  9. 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     
    

Incorporating AFS into the IRIX Kernel

To incorporate AFS into the kernel on IRIX machines, choose one of two methods:

Loading AFS into the IRIX Kernel

The ml program is the dynamic kernel loader provided by SGI for IRIX systems. If you use it rather than building AFS modifications into a static kernel, then for AFS to function correctly the ml program must run each time the machine reboots. Therefore, the AFS initialization script (included on the AFS CD-ROM) invokes it automatically when the afsml configuration variable is activated. In this section you activate the variable and run the script.

  1. Issue the uname -m command to determine the machine's CPU type. The IPxx value in the output must match one of the supported CPU types listed in Supported System Types.
       # uname -m   
    

  2. Access the AFS distribution by changing directory as indicated. Substitute sgi_65 for the sysname variable.

  3. Copy the appropriate AFS kernel library file to the local /usr/vice/etc/sgiload directory; the IPxx portion of the library file name must match the value returned by the uname -m command. Also choose the file appropriate to whether the machine's kernel supports NFS server functionality (NFS must be supported for the machine to act as an NFS/AFS Translator). Single- and multiprocessor machines use the same library file.

    You can choose to copy all of the kernel library files into the /usr/vice/etc/sgiload directory, but they require a significant amount of space.

       # cd  usr/vice/etc/sgiload    
    

    If the machine is not to act as an NFS/AFS translator:

       # cp -p  libafs.IPxx.nonfs.o  /usr/vice/etc/sgiload   
    

    If the machine is to act as an NFS/AFS translator, in which case its kernel must support NFS server functionality:

       # cp -p   libafs.IPxx.o   /usr/vice/etc/sgiload   
    

  4. Proceed to Enabling the AFS Initialization Script on IRIX Systems.

Building AFS into the IRIX Kernel

If you prefer to build a kernel, and the machine's hardware and software configuration exactly matches another IRIX machine on which AFS 3.6 is already built into the kernel, you can choose to copy the kernel from that machine to this one. In general, however, it is better to build AFS modifications into the kernel on each machine according to the following instructions.

  1. Access the AFS distribution by changing directory as indicated. Substitute sgi_65 for the sysname variable.

  2. Issue the uname -m command to determine the machine's CPU type. The IPxx value in the output must match one of the supported CPU types listed in the IBM AFS Release Notes for the current version of AFS.
       # uname -m    
    

  3. Copy the appropriate AFS kernel library file to the local file /var/sysgen/boot/afs.a; the IPxx portion of the library file name must match the value returned by the uname -m command. Also choose the file appropriate to whether the machine's kernel supports NFS server functionality (NFS must be supported for the machine to act as an NFS/AFS Translator). Single- and multiprocessor machines use the same library file.
       # cd  bin   
    

    If the machine is not to act as an NFS/AFS translator:

       # cp -p  libafs.IPxx.nonfs.a   /var/sysgen/boot/afs.a   
    

    If the machine is to act as an NFS/AFS translator, in which case its kernel must support NFS server functionality:

       # cp -p   libafs.IPxx.a   /var/sysgen/boot/afs.a   
    

  4. Copy the kernel initialization file afs.sm to the local /var/sysgen/system directory, and the kernel master file afs to the local /var/sysgen/master.d directory.
       # cp -p  afs.sm  /var/sysgen/system
       
       # cp -p  afs  /var/sysgen/master.d   
    

  5. Copy the existing kernel file, /unix, to a safe location and compile the new kernel. It is created as /unix.install, and overwrites the existing /unix file when the machine reboots.
       # cp -p  /unix  /unix_orig
       
       # autoconfig   
    

  6. Proceed to Enabling the AFS Initialization Script on IRIX Systems.

Enabling the AFS Initialization Script on IRIX Systems

  1. Because you ran AFS 3.5 on this machine, the appropriate AFS initialization file possibly already exists as /etc/init.d/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. If the machine is configured as a client machine, you already copied the script to the local /usr/vice/etc directory. Otherwise, change directory as indicated, substituting sgi_65 for the sysname variable.

    Now copy the script. Note the removal of the .rc extension as you copy.

       # cp -p  script_location/afs.rc  /etc/init.d/afs   
    

  2. If the afsml configuration variable is not already set appropriately, issue the chkconfig command.

    If you are using the ml program:

       # /etc/chkconfig -f afsml on   
    

    If you built AFS into a static kernel:

       # /etc/chkconfig -f afsml off   
    

    If the machine is to function as an NFS/AFS Translator, the kernel supports NFS server functionality, and the afsxnfs variable is not already set appropriately, set it now.

       # /etc/chkconfig -f afsxnfs on   
    

  3. Verify the existence of the symbolic links specified in the following commands, which incorporate the AFS initialization script into the IRIX startup and shutdown sequence. If necessary, issue the commands to create the links.
       # ln -s ../init.d/afs /etc/rc2.d/S35afs
      
       # ln -s ../init.d/afs /etc/rc0.d/K35afs   
    

  4. (Optional) If the machine is configured as a client, there are now copies of the AFS initialization file in both the /usr/vice/etc and /etc/init.d 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 afs.rc
      
       # ln -s  /etc/init.d/afs  afs.rc   
    

  5. Reboot the machine.

       # shutdown -i6 -g0 -y   
    

  6. 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     
    

Loading AFS into the Linux Kernel

The insmod program is the dynamic kernel loader for Linux. Linux does not support incorporation of AFS modifications during a kernel build.

For AFS to function correctly, the insmod program must run each time the machine reboots, so the AFS initialization script (included on the AFS CD-ROM) invokes it automatically. The script also includes commands that select the appropriate AFS library file automatically. In this section you run the script.

  1. Access the AFS distribution by changing directory as indicated. Substitute i386_linux22 for the sysname variable.

  2. Copy the AFS kernel library files to the local /usr/vice/etc/modload directory. The filenames for the libraries have the format libafs-version.o, where version indicates the kernel build level. The string .mp in the version indicates that the file is appropriate for use with symmetric multiprocessor (SMP) kernels.
       # cd  usr/vice/etc
       
       # cp -rp  modload  /usr/vice/etc   
    

  3. The AFS 3.6 distribution includes a new AFS initialization file that can select automatically from the kernel extensions included in AFS 3.6. Copy it to the /etc/rc.d/init.d directory, removing the .rc extension as you do.
       # cp -p   afs.rc  /etc/rc.d/init.d/afs    
    

    The afsd options file possibly already exists as /etc/sysconfig/afs from running a previous version of AFS on this machine. 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 options file is not already in place, copy it now. Note the removal of the .conf extension as you copy.

       # cp  -p  afs.conf  /etc/sysconfig/afs    
    

    If necessary, edit the options file to invoke the desired arguments on the afsd command in the initialization script. For further information, see the section titled Configuring the Cache Manager in the IBM AFS Quick Beginnings chapter about configuring client machines.

  4. Issue the chkconfig command to activate the afs configuration variable, if it is not already. Based on the instruction in the AFS initialization file that begins with the string #chkconfig, the command automatically creates the symbolic links that incorporate the script into the Linux startup and shutdown sequence.
       # /sbin/chkconfig  --add afs   
    

  5. (Optional) If the machine is configured as a client, there are now copies of the AFS initialization file in both the /usr/vice/etc and /etc/init.d directories, and copies of the afsd options file in both the /usr/vice/etc and /etc/sysconfig directories. If you want to avoid potential confusion by guaranteeing that the two copies of each file are always the same, create a link between them. You can always retrieve the original script or options file from the AFS distribution if necessary.
       # cd /usr/vice/etc
       
       # rm afs.rc afs.conf
        
       # ln -s  /etc/rc.d/init.d/afs  afs.rc
       
       # ln -s  /etc/sysconfig/afs  afs.conf   
    

  6. Reboot the machine.
       # shutdown -r now     
    

  7. 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     
    

Loading AFS into the Solaris Kernel

The modload program is the dynamic kernel loader provided by Sun Microsystems for Solaris systems. Solaris does not support incorporation of AFS modifications during a kernel build.

For AFS to function correctly, the modload program must run each time the machine reboots, so the AFS initialization script (included on the AFS CD-ROM) invokes it automatically. In this section you copy the appropriate AFS library file to the location where the modload program accesses it and then run the script.

  1. Access the AFS distribution by changing directory as indicated. Substitute sun4x_56 or sun4x_57 for the sysname variable.

  2. If this machine is running Solaris 2.6 or the 32-bit version of Solaris 7, and ran that operating system with AFS 3.5, the appropriate AFS initialization file possibly already exists as /etc/init.d/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 this machine is running the 64-bit version of Solaris 7, the AFS initialization file differs from the AFS 3.5 version. Copy it from the AFS 3.6 distribution.

    Note the removal of the .rc extension as you copy.

       # cd  usr/vice/etc
        
       # cp  -p  afs.rc  /etc/init.d/afs   
    

  3. Copy the appropriate AFS kernel library file to the appropriate file in a subdirectory of the local /kernel/fs directory.

    If the machine is running Solaris 2.6 or the 32-bit version of Solaris 7 and is not to act as an NFS/AFS translator:

       # cp  -p  modload/libafs.nonfs.o  /kernel/fs/afs   
    

    If the machine is running Solaris 2.6 or the 32-bit version of Solaris 7 and is to act as an NFS/AFS translator, in which case its kernel must support NFS server functionality and the nfsd process must be running:

       # cp  -p  modload/libafs.o  /kernel/fs/afs   
    

    If the machine is running the 64-bit version of Solaris 7 and is not to act as an NFS/AFS translator:

       # cp  -p  modload/libafs64.nonfs.o  /kernel/fs/sparcv9/afs   
    

    If the machine is running the 64-bit version of Solaris 7 and is to act as an NFS/AFS translator, in which case its kernel must support NFS server functionality and the nfsd process must be running:

       # cp  -p  modload/libafs64.o  /kernel/fs/sparcv9/afs      
    

  4. Verify the existence of the symbolic links specified in the following commands, which incorporate the AFS initialization script into the Solaris startup and shutdown sequence. If necessary, issue the commands to create the links.
       # ln -s ../init.d/afs /etc/rc3.d/S99afs
      
       # ln -s ../init.d/afs /etc/rc0.d/K66afs   
    

  5. (Optional) If the machine is configured as a client, there are now copies of the AFS initialization file in both the /usr/vice/etc and /etc/init.d directories. If you want to avoid potential confusion by guaranteeing that th