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):
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