Download presentation
Presentation is loading. Please wait.
Published byShanon Hampton Modified over 9 years ago
1
Ninth EELA Tutorial for Users and Managers www.eu-eela.org 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á, 09.03.2007
2
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 2 This presentation is based on LCG and gLite manuals and previous EELA tutorials
3
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 3 Outline LCG File Catalog (LFC) motivations LFC Server Installation LFC references
4
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 4 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
5
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 5 LFC Server Installation
6
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 6 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-3.0.11 –gilda_ig-yaim-3.0.0-37
7
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 7 Site-info.def Copy http://mnto04.uniandes.edu.co/Base/gilda_ig- site-info.def http://mnto04.uniandes.edu.co/Base/gilda_ig- site-info.def into /root/my-site-info.def and edit these fields:
8
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 8 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)
9
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 9 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
10
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 10 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
11
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 11 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
12
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 12 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)
13
E-infrastructure shared between Europe and Latin America Bogotá, Ninth EELA Tutorial, 08.03.2007 13 References LCG File Catalog (LFC) administrators' guide https://uimon.cern.ch/twiki/bin/view/LCG/LfcAdminGuide LFC Troubleshooting https://uimon.cern.ch/twiki/bin/view/LCG/LfcTroubleshooting
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.