On Thu, Oct 11, 2012 at 04:46:48PM +0200, Dejan Muhamedagic wrote: > Hi Owen, > > On Wed, Oct 10, 2012 at 10:07:41AM +0100, Owen Le Blanc wrote: > > I attach a patch for the stonith agent external/libvirt. This agent > > was failing on our machines because for rebooting machines it tried to > > stop and then start them, which doesn't work on our system, while > > rebooting them does. We have cluster glue version 1.0.8-2 installed > > on a Debian system, with libvirt 0.9.12-3. > > It would be good to have both, i.e. on-off and reboot method. > With a parameter which would specify the method. I wonder why > didn't the author put reboot in the first place. Holger?
I modified the patch and introduced a reset_method parameter. It defaults to power_cycle, so the default behaviour remains the same. Many thanks for the patch! Cheers, Dejan > Cheers, > > Dejan > > P.S. Moving discussion to linux-ha-dev. > > > > > -- Owen Le Blanc > > > > _______________________________________________ > > Pacemaker mailing list: [email protected] > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > > Project Home: http://www.clusterlabs.org > > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > > Bugs: http://bugs.clusterlabs.org > > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
