Ninth EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration Yubiryn Ramírez G. ULA – Venezuela. Ninth EELA Tutorial Users and System Administrators. Bogotá,
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, This presentation is based on LCG and gLite manuals and previous EELA tutorials
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, Outline LCG File Catalog (LFC) motivations LFC Server Installation LFC references
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, File Catalog Motivations Users and programs produce and require data Data may be stored in Grid datasets (files) –Located in Storage Elements (SEs) –Several replicas of one file in different sites –Accessible by Grid users and applications from “anywhere” –Locatable by the WMS (data requirements in JDL) –Data may be copied from/to local filesystems (WNs, UIs) to the Grid Why File Catalogs are used? –They keep track of the locations of copies (replicas) of Grid files –They provide DM tools and APIs through which users and grid services can deal with files
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, LFC Server Installation
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, Installation Pre-requisites Start from the base machine you installed in the INTRODUCTORY tutorial Verify that these packages are installed and properly configured: –Java SDK –Ntp daemon –CA_Gilda rpm –edg_VO_Gilda rpm –glite-yaim –gilda_ig-yaim
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, Site-info.def Copy site-info.def site-info.def into /root/my-site-info.def and edit these fields:
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, site-info.def LFC_HOST= eventogridXX.uniandes.edu.co LFC_DB_PASSWORD="lfc_password" (the Mysql password for the "lfc" user) LFC_CENTRAL=“ “ (list of VOs for which the LFC should be configured as a central catalogue. If you leave this empty, the LFC will be set as a local catalog) LFC_LOCAL=“ “ (If you want to limit the VOs for your local catalog, add them here) MYSQL_PASSWORD=set_this_to_a_good_password (the Mysql password for the “root" user)
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, Installation and Configuration Installation the LFC Server: /opt/glite/bin/gilda_ig_install_node /root/my-site-info.def GILDA_ig_LFC_mysql Configure the LFC server : /opt/glite/bin/gilda_ig_configure_node /root/my-site-info.def GILDA_ig_LFC_mysql
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, Firewall configuration Remember to open ports 8085 and 5010 on the firewall In /etc/sysconfig/iptables add: -A RH-Firewall-1-INPUT -m state --state NEW -m multiport -p tcp -- dports 8085,5010 -j ACCEPT service iptables restart
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, LFC Server testing Log into a gLite User Interface (eventogridxx.uniandes.edu.co) Set the hostname of the LFC catalog you installed: export LFC_HOST=eventogridXX.uniandes.edu.co Be sure to have a valid a voms proxy: voms-proxy-info Try to create a subdirectory with: lfc-mkdir /grid/gilda/bogota Give a look inside the /grid/gilda folder with: lfc-ls -l /grid/gilda
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, Check that LCG_GFAL_INFOSYS variable is correctly pointing to your BDII server: export LCG_GFAL_INFOSYS=eventogidXX.uniandes.edu.co:2170 Use lcg-infosites to discover which SEs are available for your VO: lcg-infosites --vo gilda se Choose a SE and upload a file with: lcg-cr -v --vo gilda -d -l lfn:/grid/gilda/bogota/test.jdl file://$PWD/hostname.jdl file://$PWD/hostname.jdl Check if the file was correctly registered into the catalog and where it was stored: –lfc-ls -l /grid/gilda/bogota –lcg-lr --vo gilda lfn:/grid/gilda/bogota/test.jdl LFC Server testing (II)
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, References LCG File Catalog (LFC) administrators' guide LFC Troubleshooting