INFSO-RI-508833 Enabling Grids for E-sciencE www.eu-egee.org Installing & configuring Joachim Flammer Integration Team, CERN EMBRACE Tutorial, Clermont-Ferrand.

Slides:



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

MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 8 Introduction to Printers in a Windows Server 2008 Network.
Linux Operations and Administration
FP6−2004−Infrastructures−6-SSA User Interface Installation Valeria Ardizzone INFN – Catania Grid tutorial for users and.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 9: Implementing and Using Group Policy.
SCRAM Software Configuration, Release And Management Background SCRAM has been developed to enable large, geographically dispersed and autonomous groups.
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) VOMS Installation and configuration Bouchra
Managing User Desktops with Group Policy
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Simply monitor a grid site with Nagios J.
CERN Manual Installation of a UI – Oxford July - 1 LCG2 Administrator’s Course Oxford University, 19 th – 21 st July Developed.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks gLite IPv6 compliance project tests Further.
1 Chapter Overview Publishing Resources in Active Directory Service Redirecting Folders Using Group Policies Deploying Applications Using Group Policies.
Module 6: Configuring User Environments Using Group Policy.
Module 7 Configure User and Computer Environments By Using Group Policy.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America AMGA Server Installation Tony Calanducci.
INFSO-RI Enabling Grids for E-sciencE R-GMA Server Installation Tony Calanducci INFN Catania - Italy First Latin American Workshop.
INFSO-RI Enabling Grids for E-sciencE Installation and configuration of gLite Resource Broker Emidio Giorgio INFN EGEE-EMBRACE tutorial,
First attempt for validating/testing Testbed 1 Globus and middleware services WP6 Meeting, December 2001 Flavia Donno, Marco Serra for IT and WPs.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks WMSMonitor: a tool to monitor gLite WMS/LB.
INFSO-RI Enabling Grids for E-sciencE WMS + LB Installation Emidio Giorgio Giuseppe La Rocca INFN EGEE Tutorial, Rome November.2005.
INFSO-RI Enabling Grids for E-sciencE WMS & LB Installation Giuseppe La Rocca INFN Catania - Italy First Latin American Workshop.
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 Strategy for gLite multi-platform support Author:Eamonn Kenny Meeting:SA3 All Hands Meeting.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America WMS + LB Installation Emidio Giorgio INFN.
Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Usage of virtualization in gLite certification Andreas Unterkircher.
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 User Interface (gLite 1.4) Installation.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
INFSO-RI Enabling Grids for E-sciencE Installing a gLite VOMS Server Giuseppe La Rocca INFN EGEE Tutorial Rome November 2005.
INFSO-RI Enabling Grids for E-sciencE Installing a gLite VOMS server Joachim Flammer Integration Team, CERN EMBRACE Tutorial, Clermont-Ferrand.
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.
EGEE-III INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Using GStat 2.0 for Information Validation.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
INFSO-RI Enabling Grids for E-sciencE Charon Extension Layer. Modular environment for Grid jobs and applications management Jan.
SAM Sensors & Tests Judit Novak CERN IT/GD SAM Review I. 21. May 2007, CERN.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America R-GMA Server Installation Valeria Ardizzone.
Linux Operations and Administration
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America SRM + gLite IO Server install Emidio Giorgio.
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.
INFSO-RI Enabling Grids for E-sciencE /10/20054th EGEE Conference - Pisa1 gLite Configuration and Deployment Models JRA1 Integration.
12th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin.
YAIM gLite configuration tool Sara Bertocco INFN Padova 11 th International GridKa School 2013 – Big Data, Clouds and Grids.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks gLite configuration (plans) Robert Harakaly.
TP: Grid site installation BEINGRID site installation.
Configuration & Management for Joachim Flammer Integration Team EGEE is a project funded by the European Union under contract IST JRA1 all-hands-meeting,
INFSO-RI Enabling Grids for E-sciencE gLite Test and Certification Effort Nick Thackray CERN.
EGEE is a project funded by the European Union under contract IST Installation and configuration of gLite services Robert Harakaly, CERN,
EGEE is a project funded by the European Union under contract IST Experiment Software Installation toolkit on LCG-2
INFSO-RI Enabling Grids for E-sciencE Computing Element & Torque Server Installation Giuseppe La Rocca INFN Catania - Italy First.
II EGEE conference Den Haag November, ROC-CIC status in Italy
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks File Transfer Service Installation (v. 1.4)
Maite Barroso – WP4 Workshop – 10/12/ n° 1 -WP4 Workshop- Developers’ Guide Maite Barroso 10/12/2002
INFSO-RI Enabling Grids for E-sciencE FiReMan Catalog installation Emidio Giorgio INFN EGEE tutorial, Rome
INFSO-RI Enabling Grids for E-sciencE FiReMan Catalog installation Emidio Giorgio INFN First Latin American Workshop for Grid Administrators.
Open Science Grid Configuring RSV OSG Resource & Service Validation Thomas Wang Grid Operations Center (OSG-GOC) Indiana University.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
Enabling Grids for E-sciencE Claudio Cherubino INFN DGAS (Distributed Grid Accounting System)
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Worker Node & Torque Client Installation.
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
NGI and Site Nagios Monitoring
Hadoop Architecture Mr. Sriram
NA4/medical imaging. Medical Data Manager Installation
Configuration for gLite
Short update on the latest gLite status
R-GMA Server Installation (v. 1.4)
Presentation transcript:

INFSO-RI Enabling Grids for E-sciencE Installing & configuring Joachim Flammer Integration Team, CERN EMBRACE Tutorial, Clermont-Ferrand July 2005

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 2 Overview Deployment concepts Installation –Installation scripts –APT Configuration –Concepts –Configuration files –Configuring a service –Configuring a site Getting more information

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 3 Deployment concepts for gLite Modular software –Middleware is composed out of several high-level components/services  Components can be installed separately  Each service is one deployment component Complete distribution packages –Middleware is distributed in form of RPMs (and tarballs)  Deployment module contains all necessary scripts and configuration files  All required external dependencies are available in RPM format  Downloaded together with RPMS Exception: non-freely distributable software like Java, ORACLE,… Decoupling of installation and configuration –Installation and configuration are two separate steps  Allow different methods of installation  Allow different methods of configuration Individual services vs entire sites possibility to incorporate gLite configuration into other configuration/system management systems (e.g. quattor) Homogenous installation and configuration –All gLite components are installed and configured in the same way

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 4 Installing gLite …

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 5 Download and installation Install gLite via: –Download individual RPMs –Use Installer scripts  Make scripts executable and run them  Downloads and installs all required RPMs including external dependencies –APT repository (see next slide) –Source/binary tarballs:  Available from gLite web site and EGEE web server: jra1mw.cvs.cern.ch:/cvs/jra1mw gLite components for the external dependencies rpms

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 6 Installing gLite via APT 1.Check if APT is already installed on your node: 2.Install APT as a root user (using the Scientific Linux repository): 3.Put one of the following lines in a file inside the /etc/apt/sources.list.d directory (e.g. you can create a file named ‘glite-rhel30.list’). Make sure the file has a ending of.list 4.Update your apt repository 5.Upgrade the apt and all not-up-to-date packages installed on your system 6.Get the gLite module of your choice: where xxx the name of the component. APT downloads automatically all required dependencies. More information about APT can be found at rpm -qa | grep apt rpm –ivh rpm rhel30 externals Release1.2 apt-get update apt-get upgrade apt-get install glite-xxxx-config

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 7 Installation area All the gLite software –is installed by default into /opt/gLite –Follows standard unix structure Installation area root can be adapted if necessary User interface (UI) and Worker Node (WN) can be installed in user area by non-root user

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 8 Configuring gLite …

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 9 gLite configuration model Each gLite deployment module contains –Set of RPMS for the necessary internal & external dependencies –One or more configuration RPMs that provide the configuration files & scripts:  glite-config-x.y.z-r.noarch.rpm Contains global configuration files & scripts required by all gLite modules  glite- -config-x.y.z-r.noarch.rpm Contains configuration files & scripts required by a particular service  … other configuration rpms for some modules Configuration RPM contains –Configuration scripts  written in python  naming convention: glite- -config.py  Additional configuration helper scripts that are used by service configuration scripts to configure various applications (e.g. mysql.py, tomcat.py) –Configuration files  xml encoded files  distributed as pre-configured templates  naming convention: glite-.cfg.xml

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 10 gLite configuration model Configuration files: /opt/glite/etc/config/ Configuration files templates: /opt/glite/etc/config/templates Configuration scripts: /opt/glite/etc/config/scripts Configuration installed into: /opt/glite/etc/config

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 11 xml in a nutshell An XML document is text not binary data – most famous example: HTML XML uses tags to structure its content: –Building blocks are elements:  content of an element is between start tag and end tag –Case sensitive  –Element can have attributes  All attribute values are quoted by a double " quotes. –Tags may be nested but may not overlap. –Comments Blog John EGEE gLite A good way to check for correct XML is to just load it into a web browser as a file

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 12 Configuration values Configuration file in xml format One parameter entry contains –name of the parameter –description of the parameters (incl. Example values, Units etc.) –value of the parameter Configuration supports variable substitution using the ${xxx} syntax: The value of all the parameters with ‘changeme’ must be changed !!! <glite.user.name description="Name of the user account used to run the gLite services on this WMS node. [Example: testUser]." value="changeme"/> <wms.config.file description="Location of the wms configuration file" value="${GLITE_LOCATION}/etc/glite_wms.conf"/>

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 13 Other configuration file elements Arrays Instances: multiple occurrences of a set of parameters (e.g. for each service instance) <rgma.registry.hostname description="Host name of the R-GMA registry service. [Example: lxb2029.cern.ch] [Type:'string']"> host1 host2 <data.metadata-catalog.DBNAME description="Name of DB used for the catalog.” value="changeme"/> <data.metadata-catalog.DBUSER description="DB user name to access the catalog.” value="changeme"/>

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 14 Configuration parameter scope In order to guide the user in configuring the services, all parameters of gLite are divided into 3 categories: –User-defined parameters  have a default value of ‘changeme’  have to be replaced with values before running the configuration scripts  in some cases user-defined parameters are alternative depending on the deployment scenario Remove unused parameter or leave parameter empty (remove ‘changeme’ parameter) –Advanced parameters  have always valid default values  Can be changed by a user or system administrators to customize an installation e.g. depending on site policies –System parameters  have always valid default values  System administrator can change them to modify the behavior of the system for special usages

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 15 A first glance at a configuration file <site.config.url description="The URL of the Site Configuration file for this node. " value="changeme"/> <installer.export.filename description="Full path of the script containing environment definitions.” value="/etc/glite/profile.d/glite_setenv.sh"/>

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 16 global vs. service specific configuration files One global configuration file for all services: –glite-global.cfg.xml –contains parameters with gLite wide scope –applicable to all services –parameters loaded first –can be overwritten by individual service configuration Each service has (set of) individual configuration file(s) –glite-servicename.cfg.xml –Specific to each service Order of loading the configuration files is 1.Local glite-global.cfg.xml file for a given node 2.Local service specific configuration files –New defined parameter overwrites previous definition

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 17 Configuration scripts All the configuration scripts –are located in /opt/glite/etc/config/scripts –naming convention: glite- -config.py –Support a set of standard options: scripts]#./glite-rgma-server-config.py --help glite-rgma-server-config v Usage: python glite-rgma-server-config [OPTION...] -c, --checkconf print the service configuration -v, --version print the version of the configuration script -h, --help print this usage information --configureconfigure R-GMA server --start start gLite R-GMA Server --stop stop gLite R-GMA Server --status print service status (0 = running, 1 = idle) --siteconfig=URL URL of the site configuration file Remark: gLite v1.1 no option configures and starts service --configure option does not exist

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 18 4 steps to configure a service 1.Copy the configuration file templates from the templates directory to /opt/glite/etc/config/ 2.Adapt the configuration values in all affected files Change all the ‘changeme’ values – or remove them if not applicable Adapt the configuration settings to your needs Set the file permissions of the configuration files 3.Run configuration scripts to configure & start service glite- -config.sh --configure glite- -config.sh --start 4.Verify that everything went ok Check the output of the script glite- -config.sh --status

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 19 Site configuration Configure all services from a central point –All gLite implement a method to load the configuration information from a remote URL –URL of configuration file can be specified via  site.config.url parameter in glite-global.cfg.xml file (normal operation)  as a command line parameter glite-ce-config.py --siteconfig= The site configuration file –contains a global section  Identified by tag –can contain one section for each node to be remotely configured  Identified by tag  Name must be the value of the $HOSTNAME environment variable  can contain combination of parameters from different services (e.g. if a node contains WMS and CE both parameter lists can be put to the same node section)

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 20 Site configuration file glite-global.cfg.xml must be present on each node –individual service config files not Order of loading the configuration files is 1.Local glite-global.cfg.xml file for a given node 2.Remote site config file 3.Local service specific configuration files (if they exist) New defined parameter overwrites previous definition Configuration information can be distributed over several files –uses xml inclusion mechanism –Point gLite site configuration to the master file and reference other files inside master file 1.In master file replace ‘normal’ tag by 2.Include files via

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 21 Site configuration file example <cron.mailto description=" address for sending cron job notifications" EGEE Inclusion of other site configuration file Global parameters for all nodes Global parameters for all nodes Node specific parameters

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 22 User environment Users under control of the middleware –Proper environment is created automatically for all different kind of logins  gLite configuration scripts creates /etc/glite/profile.d/glite_setenv.sh /etc/glite/profile.d/glite_setenv.csh  contains all environment definitions to run the gLite services  file is automatically added to.bashrc for all user under direct control of the middleware (e.g. service accounts, pool accounts …) –.bash_profile of the accounts is modified to source.bashrc and to set BASH_ENV=.bashrc Users not under control of middleware –source /etc/glite/profile.d/glite_setenv.sh manually Override configuration –Values in gLite configuration files can be overwritten by setting the appropriate key/value pairs in  /etc/glite/glite.conf system wide scope  ~/.glite/glite.conf user-scope

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 23 Default environment variables GLITE_LOCATION/opt/glite GLITE_LOCATION_VAR/var/glite GLITE_LOCATION_LOG/tmp/glite GLITE_LOCATION_TMP/tmp/glite PATH/opt/glite/bin: /opt/glite/externals/bin: $PATH LD_LIBRARY_PATH/opt/glite/lib: /opt/glite/externals/lib: $LD_LIBRARY_PATH

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 24 Getting information about gLite gLite web page –Documentation  Installation & configuration  gLite parts –Download –APT cache gLite subsystems Contact:

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 25 Links, links, links EGEE homepage gLite homepage gLite download (Release 1.1.) Documentation (Installation guide, user guides, release notes) Apt instructions External dependencies JRA1 home

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 26 Thank you very much for your attention !

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 27 Backup slides

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 28 gLite Overview User interface (UI) Workload Management System (WMS) Computing Element (CE) + Torque Worker Nodes (WN) I/O server Catalog (MySQL) Catalog (Oracle) Information Server (R-GMA) Virtual Organization Management Server (VOMS) Logging & Bookkeeping (LB) SRM FTS Interactions UI R-GMA VOMS optional

Enabling Grids for E-sciencE INFSO-RI gLite installation & configuration Joachim Flammer 29 optional Overview – User Interface User interface (UI) Workload Management System (WMS) Computing Element (CE) + Torque Worker Nodes (WN) I/O server Catalog (MySQL) Catalog (Oracle) Information Server (R-GMA) Virtual Organization Management Server (VOMS) Logging & Bookkeeping (LB) SRM FTS Interactions UI R-GMA VOMS