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 Installing your credentials section. The -x flag of the command prevents it from contacting the DIRAC Configuration Service for your user profile data because your client is not yet configured to know it address. This is done with the next step.

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 depending on which DIRAC service you are going to work with, 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 COMDIRAC client configuration and go to configuration subsection.

Clone this wiki locally