Download presentation
Presentation is loading. Please wait.
Published byAnna Lanman Modified over 10 years ago
1
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 Centre CCLRC Daresbury Laboratory j.kewley@dl.ac.uk
2
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Talk outline 1.Requirements for using the NW-GRID 2.GROWL Scripts 3.Installing client middleware (for Linux) 4.Certificate manipulation 5.Problems with firewalls 6.Registering for NW-GRID
3
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Requirements for access To access the NW-Grid, you will need: 1.Client-side middleware on the accessing computer (unless you intend using only browser/portal technology) 2.An e-science certificate in an appropriate format 3.No firewalls "in the way" between your client and the grid resource 4.The Distinguished Name (DN) from your certificate registered with the NW-Grid machine GROWL can help with the first two of these
4
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 GROWL Scripts 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 will only concern ourselves with the first 2 of these for now.
5
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Client Middleware: Problems Typically need to be root to install Software must be downloaded from various locations (unless software stacks such as OMII / VDT is used) There are many choices for type of installation (too many options?)
6
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Installing Grid middleware 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 !)
7
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 VDT The Virtual Data Toolkit (VDT) is an easy to install and configure ensemble of grid middleware. http://vdt.cs.wisc.edu GROWL Scripts installs the globus client from VDT, as well as gsi-enabled openssl and all well-trusted CA certificates.
8
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Installing Grid middleware 1.Download GROWL Scripts cd wget http://www.growl.org.uk/Growl.tar.gz 2.Install into home directory tar -zxvf Growl.tar.gz 3.Build VDT client (a software distribution that includes globus) cd Growl; make VDT 4.Before using any GROWL Scripts, use source ~/Growl/setup.sh
9
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Certificate installation 1.Download certificate into your browser 2.Export certificate as.p12 (on Linux) or.pfx (on Windows) format and move to the Grid client machine (Linux for now) 3.Convert certificate to correct format using openssl, change file permissions and install into correct directory
10
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 GROWL Scripts + Certificates Certificate manipulation Hard to remember openssl commands are wrapped for you –Fewer passwords to be entered –Correct file and directory permissions are applied
11
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Use of mk-cert $ openssl pkcs12 –in \ mykey.p12 \ -clcerts –nokeys \ -out usercert.pem [confirm] $ openssl pkcs12 –in \ mykey.p12 –nocerts \ -out userkey.pem $ chmod 444 usercert.pem $ chmod 400 userkey.pem $ mv userkey.pem ~/.globus $ mv usercert.pem ~/.globus $ chmod 700 ~/.globus $ mk-cert mykey.p12 [ ]
12
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Globus + Firewalls Client Grid Resource globus-job-run Results gsiscp jobmanager sshd globus-job-run gsissh /gsissh-term
13
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Registering to use NW-GRID There is a web registration form for NW-GRID. This will : give you a common username (e.g. nwdljk ) register your DN /C=UK/O=eScience/OU=CLRC/L=DL/CN=john kewley open firewalls for your client machine(s) to access the NW-GRID nodes. http://www.nw-grid.ac.uk/?q=nwguser/regForm
14
John Kewley CCLRC Daresbury Laboratory NW-GRID Training Event 25 th January 2007 Requirements for access - Summary To access the NW-Grid, you will need: 1.Client-side middleware on the accessing computer (unless you intend using only browser/portal technology) 2.An e-science certificate in an appropriate format 3.No firewalls "in the way" between your client and the grid resource 4.The Distinguished Name (DN) from your certificate registered with the NW-Grid machine GROWL can help with the first two of these
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.