EDG Testbed installation and configuration with LCFGng Maite Barroso - WP4

Slides:



Advertisements
Similar presentations
E. Ferro, CNAF, aprile LCFG: testbed upgrade Enrico Ferro INFN-LNL.
Advertisements

LCFG overview and future Michael George University of Liverpool
Andrew McNab - Manchester HEP - 17 September 2002 Putting Existing Farms on the Testbed Manchester DZero/Atlas and BaBar farms are available via the Testbed.
German Cancio – WP4 developments Partner Logo WP4-install plans WP6 meeting, Paris project conference
The EDG Testbed Introduction and Setup The European DataGrid Project Team
Automating Linux Installations at CERN G. Cancio, L. Cons, P. Defert, M. Olive, I. Reguero, C. Rossi IT/PDP, CERN presented by G. Cancio.
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 WP4 hands-on workshop: EDG LCFGng exercises
Session 5: Working with MySQL iNET Academy Open Source Web Development.
The EDG Testbed Deployment Details The European DataGrid Project
C. Loomis – Testbed Status – 28/01/2002 – n° 1 Future WP6 Tasks Charles Loomis January 28, 2002
EDG LCFGng: concepts Fabric Management Tutorial - n° 2 LCFG (Local ConFiGuration system)  LCFG is originally developed by the.
Samba Advanced System Administration Course James Lwali University computing Centre Ltd, University of Dar es salaam,
E. Ferro, CNAF, april Enrico Ferro INFN-LNL LCFG: testbed upgrade.
Computational grids and grids projects DSS,
CERN Manual Installation of a UI – Oxford July - 1 LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed.
Partner Logo DataGRID WP4 - Fabric Management Status HEPiX 2002, Catania / IT, , Jan Iven Role and.
Linux Services Muhammad Amer. 2 xinetd Programs  In computer networking, xinetd, the eXtended InterNET Daemon, is an open-source super-server daemon.
Nadia LAJILI User Interface User Interface 4 Février 2002.
UCY HPCL Introduction to the CrossGrid Testbed George Tsouloupas UCY HPCL.
Olof Bärring – WP4 summary- 4/9/ n° 1 Partner Logo WP4 report Plans for testbed 2
LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed in conjunction with GridPP and EGEE Running LCG, Handy Hints and Tips.
Partner Logo German Cancio – WP4-install LCFG HOW-TO - n° 1 LCFGng configuration examples Updated 10/2002
05/29/2002Flavia Donno, INFN-Pisa1 Packaging and distribution issues Flavia Donno, INFN-Pisa EDG/WP8 EDT/WP4 joint meeting, 29 May 2002.
First attempt for validating/testing Testbed 1 Globus and middleware services WP6 Meeting, December 2001 Flavia Donno, Marco Serra for IT and WPs.
German Cancio – WP4 developments Partner Logo System Management: Node Configuration & Software Package Management
INFSO-RI Enabling Grids for E-sciencE WMS + LB Installation Emidio Giorgio Giuseppe La Rocca INFN EGEE Tutorial, Rome November.2005.
9th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
G. Cancio, L. Cons, Ph. Defert - n°1 October 2002 Software Packages Management System for the EU DataGrid G. Cancio Melia, L. Cons, Ph. Defert. CERN/IT.
Ariel Garcia LCG cluster installation, EGEE training, Ariel Garcia - IWR LCG Cluster Installation Forschungszentrum Karlsruhe in der Helmholtz-Gemeinschaft.
Installing, running, and maintaining large Linux Clusters at CERN Thorsten Kleinwort CERN-IT/FIO CHEP
Status of Florida Tier2 Center A mini tutorial on ROCKS appliances Jorge L. Rodriguez February 2003.
SPMA & SWRep: Basic exercises HEPiX hands-on, NIKHEF 5/03 German Cancio
4th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
Olof Bärring – WP4 summary- 4/9/ n° 1 Partner Logo WP4 report Plans for testbed 2 [Including slides prepared by Lex Holt.]
22nd April 2002 Steve Traylen, RAL, 1 LCFG Installation Steve Traylen. LCFG – A tool for installation and configuration. UK HEP SYSMAN,
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America BDII Server Installation and Configuration.
Stephen Burke – Data Management - 3/9/02 Partner Logo Data Management Stephen Burke, PPARC/RAL Jeff Templon, NIKHEF.
University of Bristol 5th GridPP Collaboration Meeting 16/17 September, 2002Owen Maroney University of Bristol 1 Testbed Site –EDG 1.2 –LCFG GridPP Replica.
Presenter Name Facility Name UK Testbed Status and EDG Testbed Two. Steve Traylen GridPP 7, Oxford.
1 Network Information System (NIS). 2 Module – Network Information System (NIS) ♦ Overview This module focuses on configuring and managing Network Information.
C. Aiftimiei, E. Ferro / January LCFGng server installation Cristina Aiftimiei, Enrico Ferro INFN-LNL.
SAN DIEGO SUPERCOMPUTER CENTER Administering Inca with incat Jim Hayes Inca Workshop September 4-5, 2008.
2-Sep-02Steve Traylen, RAL WP6 Test Bed Report1 RAL and UK WP6 Test Bed Report Steve Traylen, WP6
Andrew McNab - Manchester HEP - 17 September 2002 UK Testbed Deployment Aim of this talk is to the answer the questions: –“How much of the Testbed has.
High-Performance Computing Lab Overview: Job Submission in EDG & Globus November 2002 Wei Xing.
LCG LCG-1 Deployment and usage experience Lev Shamardin SINP MSU, Moscow
E. Ferro, CNAF, april Enrico Ferro INFN-LNL Installation of a LCFG server.
Maite Barroso - 10/05/01 - n° 1 WP4 PM9 Deliverable Presentation: Interim Installation System Configuration Management Prototype
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
EGEE-II INFSO-RI Enabling Grids for E-sciencE YAIM Overview MiMOS Grid tutorial HungChe, ASGC OPS Team.
INFSO-RI Enabling Grids for E-sciencE /10/20054th EGEE Conference - Pisa1 gLite Configuration and Deployment Models JRA1 Integration.
Andrew McNab - Globus Distribution for Testbed 1 Globus Distribution for Testbed 1 Andrew McNab, University of Manchester
Data Management The European DataGrid Project Team
Data Management The European DataGrid Project Team
The EDG Testbed The European DataGrid Project Team
15-Feb-02Steve Traylen, RAL WP6 Test Bed Report1 RAL/UK WP6 Test Bed Report Steve Traylen, WP6 PPGRID/RAL, UK
The EDG Testbed The European DataGrid Project Team
CERN 19/06/2002 Kickstart file generator Andrea Chierici (INFN-CNAF) Enrico Ferro (INFN-LNL) Marco Serra (INFN-Roma)
TP: Grid site installation BEINGRID site installation.
INFSO-RI Enabling Grids for E-sciencE Installing & configuring Joachim Flammer Integration Team, CERN EMBRACE Tutorial, Clermont-Ferrand.
Gennaro Tortone, Sergio Fantinel – Bologna, LCG-EDT Monitoring Service DataTAG WP4 Monitoring Group DataTAG WP4 meeting Bologna –
Tests at Saclay D. Calvet, A. Formica, Z. Georgette, I. Mandjavidze, P. Micout DAPNIA/SEDI, CEA Saclay Gif-sur-Yvette Cedex.
12th EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America LFC Server Installation and Configuration.
Maite Barroso – WP4 Workshop – 10/12/ n° 1 -WP4 Workshop- Developers’ Guide Maite Barroso 10/12/2002
Installation of the ALICE Software
The EDG Testbed Deployment Details
WP4-install status update
DHCP server & Client Objectives Contents
EGEE Middleware: gLite Information Systems (IS)
The EU DataGrid Fabric Management Services
Presentation transcript:

EDG Testbed installation and configuration with LCFGng Maite Barroso - WP4

EDG Testbed installation and configuration with LCFG - n° 2 Contents u Current EDG Testbed structure and configuration u EDG configuration files n Description n Where to get them n How to use them u Upgrade of a basic LCFG server and client to an EDG testbed server and client

EDG Testbed installation and configuration with LCFG - n° 3 EDG Logical Machine Types 1.User Interface (UI) 2.Resource Broker (RB) 3.Information Service (IS) 4.Computing Element (CE) n Gatekeeper (Front-end Node) n Worker Nodes (WN) 5.Storage Element (SE) 6.Replica Catalog (RC)

EDG Testbed installation and configuration with LCFG - n° 4 EDG Testbed Configuration UI User Interface SE Storage Element CE Computing Element RB Resource Broker WN Worker Node WN Worker Node WN Worker Node WN Worker Node WN Worker Node WN Worker Node Proxy Proxy renewal MDS Meta Data Server RC Replica Catalog Minimal Testbed LCFG Installation Server

EDG Testbed installation and configuration with LCFG - n° 5 EDG Configuration files u EDG configuration files stored in the DataGrid cvs repository: u In the main directory edg-release/edg-release/ u Two types of LCFGng files needed: n RPM configuration files: list of RPMS to be installed on a node n Component configuration files: files containing the configuration information associated to each LCFG component in LCFG syntax (key-value pairs)

EDG Testbed installation and configuration with LCFG - n° 6 RPM configuration files

EDG Testbed installation and configuration with LCFG - n° 7 RPM config files u Stored in the cvs directory edg-release/rpmlist/  They are built following a hierarchical structure of files containing standard cpp directives like #define, #include, #ifdef, comments with /* */, etc... u These files should be located in the LCFGng server, in the directory: /opt/local/linux/6.2/rpmcfg u They include two types of files: n header files (.h) n template configurations

EDG Testbed installation and configuration with LCFG - n° 8 RPM config files: header files (I) u The RPM config file is a list of RPMs specifications, each of the following form: [prefix]rpmname-version-release[/arch][:flags] u version-release wildcards are supported : * as the release field will imply the latest version/release of the specified RPM found in the RPM repository u [prefix] n + used to replace a previously listed package with another version or release of the same package n - used to remove an already listed package u [/arch] overrides the default architecture

EDG Testbed installation and configuration with LCFG - n° 9 RPM config files: header files (II) u [:flags] consists of one or more single character flags as defined below: n :f install this package without making any checks at all. n :d install this package without making any dependency checks. n :r reboot this machine when this RPM is installed, removed or upgraded. (not yet fully implemented). n :i ignore any already installed RPM matching the given RPM spec. n :c preserve this RPM's config files across upgrades. n :t install this package without invoking trigger scripts. n :s install this package without running any pre or postinstall scripts. NOTE: for more detailed information, use man updaterpms

EDG Testbed installation and configuration with LCFG - n° 10 RPM config files: header files (III)  Example: ComputingElement-rpm.h /* ComputingElement.h ======================================================== Customized list for a ComputingElement - Globus 2 BETA 21 */ #ifdef OPENPBS openpbs-*-*:s #endif globus_common-gcc32dbg_dev globus_common-gcc32dbg_pgm globus_common-gcc32dbg_rtl globus_common-gcc32dbgpthr_dev globus_common-gcc32dbgpthr_rtl cyrus-sasl :s

EDG Testbed installation and configuration with LCFG - n° 11 RPM config files: template configuration (I) u One template per machine-type: s BASE-rpm: Base list for minimal system BASE-rpm s CE-rpm: Computing Element list CE-rpm s NM-rpm: Network Monitoring list NM-rpm s RB-rpm: Resource Broker list RB-rpm s RC-rpm: Replica Catalogue list RC-rpm s SE-rpm: Storage Element list SE-rpm s UI-rpm: User Interface list UI-rpm s WN-rpm: Worker Node list WN-rpm

EDG Testbed installation and configuration with LCFG - n° 12 RPM config files: template configuration (II) u Each template is organized in a hierarchical way, with a list of #includes of the needed header files. An example, CE-rpm: /* CE-rpm ===================================================== ComputingElement high-level RPM list */ /* RedHat updates */ #include "rh62-release-rpm.h" #include "rh62-updates-rpm.h“ /* LCFG support */ #include "lcfg-common-rpm.h" #include "lcfg-client-rpm.h" /* OpenSSH */ #include "openssh-rpm.h“ /* ComputingElement specific packages */ #include "ComputingElement-rpm.h" Rh62 list of RPMs LCFG list of RPMs Computing Element specific list of RPMs

EDG Testbed installation and configuration with LCFG - n° 13 RPM config files: template configuration (III)  But they can also contain lists of RPMs, without including them from any file. An example, CE-rpm: /* Packages added to satisfy dependencies */ libxml u Or overwrite a previously defined RPM version: +jade :s +sgml-common-0.1-7:s +docbook-3.1-3:s +stylesheets-0.13rh-4:s +openldap-servers :s u Or include #define directives: /* Define architecture */ #define ISARCH_i386 1 #define ARCH i686

EDG Testbed installation and configuration with LCFG - n° 14 Component configuration files

EDG Testbed installation and configuration with LCFG - n° 15 Component config files: format (I) u Contain the needed configuration information expressed in LCFG syntax, key- value pairs known as resources: hardware.keytable us u The key specifies the LCFG component and the parameter, e.g. hardware.keytable u Types n Existing types: integer, boolean and string (default) n u References to other component’s resources: updaterpms.rpmcfg NOTE: Remember that a machine DOES NOT have access to other machines resources. u The + symbol indicates that the new definition overrides any precedent one: +hardware.keytable en u If you don’t want to overrride but to add, use the EXTRA macro instead: EXTRA(hardware.keytable )en

EDG Testbed installation and configuration with LCFG - n° 16 Component config files: format (II) u More complex structures can also be usercomment_$ userhome_$ users usercomment_$ userhome_$ u Example: auth.users edginfo mysql auth.usercomment_edginfo EDG Info user auth.userhome_edginfo /tmp auth.usercomment_mysql user for mysql auth.userhome_mysql /home/mysql u To add a new element use the macro EXTRA: EXTRA(auth.users) postgres auth.usercomment_postgres user for postgres auth.userhome_postgres /home/postgres

EDG Testbed installation and configuration with LCFG - n° 17 Component config files u Stored in the cvs directory edg-release/source/ u These files should be located in the LCFGng server, in the directory: /var/obj/conf/server/source u Organized in a hierarchical way, using simple inheritance by file inclussion: n One file per functional entity to be configured, e.g. FabricMonitoring-cfg.h, Users-cfg.h, pbs-cfg.h FabricMonitoring-cfg.hUsers-cfg.hpbs-cfg.h n One file per machine type, e.g. ComputingElement-cfg.h, WorkerNode-cfg.hComputingElement-cfg.h WorkerNode-cfg.h n One file per site, with the site dependent configuration information, e.g. site-cfg.hsite-cfg.h n Last level on the hierarchy: one file per machine, file named after the unqualified DNS name of the client, containing the host dependent configuration information, e.g. testbed006

EDG Testbed installation and configuration with LCFG - n° 18 Component config files: example 1 testbed006 /* testbed006 ============================================== COMPUTING ELEMENT- NG VERSION */ /* Host specific definitions */ #define HOSTNAME testbed006 /* Some useful macros */ #include "macros-cfg.h" /* Site specific definitions */ #include "site-cfg.h" /* Basic RH62 client resources */ #include "redhat62-cfg.h" /* Users */ #include "Users-cfg.h" /* Computing Element specific resources */ #include "ComputingElement-cfg.h" +auth.rootpwd a1Z1WykXTe2PU Config files per machine type Site config files Specific host configuration Feature/component configuration (Linux, users…)

EDG Testbed installation and configuration with LCFG - n° 19 Component config files: example 2 /* globus */ EXTRA(profile.components) globus profile.version_globus 1 globus.ng_reconfig configure EXTRA(boot.services) globus /* globus.conf content */ globus.globusconfenabled yes globus.globusconf /etc/globus.conf /* inet: add gatekeeper service to /etc/services,enable mount */ EXTRA(inet.etcservices) gatekeeper inet.etcsrvconf_gatekeeper globus-gatekeeper 2119/tcp EXTRA(inet.allow) mountd portmap gatekeeper inet.allow_mountd SITE_ALLOWED_NETWORKS inet.allow_portmap SITE_ALLOWED_NETWORKS inet.allow_gatekeeper ALL Globus component configuration needed in a Computing Element ComputingElement-cfg.h inet component configuration needed in a Computing Element

EDG Testbed installation and configuration with LCFG - n° 20 Component config files: example 3 /*site-cfg.h ============= SITE SPECIFIC CONFIGURATION ============ */ /* COMMON GRID DEFINITIONS */ #define GRID_RB_II_HOST lxshare0315.cern.ch #define GRID_RB_II_PORT 2170 /* COMMON SITE DEFINITIONS */ /* FQDN of your LCFG server */ #define SITE_LCFG_SERVER lxshare0315.cern.ch /* Your domain */ #define SITE_LOCALDOMAIN cern.ch /* Sysadmin */ #define SITE_MAILROOT /* The gateway/router */ #define SITE_GATEWAYS /* Allowed networks (useful for tcpwrappers) */ #define SITE_ALLOWED_NETWORKS , , /* DNS */ #define SITE_NAMESERVERS site-cfg.h

EDG Testbed installation and configuration with LCFG - n° 21 SERVER UPGRADE 1)Assume LCFGng base server up & running 2)Populate the RPM repository at /opt/local/linux/6.2/RPMS with all needed RPMs from EDG central repository (don’t forget to generate the header files!) 3)Copy the needed RPM config files from cvs (edg-release/rpmlist) to the LCFGng server, /opt/local/linux/6.2/rpmcfg. This files normally don’t need to be modified. 4)Copy the needed component config files from cvs (edg- release/source) to the LCFGng server, /var/obj/conf/server/source.

EDG Testbed installation and configuration with LCFG - n° 22 SERVER UPGRADE 5) Adapt them to configure your clients: 5.1) Change the file site-cfg.h with your site settings. 5.2) Create/modify the configuration file for every client, naming it with its unqualified DNS name, e.g. testbed006 (template configuration files called testbed00x can be found in cvs). sDecide what type of machine you want to have, e.g. Computing Element sInclude the needed config files according to your machine type, e.g. ComputingElement-cfg.h for a Computing Element sAdd the host-dependent configuration (host name, root password…) 5.3) Compile and generate the XML node profile /usr/sbin/mkxprof –v –s testbed ) If it is a new client, edit /etc/dhcpd.conf and add entries for your client machine. Don’t forget to restart the service afterwards!

EDG Testbed installation and configuration with LCFG - n° 23 CLIENT UPGRADE 5) Reboot the client 6) Check that all the components started in the correct way: have a look to the log files located at: /var/obj/log/component_name 7) You can always start/stop/restart the components manually: /etc/obj/component_name start