Installing GWMS Frontend using RPMs

Contents

Installation

This guide assumes os >= rhel6.

Install epel and osg repos as outlined:

https://twiki.grid.iu.edu/bin/view/Documentation/Release3/YumRepositories

Install OSG CA certs:

yum install osg-ca-certs

Install fetch-crl, and enable and start cron:

https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallCertAuth#Managing_Certificate_Revocation

Run manually once to get certs mmediately: /usr/sbin/fetch-crl

Install condor and frontend rpms:

yum install condor
yum install glideinwms-vofrontend

Or alternatively pick and choose gwms packages. For example to have a node with just a collector and FE:

yum install condor
yum install glideinwms-usercollector
yum install glideinwms-vofrontend-standalone

Disable LOCAL_CONFIG_FILE because it is evil and overrides config.d files:

sed -i 's/^LOCAL_CONFIG_FILE/#LOCAL_CONFIG_FILE/' /etc/condor/condor_config

Post Install

Set up proxy renewal cron script. Typical way is to create a bash script /usr/local/sbin/refresh_proxy. Here is the LIGO example:

#!/bin/bash

# using host cert for both FE and pilot
voms-proxy-init -cert /etc/grid-security/hostcert.pem -key /etc/grid-security/hostkey.pem -out /tmp/proxy.new -hours 72 -voms osg:/osg/ligo && \
chown frontend:frontend /tmp/proxy.new && \
mv /tmp/proxy.new /tmp/vo_proxy

Run /usr/local/sbin/refresh_proxy once by hand to use FE immediately.

And add the following to cron /etc/cron.d/refresh_proxy.cron:

39 3,9,15,21 * * * root /usr/local/sbin/refresh_proxy > /dev/null 2>&1

-- JeffreyDost - 2015/06/24


This topic: UCSDTier2 > WebHome > GwmsRpmFE
Topic revision: r3 - 2017/03/17 - 21:39:29 - JeffreyDost
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback