dk at in-telegence.net
Fri Jan 9 00:53:17 MST 2009
Mujtaba, Sayed Mohammed wrote:
> Hi ,
> I am using heartbeat STONITH (external ssh ) for fencing nodes in case
> 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 VM2(of
> host machine 2) should fence VM1 but it is failing and throwing messages
> 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 to
> 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 work.
More information about the Linux-HA