Skip to content
atsareg edited this page Aug 24, 2012 · 12 revisions

1. Client Installation

The DIRAC client installation procedure consists of several steps. This example is destinated for tutorials. For more information about various options of installing DIRAC Client see the Getting Started guide.

1.1 Install script

Download the dirac-install script from here:

wget -O dirac-install -np  https://raw.github.com/DIRACGrid/DIRAC/master/Core/scripts/dirac-install.py  --no-check-certificate
chmod +x dirac-install

1.2 Installation

In most cases you are installing the DIRAC client to work as a member of some particular user community or, in other words, Virtual Organization (VO). The managers of your VO usually prepare default settings to be applied for the DIRAC client installation. In this case the installation procedure reduces to the following assuming the name of the installation is gridfr:

./dirac-install -V gridfr
source bashrc

The above command will download also produce defaults-gridfr.cfg file which contains the installation default settings. Check with your VO managers if this mode of installation is available and what is the name of the installation to use ( instead of gridfr ).

1.3 Configuration

Once the client software is installed, it should be configured in order to access the corresponding DIRAC services. In order to be able to access the Configuration Server from your installation you need to create a valid proxy:

dirac-proxy-init

You will be prompted for your password, a proxy will be created. You will get an output like:

Generating proxy...
Enter Certificate password:
DN /DC=es/DC=irisgrid/O=ecm-ub/CN=Ricardo-Graciani-Diaz is not registered

Since you are not yet connected to any DIRAC installation, the command reports that the DN is not registered. If you have not yet registered in the DIRAC installation you plan to use, you can use this output to contact the responsible of the installation. The minimal necessary configuration of your client is done by the following command:

dirac-configure defaults-gridfr.cfg

Now the client installation is complete. You can now generate your user proxy with:

dirac-proxy-init -g dirac_user

where the dirac_user is the group in which you are registered in DIRAC.

1.4 Updating the client installation

The client software update when a new version is available is simply done by running again the dirac-install command as in p.1.2. In general the responsible of your DIRAC installation should update the default settings so it should be enough with:

./dirac-install -V gridfr

You can also run the dirac-install giving the exact version of the DIRAC software, for example:

dirac-install -r v6r4p4 -V gridfr

Clone this wiki locally