Download presentation
Presentation is loading. Please wait.
Published byCrystal Lucas Modified over 6 years ago
1
Jean-Philippe Baud - Sophie Lemaitre IT-GD, CERN May 2005
How to install the LFC ? Jean-Philippe Baud - Sophie Lemaitre IT-GD, CERN May 2005
2
Documentation and Help
Documentation (LFC & DPM): -> Data Management section : LFC/DPM Admin Guides RLS to LFC migration script Useful presentations (architecture, implementation, installation, etc.) Help : Archived support mailing lists : CERN IT-GD
3
Requirements What kind of machine ? Size of the DB ?
Service machine with : 2GHz processor with 512 MB of memory (not hard req.) Dual power supply Mirrored system disk Size of the DB ? Depends on the size of the file/directory names, and on the number of replicas per file ~ 1GB for one million entries in the LFC Backups & Recovery This is the site’s responsibility ! CERN IT-GD
4
Database backend MySQL : Oracle :
LFC-client depends on MySQL-client >= Oracle : LFC-client depends on oracle-instantclient-basic-lcg -> works with Oracle DB server 7, 8, 9i, 10g CERN IT-GD
5
How to install the LFC ? (1/4)
This is about LFC version included in LCG-2_5_0 This is very slightly different from LFC version (included in LCG-2_4_0) : Different RPM dependencies lfcdaemon runs as “lfcmgr” instead of root Automatic installation via YAIM (for MySQL) : ./install_node site-info.def lcg-LFC_mysql ./configure_node site-info.def LFC_mysql CERN IT-GD
6
How to install the LFC ? (2/4)
Create LFC user “lfcmgr” Security : Whole security stack (globus RPMs, etc.) Host certificate : root]# ls -al /etc/grid-security/lfcmgr/ -rw-r--r lfcmgr lfcmgr May 26 14:26 lfccert.pem -r lfcmgr lfcmgr May 26 14:26 lfckey.pem gridmapdir / pool accounts : root]# ls -al /etc/grid-security/ | grep grid drwxrwxr-x 2 root lfcmgr May 26 15:48 gridmapdir -rw-r--r root root May 26 14:03 grid-mapfile Install the RPMs : MySQL-client (and server if on the same box) lcg-dm-common LFC-server-mysql, LFC-client CERN IT-GD
7
How to install the LFC ? (3/4)
Database : LFC database user “lfc” Tables : mysql –u lfc –p < /opt/lcg/share/LFC/create_lfc_tables_mysql.sql Configuration file : echo > /opt/lcg/etc/NSCONFIG Check the permissions : NSCONFIG : root]# ls -al /opt/lcg/etc/NSCONFIG -rw-rw lfcmgr lfcmgr 44 May 26 12:07 /opt/lcg/etc/NSCONFIG Log file : root]# ls -al /var/log/lfc/log -rw-r--r lfcmgr lfcmgr May 26 15:53 /var/log/lfc/log CERN IT-GD
8
How to install the LFC ? (4/4)
Run the LFC daemon : cp -p /etc/sysconfig/lfcdaemon.templ /etc/sysconfig/lfcdaemon Modify /etc/sysconfig/lfcdaemon if necessary Then run : service lfcdaemon start Create the VOs directories : export LFC_HOST=<your_lfc_host> lfc-mkdir /grid lfc-mkdir /grid/<VO> lfc-chmod 775 /grid/<VO> lfc-setacl -m d:u::7,d:g::7,d:o:5 /grid/<VO> Publish the LFC in your Information System And this is finished ! CERN IT-GD
9
oracle-instantclient-basic-lcg-10.1.0.3
LFC for Oracle backend oracle-instantclient-basic-lcg This is just the client, works with Oracle DB server 7, 8, 9i and 10g NSCONFIG : In /etc/sysconfig/lfcdaemon : $TWO_TASK -> Name of the DB Oracle SID $TNS_ADMIN -> Directory where tnsnames.ora resides CERN IT-GD
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.