Presentation is loading. Please wait.

Presentation is loading. Please wait.

1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification.

Similar presentations


Presentation on theme: "1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification."— Presentation transcript:

1 1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification date: Jan 26, 2010

2 1c.2 Traditional way from a Windows system is to use PuTTY for a command line remote access. Remote Access coit-grid03.uncc.edu Select ssh Can save and reload

3 1c.3 Obtaining PuTTy (Search on PuTTy)‏ http://www.chiark.greenend.org.uk/ ~sgtatham/putty/download.html

4 1c.4 WinSCP Another method is WinSCP will can be used for file transfer as well as a login client via secured socket layer http://winscp.net/eng/index.php

5 1c.5 As will be fully explained later in the course, X509 certificates used to provide security in a Grid system. Each user needs a certificate issued (signed) by a “certificate authority” (CA). The course CA is set up on coit-grid02.uncc.edu. User “certificates”

6 1c.6 Requesting a certificate 1.Log into coit-grid03.uncc.edu 2.Issue the command grid-cert-request You will be prompted for your name and a passphrase. (Yet another password!) Don't forget this. We cannot reset it if you lose it. Obtaining a “certificate”

7 1c.7 Requesting a certificate This will produce three files in.globus in your home directory: usercert_request.pem usercert.pem (an empty file)‏ userkey.pem Obtaining a “certificate” cont.

8 1c.8 Request: usercert_request.pem –Certificate request, which you should send to CA. Certificate: usercert.pem –Initially an empty file. Signed certificate from CA will be placed here. (In assignment, this will be done for you.)‏ User’s private key: userkey.pem –Private key associated with your certificate request, encrypted with pass phrase that you entered when prompted by grid-cert-request. Files held by user after using grid-cert-request

9 1c.9 Email file grid-cert-request.pem to CA course administrator. (Jeremy)‏ Request your certificate within 2 days, as we need time to sign and download. CA administrator will create certificate as file usercert.pem. In our case, CA administrator will secure copy this file into your.globus directory replacing empty file created with grid-cert-request. You will receive an email when this has been done. Obtaining a “certificate” cont.

10 1c.10 4. Test that certificate works by issuing the command grid-proxy-init which creates a “proxy” certificate to access resources on your behalf. You will be prompted for a passphase, which will be the same as you used when making the request. Check that you got a proxy by using the command: grid-proxy-info which will show the proxy subject and time left. Proxy can be destroyed with: grid-proxy-destroy Obtaining a “certificate” cont.

11 1c.11 Submitting a job Assignment first asks you to submit a job using the –c option: globusrun-ws -submit -F localhost:8440 -s -so echo_output -c /bin/echo hello This should simply work. You are asked to check the output.

12 1c.12 Then create XML job description document (JDD) and resubmit using that: globusrun-ws -submit -F localhost:8440 -f test1.xml At this point, you will need to use an editor to create test1.xml. Use any. One suggestion is to use nano.

13 1c.13 nano In your case, you will be using coit-grid03.edu Control key commands: - Control-O to save, Control-X to exit

14 1c.14 Next step is run the same command on the machine torvalds.cis.uncw.edu globusrun-ws -submit -F torvalds.cis.uncw.edu -f test1.xml After seeing that it works, you will perform the same multi-step application using different grid resource with data movement as you did in the first assignment.

15 1c.15 Then create XML job description document to perform the integration using the trapeziodal method and submit using that: globusrun-ws -submit -F localhost:8440 -f integ.xml

16 1c.16 Transfer the output to torvalds: globus-url-copy file:/// / area_output gsiftp://torvalds.cis.uncw.edu/ /

17 1c.17 Then create XML job description document to perform the integration using the trapeziodal method and submit using that: globusrun-ws -submit -F torvalds.cis.uncw.edu -f mulch.xml Transfer the output back to coit-grid03 from torvalds using globus-url-copy.

18 1c.18 Compute area of flower bed torvaldscoit-grid03 area_ output Compute volume and cost of mulch globus-url-copy mulch_ output globus-url-copy mulch_ output area_ output

19 1c.19 Questions?


Download ppt "1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification."

Similar presentations


Ads by Google