Before Starting

Service installation

# SL:
yum install gridsite-apache gridsite-commands gridsite-debuginfo gridsite-devel.x86_64 gridsite-gsexec gridsite-service-clients gridsite-services

# Debian:
aptitude install gridsite-apache gridsite-commands libgridsite-dev gridsite-gsexec gridsite-service-clients gridsite-services

Service Configuration

Steps SL5/SL6:

yum install httpd mod_ssl
#yum install policycoreutils-python
# !!! /var/run/httpd/ for SL6
sed -e '1,$s,/usr/lib/httpd/modules/,modules/,' /usr/share/doc/gridsite-*/httpd-webserver.conf | \
  sed "s/FULL.SERVER.NAME/`hostname -f`/" | \
  sed "s/\(GridSiteGSIProxyLimit\)/# \1/" | \
  sed "s,^PidFile.*,PidFile $HTTPD_PIDFILE," > $HTTPD_CONF
echo "AddHandler cgi-script .cgi" >> $HTTPD_CONF
echo "ScriptAlias /gridsite-delegation.cgi /usr/sbin/gridsite-delegation.cgi" >> $HTTPD_CONF

sed -i "s,^#OPTIONS=,OPTIONS=\"-f $HTTPD_CONF\"," /etc/sysconfig/httpd
semanage port -a -t http_port_t -p tcp 777
service httpd start
chkconfig httpd on

Steps Debian:

apt-get install apache2

ln -s ../../var/log/apache2 /etc/apache2/logs
ln -s ../../usr/lib/apache2/modules /etc/apache2/modules
ln -s ../../var/run/apache2 /etc/apache2/run

HTTPD_CONF_SRC=`ls -1 /usr/share/doc/gridsite-*/httpd-webserver.conf* | head -n 1`
zcat $HTTPD_CONF_SRC | sed -e '1,$s,/usr/lib/httpd/modules/,modules/,' \
  -e "s/FULL.SERVER.NAME/`hostname -f`/" \
  -e "s/\(GridSiteGSIProxyLimit\)/# \1/" \
  -e "s,^\(ServerRoot\).*,\1 /etc/apache2," \
  -e "s/^User .*/User www-data/" \
  -e "s/^Group .*/Group www-data/" \
  -e 's/^\(LoadModule\\s\\+log_config_module.*\)/# \1/' \
  -e "s,^PidFile.*,PidFile $HTTPD_PIDFILE," > $HTTPD_CONF
echo "AddHandler cgi-script .cgi" >> $HTTPD_CONF
echo "ScriptAlias /gridsite-delegation.cgi /usr/sbin/gridsite-delegation.cgi" >> $HTTPD_CONF
if [ ! -f /usr/lib/apache2/modules/ ]; then
   sed -i 's/^\(LoadModule\s\+log_config_module.*\)/#\1/' $HTTPD_CONF

/etc/init.d/apache2 stop
test ! -f /etc/apache2/apache2.conf.orig && mv /etc/apache2/apache2.conf /etc/apache2/apache2.conf.orig
mv $HTTPD_CONF /etc/apache2/apache2.conf
/etc/init.d/apache2 start

Service Testing

Test SL5/SL6:

yum install -y nc cvs lsof
cvs co org.glite.testsuites.ctb/gridsite
cd org.glite.testsuites.ctb/gridsite/tests

./ `hostname -f`

Test Debian:

aptitude install cvs netcat-traditional psmisc lsof
cvs co org.glite.testsuites.ctb/gridsite
cd org.glite.testsuites.ctb/gridsite/tests

./ `hostname -f`

Deployment Tests

EMI-1 (Kebnekaise):

EMI-2 (Matterhorn):

EPEL Testing Tests

globus 5.2.2 (2012-12-29):

-- FrantisekDvorak - 03-Jan-2012

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r10 - 2012-12-30 - FrantisekDvorak
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EMI All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback