Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 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

2 1c.2 Traditional way from a Windows system is to use PuTTY for a command line remote access. Remote Access coit-grid02.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 As will be fully explained later in the course (next week), X509 certificates are 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”

5 1c.5 Requesting a certificate 1.Log into coit-grid02.uncc.edu 2.Issue the command grid-cert-request which will produce three files in.globus in your home directory: usercert_request.pem usercert.pem (an empty file) userkey.pem Obtaining a “certificate”

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

7 1c.7 Email the file grid-cert-request.pem to the CA course administrator. (Jasper for the course) The CA administrator will create the certificate as the file usercert.pem. The CA administrator will secure copy this file into your.globus directory replacing the empty file created with grid-cert-request. You will receive an email when this has been done. Obtaining a “certificate” cont.

8 1c.8 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.

9 1c.9 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.

10 1c.10 Then create XML job description file 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.

11 1c.11 nano

12 1c.12 Next step is to write your own java program to perform the same actions as the Linux echo program. Here all the java compilation can be done remotely using the javac compiler. Execute globusrun-ws job using an XML job description file that specified the job to be executed five times.

13 1c.13 Easy! Hence you only have week or so to do it. Request your certificate within 2 days, as we need time to sign and download.


Download ppt "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."

Similar presentations


Ads by Google