Moiss Hernndez Duarte - PowerPoint PPT Presentation

1 / 37
About This Presentation
Title:

Moiss Hernndez Duarte

Description:

myproxy-init --voms gilda. Retrieve a local proxy from MyProxy server: ... Your identity: /C=IT/O=GILDA/OU=Personal Certificate/L=MEXICOCITY/CN ... – PowerPoint PPT presentation

Number of Views:74
Avg rating:3.0/5.0
Slides: 38
Provided by: moisshernn
Category:
Tags: duarte | gilda | hernndez | moiss

less

Transcript and Presenter's Notes

Title: Moiss Hernndez Duarte


1
GENIUS Grid portalHands on
  • Moisés Hernández Duarte
  • UNAM FES Cuautitlán
  • Tutorial on grid, visualization and high
    performance calculation
  • Mexico City, October 23 26, 2007
  • Based on Luciano Díaz presentation, ICN-UNAM

2
Outline
  • Useful information
  • Exercises
  • GENIUS logging in and base settings
  • Launch a job described by a JDL which already
    exists in the UI
  • Prepare a job described by a JDL and store it on
    the UI
  • Submit the job described by the JDL created in
    the previous exercise
  • Preparing a job described by the JDL with a file
    to ship in the input sandbox
  • Submitting the job prepared in the previous
    exercise

3
Useful information
  • GENIUS Tutorial website
  • https//glite-tutor2.ct.infn.it
  • Tutorial accounts on glite-tutor
  • Username mexicocityXX where XX goes from 01 to
    40
  • Password GridMEXxx where xx goes from 01 to 40
  • When issuing the myproxy-init command
  • Myproxy password MEXICOCITY for all the accounts

4
Introduction the two-layers Authentication
  • 1. Authentication with the User Interface
  • 2. Authentication to the Grid.

5
Exercise 1
GENIUS logging in and base settings
6
Outline of the exercise 1/2
  • Login at your UI account (passwd GridMEXxx)
  • Store a proxy on a remote Myproxy Server machine
    with the command (using the passphrase
    MEXICOCITY)
  • gtmyproxy-init --voms gilda
  • Retrieve a local proxy from MyProxy server
  • gt myproxy-get-delegation (must use your new
    MyProxy passphrase)

7
Outline of the exercise 2/2
  • Verify your new local proxy
  • gtvoms-proxy-info --all
  • Destroy your local proxy with the command and
    then inspect it
  • gtvoms-proxy-destroy
  • Go on the https//glite-tutor2.ct.infn.it with
    your browser, put your Myproxy passphrase.
  • Come back on the terminal and execute
  • gtvoms-proxy-info --all

8
gtmyproxy-init --voms gilda
mexicocity20_at_eela-132 mexicocity20
myproxy-init --voms gilda Cannot find file or
dir /home/mexicocity20/.glite/vomses Your
identity /CIT/OGILDA/OUPersonal
Certificate/LMEXICOCITY/CNMEXICOCITY20/Emailrob
erto.barbera_at_ct.infn.it Enter GRID pass
phrase verify OK Creating temporary proxy
..................................................
. Done Contacting voms.ct.infn.it15001
/CIT/OGILDA/OUHost/LINFN Catania/CNvoms.ct.i
nfn.it/Emailemidio.giorgio_at_ct.infn.it "gilda"
Done Creating proxy ..............................
.......... Done Your proxy is valid until Sun Sep
3 063526 2006 Enter MyProxy pass
phrase Verifying password - Enter MyProxy pass
phrase A proxy valid for 168 hours (7.0 days)
for user mexicocity20 now exists on
grid001.ct.infn.it. mexicocity20_at_eela-132
mexicocity20
Password MEXICOCITY
Choose a new password This password will be
referred later as myproxy password
9
Get credentials from the MyProxy server
  • gtmyproxy-get-delegation
  • gtvoms-proxy-info -all

mexicocity20_at_eela-132 mexicocity20
myproxy-get-delegation Enter MyProxy pass
phrase A proxy has been received for user
mexicocity20 in /tmp/x509up_u519 mexicocity20_at_eel
a-132 mexicocity20 voms-proxy-info -all subject
/CIT/OGILDA/OUPersonal Certificate/LMEXICO
CITY/CNMEXICOCITY20/Emailroberto.barbera_at_ct.infn
.it/CNproxy/CNproxy/CNproxy issuer
/CIT/OGILDA/OUPersonal Certificate/LMEXICOCITY
/CNMEXICOCITY20/Emailroberto.barbera_at_ct.infn.it/
CNproxy/CNproxy identity /CIT/OGILDA/OUPer
sonal Certificate/LMEXICOCITY/CNMEXICOCITY20/Ema
ilroberto.barbera_at_ct.infn.it/CNproxy/CNproxy ty
pe unknown strength 512 bits path
/tmp/x509up_u519 timeleft 115133 VO
gilda extension information VO
gilda subject /CIT/OGILDA/OUPersonal
Certificate/LMEXICOCITY/CNMEXICOCITY20/Emailrob
erto.barbera_at_ct.infn.it issuer
/CIT/OGILDA/OUHost/LINFN Catania/CNvoms.ct.in
fn.it/Emailemidio.giorgio_at_ct.infn.it attribute
/gilda/RoleNULL/CapabilityNULL timeleft
113459 mexicocity20_at_eela-132 mexicocity20
10
Destroying local voms proxy
  • gtvoms-proxy-destroy
  • gtvoms-proxy-info -all

mexicocity20_at_eela-132 mexicocity20
voms-proxy-destroy mexicocity20_at_eela-132
mexicocity20 voms-proxy-info -all Couldn't
find a valid proxy. mexicocity20_at_eela-132
mexicocity20
11
The Genius Home Page
12
then authenticating on GENIUS using myproxy
passwd
  • GRID authentication
  • The password is the one set when issued the
    myproxy-init command

13
Exercise 2
  • 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

14
Authentication with MyProxy
15
GRID Settings
16
Set VO/VOMS
17
Selecting jdl file
18
Specify the CE Resource
19
Job successfully submitted
20
Job completed successfully
21
Retrieving Job results 1/3
22
Retrieving Job results 2/3
23
Retrieving job results 3/3
24
Exercise 3
  • Prepare 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

25
First step create the JDL file
JobType "Normal" Executable
"/bin/echo" Arguments "Hello World !"
StdOutput "std.out" StdError "std.err"
OutputSandbox "std.out","std.err"
26
The JDL is ready to be executed
27
Inspecting our JDL
28
Exercise 4
  • 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

29
Select JDL file 1/3
30
Submitting the JDL 2/3
31
Retrieving job results 3/3
32
Exercise 5
  • 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 sandbox

33
Step 1 Create the shell script
!/bin/sh MY_NAME"Your name" WORKER_NODE_NAMEg
lite-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
34
Step2 create the JDL file
Executable "startScript.sh" StdOutput
"std.out" StdError "std.err"
VirtualOrganisation "gilda" InputSandbox
"startScript.sh" OutputSandbox
"std.out","std.err",".BrokerInfo" RetryCount
7
35
Exercise 6
  • 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 sandbox

36
Submitting job
37
Retrieving the results
Write a Comment
User Comments (0)
About PowerShow.com