genius exercises n.
Download
Skip this Video
Download Presentation
GENIUS Exercises

Loading in 2 Seconds...

play fullscreen
1 / 50

GENIUS Exercises - PowerPoint PPT Presentation


  • 75 Views
  • Uploaded on

GENIUS Exercises. Riccardo Bruno, INFN.CT Sevilla, 10-14/09/2007. Practical information. GENIUS Tutorial website: https://glite-tutor.ct.infn.it Tutorial accounts on glite-tutor: Username: sevillaXX where XX goes from 01 to 30 Password: GridSEVXX where XX goes from 01 to 30

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'GENIUS Exercises' - bernard-peck


Download Now An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
genius exercises

GENIUS Exercises

Riccardo Bruno, INFN.CT

Sevilla, 10-14/09/2007

practical information
Practical information

GENIUS Tutorial website:

  • https://glite-tutor.ct.infn.it

Tutorial accounts on glite-tutor:

  • Username: sevillaXX where XX goes from 01 to 30
  • Password: GridSEVXX where XX goes from 01 to 30

when issuing the myproxy-init command

  • Myproxy password: SEVILLA for all the accounts
introduction 2 authentications
Introduction: 2 Authentications
  • 1. Authentication with the User Interface
  • 2. Authentication to the Grid.

sevillaXX

Input password of the user account: GridSEVXX

sevillaXX

Input password of the proxy (specified when you shall execute myproxy-init)

first exercise
First Exercise

GENIUS logging in and base settings

outline of the exercise 1 2
Outline of the exercise 1/2
  • Login at your UI account (passwd: GridSEVXX)
  • Store a proxy on a remote Myproxy Server machine with the command (using the passphrase SEVILLA):

$myproxy-init --voms gilda

  • Test to retrieve a local proxy from MyProxy server (not mandatory):

$myproxy-get-delegation(must use your new MyProxy passphrase)

outline of the exercise 2 2
Outline of the exercise 2/2
  • Verify your new local proxy*:
    • $voms-proxy-info --all
  • Destroy your local proxy with the command and then inspect it*
    • $voms-proxy-destroy
  • Go on the https://glite-tutor.ct.infn.it(Preferences/Set VO VOMS), insert your Myproxy passphrase when requested and select the gilda VO.
  • Come back on the terminal and execute
    • voms-proxy-info --all

* - Do only if you delegated a proxy on the UI

myproxy init voms gilda
myproxy-init --voms gilda

Password: SEVILLA

Choose a new password;

This password will be referred

as myproxy password

interactive set desktop password
Interactive:Set Desktop Password

Login the UI to set desktop password

Password is GridSEVXX

interactive open desktop
Interactive:Open Desktop

Input the password just set

myproxy init on interactive desktop
myproxy-init on interactive desktop

Password: SEVILLA

Choose a new password;

This password will be referred

as myproxy password

authenticating on genius with myproxy
authenticating on GENIUS with myproxy

GRID authentication

The password is the one set when issued the myproxy-init command

sevillaXX

second exercise
Second Exercise

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
grid settings

1) SET VO: GILDA

GRID Settings

2) SET Default services: LFC, RB, MxProxy, …

third exercise
Third Exercise

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 hostnametest.jdl describing a simple job
first step create the jdl file
First step: create the JDL file

[ JobType = "Normal"; Executable = "/bin/hostname"; StdOutput = "std.out"; StdError = "std.err"; OutputSandbox = {"std.out","std.err"}; ]

fourth exercise
Fourth Exercise

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
fifth exercise
Fifth Exercise

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
step 1 create the shell script
Step 1: Create the shell script

#!/bin/sh

MY_NAME="Your name"

WORKER_NODE_NAME=$(hostname)

echo "Hello $MY_NAME, from $WORKER_NODE_NAME"

ls -a

echo "This job is running on this CE: "

/opt/edg/bin/edg-brokerinfo getCE

step2 create the jdl file
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;

]

sixth exercise
Sixth Exercise

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
ad