[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Re: How do you verify/test fencing?



Unplug the heartbeat cable.

On Wed, May 7, 2008 at 6:19 AM, Chris Picton <lists tangent co za> wrote:
On Tue, 06 May 2008 17:35:04 -0400, Lon Hohberger wrote:

> On Tue, 2008-05-06 at 14:37 -0600, Gary Romo wrote:
>>
>> Is there a command that you can run to test/veryify that fencing is
>> working properly?
>> Or that it is part of the fence if you will? I realize that the primary
>> focus of the fence is to shut off the other server(s).
>> However, when I have a cluster up, how can I determine that all of my
>> nodes are properly fenced?
>
>
> * For testing whether or not fencing works, stop the cluster software on
> all the nodes and run 'fence_node <nodename>' (where nodename is a host
> you're not working on).
>
> * For testing whether or not a node will be fenced as a matter of
> recovery, try 'cman_tool services'.  If that node's ID isn't in the
> "fence" section, it will not be fenced if it fails.

These two step will not test that a node will be fenced automatically if
it is malfunctioning.

What can be done to a cluster node, to test that it will be automatically
fenced if there is a problem.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]