GENIUS Grid portal Hands on

30
IST-2006- 026409 www.eu-eela.org E-infrastructure shared between Europe and Latin America GENIUS Grid portal Hands on Matias Zabaljauregui UNLP

description

GENIUS Grid portal Hands on. Matias Zabaljauregui UNLP. Practical Information. GENIUS Tutorial website: https://glite-tutor.ct.infn.it Tutorial accounts on glite-tutor: Username: bogotaXX where XX goes from 01 to 50 Password: GridBOGXX where XX goes from 01 to 50. - PowerPoint PPT Presentation

Transcript of GENIUS Grid portal Hands on

IST-2006-026409 www.eu-eela.org

E-infrastructure shared between Europe and Latin America

GENIUS Grid portalHands onMatias Zabaljauregui

UNLP

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 2

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

GENIUS Tutorial website: • https://glite-tutor.ct.infn.it

Tutorial accounts on glite-tutor:• Username: bogotaXX where XX goes from 01 to 50• Password: GridBOGXX where XX goes from 01 to 50

Practical Information

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 3

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

• 1. Authentication with the User Interface

• 2. Authentication to the Grid.

Input password of the proxy (specified when you

shall execute myproxy-init)

Input password of the user account: GridBOGXX

Introduction: the two-layers Authentication

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 4

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

GENIUS logging in and base settings

Preliminary Exercise

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 5

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

• Login at your UI account (passwd: GridBOGXX)

• Store a proxy on a remote Myproxy Server machine with the command (using the passphrase BOGOTA):>myproxy-init --voms gilda

• Retrieve a local proxy from MyProxy server:> myproxy-get-delegation (must use your new MyProxy passphrase)

• Verify your new local proxy: >voms-proxy-info --all

Outline of the exercise 1/2

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 7

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Password: BOGOTA

Choose a new password;This password will be referred

as myproxy password

myproxy-init --voms gilda

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 8

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Get credentials from the MyProxy server

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 10

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

GRID authentication

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 11

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Launch a job described by a JDL which already exists in the UI

• We suppose to have the JDL file and all the other required data (input sandbox files) on the UI and we shall try to submit the job on the GRID

First Exercise

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 12

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Selecting job

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 13

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Submitting job

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 14

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Submitting job

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 15

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Submitting job

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 16

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Checking the status

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 17

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Retrieving job results 3/3

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 18

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Preapare a job described by a JDL and store it on the UI

• In this exercise we are going to create a new file on the UI called helloworld.jdl describing a simple job

Second Exercise

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 19

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

[ JobType = "Normal"; Executable = "/bin/echo"; Arguments = "Hello World !"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"}; ]

First step: create the JDL file

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 20

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Inspecting our JDL

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 21

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Submit the job described by the JDL created in the previous exercise

• In this exercise we are going to submit the job described by the JDL file edited in the previous step

Third Exercise

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 22

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Submitting the JDL 1/4

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 23

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Submitting the JDL 2/4

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 24

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Submitting the JDL 2/4

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 25

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Retrieving job results

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 26

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Preparing a job described by the JDL with a file to ship in the input sandbox

• In this exercise we are going prepare the JDL description for a job which executes a shell script. The .sh file will be shipped to the CE through the input sendbox

Fourth Exercise

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 27

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

#!/bin/sh MY_NAME="Your name" WORKER_NODE_NAME=glite-tutor.ct.infn.it echo "Hello $MY_NAME, from $WORKER_NODE_NAME" ls -a echo "This job is running on this CE: " /opt/edg/bin/edg-brokerinfo getCE

Step 1: Create the shell script

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 28

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

[ Executable = "startScript.sh"; StdOutput = "std.out"; StdError = "std.err"; VirtualOrganisation = "gilda"; InputSandbox = {"startScript.sh"}; OutputSandbox = {"std.out","std.err",".BrokerInfo"}; RetryCount = 7; ]

Step2: create the JDL file

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 29

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Submitting the job prepared in the previous exercise

• In this exercise we are going submit the job which executes a shell script, prepared in the previous exercise. The .sh file will be shipped to the CE through the input sendbox

Fifth Exercise

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 30

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

(List of available resources)

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 31

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Step 3: submitting job

9th EELA TUTORIAL (USERS AND SYSTEM ADMINISTRATORS) 32

E-infrastructure shared between Europe and Latin America

www.eu-eela.org

Step 4: retrieving the results