lfc_delreplicasbysfn() and lfc_registerfiles(), for the bulk removal or addition of entries.
/etc/init.d/lfcdaemon stop
/bin/mv /opt /opt-backup; mkdir /opt
(note: /opt was used as base directory for this install)
cd /opt
wget http://atlas.bu.edu/~youssef/pacman/sample_cache/tarballs/pacman-latest.tar.gz
tar xfz pacman-latest.tar.gz; mv pacman-3.29 pacman
cd pacman
. setup.sh
pacman -get http://vdt.cs.wisc.edu/vdt_200_cache:LFC
globus/TRUSTED_CA symlink
cd /opt/globus; ln -s /etc/grid-security/certificates TRUSTED_CA
/bin/cp /opt-backup/lcg/etc/NSCONFIG /opt/lcg/etc
(Note - this file contains the MySQL? password)
cd /opt/lcg/share/LFC/lfc-support-1.6.0/
mysql -u lfc_user -p lfc_password --database cns_db < migrate-mysql-schema-to-3-0-0.sql (Note: a few of the commands in this file caused SQL errors, like Duplicate column name 'ctime'. To work around this run the SQL commands individually.)
/etc/init.d/lfc start
Please note that this site is a content mirror of the BNL US ATLAS TWiki. To edit the content of this page, click the Edit this page button at the top of the page and log in with your US ATLAS computing account name and password.