78 | | === Adding a new VO === |
| 78 | === Defining Site Specific Parameters for a VO === |
| 79 | |
| 80 | In addition to defining site specific defaults for VO parameters, it is possible to define site specific parameters for a specific VO. These parameters '''override''' standard parameters for the VO. |
| 81 | |
| 82 | This is done in much the same way as defining site specific defaults. Variable `VOS_SITE_PARAMS` must be defined as a nlist with an entry corresponding the VO name (as used in `VOS` variable). The value must be the name of a structure template. This template can define or redefine any properties supported to define value parameters. |
| 83 | |
| 84 | For example, to define a site specific RB for VO Alice, create a template `vo/site/alice.tpl` in your site directory like : |
| 85 | {{{ |
| 86 | structure template vo/site/alice; |
| 87 | |
| 88 | 'lbhost' = 'myrb.example.org:9000'; |
| 89 | 'nshost' = 'myrb.example.org:7772'; |
| 90 | }}} |
| 91 | |
| 92 | and add the following entry in `VOS_SITE_PARAMS` in your `pro_lcg2_config_site.tpl` : |
| 93 | |
| 94 | variable VOS_SITE_PARAMS = nlist ('alice', 'vo/site/alice', |
| 95 | ); |
| 96 | |
| 97 | |
| 98 | === Adding a New VO === |