Whole site: How to remove a VO

Prepare the configuration files

Consider for example to enable the VO ”<voname>”.

Site configuration files structure

Please pay attention to the general information on site configuration files structure described in INFNGRID YAIM configuration files.

You have to handle the following configuration files.

<your-site-info.def> (mandatory)

  • Remove <voname> from VOS and <QUEUE>_GROUP_ENABLE variables.
  • Remove any other reference to ”<voname>” VO.

services/ and nodes/ files (mandatory)

  • Remove from your services/ or nodes/ files any reference to ”<voname>” VO.

<your-users.conf> (optional)

  • Remove from <your-users.conf> the users for the ”<voname>” VO.

<your-groups.conf> (optional)

  • Remove from <your-groups.conf> the VOMS FQANs for the ”<voname>” VO.

Manual steps

DPM (mandatory)

  • In order to remove ”<voname>” VO from the information published by your DPM SE, you have to manually remove the DPNS home directory (<domain> is your site domain, e.g. pd.infn.it):
# . /opt/glite/etc/profile.d/grid-env.sh
# /opt/lcg/bin/dpns-rm -r /dpm/<domain>/home/<voname>

In case of problem on removing you have to previously act on database with the following MySQL commands:

mysql> use cns_db;
mysql> delete from Cns_file_replica where sfn like '%<voname_storage_area_path>%;

where ”<voname_storage_area_path>” is e.g. /flatfiles/SE00/<voname>.

General (optional)

If you want to clean your nodetypes, you may perform the following optional steps (in any case the ”<voname>” will not be published anymore by your site):

  • Remove the storage areas (on the SEs) related to ”<voname>” VO.
  • Remove the users (and their homes) as explained here at point 5).

Configure your nodetypes

  • In order to disable the removed ”<voname>” VO on your site you have to reconfigure your nodetypes:
# /opt/glite/yaim/bin/ig_yaim -c -s <confdir>/<your-site-info.def> -n <profile>
doc/use_cases/removing-vo.txt · Last modified: 2010/04/09 15:18 by dallafina
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0