-
Notifications
You must be signed in to change notification settings - Fork 0
ClientInstallation
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.
Download the dirac-install script from here:
wget -O dirac-install -np https://github.com/DIRACGrid/DIRAC/raw/master/Core/scripts/dirac-install.py --no-check-certificate chmod +x dirac-install
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 vo.formation.idgrilles.fr:
./dirac-install -V vo.formation.idgrilles.fr source bashrc
The above command will download also produce defaults-vo.formation.idgrilles.fr.cfg file which contains the Instalation default settings. Check with your VO managers if this mode of installation is available.
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-vo.formation.idgrilles.fr.cfg
When you run this command for the first time you might see some errors messages about a failure to access DIRAC services if you have not previously created a valid proxy:
Executing: /opt/dirac/DIRAC/Core/scripts/dirac-configure.py defaults-vo.formation.idgrilles.fr.cfg Checking DIRAC installation at "/opt/dirac" No user proxy available Create one using /opt/dirac/scripts/dirac-proxy-init and execute again with -F option After creating a proxy with *proxy-init* command, just repeat the *dirac-configure* command once again with the *-F* option as requested:: dirac-configure -F defaults-vo.formation.idgrilles.fr.cfg
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 vo.formation.idgrilles.fr
You can also run the dirac-install giving the exact version of the DIRAC software, for example:
dirac-install -r v5r13p2 -V vo.formation.idgrilles.fr