Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Using a mangeable switch as a fencing device

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


Arnaud.Gomes at ircam

Nov 5, 2009, 12:15 AM

Post #1 of 4 (211 views)
Permalink
Using a mangeable switch as a fencing device

Hi,

I am currently designing a pacemaker-based cluster and trying to figure
out what hardware I need for fencing.

My nodes will be connected through a manageable ethernet switch (a Cisco
Catalyst 3750 stack if that matters). I guess it would be relatively
easy to fence a node by telnetting to the switch and shutting down the
relevant port(s).

Has anyone ever tested this kind of scenario? Are there any pitfalls to
be aware of?

--
Arnaud
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Nov 5, 2009, 1:41 AM

Post #2 of 4 (190 views)
Permalink
Re: Using a mangeable switch as a fencing device [In reply to]

Hi,

On Thu, Nov 05, 2009 at 09:15:04AM +0100, Arnaud Gomes-do-Vale wrote:
> Hi,
>
> I am currently designing a pacemaker-based cluster and trying to figure
> out what hardware I need for fencing.
>
> My nodes will be connected through a manageable ethernet switch (a Cisco
> Catalyst 3750 stack if that matters). I guess it would be relatively
> easy to fence a node by telnetting to the switch and shutting down the
> relevant port(s).

Such fencing is not currently supported, i.e. all our stonith
plugins support various power management devices. That doesn't
mean that it's not possible to implement this kind of plugin.

Thanks,

Dejan

> Has anyone ever tested this kind of scenario? Are there any pitfalls to
> be aware of?
>
> --
> Arnaud
> _______________________________________________
> Linux-HA mailing list
> Linux-HA[at]lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Arnaud.Gomes at ircam

Nov 5, 2009, 10:58 AM

Post #3 of 4 (184 views)
Permalink
Re: Using a mangeable switch as a fencing device [In reply to]

Hi,

Dejan Muhamedagic <dejanmm[at]fastmail.fm> writes:

> Such fencing is not currently supported, i.e. all our stonith
> plugins support various power management devices. That doesn't
> mean that it's not possible to implement this kind of plugin.

Thanks for your answer.

I am aware of the currently supported STONITH devices. I guess what I
wanted to know is, is it possible to develop such a fencing plugin? As
far as I can tell, there is nothing in the current infrastructure that
would prevent this plugin from working, is there?

It does not look particularly difficult if one has some time to write
the plugin properly, but I may be underrating things a bit here (as in:
I am a sysadmin, not a coder, and I am not very good at assessing the
difficulty of writing this kind of tool). I might give it a try if I can
find some time, but I can't guarantee I will end up with anything
usable.

--
Arnaud
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Nov 6, 2009, 1:02 AM

Post #4 of 4 (178 views)
Permalink
Re: Using a mangeable switch as a fencing device [In reply to]

Hi,

On Thu, Nov 05, 2009 at 07:58:35PM +0100, Arnaud Gomes-do-Vale wrote:
> Hi,
>
> Dejan Muhamedagic <dejanmm[at]fastmail.fm> writes:
>
> > Such fencing is not currently supported, i.e. all our stonith
> > plugins support various power management devices. That doesn't
> > mean that it's not possible to implement this kind of plugin.
>
> Thanks for your answer.
>
> I am aware of the currently supported STONITH devices. I guess what I
> wanted to know is, is it possible to develop such a fencing plugin? As
> far as I can tell, there is nothing in the current infrastructure that
> would prevent this plugin from working, is there?

No. The rules are simple: http://wiki.linux-ha.org/STONITH
though in this case the required RESET command obviously won't
make much sense.

> It does not look particularly difficult if one has some time to write
> the plugin properly, but I may be underrating things a bit here (as in:
> I am a sysadmin, not a coder, and I am not very good at assessing the
> difficulty of writing this kind of tool). I might give it a try if I can
> find some time, but I can't guarantee I will end up with anything
> usable.

I think that you mentioned that the switch supports telnet
sessions. There are already two plugins implemented in Python
(external/ibmrsa-telnet and external/dracmc-telnet) which may
be a good starting point.

Thanks,

Dejan

> --
> Arnaud
> _______________________________________________
> Linux-HA mailing list
> Linux-HA[at]lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.