r29 - 10 Nov 2009 - 06:39:45 - RobertGardnerYou are here: TWiki >  Admins Web > FileCatalog

FileCatalog

Background

Work from previous phases

Integration Phase 11 (Oct 1 - Dec 31, 2009 - FY10Q1)

Procedure

  • Stop LFC:
        /etc/init.d/lfcdaemon stop
    

  • Back up old installation:
        /bin/mv /opt /opt-backup; mkdir /opt
    
    (note: /opt was used as base directory for this install)

  • Update pacman:
        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
    

  • Fetch the current LFC package:
        pacman -get http://vdt.cs.wisc.edu/vdt_200_cache:LFC
    

  • Set up the globus/TRUSTED_CA symlink
        cd /opt/globus; ln -s /etc/grid-security/certificates TRUSTED_CA
    

  • Set up the LFC config file
        /bin/cp /opt-backup/lcg/etc/NSCONFIG /opt/lcg/etc
    
    (Note - this file contains the MySQL? password)

  • Update database schema:
        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.)

  • Restart LFC
        /etc/init.d/lfc start 

References


-- RobertGardner - 10 Nov 2009

About This Site

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.


Attachments

 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback