Arla for Linux memo
Arla installation memo
11 Aug 1998
T. Ichihara (RIKEN)
Arla (Arla-0.9) is a freely available AFS clone of AFS client. It works
fine under Linux 2.0.x and 2.1.x. (It is working under Linux RH5.1, with
latest kernel 2.1.115 in my two pc's of dual Pentium II at 400 MHz)
Before install Arla, Kerberos 4 is required to be installed for
authentication to obtain AFS token. Following is an example.
(N.B.: The following is only an example. This is based on my memory and
some part might be wrong or missing. Please try it by your own risk with
your understanding and responsibility. I cannot assure that this method
works always well. If you found mistake, please let me know.)
(1) Obtain krb4-0.9.9.tar.gz from http://www.pdc.kth.se/kth-krb/
or ftp://ftp.pdc.kth.se/pub/krb/src/krb4-0.9.9.tar.gz
and install into Linux.
configure, make, su to root, and make install will work.
add /usr/athena/bin to your command path.
(2) Configure Kerberos 4 for AFS authentication for rhic AFS cell.
sample of /etc/krb.conf file
RHIC
RHIC udp/rafs01.rhic.bnl.gov admin server
(3) Confirm that you can gain AFS token as follows
% kauth <-- obtain authentication using krv4
user@RHIC's Password: <-- type your AFS password of rhic cell
% klist <-- list your krv4 ticket (AFS token)
Ticket file: /tmp/tkt20xx
Principal: user@RHIC
Issued Expires Principal
Aug 11 10:04:20 Aug 11 20:04:20 krbtgt.RHIC@RHIC
Aug 11 10:04:20 Aug 11 20:04:20 afs@RHIC
now you have obtained AFS token for rhic cell.
(1) Obtain arla-0.9 from
ftp://ftp.stacken.kth.se/pub/arla/arla-0.9.tar.gz
and make and install into Linux.
configure --with-krb4=/usr/athena --with-krb4-lib=/usr/athena/lib
--with-krb4-include=/usr/athena/include
then make, su to root and make install
add /usr/arla/bin to your command path.
(2) Configure arla
(1)obtain /usr/vice/etc/CellServDB of rcf.rhic.bnl.gov and put it
on your /usr/arla/etc/CellServDB. (N.B. definition for rhic cell
in the original CellServDB file attatched in arla-0.9 distribution
is obsolute. If you want to use original CellServDB file, modify
rhic cell entry as follows
>rhic #Relativistic Heavy Ion Collider
130.199.80.92 #rafs01.rhic.bnl.gov
(2)Replace the content of /usr/arla/etc/ThisCell by rhic .
(3)Add services by " cat SRCDIR/conf/services >> /etc/services "
etc. (see INSTALL document carefully)
(3) At root user, start arla by /usr/arla/bin/startarla. Confirm that
your arla is working properly on normal user account.
( eg. % kauth
user@RHIC's Password: <-- enter your AFS passwd
% setenv CVSROOT /afs/rhic/phenix/PHENIX_CVS
% cvs checkout staf ... etc.)
(4) If you confirm that arla works fine, you can add arla start script
/usr/arla/bin/startarla in the /etc/rc.d/rc.local file etc.
(N.B. Please be very careful to add starting script. improper
configuration may result serious booting problem of your Linux
(never booting up again..) see INSTALL and README carefully )
Dave's memo for Arla
CCJ R&D page
11 Aug 1998 Takashi Ichihara (ichihara@bnl.gov)
revision: 11 Aug 1998 change arla-0.8 to arla-0.9