Installing a UI for Grid Submission

From GridPP Wiki
Jump to: navigation, search

Introduction

Here are the basic steps to go through to install the EMI/UMD UI which you can then use to submit jobs to the grid. This has been tested with EMI3 rpm and SL6 though can probably be easily transferred to other releases/distros.

For detailed release notes, etc. please see:

EMI Product Page [1]

RPM Install with root Access

  • Install SL6 as you normally would.
  • make sure EMI and epel repos are installed
cd /tmp
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum localinstall epel-release-6-8.noarch.rpm

wget http://emisoft.web.cern.ch/emisoft/dist/EMI/3/sl6/x86_64/base/emi-release-3.0.0-2.el6.noarch.rpm
yum localinstall emi-release-3.0.0-2.el6.noarch.rpm
  • Install some required packages first:
yum install yum-priorities yum-protectbase
  • Get and install the EMI rpm:
  • Install the EMI UI package
yum install emi-ui
  • Create and edit the site-info.def/vo.d configuration data. A tarball of a typical version can be found at:

http://hep.ph.liv.ac.uk/VomsSnooper/UI_glitecfg.tar

This setup contains all the Approved VOs and should be up to date. To use it:

cd /root
wget http://hep.ph.liv.ac.uk/VomsSnooper/UI_glitecfg.tar
tar -xvf UI_glitecfg.tar
  • Run YAIM to configure the UI
/opt/glite/yaim/bin/yaim -c -s /root/glitecfg/site-info.def -n UI

  • Setup a user account and within that, copy your user cert and key to a .globus dir:
adduser mws
su mws
cd ~
mkdir .globus
scp <copy key files to .globus>
  • Finally, you can test your new UI!
voms-proxy-init --voms dteam
glite-wms-job-submit -a hello.jdl 
glite-wms-job-status https://....

Note that a basic DTEAM hello world script can be found here:

VirtualOrganisation = "dteam";
MyProxyServer = "myproxy.cern.ch";
DataAccessProtocol = {
"gsiftp"
};
ShallowRetryCount = 3;
AllowZippedISB = false;
RetryCount = 0;

JobType = "NORMAL";

Executable = "/bin/echo";
Arguments = "HELLO";
StdOutput = "hello.out";
StdError = "hello.err";
##InputSandbox = {""};
OutputSandbox = {"hello.out","hello.err"};

For more info, please contact Mark Slater (mslater@cernSPAMNOT.ch)