-
Notifications
You must be signed in to change notification settings - Fork 0
Site Management
The most common task for DIRAC Administrators is to manage the sites available to submit pilot jobs. This task includes:
- Add new sites
- Allow sites
- Ban Sites
- Update Sites
DIRAC sites names are composed by three parts separated by points:
1.- Type of site in uppercase, generally LCG 2.- Site or Lab name in uppercase, for example: CPPM 3.- Country abreviation in lowercase, for example: frDIRAC site name will be: LCG.CPPM.fr
All the attributes used to configure the sites can be found _here:http://diracgrid.org/files/docs/AdministratorGuide/Configuration/ConfigurationReference/Resources/Sites/index.html?highlight=sites
3.1.1 Using command line
The command used to add a site is:
dirac-admin-add-site [option|cfgfile] ... DIRACSiteName GridSiteName CE [CE] ...Arguments:
DIRACSiteName: Name of the site for DIRAC in the form GRID.LOCATION.COUNTRY (ie:LCG.CERN.ch) GridSiteName: Name of the site in the Grid (ie: CERN-PROD) CE: Name of the CE to be included in the site (ie: ce111.cern.ch)For example:
dirac-admin-add-site LCG.CPPM.fr CPPM marce01.in2p3.frWith this command DIRAC is going to create the site structure where the site can be configured, the others attributes of the site can be added using DIRAC Web Portal.
3.1.2 Using DIRAC Web Portal
Following the links:
Resources -> Sites -> <site_type> (LCG for example)Using the mouse right button:
Create optionAdd the complete site name (LCG.CPPM.fr for example)
After add the attributes to define completely the site adding the CEs subsection and defining each queue. Some examples depending of Compute Element type are
showed in this _page: http://diracgrid.org/files/docs/AdministratorGuide/DIRACSites/ComputingElements/index.html?highlight=sites
To run job pilots in a site is necessary first allow the site to the list of sites than are available in site mask. This task can be done only using command line scripts.:
dirac-admin-allow-site [option|cfgfile] ... Site CommentArguments:
Site: Name of the Site Comment: Reason of the actionFor example:
dirac-admin-allow-site LCG.CPPM.fr 'Marseille - FRANCE'
If a site is not responding as expected, pilots jobs are aborting, or presenting problems the site must be banned of site mask.
This can be done using the command below:
dirac-admin-ban-site [option|cfgfile] ... Site CommentArguments:
Site: Name of the Site Comment: Reason of the actionFor example:
dirac-admin-ban-site LCG.CPPM.fr "Pilots aborting"
An agent called CE2CSAgent can be installed, this agent is going to check the availability of new sites and is going to send an e-mail to the VO administrator
with the information, but also is going to check the information available for the sites and is going to update the values of attributes than changed.
The other way is manually using DIRAC web portal, if the administrator knows the new values can modifying the attributes values of the sites.