Service Installation Step by Step
Base platform
The ETICS Services deployment has been proven to work on SLC4 32-bits platform. Other RH-based distributions migt be operating correctly however were not fully tested.
Prerequisites
In order to guarantee correct operation of
MySQL server a proper security policy must be applied to OS.
It is asssumed that no
MySQL database operational instance is running at the target server. The
MySQL server is meant to be installed during the described here installation process. In case the
MySQL server is already operational a respective user and passwords need to be provided to guarantee correct database access.
Security certificates (etics server)
The host security certificates needs to be present on target etics server under:
/etc/grid-security. The certificates should be accessible with passwords.
- hostcert.pem
- hostkey.pem
- hostcert.pkcs12 (same as above in pkcs12 format)
- hostcert.chain (moving to certchain.pem) - Certification Authority Chain
Conflicting packages
The installation will not succeed if the folloing packages are present in the system:
- jpackage-utils - conflicting with tomcat5
- myslq - conflicting with MySQL-server v5.x
- in case there is a jdk vs. java conflict one might need to disable the jpackage repository (enabled=0 inside jpackage.repo file)
Basic Installation Procedure
- fetch the repository for etics software
wget http://eticssoft.web.cern.ch/eticssoft/internal/public/dist/config/yum/etics-production.repo -O /etc/yum.repos.d/etics-production.repo
or for
pre-production
wget http://eticssoft.web.cern.ch/eticssoft/internal/public/dist/config/yum/etics-pre-production.repo -O /etc/yum.repos.d/etics-production.repo
- install the ETICS server or repository together with its dependencies
yum install etics-deployment-server / yum install etics-deployment-repository
- Edit parameters in the section 'common' and 'server' or 'repository' depending on which service you are deploying. Configuration files:
etics.server.conf
and etics.server_defaults.conf
are located under: /opt/etics/deployment/
. Parameters in the 'common' section must be defined. For the server deployment one must also specify repository server DN as extracted from repository server certificate.
- You may also want to change the passwords for different services like: database, keystore.
- from within the
/opt/etics/deployment
directory run the configuration script which will configure various services and register them in the system
cd /opt/etics/deployment
sh configure.sh server | repository
Verifying the service presence
At this point you should be able to verify the success of you installation by opening the ETICS Server or repository page at address:
Other documentation
InstallationDeployment guide (draft version, but usable) can be found under
http://eticssoft.web.cern.ch/eticssoft/internal/public/docs/InstallationDeploymentGuide_v09g.pdf
End.
--
MarianZUREK - 10 Feb 2009