12th September 2007UK e-Science All Hands Meeting1 John Kewley Grid Technology Group e-Science Centre STFC Daresbury Laboratory GROWL.

Slides:



Advertisements
Similar presentations
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.
Advertisements

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.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE Tutorial Getting started with GILDA.
Presentation Two: Grid Security Part Two: Grid Security A: Grid Security Infrastructure (GSI) B: PKI and X.509 certificates C: Proxy certificates D:
1c.1 Assignment 2 Preliminaries Review Full details in assignment write-up. ITCS 4146/5146 Grid Computing, 2007, UNC-Charlotte, B. Wilkinson. Jan 24, 2007.
John Kewley e-Science Centre GIS and Grid Computing Workshop 13 th September 2005, Leeds Grid Middleware and GROWL John Kewley
Data streaming, collaborative visualization and computational steering using Styx Grid Services Jon Blower 1 Keith Haines 1 Ed Llewellin 2 1 Reading e-Science.
Grid Services at NERSC Shreyas Cholia Open Software and Programming Group, NERSC NERSC User Group Meeting September 17, 2007.
1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2011 B. Wilkinson/Clayton Ferner. Fall 2011 Grid computing course. Modification.
15th January, NGS for e-Social Science Stephen Pickles Technical Director, NGS Workshop on Missing e-Infrastructure Manchester, 15 th January, 2007.
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,
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Overview of software tools for gLite installation & configuration.
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.
INFSO-RI Enabling Grids for E-sciencE The GENIUS Grid portal Tony Calanducci INFN Catania - Italy First Latin American Workshop.
1 Overview of the Application Hosting Environment Stefan Zasada University College London.
Secure Shell Mike Griffiths & Deniz Savas CiCS Dept Sheffield University November 2005.
David Spence GOSC Graphical Access to the NGS for All Java GSI-SSHTerm.
Nadia LAJILI User Interface User Interface 4 Février 2002.
E-science grid facility for Europe and Latin America E2GRIS1 Raúl Priego Martínez – CETA-CIEMAT (Spain)‏ Itacuruça (Brazil), 2-15 November.
FP6−2004−Infrastructures−6-SSA E-infrastructure shared between Europe and Latin America MyProxy server installation Emidio Giorgio.
August 13, 2003Eric Hjort Getting Started with Grid Computing in STAR Eric Hjort, LBNL STAR Collaboration Meeting August 13, 2003.
Grid NERSC demo Shreyas Cholia Open Software and Programming NERSC User Group Meeting September 19, 2007.
Exporting User Certificate from Internet Explorer.
Styx Grid Services: Lightweight, easy-to-use middleware for e-Science Jon Blower Keith Haines Reading e-Science Centre, ESSC, University of Reading, RG6.
Globus Toolkit Installation Report. What is Globus Toolkit? The Globus Toolkit is an open source software toolkit used for building Grid systems.
Open Science Grid OSG CE Quick Install Guide Siddhartha E.S University of Florida.
© 2007 UC Regents1 Track 1: Cluster and Grid Computing NBCR Summer Institute Session 1.1: Introduction to Cluster and Grid Computing July 31, 2007 Wilfred.
INFSO-RI Enabling Grids for E-sciencE How to join GILDA Riccardo Bruno INFN gLite Tutorial at the First EGEE User Forum CERN,
E-infrastructure shared between Europe and Latin America Security Hands-on Christian Grunfeld, UNLP 8th EELA Tutorial, La Plata, 11/12-12/12,2006.
Association with the Gilda Virtual Organization Certificate,VO membership, and MyProxy Server usage.
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.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Apr. 25, Grid Computing Hands On Training for Users Faculty of Sciences, University.
© Geodise Project, University of Southampton, Geodise Middleware & Optimisation Graeme Pound, Hakki Eres, Gang Xue & Matthew Fairman Summer 2003.
CertWizard: a New Certificate Tool for the UK NGI User Community John Kewley ( ), Jens Jensen, David Meredith and Akay Okcun 16/11/20151EGI.
Jens G Jensen CCLRC e-Science Single Sign-on to the Grid Authentication and Integrated Identity Management HEPiX, CASPUR, Rome 3-7 April 2006.
E-NMR (RI ) is funded by the European Commission under the Research Infrastructure Programme Introduction to e-NMR hands-on e-NMR gLite.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
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.
Shibboleth & Grid Integration STFC and University of Oxford (and University of Manchester)
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.
VO Box Issues Summary of concerns expressed following publication of Jeff’s slides Ian Bird GDB, Bologna, 12 Oct 2005 (not necessarily the opinion of)
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.
Linux Operations and Administration
John Kewley e-Science Centre All Hands Meeting st September, Nottingham GROWL: A Lightweight Grid Services Toolkit and Applications John Kewley.
Further aspects of EGEE middleware components INFN, Catania EGEE is funded by the European Union under contract IST
INFSO-RI Enabling Grids for E-sciencE VOMS & MyProxy interaction Emidio Giorgio INFN NA4 Generic Applications Meeting 10 January.
1 Egrid portal Stefano Cozzini and Angelo Leto. 2 Egrid portal Based on P-GRADE Portal 2.3 –LCG-2 middleware support: broker, CEs, SEs, BDII –MyProxy.
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 –
LCG2 Tutorial Viet Tran Institute of Informatics Slovakia.
Hands-on security Carlos Fuentes RedIRIS Madrid,26 – 30 de Octubre de 2008.
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.
Enabling Grids for E-sciencE gLite security pratical tutorial Dario Russo INFN Catania Catania,
SSH. 2 SSH – Secure Shell SSH is a cryptographic protocol – Implemented in software originally for remote login applications – One most popular software.
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) Overview of software tools for gLite installation & configuration.
EGEE is a project funded by the European Union under contract IST Job Submission Giuseppe La Rocca EGEE NA4 Generic Applications INFN Catania.
EGEE is a project funded by the European Union under contract IST Grid proxy and MyProxy Giuseppe La Rocca EGEE NA4 Generic Applications GENIUS/GILDA.
(Exchange Programme to advance e-Infrastructure Know-How) The EPIKH Project Hailong Yang
MyProxy Server Installation
Creating and running applications on the NGS
Presentation transcript:

12th September 2007UK e-Science All Hands Meeting1 John Kewley Grid Technology Group e-Science Centre STFC Daresbury Laboratory GROWL Scripts: Lightweight Access to Grid Resources

12th September 2007UK e-Science All Hands Meeting2 GROWL Collaborative project between CCLRC (now STFC) Daresbury Laboratory and the Universities of Cambridge and Lancaster, funded by the JISC VRE programme. Project Objectives: to produce a lightweight client-side Grid connection toolkit. Project completed January 2007

12th September 2007UK e-Science All Hands Meeting3 GROWL GROWL addresses 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 This talk looks at GROWL Scripts, GROWL Web Services takes a different approach

12th September 2007UK e-Science All Hands Meeting4 Typically need to be root to install (according to documentation) Software must be downloaded from various locations There are many choices for type of installation (too many options?) Client Middleware: Problems

12th September 2007UK e-Science All Hands Meeting5 Installation GROWL scripts provide an alternative way of installing Grid middleware on your client Linux machine to that given on the NGS website: Advantages: Don't need to be a privileged user Will download client middleware packages for your system (assuming it is supported) Minimal setup/configuration About 10–15 mins (if all goes well !)

12th September 2007UK e-Science All Hands Meeting6 The Virtual Data Toolkit (VDT) is an easy to install and configure ensemble of grid middleware GROWL Scripts installs the pre-WS globus client from VDT, as well as gsi- enabled openssl and the best known (IGTF accredited) CA certificates.

12th September 2007UK e-Science All Hands Meeting7 1.Download GROWL Scripts $ cd $ wget 2.Install into home directory $ tar -zxvf Growl.tar.gz 3.Build VDT client (a software distribution that includes globus) $ cd Growl; make VDT Before using any GROWL Scripts, bash users should source ~/Growl/setup.sh while csh users should source ~/Growl/setup.csh Installing Grid Client using GROWL

12th September 2007UK e-Science All Hands Meeting8 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-mv, –growl-pwd, growl-which, growl-get-jobmanager, growl-queue GROWL Scripts: Contents

12th September 2007UK e-Science All Hands Meeting9 Hard to remember openssl commands are wrapped for you –Fewer passwords need to be entered –Correct file and directory permissions are applied Certificate Manipulation

12th September 2007UK e-Science All Hands Meeting10 mk-cert $ openssl pkcs12 –in mykey.p12 \ -clcerts –nokeys -out usercert.pem $ openssl pkcs12 –in mykey.p12 \ –nocerts -out userkey.pem [confirm] $ chmod 444 usercert.pem $ chmod 400 userkey.pem $ mv userkey.pem ~/.globus $ mv usercert.pem ~/.globus $ chmod 700 ~/.globus $ mk-cert mykey.p12 [ ]

12th September 2007UK e-Science All Hands Meeting11 growl-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 credential: Enter GRID pass phrase for this id:

12th September 2007UK e-Science All Hands Meeting12 growl-info 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

12th September 2007UK e-Science All Hands Meeting13 GROWL 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

12th September 2007UK e-Science All Hands Meeting14 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

12th September 2007UK e-Science All Hands Meeting15 Globus + Firewalls Client Grid Resource globus-job-submit Results gsiscp jobmanager sshd gsissh /GSI-SSHTerm globus-job-get_result

12th September 2007UK e-Science All Hands Meeting16 GROWL + Firewalls Client Grid Resource growl-submit jobmanager sshd globus-job-get-output growl-get-output (using gsissh )

12th September 2007UK e-Science All Hands Meeting17 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 Advantages

12th September 2007UK e-Science All Hands Meeting18 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-mv : renaming/moving files growl-which : finds executable in your path growl-pwd : prints your home directory on the grid resource growl-sh : gsissh wrapper (using default ports) growl-cp : remote file copying, including "3 rd party" An additional parameter (the grid resource) is required Remote filestore manipulation

12th September 2007UK e-Science All Hands Meeting19 growl-cp can be used to stage and retrieve files. The syntax follows 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:. Remote file copying using growl-cp

12th September 2007UK e-Science All Hands Meeting20 growl-cp (1) Client Grid Resources B A

12th September 2007UK e-Science All Hands Meeting21 growl-cp (2) Client Grid Resources B A

12th September 2007UK e-Science All Hands Meeting22 growl-cp (3) Client Grid Resources B A

12th September 2007UK e-Science All Hands Meeting23 1.Easy way to build VDT 2.As above + certificate scripts 3.As above + use of job submission features Usage patterns

12th September 2007UK e-Science All Hands Meeting24 1.Scripting help for a simplistic DIY meta-scheduler 2.Use of Java CoG-kit + GSI-SSHTERM on Windows Current/future work

12th September 2007UK e-Science All Hands Meeting25 GROWL + Firewalls (3-tier) Client GROWL ServerGrid Resource WS I/F GROWL Scripts WS sshd jobmanager growl-submit growl-get-output growl-cp

12th September 2007UK e-Science All Hands Meeting26 Summary 1.Useful as an easy way to build VDT 2.Simpler job submission: –less need be known about Grid resources –less firewall pain for retrieving data 3.Firewall-aware 3 rd party file copying

12th September 2007UK e-Science All Hands Meeting27 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