Compute Element (CE)

Requirements

Need hostcert.pem and hostkey.pem installed in /etc/grid-security and owned by root:root. See here for instructions on how to do so.

Installation

The CE is installed on our grid node, grow-grid.its.uiowa.edu. Here are the official instructions on how to install the Compute Element.

Change directory to /etc/yum.repos.d/

[root@grow-grid etc]# cd /etc/yum.repos.d/

Install Epel

Install YUM priorities

[root@grow-grid yum.repos.d]# yum install yum-priorities

Enable YUM plugins by adding this line in /etc/yum.conf under the [main] section.

[root@grow-grid yum.repos.d]# vi /etc/yum.conf

/etc/yum.conf
plugins=1

Install OSG repositories

[root@grow-grid yum.repos.d]# rpm -Uvh http://repo.grid.iu.edu/osg-el5-release-latest.rpm

Install CA Certificates

[root@grow-grid yum.repos.d]# yum install osg-ca-certs

Condor

Right now we have Condor installed via Rocks roll, there are some configuration errors happening and the is the way I want to install Condor once we have removed the roll.

[root@grow-grid yum.repos.d]# yum install osg-ce-condor

Install Managed Fork

[root@grow-grid yum.repos.d]# yum install globus-gram-job-manager-managedfork

Configuration

Verification

Each step in the verification requires you to create a proxy.

Create a proxy

[dsquires@grow-grid ~]$ grid-proxy-init
Your identity: /DC=org/DC=doegrids/OU=People/CN=Daniel Squires 809377
Enter GRID pass phrase for this identity:
Creating proxy …………………………………… Done
Your proxy is valid until: Fri Jun 29 04:07:57 2012

Run globusrun to ensure you are authorized.

[user@grow-grid ~]$ globusrun -a -r grow-grid.its.uiowa.edu
GRAM Authentication test successful

Attempt to run a job on the fork manager.

[user@grow-grid ~]$ globus-job-run grow-grid.its.uiowa.edu /bin/hostname
GRAM Job failed because the job failed when the job manager attempted to run it (error code 17)
Details: condor_submit: Configuration Error Line 38 while reading global config source /opt/condor/condor_configure\n

This error is unresolved!

Copy a file to the CE

This will not produce a result if successful.

[dsquires@grow-grid ~]$ globus-url-copy file:/proc/cpuinfo gsiftp:grow-grid.its.uiowa.edu/tmp/cpuinfo-deleteme

Copy a file from the CE

This will not produce a result if successful.

[dsquires@grow-grid ~]$ globus-url-copy gsiftp:grow-grid.its.uiowa.edu/proc/version file:/tmp/version-deleteme

Verify that the file was copied correctly.

[dsquires@grow-grid ~]$ cat /tmp/version-deleteme
Linux version 2.6.18-194.3.1.el5 (brewbuilder@norob.fnal.gov) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri May 7 01:43:09 EDT 2010

Remove the tmp file

[dsquires@grow-grid ~]$ rm -f /tmp/version-deleteme

Notes

Contact Info

This Dokuwiki page is maintained by:
Daniel Squires
University of Iowa
Department of Computer Science
Email: daniel-squires@uiowa.edu