Sorry, forgot the cover letter here. It reads as follows.


Avoid races in cluster destruction

With jobs as processes, running jobs can interfer with cluster
destruction: during the time the LUClusterDestroy job finishes
and 'gnt-cluster destroy' really cleans up the cluster, they
can start running again. To avoid this situation, we make
WConfD take over the BGL so that parallel jobs do not do anything
after the LUClusterDestroy job finished; they will clean up themselfes,
once their job file is deleted.

To make things worth, the watcher may start any stopped daemons.
So, to avoid wconfd starting again after it was terminated by
'gnt-cluster destroy' we also render the cluster into a no-master
state; in this way, wconfd will not win the voting and hence no
restart.





-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to