On 2008-08-12T11:53:31, "Gokak, Arun Madhukar" <[EMAIL PROTECTED]> wrote:
> Hello list,
> I have setup two nodes cluster on vmware workstation (windows)
> and configured two virtual network interfaces for heartbeat
> communication.
> I want to reboot the node if any one of its virtual NIC is made down
> (equivalent to n/w cable disconnect).
> I tried this by configuring ssh stonith but every time this stonith
> script will try to use ip address corresponding to the hostname (uname
> -n), if the NIC corresponding to that address is down then node can't be
> stonithed.
In virtualized cluster environments (that is, clustering at the guest
level), you would need a STONITH script to talk to the hypervisor
instead (requiring you to first locate the physical node on which the
virtual DomU runs on), or if the physical node is unavailable, fence the
physical node.
This is not currently possible.
The right solution is
- Run Linux-HA/Pacemaker at the hypervisor layer as well, configured for
physical stonith
- Have the stonith plugin in the guest call out to the hypervisor layer,
setting the target_role for the guest-to-be-fenced to "stopped" and
wait until it has reached that state.
The ssh stonith script cannot do this.
Regards,
Lars
--
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems