Title: afs_install Author: Paul Blackburn Feedback to: mpb@acm.org Version: 2.1 Last updated: 1999/01/07 URL: https://www.angelfire.com/hi/plutonic/afs_install.html
install
1 Introduction
1.1 Supported systems
1.2 Summary of client install actions
2 Setting up afs_install at your site
2.1 TFTP server
2.2 Create a directory for AFS binaries
2.3 Obtain afs_install.tar
2.4 Unbundle afs_install.tar
2.5 Copy AFS binaries to your TFTP server
2.6 Create your site "afs client install" script
3 Are you licensed to use AFS?
4 More information on AFS
5 Conclusion
6 Change History
(Up to Top)
Using afs_install, an AFS client can be installed with commands similar to:
# ensure right time, date, and TIMEZONE # step0
echo "installing AFS client" # step1
server=your.tftp.server.hostname # step2
xec=afs_client_install # step3
dst=/tmp/$xec # step4
src=/usr/local/sbin/$xec # step5
tftp -go $dst $server $src image # step6
chmod 755 $dst # step7
$dst # step8
More information on using afs_install to install AFS servers
rs_aix32 for AIX 3.2
rs_aix41 for AIX 4.1
rs_aix42 for AIX 4.2
rs_aix43 for AIX 4.3
(Up to Table of Contents)
echo allow:/vol/afs34a/ >> /etc/tftpaccess.ctl
Next, enable the TFTP daemon on one of your site hosts.
To accomodate the four current versions (rs_aix32 rs_aix41 rs_aix42, rs_aix43)
/vol/afs34a needs to be about 64 megabytes in size. For example:
crfs -vjfs -grootvg -asize=131072 -amount=true -prw -Ayes -m/vol/afs34a
mount /vol/afs34a
Create subdirectories for each machine type:
cd /vol/afs34a
mkdir rs_aix32 rs_aix41 rs_aix42 rs_aix43
https://www.angelfire.com/hi/plutonic/images/afs_install.tar
Alternatively, afs_install.tar may be copied from the Transarc
afs-contrib directory:
file:///afs/transarc.com/public/afs-contrib/tools/afs_install/afs_install.tar
Copy this to: /vol/afs34a/afs_install.tar.
cd /; tar -xvf /vol/afs34a/afs_install.tar
The files in the tar archive are relative names and extract to:
usr/local/etc/afs_install/
usr/local/man/man1
usr/local/sbin/
Note: if you already have AFS, you may have a symbolic link:
/usr/local -> /afs/@cell/@sys/usr/local
In this case, you would cd to the ReadWrite path before un-tar'ing:
cd /afs/.@cell/@sys
tar -xvf /vol/afs34a/afs_install.tar
# Maybe a replicated volume? If so, do a vos release:
volume=`fs lq | awk '{if (NR == 2) print $1}'`
vos release $volume -verbose
(Up to Table of Contents)
# load rs_aix41 tape in drive
cd /vol/afs34a/rs_aix41
/usr/local/sbin/mk-afs-readtape
cd /afs/@cell/rs_aix32/usr/afsws
/usr/local/sbin/mk-afs-bundle /vol/afs34a/rs_aix32
/usr/local/sbin/mk-afs-client-install
This is used in step3 of the simple install
shown in the introduction (above).
Nota Bene
You must modify mk-afs-client-install to work at your site.
Two recommendations:
cd /usr/local/sbin
cp mk-afs-client-install afs_client_install
$your_favourite_editor afs_client_install
In particular, set the following variables to your requirements:
# site configurable variables follow ---------------------------------------
server=your.tftp.server.hostname
afs_install=/vol/afs34a/afs_install.tar # on your TFTP server
defaultcachesize=16 # 16 Physical Partitions is 64 megabytes
default_cellname=your_afs_cellname
# end of site configurable variables section -------------------------------
Also, check the rest of afs_install_client particularily below the following line:
# further site configurable variables section ------------------------------
If you are uncertain whether you have the right to use AFS, then check first
with your system administrator.
For details about AFS licenses, contact Transarc at:
web: http://www.transarc.com
email: information@transarc.com
phone: +1 (412) 338-4400
It has certainly saved me lots of time installing new systems
and upgrading existing systems.
It should be simple to make it work on other system types.
If you would like to help make this possible, please let me know.
-- paul http://acm.org/~mpb