Tags:
, view all tags

VOMS: How to restore a VO on a slave server

If something goes wrong with a slave VOMS server and nothing else you can try, you have to restore the database on the slave. For example, consider to have a problem with argo VO database.

* Delete the VO (including the database)

/usr/sbin/voms-admin-configure.py remove --undeploy-database --vo=argo

* Re-create the VO

/usr/sbin/voms-admin-configure.py install --vo=argo --dbtype mysql

* Start the VO

/etc/init.d/voms-admin start argo

* Configure the replica (assuming that your /etc/my.cnf is OK)

/root/voms-scripts/next_replicas.sh --master-db=voms_argo --db=voms_argo

* Restart the VO

/etc/init.d/voms restart argo

-- SergioTraldi - 2012-01-04

Edit | Attach | PDF | History: r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r1 - 2012-01-04 - SergioTraldi
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platformCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback