DQ2 Installation

UC DQ2 Server

DQ2 being installed on uct2-grid1

A script of he installation is being created to document it (script /tmp/dq2install.txt)

We choose to create a local dq2 user (id in 22000 range not to have conflicts with LDAP) for dq2: it is a service residing only on this machine. create /opt/ddm belonging to user dq2

CURL libraries have to be downgraded to version 7.610.6-8 (from library /usr/lib/libcurl.so.3 to libcurl.so.2, tested as trial and error, it works with vers. 2) because pycurl (version in Python included in DQ2 sw installation) uses the older version (in its headers or in some compiled file).

Curl RPM were downloaded from centos distribution and are stored in /nfs/install/dq2
wget ftp://ftp.pbone.net/mirror/ftp.centos.org/3.8/os/i386/RedHat/RPMS/curl-7.10.6-8.rhel3.i386.rpm 
wget ftp://ftp.pbone.net/mirror/ftp.centos.org/4.4/os/i386/CentOS/RPMS/compat-libcom_err-1.0-5.i386.rpm
wget ftp://ftp.pbone.net/mirror/ftp.centos.org/3.8/os/i386/RedHat/RPMS/curl-devel-7.10.6-8.rhel3.i386.rpm
wget ftp://ftp.pbone.net/mirror/ftp.centos.org/3.8/os/i386/RedHat/RPMS/vorbis-tools-1.0-6.i386.rpm 

Beware that if an auto-update is enabled the new curl library could overwrite the old one and revert the downgrade.

The bulk of the installation is made using Dan's script installdq2.sh that is present /nfs/install/dq2 and attached to this page:
su - dq2
source installdq2.sh

The manager grid certificate (pem certificate) has to be installed in the ~dq2/.globus (or wherever Globus is looking for it) and some additional steps have to be performed. Being in the install dir (/opt/ddm) there are some final steps to execute to complete the installation.
  • Set the proxy certificate
    source config/mwt2_uc/environment.sh
    grid-proxy-init -valid 720:0
    myproxy-init -s fts01.usatlas.bnl.gov -d -c 720:0
    
  • Put the correct host certificate in the http server removing first the symbolic links that are there (the hostcert links):
    cp /etc/gridsecurity/host*.pem /opt/ddm/httpd/
    
  • Add the FTS channel in the ToA
    • adjust the expiration seconds
    • fix the ToA files (there are 2 copies of it)
  • The installation is creating a script to add to the cron to start httpd, mysql, etc...
    • crontab cron.txt

If it is a new installation (not an update) the correct entries have to be sent to Wensheng to update the ToA file and to Hiro to create the new FTS channel

-- MarcoMambelli - 12 Oct 2006
Topic revision: r1 - 12 Oct 2006, MarcoMambelli
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback