Www.epikh.eu The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Overview of software tools for gLite installation & configuration.

Slides:



Advertisements
Similar presentations
automated single login access to Novell storage resources
Advertisements

The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Services Abderrahman El Kharrim
Discovering SQL all rights reserved (c) 2010 agilitator.com INSTALLING MySQL 5.1 Community Server.
Virtual Machine and UNIX. What is a VM? VM stands for Virtual Machine. It is a software emulation of hardware. By using a VM, you can have the same hardware.
© 2010 VMware Inc. All rights reserved VMware ESX and ESXi Module 3.
Linux Operations and Administration
Linux Operations and Administration
Installation Overview Charles (Cal) Loomis & Mohammed Airaj LAL, Univ. Paris-Sud, CNRS/IN2P October 2013.
CSE 390a Editing and Moving Files
1 Worker Nodes Installation&Configuration Sara Bertocco INFN Padova 11 th International GridKa School 2013 – Big Data, Clouds and Grids.
E-science grid facility for Europe and Latin America UI PnP and UI Installation User and Site Admin Tutorial Riccardo Bruno – INFN Catania.
Client Installation StratusLab Tutorial (Orsay, France) 28 November 2012.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) VOMS Installation and configuration Bouchra
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) CE+WN+siteBDII Installation and configuration Bouchra
COSC 4750 Customizing and maintenance. Installing software Redhat/Fedora (and linux in general) has a package installer, called rpm Many programs will.
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.
AE6382 Secure Shell Usually referred to as ssh, the name refers to both a program and a protocol. The program ssh is one of the most useful networking.
E-science grid facility for Europe and Latin America LFC Server Installation and Configuration Antonio Calanducci INFN Catania.
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.
E-science grid facility for Europe and Latin America Setting up a YUM Repository Gianni M. Ricciardi – Consorzio COMETA Joint EELA-2/EGEE-III.
INFSO-RI Enabling Grids for E-sciencE Installation of an APT+kickstart server Giuseppe Platania INFN Catania EMBRACE Tutorial Clermont-Ferrand,
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Usage of virtualization in gLite certification Andreas Unterkircher.
EGEE-II INFSO-RI Enabling Grids for E-sciencE The GILDA training infrastructure.
4th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America CE + WN installation and configuration.
E-infrastructure shared between Europe and Latin America Introduction to the tutorial for site managers Vanessa Hamar Universidad de Los.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Introduction to the tutorial for site managers.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Site Architecture Resource Center Deployment Considerations MIMOS EGEE Tutorial.
Yannick Patois - Datagrid Software Repository Presentation - March, n° 1 Datagrid Software Repository Presentation CVS, packages and automatic.
Linux Operations and Administration
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) The Egyptian Grid Infrastructure Maha Metawei
EGEE-II INFSO-RI Enabling Grids for E-sciencE YAIM Overview MiMOS Grid tutorial HungChe, ASGC OPS Team.
12th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin.
Installing Applications in FreeBSD lctseng. Computer Center, CS, NCTU 2 Before we start  Permission issue root: the super user Like administrator in.
TP: Grid site installation BEINGRID site installation.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 UC 7.0 Install and Upgrade Changes TOI Josh Rose UCBU Software Engineer.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) UI Installation and Configuration Dong Xu IHEP,
GLite WN Installation Giuseppe LA ROCCA INFN Catania ACGRID-II School 2-14 November 2009 Kuala Lumpur - Malaysia.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite VOMS Installation and Configuration Riccardo Bruno
First South Africa Grid Training Installation and configuration of BDII Gianni M. Ricciardi Consorzio COMETA First South Africa Grid Training Catania,
SEE-GRID-SCI MON Hands-on Session Vladimir Slavnić Institute of Physics Belgrade Serbia The SEE-GRID-SCI initiative.
MREPO: Yum/Apt repository kickstart installation via PXE GIUSEPPE PLATANIA INFN Catania I Corso di formazione INFN.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks CYFRONET site report Marcin Radecki CYFRONET.
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) WMS LB BDII Installation and Configuration Salma Saber
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) gLite Grid Introduction Salma Saber Electronic.
User Interface (UI) Installation Bandung ITB Desember 2009.
16-26 June 2008, Catania (Italy) First South Africa Grid Training LFC Server Installation and Configuration Antonio Calanducci INFN Catania.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Elisa Ingrà Consortium GARR- Roma WMS LB.
Linux Basics Part 2. VIM Editor vi improved Installed on most Linux machines Can be a bit confusing at first... o Cheat sheets FTW Other popular editors:
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Workload Management System + Logging&Bookkeeping Installation.
Regional SEE-GRID-SCI Training for Site Administrators
Overview of software tools for gLite installation & configuration
VMware ESX and ESXi Module 3.
COP 4343 Unix System Administration
Installation and configuration of a top BDII
StratusLab Tutorial (Bordeaux, France)
BIF713 Managing Disk Space.
UI Installation and Configuration
Lab 1 introduction, debrief
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Lab #1 Install Linux & How to Build Live CD
DPM Hands-on Session AEGIS Training for Site Administrators
UI Installation and Configuration
Presentation transcript:

The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Overview of software tools for gLite installation & configuration Bouchra RAHIM Joint EPIKH/EUMEDGRID-Support Event in Rabat Morocco,

Agenda Virtual machines PuTTY + WinScp Screen Command Yum command Local repository (mrepo command) Yaim command Passwords & certificates Event links 2 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Virtual Machine Practice on virtual machine till next Wednesday during the site Admin tutorial. Each participant has access to 2 virtual machines that are hosted on his PC (one 64 bit and one 32 bit Linux). All grid nodes will be installed on 64 bit Linux except the WMS. All virtual machines have host certificates delivered by Magrid CA. The following UI is available for testing: ui01.magrid.ma –With users gridXX and password gridXX where (XX=01 to 30). –ssh 3 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

PuTTY + WinScp 4 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin Root password: grid2011

Screen Command Unreliable network connection with the remote PC. You can start some long command and go for break without worrying about losing the connection. 5 Interface PC Remote PC Ssh connection Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Screen Command usage To download and install the screen package: # yum install screen To create a screen: # screen –p screen_name To list the current screens: # screen –ls To open an existed screen: # screen –x 6 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

YUM package manager Package manager is an automatic updater and package installer/remover for rpm systems It automatically computes dependencies and figures out what things should occur to install packages Files in /etc/yum.repos.d/package_name.repo will point to the repository path where the package rpms are located. Yum install gLite_service will invoke the download and the installation in one step 7 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Local repository Why? –gLite includes a large number of tools and software to download –Download from remote servers can require too much time When? – Many server to install  Large server farms  Training events – Slow connection How? – gLite repository are managed by mrepo tool 8 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Local repository The mrepo service retrieves rpms from mirror sites and creates a repository with YUM meta-data Manages the local YUM repository for OS and middleware Requires configuration Publish the packages on the web 9 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Local repository installation Prepare a Scientific Linux 5.4 machine The minimal Hard Disk storage is 160 GB Starting from a Linux machine, retrieve the mrepo and createrepo tools, and ensure that httpd server is running (if you see a file /etc/yum.repos.d/dag.repo you can install mrepo more simply with yum --enablerepo=dag install mrepo.) 10 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Local repository installation (cont.) Edit the /etc/bin/mrepo script as follows: *** /usr/bin/mrepo :57: mrepo.modified :58: *************** *** 845,851 **** repoopts = repoopts + ' --cachedir "%s"' % cachedir if os.path.isdir(os.path.join(self.wwwdir, '.olddata')): remove(os.path.join(self.wwwdir, '.olddata')) ! groupfile = os.path.join(cf.srcdir, self.dist.nick, self.name + '-comps.xml') if os.path.isfile(groupfile): symlink(groupfile, os.path.join(self.wwwdir, 'comps.xml')) repoopts = repoopts + ' --groupfile "%s"' % groupfilename , repoopts = repoopts + ' --cachedir "%s"' % cachedir if os.path.isdir(os.path.join(self.wwwdir, '.olddata')): remove(os.path.join(self.wwwdir, '.olddata')) ! # groupfile = os.path.join(cf.srcdir, self.dist.nick, self.name + '-comps.xml') ! groupfile = os.path.join(cf.srcdir, self.dist.nick, self.name + '/comps.xml') ! info(2, 'Groupfile: %s' % (groupfile)) if os.path.isfile(groupfile): symlink(groupfile, os.path.join(self.wwwdir, 'comps.xml')) repoopts = repoopts + ' --groupfile "%s"' % groupfilename 11 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Local repository installation (cont.) After installing the package, edit /etc/mrepo.conf file to read more or less as follows: [main] srcdir = /data2/mrepo # Make wwwdir to point to a directory served by the webserver wwwdir = /var/www/mrepo confdir = /etc/mrepo.conf.d arch = x86_64 metadata=yum repomd # option -P=4 will be passed to lftp, to allow parallel downloads #-P=4 option sometimes gives troubles...# lftp-mirror-options = -c -P=4 -X "*/Fermi/*" -X "*/example/*" lftp-mirror-options = -c -X "*/Fermi/*" -X "*/example/*" # Option -d is used to make 'yum groupinstall' work: it can be used ONLY: from createrepo onwards. # If you have an older version of createrepo, comment out the following line createrepo-options = -d -p 12 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Local repository installation (cont.) Go to /etc/mrepo.conf.d directory and put here a Distribution file for each repository you want to mirror #mrepo –ugfv : run mrepo with generate and update actions, to generate the local repository structure and update it from the remote repository Cairo, Joint EPiKH/EUMEDGRID-Support in Egypt, [glite_sl5] name = gLite Middleware ($release - $arch) release = R3.2 arch = x86_64 # Generic Repositories generic-externals = GENERIC/sl5/$arch/RPMS.externals/ generic-release = generic-updates =

Using the local repository The repo files must be configured to point to the local repository. Then running yum install normally. 14 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin # # Magrid repositories # This is the official YUM repository string for the glite 3.2 User Interface # Fetched from: # Place it to /etc/yum.repos.d/ and run 'yum update‘ [glite-UI] name=gLite 3.2 User Interface baseurl = /mrepo/glite_sl5-$basearch/RPMS.ui-release/ gpgkey= gpgcheck=0 enabled=1

Yaim Command YAIM (Yet Another Installation Method) is a software to configure grid services. You need to create a structure similar to the example found under /opt/glite/yaim/examples/siteinfo: mkdir /root/siteinfo cp /opt/glite/yaim/examples/siteinfo/ /root/siteinfo/ Edit file /root/siteinfo/mysite-info.def Setting ALL the needed variables in the configuration file is essential for a successful configuration. 15 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Yaim Command Note that the SAME identical /root/siteinfo/ can be used to configure the whole site so you can either substitute /root/siteinfo with an NFS-shared path, or synchronize /root/siteinfo between servers: rsync -e ssh -av :/root/siteinfo /root/ A full documentation for the configuration variables is listed here: Running the yum configuration script should be from the following path: /opt/glite/yaim/bin/yaim which invokes a set of bash_script with a modular structure, depending on the type of site, Grid service to be configured 16 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Passwords & certificates Virtual machine password: grid2011 Host pair Xcertificates are located on /root/ on the virtual machine : –pcxxcert.pem  hostcert.pem –pcxxkey.pem  hostkey.pem For the UI user certificates are located on /root/user_cert and must be copied to the.globus directory in the user’s home directory 17 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

Event links Site Administration : onfId=524 Application porting: onfId= Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

References glite documentation: – – YUM package manager and YAIM tool:Y – – Local repository installation: – dSiteInstallationhttp://wiki.eumedgrid.eu/twiki/bin/view/InfrastructureStatus/Eume dSiteInstallation 19 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin

20 Rabat, Joint EPIKH/EUMEDGRID Support Site Admin