LFC upgrade to >= 1.6.0

Below, all the steps needed to upgrade the LFC from version < 1.6.0 to version >= 1.6.0.

Stop all daemons

  • service lfc-dli stop
  • service lfcdaemon stop

Install the new RPMs

All of them, on the appropriate node(s):

  • LFC-server
  • LFC-client

Run the migration script

A database schema change is needed to upgrade the LFC to a version >= 1.6.0.

Example for a Mysql LFC

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

ATTENTION another name than "cns_db" can be used by sites... YAIM should use --database $LFC_DB !!!

Example for an Oracle LFC

cd /opt/lcg/share/LFC/lfc-support-1.6.0/

sqlplus lfc_user/lfc_password@lfc_oracle_db < migrate-oracle-schema-to-3-0-0.sql

Restart the daemons

  • service lfcdaemon start
  • service lfc-dli start on all the disk servers

-- SophieLemaitre - 19 Jan 2007

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-01-19 - SophieLemaitre
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback