User Interface (UI) to support approved VOs

From GridPP Wiki
Jump to: navigation, search


The basic way for users to submit jobs to the grid is via a User Interface (UI) system. This document describes an efficent way to set up a UI in the first place, using a tool called It is distributed with VomsSnooper, which is described here: .


In brief, to host a User Interface (UI), you need to set up a standard Linux system using SL6 or a similar (such as RHEL6). Each grid user needs to have a user account on the system, and each grid user must be a member of at least one Virtual Organisation (VO). Prior to joining any VO, a user needs a grid certificate. Here's the run down.

User setup

  • Create the Linux user (adduser johndoe)
  • Get a grid certificate for the user
See the user guide. Additional advice on acquiring a UK grid certificate is given here:
  • Install the user's certificate
See the user guide. Once a grid certificate is received for the user, install it as per the instructions here:
The end result should be a certificate and key in pem format in the user's $HOME/.globus directory.
ls -l $HOME/.globus
total 13
-r--r--r-- 1 doe xy 4541 Aug 23 2010 usercert.pem
-r-------- 1 doe xy 963 Aug 23 2010 userkey.pem

ls -ld $HOME/.globus
drwxr-xr-x 6 doe xy 4096 Dec 19 10:18 /home/doe/.globus

  • Use the grid certificate to join a VO
Once users have a grid certificate, they can join a VO. Advice on joining an example VO, dteam, is given here: . However, each VO will have its own membership process. Home pages for most of the Approved VOs is available here: GridPP_approved_VOs.

RPM Install with root Access

  • Make sure the current EPEL, EMI and trust-anchor repos are installed. The example below shows specific releases, but these may/will change over time. You may find newer versions by browsing the directories.
cd /tmp
yum localinstall epel-release-6-8.noarch.rpm

yum localinstall emi-release-3.0.0-2.el6.noarch.rpm

mv EGI-trustanchors.repo /etc/yum.repos.d/

yum clean all

  • Install some required packages:
yum update lcg-CA 
yum install lcg-CA 
yum install yum-priorities yum-protectbase
  • Install the EMI UI package
yum install emi-ui
  • Setup for and install the VomsSnooper package

Make a new file called /etc/yum.repos.d/

vi /etc/yum.repos.d/

and add this content:


Install VomsSnooper:

yum install VomsSnooper

Configure the UI

As root,

# cd /opt/GridDevel/vomssnooper/usecases/instantUI/

Run the ./ script.

# ./

If you give it no options, it sets up the UI to use all the VOs that are approved for use at the time of writing. You can also give specific VOs as options, e.g.

# ./ zeus

In this case, the UI will only support zeus and

Note: Any VO must be present in the Operations Portal:

Test Steps

A brief test is provided. Follow these steps to use it. The test assume you are a member of dteam.

Switch user from root to the grid user, e.g.

# su - sjones

Make a test directory

# mkdir tmptest; cd tmptest

Make a proxy

voms-proxy-init --voms dteam

Edit a file called hello.jdl with this content.

VirtualOrganisation = "dteam";
MyProxyServer = "";
DataAccessProtocol = {
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"};

Now you can run and check your job.

glite-wms-job-submit -a hello.jdl 
glite-wms-job-status https://....

Ongoing maintenance

The VOMS records within the Operations Portal are occasionally edited by VO managers. It's therefore necessary to keep abreast of changes to VOs that concern you and to amend the configuration as necessary.

To reconfigure the UI, it is necessary to re-run the script. As root:

# cd /opt/GridDevel/vomssnooper/usecases/instantUI/

Run the ./ script.

# ./

For more info, please contact Steve Jones (