TWiki> UCSDTier2 Web>GwmsRpmFE (revision 2)EditAttach

Installing GWMS Frontend using RPMs



This guide assumes rhel6.

Install epel and osg 3.2 repos as outlined:

Install OSG CA certs:

yum install osg-ca-certs

Install fetch-crl, and enable and start both boot and cron:

Disable epel and osg repos, we will manually enable them only when we need to upgrade frontend and condor components:

sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo
sed -i 's/enabled=1/enabled=0/' /etc/yum.repos.d/osg-el6.repo

Install condor and frontend rpms:

yum --enablerepo=epel --enablerepo=osg install condor
yum --enablerepo=epel --enablerepo=osg install glideinwms-vofrontend

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

yum --enablerepo=epel --enablerepo=osg install condor
yum --enablerepo=epel --enablerepo=osg install glideinwms-usercollector
yum --enablerepo=epel --enablerepo=osg 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:


# 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/ -hours 72 -voms osg:/osg/ligo && \
chown frontend:frontend /tmp/ && \
mv /tmp/ /tmp/vo_proxy

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

Edit | Attach | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2015/06/24 - 20:56:59 - 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