SRB Access

Two different types of SRB accounts are used.


During the preliminary validation step, the SRB producer accounts must be requested by a email to augermgr @ in2p3.fr
 

Setting SRB Access Parameters

Each user must configure its UNIX account with the SRB access parameters. This step has to be done only one time per user and per site.

Note: the SRB parameters have to be set even for the Lyon accounts.

Read Access

At Lyon

Runs the init_srb_account.sh script -

% $THRONG_DIR/init_srb_account.sh  auger

This auger parameter is the name of the generic SRB account to get (the read-only SRB account).

Locally

In the first example, the local UNIX account of the user is the same than its account at Lyon. The example is given for the LAL installation. Pleases contact your local administrator for the details of the local installation.

% /exp/auger/AugerSoft/Srb/init_srb_account.sh  auger

The second example shows the case where the name of the local account is different of the Lyon one. In such a case, the name of the Lyon account must be given as second parameter.

% /exp/auger/AugerSoft/Srb/init_srb_account.sh  auger  albert

Write Access

The write access to SRB is dedicated to the storage of the simulation files. SimDb defines the target directories from the simulation parameters and selects the appropriated storage system depending of the size of the files.

The init_srb_account.sh script is used as in the previous examples. The difference is the name of the SRB account. This would be the name of the account of the user at Lyon.

At Lyon
% $THRONG_DIR/init_srb_account.sh albert
Locally
% /exp/auger/AugerSoft/Srb/init_srb_account.sh albert

SRB Usage Context

The path to the SRB commands is defined using a srb_env script. The script to use is depending of the user shell. The script must be "sourced" to be able to define the necessary environment variables in the context of the user process.

Lyon

At Lyon, the correct script is associated to the srb_env alias and is directly called using:

% srb_env
Locally

Depending of the local installation, the script can be associated to an alias or not. In this second case, the user has to select the script corresponding to its shell.

Shell SH, ZSH, KSH et BASH

% source /exp/auger/AugerSoft/Srb/srb_env.sh

Shell CSH et TCSH

% source /exp/auger/AugerSoft/Srb/srb_env.csh

These examples are given for the LAL installation. Ask your local administrator for the details of the local installation

SRB Connection

The connection to SRB is established by running Sinit at the beginning of the interactive or batch session.

At the end of the session, the Sexit command must be called.