37 | | For every cluster, it is possible to customize configuration in template {{{pro_site_cluster_info.tpl}}}. As a general rule, you need to define the following properties for each cluster (value mentionned are just examples) : |
| 37 | QWG templates provide a template per machine type (CE, SE, RB, ...). They are located in {{{machine-types}}} directory and are intended to be generic templates. No modification should be needed. |
| 38 | |
| 39 | To configure a specific machine with LCG2 middleware, you just need to include the appropriate machine type template into the machine profile, after specifying a template containing the specific configuration for this particular machine with the variable {{{xxx_CONFIG_SITE}}} (look in the template for the exact name of the variable). |
| 40 | |
| 41 | Here an example for configuring a Torque based CE : |
| 67 | VO configuration is done by template {{{vo/pro_vo_config.tpl}}}. Behaviour of this template can be customized with variables. Main variables are (see the template for the full list) : |
| 68 | |
| 69 | * NODE_VO_LIST (list) : define the list of VO to initialize on current node. Default : VOS variable defined in {{{pro_lcg2_config_site}}}. |
| 70 | * NODE_VO_POOLACCOUNTS (boolean) : pool account must be created for each VO initialized. Default : true. |
| 71 | * NODE_VO_GRIDMAPDIR_CONFIG (boolean) : gridmapdir entries must be initialized for pool accounts. Default : NODE_VO_POOLACCOUNTS variable. |
| 72 | * NODE_VO_SITE_CONFIG (string) : site specific template that must be included before actually doing VO intialization. Allow for specific VO modification to default VO configuration.Default : none. |
| 73 | * NODE_VO_WLCONFIG (boolean) : initialize workload management environment for each VO. Normally enabled only on resource brokers. Default : false. |
| 74 | * NODE_VO_CREATEHOME (boolean) : create home directories for pool accounts. Default : true. |
| 75 | |
| 76 | Templates defining machine types define these variables to the value appriated for a given machine type and there should be normally no need to define these variables. |
| 77 | |