next up previous
Next: Adding authorization plugins Up: Guide to LCAS Previous: Installation

Subsections

Configuration

edg-gatekeeper

The edg-gatekeeper is configurable with a few more command line options in addition to the normal globus-gatekeeper options: The globus.conf file (usually residing in the /etc directory) contains the configuration parameters for the globus software. The gatekeeper init.d script uses this file to to configure the edg-gatekeeper. The following lines were added/modified in /etc/globus.conf:
[common]
[...]
[gatekeeper]
[...]
globus_gatekeeper=/opt/edg/sbin/edg-gatekeeper
extra_options="-lcas_etc_dir /opt/edg/etc/lcas/ -lcasmod_dir /opt/edg/lib/lcas/ -lcas_db_file lcas.db -lcmaps_etc_dir /opt/edg/etc/lcmaps/ -lcmapsmod_dir /opt/edg/lib/lcmaps -lcmaps_db_file lcmaps.db"
The globus_gatekeeper= line gives the path of the gatekeeper to be used and the extra_options= line the gatekeeper options to be added.

LCFG configuration:
The globus.conf file can be created using the globus LCFG object contained in package edg-lcfg-globuscfg. The extra lines for the configuration files have to be specified in an LCFGng resource file in the way that is shown in the Computing Element resource file ComputingElement-cfg.h.

LCAS

The LCAS reads its configuration, in particular the plugins that it should load, from the file lcas.db. The format of this file is shown in this example. For now only lines containing an entry for the name of a plugin (i.e. pluginname="<path>") are allowed. The arguments the plugin requires are specified as pluginargs="<arguments>" on the same line.
If no absolute path is specified for the plugin module, the LCAS will search for it in the following directories: (in order of appearance) The three standard authorization plugins each have their own configuration database:

LCFG configuration:
The LCAS configuration files (except for the voms plugin policy file) can also be created using the LCAS LCFG object contained in package edg-lcfg-lcas. The lines for the configuration files have to be specified in an LCFG resource file in the way that is shown in the Computing Element resource file ComputingElement-cfg.h. One should be careful when specifying asterixes and double quotes. The VOMS authorization file can be the same file as the vomapfile and groupmapfile from LCMAPS or can be created from those by the command edg-lcas-voms2gacl.


next up previous
Next: Adding authorization plugins Up: Guide to LCAS Previous: Installation
Martijn Steenbakkers, Tuesday Sep 23 2003