John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 GROWL Scripts and Web Services John Kewley Grid Technology Group E-Science.

Slides:



Advertisements
Similar presentations
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using EGEE middleware: AA and simple job submission.
Advertisements

Globus Workshop at CoreGrid Summer School 2006 Dipl.-Inf. Hamza Mehammed Leibniz Computing Centre.
Andrew McNab - Manchester HEP - 17 September 2002 Putting Existing Farms on the Testbed Manchester DZero/Atlas and BaBar farms are available via the Testbed.
The National Grid Service and OGSA-DAI Mike Mineter
Enabling, facilitating and delivering quality training in the UK and Internationally Mike Mineter Training Outreach and Education, NeSC, Edinburgh
Legacy code support for commercial production Grids G.Terstyanszky, T. Kiss, T. Delaitre, S. Winter School of Informatics, University.
MyProxy Guy Warner NeSC Training.
12th EELA Tutorial, Lima, FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America.
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Accessing the NW-GRID (from Linux) John Kewley Grid Technology Group E-Science.
J. Hanton - P. Herquet - F. Lequeux - A. Romeyer1 CONDOR-G Installation July 2004 : one independent PC for Grid FTP as a client to UCL August 2004 : complete.
Grid Resource Allocation Management (GRAM) GRAM provides the user to access the grid in order to run, terminate and monitor jobs remotely. The job request.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Tutorial Getting started with GILDA.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
John Kewley e-Science Centre GIS and Grid Computing Workshop 13 th September 2005, Leeds Grid Middleware and GROWL John Kewley
Asynchronous Web Services Approach Enrique de Andrés Saiz.
Jens G Jensen CCLRC e-Science Single Sign-on to the Grid Federated Access and Integrated Identity Management.
INFSO-RI Enabling Grids for E-sciencE Practicals on VOMS and MyProxy Emidio Giorgio INFN Retreat between GILDA and ESR VO, Bratislava,
Riccardo Bruno INFN.CT Sevilla, Sep 2007 The GENIUS Grid portal.
High Performance Louisiana State University - LONI HPC Enablement Workshop – LaTech University,
December 8 & 9, 2005, Austin, TX SURA Cyberinfrastructure Workshop Series: Grid Technology: The Rough Guide Grid Technology: The Rough Guide Grid Building.
TRASC Globus Application Launcher VPAC Development Team Sudarshan Ramachandran.
1 Overview of the Application Hosting Environment Stefan Zasada University College London.
Secure Shell Mike Griffiths & Deniz Savas CiCS Dept Sheffield University November 2005.
Nadia LAJILI User Interface User Interface 4 Février 2002.
August 13, 2003Eric Hjort Getting Started with Grid Computing in STAR Eric Hjort, LBNL STAR Collaboration Meeting August 13, 2003.
NGS Innovation Forum, Manchester4 th November 2008 Condor and the NGS John Kewley NGS Support Centre Manager.
Styx Grid Services: Lightweight, easy-to-use middleware for e-Science Jon Blower Keith Haines Reading e-Science Centre, ESSC, University of Reading, RG6.
Open Science Grid OSG CE Quick Install Guide Siddhartha E.S University of Florida.
E-infrastructure shared between Europe and Latin America Security Hands-on Christian Grunfeld, UNLP 8th EELA Tutorial, La Plata, 11/12-12/12,2006.
INFSO-RI Enabling Grids for E-sciencE GILDA Practicals : Security systems GILDA Tutors Singapore, 1st South East Asia Forum -- EGEE.
E-infrastructure shared between Europe and Latin America FP6−2004−Infrastructures−6-SSA Hands-on on security Pedro Rausch IF - UFRJ.
NGS Portal.
© Geodise Project, University of Southampton, Geodise Middleware & Optimisation Graeme Pound, Hakki Eres, Gang Xue & Matthew Fairman Summer 2003.
The NGS Grid Portal David Meredith NGS + Grid Technology Group, e-Science Centre, Daresbury Laboratory, UK
Getting started DIRAC Project. Outline  DIRAC information system  Documentation sources  DIRAC users and groups  Registration with DIRAC  Getting.
EGEE-II INFSO-RI Enabling Grids for E-sciencE The GILDA training infrastructure.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
12th September 2007UK e-Science All Hands Meeting1 John Kewley Grid Technology Group e-Science Centre STFC Daresbury Laboratory GROWL.
Creating and running an application.
EGEE is a project funded by the European Union under contract IST Grid proxy and MyProxy Roberto Barbera Univ. of Catania and INFN SEE-GRID.
4th EELA TUTORIAL - USERS AND SYSTEM ADMINISTRATORS E-infrastructure shared between Europe and Latin America Security Hands-on Vanessa.
© Geodise Project, University of Southampton, Geodise Middleware Graeme Pound, Gang Xue & Matthew Fairman Summer 2003.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America Practicals on Security Miguel Cárdenas Montes.
E-infrastructure shared between Europe and Latin America Security Hands-on Alexandre Duarte CERN Fifth EELA Tutorial Santiago, 06/09-07/09,2006.
John Kewley e-Science Centre All Hands Meeting st September, Nottingham GROWL: A Lightweight Grid Services Toolkit and Applications John Kewley.
AHM04: Sep 2004 Nottingham CCLRC e-Science Centre eMinerals: Environment from the Molecular Level Managing simulation data Lisa Blanshard e- Science Data.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
Open Science Grid Build a Grid Session Siddhartha E.S University of Florida.
Client installation DIRAC Project. DIRAC Client Software  Many operations can be performed through the Web interface  Even more to come  However, certain.
Enabling Grids for E-sciencE Sofia, 17 March 2009 INFSO-RI Introduction to Grid Computing, EGEE and Bulgarian Grid Initiatives –
The NGS Grid Portal David Meredith NGS + Grid Technology Group, e-Science Centre, Daresbury Laboratory, UK
John Kewley e-Science Centre CCLRC Daresbury Laboratory 15 th March 2005 Paradyn / Condor Week Madison, WI Caging the CCLRC Compute Zoo (Activities at.
Initiating Teragrid Sessions Raghu Reddy. Outline Motivation Initial Setup –Certificates –Proxies –Grid-map file entries and DNs Softenv for customizing.
Hands on Security, Authentication and Authorization Virginia Martín-Rubio Pascual RedIRIS/Red.es Curso Grid y e-Ciencia.
EGI-InSPIRE RI Grid Training for Power Users EGI-InSPIRE N G I A E G I S Grid Training for Power Users Institute of Physics Belgrade.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) 马兰馨 IHEP, CAS Hands on gLite Security.
Client installation Beijing, 13-15/11/2013. DIRAC Client Software Beijing, /11/2013 DIRAC Tutorial2  Many operations can be performed through the.
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
RI EGI-TF 2010, Tutorial Managing an EGEE/EGI Virtual Organisation (VO) with EDGES bridged Desktop Resources Tutorial Robert Lovas, MTA SZTAKI.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
Antonio Fuentes RedIRIS Barcelona, 15 Abril 2008 The GENIUS Grid portal.
EGEE is a project funded by the European Union under contract IST Job Submission Giuseppe La Rocca EGEE NA4 Generic Applications INFN Catania.
Reading e-Science Centre
How to connect your DG to EDGeS? Zoltán Farkas, MTA SZTAKI
MyProxy Server Installation
Andy Wang Object Oriented Programming in C++ COP 3330
Practicals on VOMS and MyProxy
Creating and running applications on the NGS
Remote Api Tutorial How to call WS-PGRADE workflows from remote clients through the http protocol?
Andy Wang Object Oriented Programming in C++ COP 3330
Presentation transcript:

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 GROWL Scripts and Web Services John Kewley Grid Technology Group E-Science Centre CCLRC Daresbury Laboratory

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 GROWL Collaborative project (JISC VRE programme) between CCLRC Daresbury Laboratory and the Universities of Cambridge and Lancaster. Project Objectives: to produce a lightweight client- side Grid connection toolkit. Due for completion January 2007

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Outline 1.Background 2.Use of Growl Scripts for job submission 3.Avoiding firewall problems 4.GROWL + Web Services

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 GROWL GROWL tries to address the three barriers that newcomers find when using the Grid for the first time: 1.Setting up the client-side middleware 2.Handling of certificates 3.Job submission in the presence of firewalls We have covered the first 2 of these in the previous talk.

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 GROWL Scripts We now have several groups using GROWL scripts to give them an easy way of installing globus middleware on many Linux platforms. Most of these are currently within CCLRC. CCP1GUI also uses the GROWL Wrapper Scripts which have some advantages over using globus directly.

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 What you get with GROWL Scripts Certificate helper scripts –mk-cert – growl-info, growl-login, growl-logout VDT client installation of globus and MyProxy – grid-proxy-init, grid-proxy-info – globus-job-submit, globus-job-run – gsissh, gsiscp, openssl – myproxy-init, myproxy-info, myproxy-logon Growl wrapper scripts – growl-submit, growl-status, growl-get-output – growl-sh, growl-cp, growl-mkdir, growl-rm, – growl-pwd, growl-which, growl-get-jobmanager

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Firstly To add these various commands to your environment, add the following to your.bashrc,.cshrc,.login,.profile or equivalent. # For /bin/sh or /bin/bash $. ~/Growl/setup.sh # For /bin/csh or /bin/tcsh $ source ~/Growl/setup.csh

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Secondly Before running any globus commands or the GROWL wrapper scripts, you must have a valid local proxy. $ grid-proxy-init Your identity: /C=UK/O=eScience/OU=CLRC/L=DL/CN=john kewley Enter GRID pass phrase for this identity: Creating proxy Done Your proxy is valid until: Tue Jan 23 05:19:

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 growl-info growl-info is a wrapper for grid-cert-info, grid-proxy-info and myproxy-info $ growl-info Certificate Information (including validity) subject= /C=UK/O=eScience/OU=CLRC/L=DL/CN=john kewley notBefore=Jun 15 16:10: GMT notAfter=Jun 15 16:10: GMT Local proxy certificate(s) subject : /C=UK/O=eScience/OU=CLRC/L=DL/CN=john kewley issuer : /C=UK/O=eScience/OU=CLRC/L=DL/CN=john kewley identity : /C=UK/O=eScience/OU=CLRC/L=DL/CN=john kewley type : Proxy draft (pre-RFC) compliant impersonation proxy strength : 512 bits path : /tmp/x509up_u13445 timeleft : 11:57:19

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Features of GROWL Scripts Grid job submission Help with transparency - user shouldn't really need to know –Machine's jobmanager –Home directory location –Location in your path of executable Firewall problems minimised

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Running a grid job (1) $ growl-submit dl1.nw-grid.ac.uk hostname $ growl-status PENDING $ growl-status DONE $ growl-get-output comp023.nw-grid.ac.uk $ growl-submit -c dl1.nw-grid.ac.uk hostname $ growl-status PENDING $ growl-status DONE $ growl-get-output comp021.nw-grid.ac.uk

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Running a grid job (2) Advantages of using GROWL wrapper scripts: growl-submit : uses growl-get-jobmanager to obtain default parallel queue, rather than defaulting to jobmanager-fork uses growl-which to get full path of executable ensuring it is in your path growl-get-output : uses gsissh to do remote retrieval, avoiding client firewall problem

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Remote filestore manipulation Equivalents of many of the standard unix command tools are provided for remote filestore manipulation. growl-ls : contents of directory growl-mkdir : (sub)directory creation growl-rm : file removal growl-cp : remote file copying, including "3 rd party" growl-which : finds executable in your path growl-pwd : prints your home directory on the grid resource growl-sh : gsissh wrapper (using default ports) They have an additional parameter of the remote resource on which they should run.

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Globus + Firewalls Client Grid Resource globus-job-submit Results gsiscp jobmanager sshd gsissh /GSI-SSHTerm globus-job-get_result qsub

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Globus + Firewalls Client Grid Resource growl-submit jobmanager sshd globus-job-get-output growl-get-output (using gsissh )

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 Remote file copying using growl-cp growl-cp can be used to stage and retrieve files. The syntax is the same as that of scp. It can also be used for "3 rd party" file transfers For 3 rd party transfers to work, there has to be a route through all firewalls between the 2 remote resources in one direction or the other $ growl-cp my_input_file.txt dl1.nw-grid.ac.uk:. $ growl-cp dl1.nw-grid.ac.uk:my_output.txt. $ growl-cp lv1.nw-grid.ac.uk:my_file.txt dl1.nw-grid.ac.uk:.

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 GROWL + Firewalls (3-tier) Client GROWL Server Grid Resource WS I/F GROWL Scripts WS sshd jobmanager growl-cp

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 grid-login If you need to upload your certificate to MyProxy and generate a local proxy, growl-login is provided: $ grid-proxy-init... $ myproxy-init Your identity: /C=UK/O=eScience/OU=CLRC/L=DL/CN=john kewley Enter GRID pass phrase for this identity:... Enter MyProxy pass phrase: Verifying - Enter MyProxy pass phrase: $ growl-login Password to protect MyProxy certificate: Enter GRID pass phrase for this id:

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 GROWL + Firewalls (3-tier) Client GROWL Server Grid Resource WS I/F GROWL Scripts WS growl-submit sshd jobmanager growl-get-output growl-cp

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 GROWL Web Services Analogous interface to those we have seen on previous slides. –Remote file manipulation –Job submission –Interfacing to SRB Wrappers being developed for access from R, Fortran, C and C++ Users at both Lancaster and Bristol using GROWL Web Services, although not yet available for widespread release

John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 26 th January 2007 GROWL Web Site Contains papers, presentations and other information. Project Web site is in need of updating (project comes to an end this month). User manual / tutorials to be added shortly.