"VL-e Proof-of-Concept Distribution - Installation",
owner=>"Jan Just Keijser",
email=>"janjust@nikhef.nl",
footer=>"Comments to Dennis van Dok or Jan Just Keijser."));
?>
Virtual Laboratory for e-Science
The Proof-of-Concept Distribution
PoC R2 Software Installation
This page covers fresh installations of the PoC R2.
For upgrading from earlier installations of the PoC, see
these notes.
Are you sure you want to install the PoC yourself? It is already available on
- the grid infrastructure
-
- the grid user interfaces
- a downloadable virtual machine image
so make sure that none of these suit your needs before trying to install the PoC.
Table of Contents
Base OS
The PoC installer is tested and supported on Red Hat Enterprise Linux 3 and 4
derivatives (here collectively called RHEL). These derivatives are
rebuilds of the Red Hat Enterprise Linux sources with minimal changes.
Such distributions include CentOS and
Scientific Linux.
Mind that the actual Red Hat Enterprise Linux distribution is not free, you
need to licence it from Red Hat.
Other RPM based distributions may work, but are not supported.
Java
The PoC R2 distribution depends on the Sun Java SDK 1.5.0 RPM. This package
is included in the externals
repository of the PoC.
The PoC distribution relies on JPackage 1.6 for several common java packages.
The installer will add a link to a JPackage repository.
Note: The gLite 3.1 middleware defaults to JPackage 1.7. For the
PoC distribution this is NOT recommended, as one of the required packages,
ant
, is not packaged properly in JPackage 1.7.
Grid Middleware
The PoC is considered to include the gLite grid middleware that
is developed and rolled out by the EGEE project. There is no
tight integration between gLite and the PoC, so you can install
either, or both. To consider your installation a full-blown PoC
grid node you need both, of course.
We have really no control over the releases of gLite, and
regrettably neither does anyone else. Currently there are
different versions for RHEL3 and RHEL4 with incompatible
interfaces.
To disentangle this mess, the PoC installer currently only
installs the PoC software, and a separate installer is provided
for installing gLite.
The automated PoC installer will take care of the entire installation
without asking a lot of questions. This script is the principle way
to install and/or upgrade the PoC and this procedure is the most
tested.
- Make sure your system is up to date (run
yum update
or up2date
, depending on the flavour of your system).
- Download the PoC installer and run it as root.
- Get coffee.
Depending on the speed of your hardware, this may take anywhere between several
minutes and an hour. When the installation finishes successfully, you are now the
proud owner of a VL-e PoC R2 UI (User Interface).
If anything goes wrong, proceed to the instructions below.
The package management software to use for RHEL3 derivatives is APT. This is because
yum
on RHEL3 is inadequate and the gLite sofware must also be installed
with APT on this OS. The RHEL4 installation can be done with yum, and that is the
preferred way for that OS.
APT must be configured with several repositories, after which the installation is a
two-step process: apt-get update to retrieve the package names and metadata
from the configured repositories, followed by apt-get install followed by
a package name to install the package. APT will resolve the dependencies and install
all required packages as well.
Installation step by step:
-
Install APT
- Remove the
ant
that comes with RHEL3, as it is horribly broken:
rpm -e ant ant-libs
- Import the GPG keys
Download the VL-e public key
RPM-GPG-KEY-vle
or contact us directly. Download the JPackage Project key
jpackage.asc.
Import the keys as root:
rpm --import RPM-GPG-KEY-vle
rpm --import jpackage.asc
gpg --import RPM-GPG-KEY-vle
gpg --import jpackage.asc
- Add the keys to APT's known vendors.
Add the following to /etc/apt/vendors.list
:
simple-key "JPackage"
{
Fingerprint "1F81C0FBC2B822B3DE1233A45C6CFFF7C431416D";
Name "JPackage Project (JPP Official Keys) <jpackage@zarb.org>";
}
simple-key "VL-e"
{
Fingerprint "7CB8BF1DDD50687A2212EFF017685BD0E38D518D";
Name "VL-e PoC Release Managers (P4, Scaling & Validation) ";
}
- Get the JPackage repository file.
Write the following lines to
/etc/apt/sources.list.d/jpackage.list
:
rpm [JPackage] http://www.dutchgrid.nl/mirror/jpackage 1.6/generic free
rpm-src [JPackage] http://www.dutchgrid.nl/mirror/jpackage 1.6/generic free non-free
rpm [JPackage] http://www.dutchgrid.nl/mirror/jpackage 1.6/redhat-el-3.0 free
rpm-src [JPackage] http://www.dutchgrid.nl/mirror/jpackage 1.6/redhat-el-3.0 free
- Get the VL-e PoC repository file.
Write these lines to
/etc/apt/sources.list.d/vle.list
:
rpm [VL-e] http://poc.vl-e.nl/distribution 2.1/rhel3 vle updates contrib externals
- Get a repository file for your base OS flavor.
If you have CentOS, use
/etc/apt/sources.list.d/centos.list
:
rpm http://www.dutchgrid.nl/mirror/apt/centos 3/i386 os updates contrib addons centosplus
If you have Scientific Linux, use
/etc/apt/sources.list.d/sl.list
:
rpm http://linuxsoft.cern.ch/scientific 30x/i386/apt-rpm os updates contrib
- Do a apt-get update to update the package
database from the known repositories.
- To install all the software, type
apt-get install vle2-ui
- If you also wish to install the packages from the VL-e
contrib
section (e.g. mono
) then type
apt-get install vle2-contrib
Installation on RHEL4 is done with the yum
package manager.
This is the standard package management tool for RHEL4.
Beginning with RHEL4 we support 64 bit systems. This architecture is indicated
by the mnemonic x86_64. These systems also support 32 bit binaries,
so it's perfectly ok to install the i386 release on a x86_64
machine. The other way around this is not true.
Installation step by step:
- Install the VL-e PoC
yum
repository file
/etc/yum.repos.d/vle.repo
:
[vle2]
name=VL-e PoC R2
baseurl=http://poc.vl-e.nl/distribution/2.1/rhel4/vle/$basearch/
gpgcheck=1
gpgkey=http://poc.vl-e.nl/distribution/2.1/extra/RPM-GPG-KEY-vle
[vle2 updates]
name=VL-e PoC R2 updates
baseurl=http://poc.vl-e.nl/distribution/2.1/rhel4/updates/$basearch/
gpgcheck=1
gpgkey=http://poc.vl-e.nl/distribution/2.1/extra/RPM-GPG-KEY-vle
[vle2 externals]
name=VL-e PoC R2 externals
baseurl=http://poc.vl-e.nl/distribution/2.1/rhel4/externals
gpgcheck=0
[vle2 contrib]
name=VL-e PoC R2 contributed packages
baseurl=http://poc.vl-e.nl/distribution/2.1/rhel4/contrib/$basearch/
gpgcheck=0
- Install the JPackage 1.6
yum
repository file
/etc/yum.repos.d/jpackage.repo
:
[jpackage16-generic]
name=JPackage 1.6, generic
baseurl=http://www.dutchgrid.nl/mirror/jpackage/1.6/generic/free/
gpgcheck=1
gpgkey=http://poc.vl-e.nl/distribution/2.1/extra/jpackage.asc
[jpackage16-rhel40]
name=JPackage 1.6 for Red Hat Enterprise Linux 4
baseurl=http://www.dutchgrid.nl/mirror/jpackage/1.6/redhat-el-4.0/free/
gpgcheck=1
gpgkey=http://poc.vl-e.nl/distribution/2.1/extra/jpackage.asc
- Install the vle2 metapackage.
yum install vle2-ui
This will install all required packages for a VL-e PoC User Interface.
- If you also wish to install the packages from the VL-e
contrib
section (e.g. mono
) then type
yum install vle2-contrib
To install the gLite grid middleware, your best chance of success is to download
and run the yaim-install-ui script.
This can be done before or after installing the PoC, because they are independent.
The yaim-install-ui script will install a User Interface type node, which is what most people want anyway. If you are really sure you want something else, see the
installation documentation for gLite. For RHEL3, that is
gLite 3.0;
for RHEL4, it can be found at
gLite 3.1.
- When you have an existing installation of the PoC R1, you can still install PoC R2.
This will not replace the R1 installation, because R2 is made to exist side-by-side
with the original. The only thing that changes is the default path, because the
PoC R1 environment settings script
/etc/profile.d/vle.sh
will have
been removed (due to conflicts with the R2 environment settings).
To use PoC R1 after installing R2, you therefore need to load a modulefile called
vle/1
, by typing
module load vle/1
By loading this module all environment settings for the PoC R1 distribution are
restored.
If any of the above procedures fail, please report this to
vle-pfour-team@lists.vl-e.nl
or
grid.support@nikhef.nl.