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
Topic revision: r2 - 2012-01-05 - CristinaAiftimiei
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback