Title: Presentation Title Presentation Subtitle
1User Interface (UI) Installation and Configuration
ltTitlegt
Regional SEE-GRID-SCI Training for Site
Administrators Institute of Physics
Belgrade March 5-6, 2009
Branimir Ackovic Institute of Physics Serbia acko_at_
scl.rs
The SEE-GRID-SCI initiative is co-funded by the
European Commission under the FP7 Research
Infrastructures contract no. 211338
2Presentation Overview
- User Interface
- User Certificates
- Host Certificates
- UI Installation
- UI Configuration
- Tweaking UI
- Job types
- Job
- Collection
- Parametric
- DAG
- MPI
3User Interface
- List all the resources suitable to execute a
given job - Submit jobs for execution
- Cancel jobs
- Retrieve the output of finished jobs
- Show the status of submitted jobs
- Retrieve the logging and bookkeeping information
of jobs - Copy, replicate and delete files from the Grid
- Retrieve the status of different resources from
the Information System
4Grid Security
Grid Security Infrastructure GSI
- X.509, SSL
- Certification Authority (CA)
- Host Certificate
- User Certificate
- Proxy
- MyProxy Service
5Grid Security
SSL, X.509
6SEE Certification Authorities
- SEEGRID - HellasGrid
- Greece - HellasGrid
- Turkey - TRGrid
- Hungary - NIIF
- Croatia - SRCE
- Serbia - RCUB
- Macedonia - UKIM
7Host Certificate
/etc/grid-security/globus-host-ssl.conf grid-cer
t-request -host ltfqdngt -d ltdirnamegt
8User Certificate
/etc/grid-security/globus-user-ssl.conf grid-cer
t-request -int
9Proxy, MyProxy
Grid proxy MyProxy delegation
10UI Installation
http//glite.web.cern.ch/glite/packages/R3.0/R200
60502/doc/installation_guide_3.0-2.html http//rp
m.scl.rs/yum.conf/scl-glite-UI.repo yum install
glite-UI
11UI Configuration
https//twiki.cern.ch/twiki/bin/view/EGEE/YAIM ya
im -c -s ltlocation of site-info.defgt -n UI
12UI Tweaking
WMS and MyProxy config files /opt/glite/etc/ltvona
megt LFC config LFC_HOST
13Creating Proxy, Proxy delegation
grid-proxy-init voms-proxy-init -voms
ltvonamegt voms-proxy-info voms-proxy-destroy myp
roxy-init -d -n -c lthrsgt
14lcg-info
lcg-info --vo ltvonamegt --list-ce lcg-info vo
ltvonamegt --list-se lcg-info list-attrs --attrs
15JDL
Type "Job" Executable "test.sh" Arguments
"" StdOutput "output" StdError
"stderror" InputSandbox "test.sh" OutputSand
box "output","stderror" Requirements
other.GlueCEUniqueID "ltGCEUIDgt" .....
16Job Operations
glite-wms-job-submit -a (-d ltdelegationgt) -c
ltwmscfggt glite-wms-delegate-proxy -d
ltdelegationgt glite-wms-job-status
ltjobidgt glite-wms-job-output ltjobidgt
17Job Types
- Simple JOB
- Collection
- Parametric
- DAG
- MPI
18Collection 1/2
Type "Collection" nodes
JobType "normal" Executable
"/bin/hostname" Arguments "-i"
StdOutput "out" StdError
"err" OutputSandbox "out","err"
, JobType
"Normal" Executable "/bin/date"
StdOutput "date" StdError
"err" OutputSandbox "date"
19Collection 1/2
JobType "Normal"
Executable "/bin/date" StdOutput
"date" StdError "err"
OutputSandbox "date"
20Parametric type 1
Parametric type 1
Type "Job" JobType "Parametric" Executable
"/bin/echo" Arguments "_PARAM_" Parameters
red, green, blue StdOutput
"colour_PARAM_.txt" StdError
"error_PARAM_.txt" OutputSandbox
"colour_PARAM_.txt","error_PARAM_.txt"
21Parametric type 2
Type "Job" JobType "parametric" Executable
"exec" StdInput "input_PARAM_.txt" StdOutput
"output_PARAM_.txt" Parameters
10 ParameterStart 1 ParameterStep
1 InputSandbox "ltexecgt", "ltparam_filegt" Outp
utSandbox "output_PARAM_.txt"
22DAG 1/5
Type "dag" InputSandbox "job.sh" Nodes
nodeA Description
JobType "Normal" Executable
"job.sh" Arguments "A"
StdOutput "std.out" StdError
"std.err" InputSandbox
root.InputSandbox0 OutputSandbox
"std.out","std.err"
23DAG 2/5
nodeB Description
JobType "Normal" Executable
"job.sh" Arguments "B"
StdOutput "std.out" StdError
"std.err" InputSandbox
root.InputSandbox0 OutputSandbox
"std.out","std.err"
24DAG 3/5
nodeC Description
JobType "Normal" Executable
"job.sh" Arguments "C"
StdOutput "std.out" StdError
"std.err" InputSandbox
root.InputSandbox0 OutputSandbox
"std.out","std.err"
25DAG 4/5
nodeD Description
JobType "Normal" Executable
"job.sh" Arguments "D"
StdOutput "std.out" StdError
"std.err" InputSandbox
root.InputSandbox0 OutputSandbox
"std.out","std.err"
Dependencies
nodeA,nodeB,nodeA,nodeC,nodeB,nodeC,nodeD
26DAG 5/5
job.sh !/bin/bash echo "Job 1 - date -
BEGIN" hostname sleep 100 echo "Job 1 - date -
END"
27MPI 1/2
Type "Job" JobType "MPICH" NodeNumber
2 Executable "test-mpi.sh" Arguments
"test-mpi" StdOutput "test-mpi.out" StdError
"test-mpi.err" InputSandbox
"test-mpi.sh","test-mpi.c" OutputSandbox
"test-mpi.err","test-mpi.out","mpiexec.out"
28MPI 2/2
int main(int argc, char argv) int
numprocs / Number of processors / int
procnum / Processor number / / Initialize
MPI / MPI_Init(argc, argv) / Find this
processor number / MPI_Comm_rank(MPI_COMM_WORLD
, procnum) / Find the number of processors
/ MPI_Comm_size(MPI_COMM_WORLD, numprocs)
printf ("Hello world! from processor d out of
d\n", procnum, numprocs) / Shut down MPI /
MPI_Finalize() return 0
29Links
Glite User guide https//edms.cern.ch/file/722398
/1.2/gLite-3-UserGuide.html Glite Installation
guide http//glite.web.cern.ch/glite/packages/R3.
0/R20060502/doc/installation_guide_3.0-2.html http
s//twiki.cern.ch/twiki/bin/view/LCG/GenericInstal
lGuide310 Yaim guide https//twiki.cern.ch/twiki
/bin/view/LCG/YaimGuide400