Mujtaba, Sayed Mohammed
Sayed.Mujtaba at in.unisys.com
Fri Jan 9 02:27:23 MST 2009
I have already done that set up for ssh keys and able to login/ssh from
VM1 to VM2 and vice versa but still problem exists and also I tried
in place of external/ ssh but no effects...
From: linux-ha-bounces at lists.linux-ha.org
[mailto:linux-ha-bounces at lists.linux-ha.org] On Behalf Of Dominik Klein
Sent: Friday, January 09, 2009 1:23 PM
To: General Linux-HA mailing list
Subject: Re: [Linux-HA] STONITH
Mujtaba, Sayed Mohammed wrote:
> Hi ,
> I am using heartbeat STONITH (external ssh ) for fencing nodes in
> of application failover . Set up is like this (I am using heartbeat
ssh stonith is just meant for testing and not supported or suggested for
any kind of production use.
> I am using two VMs on two different host machines say VM1 on host
> machine1 and VM2 on host machine 2. My desired configuration is such
> that when some application fails on VM1(of host machine 1) then
> host machine 2) should fence VM1 but it is failing and throwing
> Jan 8 12:28:52 p7pv2 stonithd: : info: Failed to STONITH node
> p6pv2 with one local device, exitcode = 5. Will try to use the next
> local device.
> My question is whether fencing (STONITH external/ssh) is supported if
> VMs are on different different host machines? Or it expects both VMs
> be on same host machines ?
Whether the node is a VM or not and whether VMs are on the same host
should not matter. Are you able to login from VM1 to VM2 and vice versa?
Iirc, you need to setup ssh keys for root in order for ssh stonith to
Linux-HA mailing list
Linux-HA at lists.linux-ha.org
See also: http://linux-ha.org/ReportingProblems
More information about the Linux-HA