LFC Add New VO

From GridPP Wiki
Jump to: navigation, search

If you want to add support for a new VO to the LCG File Catalog after YAIM has run then,

Add the VO's Catalog Namespace Root

Use lfc-mkdir and lfc-chown to add a new directory writable by the VO in /grid/VO:

 # lfc-mkdir LFC_HOST:/grid/pheno
 # lfc-chown root:pheno LFC_HOST:/grid/pheno
 # lfc-ls -l LFC_HOST:/grid | grep pheno
 drwxrwxr-x   0 root     pheno                     0 Nov 21 22:22 pheno

Announce support for the VO in the BDII

Add the correct Glue lines to /opt/lcg/var/gip/lcg-info-generic.conf, e.g., insert,

 GlueServiceOwner: pheno
 GlueServiceAccessControlRule: pheno

Then reconfigure the GRIS using,

 # /opt/lcg/sbin/lcg-info-generic-config /opt/lcg/var/gip/lcg-info-generic.conf

The new information can be queried immediately from the GRIS, and will propagate up to your site BDII (if you configured LFC Information Publishing correctly).