120 likes | 258 Views
Rough notes Steven Young NGS Surgery 3 June 2009. LCAS/LCMAPS notes. What is LCAS/LCMAPS?. LCAS: Local Centre Authorisation Service LCMAPS: Local Credential MAPping Service It is a middleware which enables grid services to make complex authorisation decisions
E N D
Rough notes Steven Young NGS Surgery 3 June 2009 LCAS/LCMAPS notes
What is LCAS/LCMAPS? • LCAS: Local Centre Authorisation Service • LCMAPS: Local Credential MAPping Service • It is a middleware which enables grid services to make complex authorisation decisions • A set of plug-in libraries which allow Globus authorisation libraries to call out to the separate services
History • First there was pure Globus grid-mapfile account mappings • Then there was gridmapdir pool account patches • Now LCAS/LCMAPS plugins for VOMS support
History cont. • NGS needed something better than the gridmapdir pool account patches to allow for correct VO/project accounting to work. • gLite had LCAS/LCMAPS plugins, but they didn't work with the “vanilla” Globus libraries from VDT. • Patches were developed to the LCAS/LCMAPS gLite plugins to work with “vanilla” Globus (Work done by Robert Frank)
More information • There are various pages on the NGS wiki: • http://wiki.ngs.ac.uk/index.php?title=LCAS_LCMAPS • http://wiki.ngs.ac.uk/index.php?title=LCAS/LCMAPS_Overview • Prerequisites for installation • VOMS support • Need to set up pool accounts (and groups)
VOMS support • vomsdir/ • contains certificates for supports VOMS servers • glite/etc/vomses/ • contains VOMS configuration files for supported VOMS servers • Some tests: • voms-proxy-init -voms ngs.ac.uk • voms-proxy-info -all • Voms-proxy-from-proxy ngs.ac.uk
LCAS/LCMAPS installation • The current installation method is thengs-vdt-installer script which includes LCAS/LCMAPS download and install • There has been talk of having LCAS/LCMAPS installers happen separately • Once you've installed the plugins you should sort out their configuration • $GSI_AUTHZ_CONF environment variable points to a configuration file which defines the globus_mapping call out • See http://wiki.ngs.ac.uk/index.php?title=LCAS/LCMAPS_Overview
LCAS configuration • LCAS is the plugin that makes local authorization decisions. Important functionality is being able to ban users. • glite/etc/lcas/lcas.dbThis text file points to various modules and defines arguments to the modules, eg. lcas_userban.mod and a ban_users.db
LCMAPS configuration • LCMAPS provides functionality for mapping users according to the credential they present, ie. VOMS attributes asserting membership of a specific VO. • glite/etc/lcmaps/lcmaps.dbThis text file defines policies. See http://wiki.ngs.ac.uk/index.php?title=LCAS/LCMAPS_Overview and http://wiki.ngs.ac.uk/index.php?title=LCMAPS_Plug-ins
Inca Testing • Inca has a test for LCAS/LCMAPS • The LCAS/LCMAPS test requires support for the following VOMS group."/monitoring.ngs.ac.uk/lcas_lcmaps/*" • This group needs to be mapped to a different set of pool accounts than the pool accounts for the ngs.ac.uk VO
Problems • Loads more things can go wrong with LCAS/LCMAP. VOMS support can be tricky. It is good to have a bit of understanding to debug things • LCAS/LCMAPS doesn't work with Globus WS • Westminster (I think) have reverted to multiple mappings in their grid-mapfile to support GT4 WS requirements • Standard locations for configuration: some things are in /etc/grid-security/, some things are in $VDT_LOCATION/glite. VOMS configuration can also be in multiple places.
Problems cont. • Problems with training courses: Does training material use voms-proxy-* methods and VOMS/LCAS/LCMAPS authorisation yet? • Question about status of VDT 1.10.1/LCAS/LCMAPS installer? • LCAS/LCMAPS Inca test isn't included in a summary page. Are any gLite sites willing to be tested with the LCAS/LCMAPS Inca test? • Logging for LCAS/LCMAPS seems to be excessive: Can log level be reduced?