Hi,
I have a ganeti cluster with 3 vm. I can failover instance when one failed with gnt-instance failover… and migrate an instance when both nodes are running.
But how could I do an automatic failover, who detects auto when one nodes failed?
Is anybody use heartbeat? Is it possible to do this with heartbeat?
Thank you,
Best regards.
Did you add a test to the test suite that validates it works as expected ?
Cheers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkqx4FEACgkQ8dLMyEl6F2058QCfZELq7/pq+ukLuHT7ZfeoE6hk
0uwAn2MEC2W2vzR7lVm5seIkmb79JtZ4
=T59u
-----END PGP SIGNATURE-----
Ganeti doesn't have any STONITH method, which means that just because we
can't reach over the network a node, it's not necessary that the node
itself is indeed down.
Without special hardware (controllable power switches, shared storage,
etc.) it's not possible to do this in a guaranteed-safe way. And
speaking from experience, yes it can be that a node is no longer
reachable over the network but its instances are.
So what it could happen is that the watcher would restart the instance
on its secondary node, but the instance already runs on the original
node, *with the same IP and MAC*, which would be pretty difficult to
diagnose.
So we left this part (automated failover) as an “exercise for the user”.
While we do intend to slowly improve things, we don't yet have a clear
design on this.
regards,
iustin
I try to download ganeti-watcher but I don't know where to find it. Someone could tell me where I can find it and how to configure it to do an automatic failover?
Thank you !
Have a good day.
-----Message d'origine-----
De : gan...@googlegroups.com [mailto:gan...@googlegroups.com] De la part de Sp4rKY
Envoyé : jeudi 17 septembre 2009 09:16
À : ganeti
Objet : Re: automatic failover with ganeti.
ganeti-watcher is part of Ganeti (daemons/ganeti-watcher and
$prefix/sbin/ganeti-watcher after installation). It can't do automatic
failovers.
Regards,
Michael