Skip to content

ClientConfiguration

Andrei Tsaregorodtsev edited this page Jan 26, 2015 · 9 revisions

3. Client Configuration

Once the client software is installed, it needs to be configured to access the corresponding DIRAC services. In order to be able to access the DIRAC configuration server from your installation you need first to create a valid proxy:

dirac-proxy-init -x

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

Generating proxy...
Enter Certificate password:

Note that your certificate must be already installed in your system as described in https://github.com/DIRACGrid/DIRAC/wiki/AuthentificationAuthorization section.

The minimal necessary configuration of your client is done by the following command:

dirac-configure defaults-gridfr.cfg

The argument defaults-gridfr.cfg is the name of the configuration file downloaded to your installation directory (say $HOME/DIRAC) when you installed the DIRAC client. The name of this file may vary, so check what configuration file you actually have.

Now your DIRAC client is configured and ready to use. You can now generate your user proxy with:

dirac-proxy-init

One can look up the details of the newly created proxy with the following command:

$ dirac-proxy-info

subject      : /O=GRID-FR/C=FR/O=CNRS/OU=CPPM/CN=Andrei Tsaregorodtsev/CN=proxy
issuer       : /O=GRID-FR/C=FR/O=CNRS/OU=CPPM/CN=Andrei Tsaregorodtsev
identity     : /O=GRID-FR/C=FR/O=CNRS/OU=CPPM/CN=Andrei Tsaregorodtsev
timeleft     : 23:29:17
DIRAC group  : dirac_user
path         : /tmp/x509up_u1885
username     : atsareg
properties   : NormalUser

If you are going to use COMDIRAC extensions, please follow this link and go to configuration subsection:

https://github.com/DIRACGrid/COMDIRAC/wiki/Client-Installation-and-Configuration

Clone this wiki locally