472 | | * BDII_TYPE : can be `resource`, `site`, `top`. `top` is the default, except if deprecated variable `SITE_BDII` is true. |
473 | | * BDII_SUBSITE : name of the BDII sub-site. Ignored on any BDII except `site`. Must be empty for the main site BDII (default) or defined to the sub-site name if this is a subsite BDII. |
474 | | * BDII_USE_FCR : set to false to disable use of FCR (Freedom of Choice) on top-level BDII or to true to force its use on other BDII types. |
475 | | * BDII_FCR_URL : use a non standard source for FCR. |
476 | | * BDII_URLS (site BDII only) : nlist of URLs corresponding to the Globus MDS or resource BDII URLs to aggregate on the site BDII. Key is a arbitrary name (like `CE`, `DPM1`...) and value is the URL. See [source:templates/trunk/sites/example/site/pro_lcg2_config_site.tpl site configuration] example. |
| 472 | * `BDII_TYPE` : can be `resource`, `site`, `top`. `top` is the default, except if deprecated variable `SITE_BDII` is true. |
| 473 | * `BDII_SUBSITE` : name of the BDII sub-site. Ignored on any BDII except `site`. Must be empty for the main site BDII (default) or defined to the sub-site name if this is a subsite BDII. |
| 474 | * `BDII_USE_FCR` : set to false to disable use of FCR (Freedom of Choice) on top-level BDII or to true to force its use on other BDII types. |
| 475 | * `BDII_FCR_URL` : use a non standard source for FCR. |
| 476 | |
| 481 | |
| 482 | === Configuring BDII URLs on a site BDII === |
| 483 | |
| 484 | A site BDII aggretates information published by several other BDIIs, typically resource BDIIs or subsite BDIIs. List of resources to aggregate are specicified by variable `BDII_URLS`. This variable is typically defined in site parameters, [source:templates/trunk/sites/example/site/pro_lcg2_config_site.tpl pro_lcg2_config_site.tpl], and is ignored on all nodes except a site (or combined) BDII. |
| 485 | |
| 486 | Variable `BDII_URLS` is nlist of URLs corresponding to the Globus MDS or resource BDII URLs to aggregate on the site BDII. Key is a arbitrary name (like `CE`, `DPM1`...) and value is the URL. See [source:templates/trunk/sites/example/site/pro_lcg2_config_site.tpl site configuration] example. |
| 487 | |
| 488 | `BDII_URLS` can contain an entry for a ''combined BDII''. When configuring BDII on this server, this entry will be transparently removed. This allows to move site BDII server to another machine already running a resource BDII without editing `BDII_URLS`. |
| 489 | |
| 490 | ''Note : mds-vo-name on a combined BDII is the site or subsite name (not `resource`), even for local services.'' |
| 491 | |
| 492 | ''Restriction : each BDII in BDII hierarchy '''must''' use a different `mds-vo-name`. Thus it is not possible to use site BDII `mds-vo-name` in `BDII_URLS` or this will be considered as a loop and the entry will be ignored.'' |
| 493 | |
| 494 | === Configuring a subsite BDII === |
| 495 | |
| 496 | It is possible to run a hierarchy of site BDII. This is particularly useful for a site made of several autonomous entities as it allows each subsite to export a unique access point to subsite resources. Each subsite manage the actual configuration of its subsite BDII and all the subsites are then aggregated by the site BDII. GRIF is a site example of such a configuration. |
| 497 | |
| 498 | A subsite BDII is a site BDII where variable `BDII_SUBSITE` has been defined to a non empty value. This value is appended to site name to form the `mds-vo-name` for the subsite. |