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:

    • 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.server/usr/afs/bin    

    • 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.server/usr/afs/bin     

  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