Difference between revisions of "Set up gLExec with SCAS"

From PDP/Grid Wiki
Jump to navigationJump to search
Line 17: Line 17:
 
== Configuration with YAIM ==
 
== Configuration with YAIM ==
  
Variables to set in siteinfo/services/glite-glexec_wn:
+
Please see the [https://twiki.cern.ch/twiki/bin/view/EGEE/YAIM YAIM guide] for general instructions on using YAIM, and [https://twiki.cern.ch/twiki/bin/view/LCG/Site-info_configuration_variables#GLEXEC_wn the list of variables] that need to be set in site-info.def, or services/glite-glexec_wn.
 +
 
 +
Important variables:
  
 
  GLEXEC_WN_OPMODE=setuid
 
  GLEXEC_WN_OPMODE=setuid
 
  GLEXEC_WN_SCAS_ENABLED=yes
 
  GLEXEC_WN_SCAS_ENABLED=yes
 
  SCAS_ENDPOINTS="https://scas1.example.com:8443 https://scas2.example.com:8443"
 
  SCAS_ENDPOINTS="https://scas1.example.com:8443 https://scas2.example.com:8443"
 +
 +
In this example there are two endpoints, that gLExec will use in a randomized fashion to even the load. It will try all the endpoints in case the first one doesn't respond.
 +
 +
After setting the variables, running YAIM is usually done as follows:
 +
 +
/opt/glite/yaim/bin/yaim -c -s site-info.def -n TORQUE_client -n WN -n GLEXEC_wn
  
 
== Manual configuration ==
 
== Manual configuration ==

Revision as of 16:26, 29 April 2010

Setting up gLExec on the worker node to query SCAS for authorization decisions is preferably done through YAIM, but some set-ups require manual configuration as outlined below.

This page is part of the guide on HOWTO set up gLExec on the worker node.

Installation

For the installation and configuration of SCAS, see the gLite page on SCAS[1].

For the installation of gLExec on the worker node, see the release notes and the installation manual.

Typical gLite installation is done with

wget -O /etc/yum.repos.d/glite-GLEXEC_wn.repo http://grid-deployment.web.cern.ch/grid-deployment/glite/repos/3.2/glite-GLEXEC_wn.repo
yum install glite-GLEXEC_wn


Configuration with YAIM

Please see the YAIM guide for general instructions on using YAIM, and the list of variables that need to be set in site-info.def, or services/glite-glexec_wn.

Important variables:

GLEXEC_WN_OPMODE=setuid
GLEXEC_WN_SCAS_ENABLED=yes
SCAS_ENDPOINTS="https://scas1.example.com:8443 https://scas2.example.com:8443"

In this example there are two endpoints, that gLExec will use in a randomized fashion to even the load. It will try all the endpoints in case the first one doesn't respond.

After setting the variables, running YAIM is usually done as follows:

/opt/glite/yaim/bin/yaim -c -s site-info.def -n TORQUE_client -n WN -n GLEXEC_wn

Manual configuration