User Tools

Site Tools


ds:documentation:infrastructure:afssetup

AFS Setup on Linux PCs

You may install a SLC6 form CERN (linuxsoft.cern.ch/cern/slc6X) and activate the CERN features in the setup, which include also AFS software.

You need a valid CERN account.

Step by step procedure:

  • install the AFS software
    yum install \
      openafs \
      openafs-client
  • create a short and clean cellserv config
cp /usr/vice/etc/CellServDB /usr/vice/etc/CellServDB.original
> cern.ch                   #European Laboratory for Particle Physics,
137.138.128.148             #afsdb1.cern.ch
137.138.246.50              #afsdb3.cern.ch
137.138.246.51              #afsdb2.cern.ch
  • set default cell to cern
echo "cern.ch" > /usr/vice/etc/ThisCell
  • make sure kerberos is configured
/etc/krb5.conf should contain

[realms] CERN.CH = {

      kdc = cerndc.cern.ch
      default_domain = cern.ch

}

[domain_realm] .cern.ch = CERN.CH

  • verify kerberos with your username at CERN and get ticket
kinit thoffman@CERN.CH
  • as SLC6 (cern specific openafs package) fix /etc/sysconfig/afs
ENABLE_AFSDB=on
ENABLE_DYNROOT=on
CACHESIZE=100000
  • start afs
service afs start
ls /afs/cern.ch/
  • finally add to boot
chkconfig --add afs
ds/documentation/infrastructure/afssetup.txt · Last modified: 2015/01/26 10:37 by haraldbraeuning