Difference: GwmsRpmFE (1 vs. 3)

Revision 32017/03/17 - Main.JeffreyDost

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Installing GWMS Frontend using RPMs

Line: 8 to 8
 

Installation

Changed:
<
<
This guide assumes rhel6.
>
>
This guide assumes os >= rhel6.
 
Changed:
<
<
Install epel and osg 3.2 repos as outlined:
>
>
Install epel and osg repos as outlined:
  https://twiki.grid.iu.edu/bin/view/Documentation/Release3/YumRepositories
Line: 18 to 18
  yum install osg-ca-certs
Changed:
<
<
Install fetch-crl, and enable and start both boot and cron:
>
>
Install fetch-crl, and enable and start cron:
  https://twiki.grid.iu.edu/bin/view/Documentation/Release3/InstallCertAuth#Managing_Certificate_Revocation
Changed:
<
<
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
>
>
Run manually once to get certs mmediately: /usr/sbin/fetch-crl
  Install condor and frontend rpms:
Changed:
<
<
yum --enablerepo=epel --enablerepo=osg install condor yum --enablerepo=epel --enablerepo=osg install glideinwms-vofrontend
>
>
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:

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

Line: 60 to 56
 mv /tmp/proxy.new /tmp/vo_proxy
Added:
>
>
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

Revision 22015/06/24 - Main.JeffreyDost

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Installing GWMS Frontend using RPMs

Changed:
<
<

Instructions

>
>

Contents

Installation

  This guide assumes rhel6.
Line: 44 to 48
 sed -i 's/^LOCAL_CONFIG_FILE/#LOCAL_CONFIG_FILE/' /etc/condor/condor_config
Added:
>
>

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

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

Revision 12015/06/24 - Main.JeffreyDost

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Installing GWMS Frontend using RPMs

Instructions

This guide assumes rhel6.

Install epel and osg 3.2 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 both boot and cron:

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

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

-- JeffreyDost - 2015/06/24

 
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