[Pacemaker] some questions about STONITH

Masopust, Christian christian.masopust at siemens.com
Tue Nov 19 14:20:43 EST 2013


Hi Lars,

at this point I'd like to jump in as I'm completely new to fencing :)

My question is: which node exactly does the fencing? 

Thanks a lot,
christian 

> -----Ursprüngliche Nachricht-----
> Von: Lars Marowsky-Bree [mailto:lmb at suse.com] 
> Gesendet: Dienstag, 19. November 2013 20:10
> An: The Pacemaker cluster resource manager
> Betreff: Re: [Pacemaker] some questions about STONITH
> 
> On 2013-11-19T23:06:04, Andrey Groshev <greenx at yandex.ru> wrote:
> 
> > > First, like digimer wrote, clearly stonith-by-ssh is useless for
> > > production since you can't fence nodes that are having 
> problems. But for
> > > testing, it's worth a try.
> > Maybe I do not quite understand correctly the term "fence"
> 
> A "fence" request is executed when a node is deemed to be in an
> untrustworthy state - when a stop has failed, or when a network error
> occurs. Note that in the last case, login via ssh is 
> obviously no longer
> possible at all.
> 
> With the new fence-topology, you could try ssh first before escalating
> to a real fencing mechanism, but why bother?
> 
> > > Note that cluster-glue actually does include an 
> external/ssh script.
> > > You're reinventing the wheel ;-)
> > I've seen your script, thanks for the example
> > But my wheels are hard! :)
> > I need authorization by key, but but I do not want to mix 
> them with /root/.ssh/...
> 
> Why not extend the existing agent rather than writing your own?
> 
> > I am indifferent what server reboot if the key matches.
> > I exactly know that the server was rebooted.
> 
> I'm not sure about the first sentence; clearly you care which 
> server is
> rebooted, namely the one the cluster wants to have rebooted 
> (or powered
> off), right? That must be a misunderstanding.
> 
> Regards,
>     Lars
> 
> -- 
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, 
> Felix Imendörffer, HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- 
> Oscar Wilde
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> 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
> 



More information about the Pacemaker mailing list