Www.eu-eela.org E-science grid facility for Europe and Latin America Setting up a YUM Repository Gianni M. Ricciardi – Consorzio COMETA Joint EELA-2/EGEE-III.

Slides:



Advertisements
Similar presentations
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America FiReMan Installation Emidio Giorgio INFN.
Advertisements

FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America DPM Server Installation Luciano Diaz ICN-UNAM.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America DPM Server Installation Claudio Cherubino INFN – Catania.
Apache : Installation, Configuration, Basic Security Presented by, Sandeep K Thopucherela, ECE Department.
Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.
1 Worker Nodes Installation&Configuration Sara Bertocco INFN Padova 11 th International GridKa School 2013 – Big Data, Clouds and Grids.
Ninth EELA Tutorial for Users and Managers E-infrastructure shared between Europe and Latin America User Interface installation and configuration.
E-science grid facility for Europe and Latin America UI PnP and UI Installation User and Site Admin Tutorial Riccardo Bruno – INFN Catania.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Overview of software tools for gLite installation & configuration.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) VOMS Installation and configuration Bouchra
VL-e PoC Distribution Installation and use of the PoC Jan Just Keijser VL-e work shop, April 7 th, 2006.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
E-science grid facility for Europe and Latin America Installation and configuration of a top BDII Gianni M. Ricciardi – Consorzio COMETA.
1 Introduction to the tutorial for site managers Antonio Fuentes Red.es/RedIRIS EGEE/EUMedGrid/EELA Tutorial for Managers Sevilla,
CERN Manual Installation of a UI – Oxford July - 1 LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Workload Management System + Logging&Bookkeeping Installation.
E-science grid facility for Europe and Latin America LFC Server Installation and Configuration Antonio Calanducci INFN Catania.
E-science grid facility for Europe and Latin America gLite WMS Installation and configuration Riccardo Bruno – INFN.CT 30/06/2008 – 04/07/2008.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America MyProxy server installation Emidio Giorgio.
9th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
E-science grid facility for Europe and Latin America GridwWin: porting gLite to run under Windows Fabio Scibilia – Consorzio COMETA 30/06/2008.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America WMS + LB Installation Emidio Giorgio INFN.
INFSO-RI Enabling Grids for E-sciencE BDII installation & configuration Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
4th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America BDII Server Installation and Configuration.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America User Interface (gLite 1.4) Installation.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Worker Node installation & configuration.
E-infrastructure shared between Europe and Latin America Introduction to the tutorial for site managers Vanessa Hamar Universidad de Los.
E-science grid facility for Europe and Latin America Porting a program to run on the Grid Marcello Iacono Manno Consorzio COMETA
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Introduction to the tutorial for site managers.
INFSO-RI Enabling Grids for E-sciencE User Interface (UI) Installation Giuseppe La Rocca INFN Catania - Italy First Latin American.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Site Architecture Resource Center Deployment Considerations MIMOS EGEE Tutorial.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Tools and techniques for managing virtual machine images Andreas.
E. Ferro, CNAF, april Enrico Ferro INFN-LNL Installation of a LCFG server.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America DPM Server Installation Claudio Cherubino.
EGEE-II INFSO-RI Enabling Grids for E-sciencE YAIM Overview MiMOS Grid tutorial HungChe, ASGC OPS Team.
Third EELA Tutorial for Managers and Users E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
12th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin.
Automatic testing and certification procedure for IGI products in the EMI era and beyond Sara Bertocco INFN Padova on behalf of IGI Release Team EGI Community.
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.
EGEE-III INFSO-RI Enabling Grids for E-sciencE JRA1 and SA3 All Hands Meeting December 2009, CERN, Geneva Product Teams –
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America BDII Server Installation Claudio Cherubino.
GLite WN Installation Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Architecture of LHC File Catalog Valeria Ardizzone INFN Catania – EGEE-II NA3/NA4.
First South Africa Grid Training Installation and configuration of BDII Gianni M. Ricciardi Consorzio COMETA First South Africa Grid Training Catania,
MREPO: Yum/Apt repository kickstart installation via PXE GIUSEPPE PLATANIA INFN Catania I Corso di formazione INFN.
APACHE INSTALL Linux: CentOS 6.5 WHAT IS APACHE Apache is an open source application which is governed by the GNU licensing for use and alteration of.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks BDII Server Installation & Configuration.
E-science grid facility for Europe and Latin America Updates on Information System Annamaria Muoio - INFN Tutorials for trainers 01/07/2008.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) 马兰馨 IHEP, CAS Setting Up a Repository.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Overview of software tools for gLite installation & configuration.
INFSO-RI Enabling Grids for E-sciencE Worker Node installation & configuration Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
E-science grid facility for Europe and Latin America The GILDA t-Infrastructure Riccardo Bruno INFN, Sez. CT Joint EELA-2/EGEE-III Tutorial.
16-26 June 2008, Catania (Italy) First South Africa Grid Training LFC Server Installation and Configuration Antonio Calanducci INFN Catania.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Worker Node & Torque Client Installation.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Elisa Ingrà Consortium GARR- Roma WMS LB.
MirrorManager: The Fedora Mirror System Matt Domsch Fedora Mirror Wrangler Linux Technology Strategist Office of the CTO Dell, Inc.
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
Overview of software tools for gLite installation & configuration
YAIM Giuseppe Platania INFN Catania EMBRACE Tutorial
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
COP 4343 Unix System Administration
Installation and configuration of a top BDII
gLite User Interface Installation
EMI Componets Installation And Configuration
More Scripting & Chapter 11
Lab #1 Install Linux & How to Build Live CD
WMS LB topBDII Installation and Configuration
Presentation transcript:

E-science grid facility for Europe and Latin America Setting up a YUM Repository Gianni M. Ricciardi – Consorzio COMETA Joint EELA-2/EGEE-III tutorial for trainers Catania, 2008 June 30th – 2008 July 4th

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Overview In some cases it can be very useful to have the use of your own software (OS, middleware, etc.) repository: –to speed up the installation of a large number of machines at your site; –to arrange a tutorial in a location with a narrow bandwidth. To reach this goal you can use a tool by Dag Wieers called mrepo (FKA YAM); its features: –building of a local APT/YUM repository, downloading all packages required from mirror sites and setting up metadata; support of ISO files; –configuring HTTP access; –support of FISH, FTP, HTTP, RSYNC, SFTP, YOU and RHN; –and more... (see References)‏

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Installation of mrepo Binary RPM packages of mrepo are available for RedHat, CentOS and Fedora; you can also install it on a Scientific Linux 5.X using this package: – 1.el5.rf.noarch.rpm a tool called createrepo is required by mrepo: # yum install createrepo

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Configuration of mrepo The main configuration file is /etc/mrepo.conf : # cat /etc/mrepo.conf [main] srcdir = /var/mrepo wwwdir = /var/www/mrepo confdir = /etc/mrepo.conf.d arch = i386 metadata = yum repomd

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Configuration of mrepo Configuration files needed to set mirror sources are in /etc/mrepo.conf.d/ you can set a separate file for each part of your repository: –OS (e.g. Scientific Linux 4.X, 32-bit): # cat /etc/mrepo.conf.d/sl4x_i386.conf [sl4x] name = Scientific Linux 4 (i386) arch = i386 os = updates = contrib =

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Configuration of mrepo – OS (Scientific Linux 4.X 64-bit): # cat /etc/mrepo.conf.d/sl4x_x86_64.conf [sl4x] name = Scientific Linux SL (x86_64) arch = x86_64 os = updates = contrib = – Java packages: # cat /etc/mrepo.conf.d/jpackage.conf [jpackage17-generic] name=JPackage 1.7, generic free = non-free = [jpackage5-generic] name=JPackage 5, generic free = non-free =

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Configuration of mrepo – gLite middleware (a long list, see References): # cat /etc/mrepo.conf.d/glite.conf [glite_sl4-i386] amga-externals = amga-release = amga-updates = bdii-externals = bdii-release = bdii-updates = [...] se_dpm_disk-externals = se_dpm_disk-release = se_dpm_disk-updates = se_dpm_mysql-externals = se_dpm_mysql-release = se_dpm_mysql-updates = [...]

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Configuration of mrepo – LCG CAs: # cat /etc/mrepo.conf.d/lcg-ca.conf [glite_sl4] name = gLite middleware (i386) arch = i386 security = – INFN Grid (IG): # cat /etc/mrepo.conf.d/ig.conf [ig_sl4] name = INFN-GRID middleware (i386) arch = i386 3_1_0 = 3_1_0_externals =

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Configuration of mrepo – GILDA: # cat /etc/mrepo.conf.d/gilda.conf [gilda_app] name = GILDA Applications Software (i386) arch = i386 app =

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Using mrepo mrepo options: $ mrepo -h usage: mrepo [options] dist1 [dist2-arch..] Set up a distribution server from ISO files mrepo options: -c, --config=file specify alternative configfile -f, --force force repository generation -g, --generate generate mrepo repositories -n, --dry-run show what would have been done -q, --quiet minimal output -r, --repo=repo1,repo2 restrict action to specific repositories --remount remount distribution ISOs -u, --update fetch OS updates -v, --verbose increase verbosity -vv, -vvv, -vvvv.. increase verbosity more --unmount unmount distribution ISOs

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Using mrepo Usage examples: –to update repository (the first time it downloads all the packages): # mrepo -uvv –to generate the repository (with all metadata and symlinks required): # mrepo -gvv –to update and generate your repository: # mrepo -guvv –to update only a section or a repository: # mrepo -guvv gilda_app # mrepo -guvv -r security

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Packages and symlinks Once the creation of the repository has been completed, you will find all downloaded packages in: $ ls /var/mrepo/ all glite_sl3-i386 jpackage17-generic-i386 sl4x-x86_64 gilda_app-i386 glite_sl4-i386 jpackage5-generic-i386 gilda_sl4-i386 ig_sl4-i386 sl4x-i386 and symlinks here: $ ls /var/www/mrepo/ gilda_app-i386 glite_sl4-i386 jpackage17-generic-i386 repos gilda_sl4-i386 HEADER.shtml jpackage5-generic-i386 sl4x-i386 glite_sl3-i386 ig_sl4-i386 README.shtml sl4x-x86_64

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Metadata All metadata is in the wwwdir : $ ls /var/www/mrepo/sl4x-i386/RPMS.os/repodata/ filelists.xml.gz other.xml.gz primary.xml.gz repomd.xml YUM Metadata

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Required space About disk usage : # du -hs /var/mrepo/* 4.0K /var/mrepo/all 973M /var/mrepo/gilda_app-i K /var/mrepo/glite_sl3-i386 13G /var/mrepo/glite_sl4-i M /var/mrepo/ig_sl4-i M /var/mrepo/jpackage17-generic-i G /var/mrepo/jpackage5-generic-i G /var/mrepo/sl4x-i G /var/mrepo/sl4x-x86_64 # du -hs /var/mrepo/ 22G /var/mrepo/

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Web server configuration Inside mrepo package there is also a configuration file for the Apache web server: /etc/httpd/conf.d/mrepo.conf the default web directory is /var/www/mrepo, so you can access your repository at following URL: /mrepo Remember to start Apache and set it to start at boot: # /etc/init.d/httpd start # chkconfig httpd on

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Client Configuration (YUM)‏ In order to let a client machine install software from your repository, you have to properly set YUM configuration files on that machine: # ls /etc/yum.repos.d/ gilda.repo ig.repo sl.repo glite-bdii.repo jpackage.repo ca.repo glite-lcg_ce.repo dag.repo glite-torque_server.repo glite-torque_utils.repo example of a gLite Torque CE

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Client Configuration (YUM)‏ Example of a.repo file: # cat /etc/yum.repos.d/glite-torque_server.repo # gLite TORQUE server repositories [gliteTORQUEserver_sl4_externals] name = gLite WN 3.1 (externals) baseurl = /mrepo/glite_sl4- i386/RPMS.torque_server-externals/ enabled = 1 protect = 0 [gliteTORQUEserver_sl4_release] name = gLite WN 3.1 (release) baseurl = /mrepo/glite_sl4-i386/RPMS.torque_server-release/ enabled = 1 protect = 0 [gliteTORQUE_sl4_updates] name = gLite WN 3.1 (updates) baseurl = /mrepo/glite_sl4-i386/RPMS.torque_server-updates/ enabled = 1 protect = 0

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Client Configuration (YUM)‏ Another example of a.repo file: # cat /etc/yum.repos.d/ig.repo # # INFNGRID repositories # [ig_sl4] name = ig 3.1 baseurl = /mrepo/ig_sl4-i386/RPMS.3_1_0/ enabled = 1 protect = 0 [ig_sl4_externals] name = ig 3.1 (externals) baseurl = /mrepo/ig_sl4-i386/RPMS.3_1_0_externals/ enabled = 1 protect = 0

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – How to freeze your repository If for some reasons you wish to freeze your repository, you only need to comment a line in mrepo cron file: # cat /etc/cron.d/mrepo #30 2 * * * root /usr/bin/mrepo -q -ug A good idea is to update CAs package anyway: 30 2 * * * root /usr/bin/mrepo -q -ug -r security Case of CAs mirror defined by: security =

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – References mrepo: Yum/Apt repository mirroring (fka yam)‏ – CNAF wiki pages about mrepo (you can find here a full list of gLite repository settings)‏ – Generic Installation and Configuration Guide for gLite 3.1 – gLite 3.1 middleware repositories: –

Catania (Italy), Joint EELA/EGEEIII Tutorial for Trainers, – Questions …