Skip to content

ClientConfiguration

Andrei Tsaregorodtsev edited this page Nov 12, 2013 · 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

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 being registered as a user of the the DIRAC installation used for this tutorial, you can use the output of this command and provide it to the tutorial organizers. They will take the necessary steps so you are registered as a user of the DIRAC service.

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

dirac-configure defaults-cngrid.cfg

The argument defaults-cngrid.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
Clone this wiki locally