[ClusterLabs] VirtualBox : an improved OCF agent
kgaillot at redhat.com
Thu Oct 4 10:19:55 EDT 2018
On Thu, 2018-10-04 at 13:35 +0300, Ioannis Ioannou wrote:
> Hello to all,
> This is the first time I use HA on Linux. I'm still learning, and I
> it a lot.
> I was interested to a active/passive system that can support virtual
> machines with live migration. For various reason I prefer VirtualBox
> the hypervisor.
> I used an existing agent that I found here:
> https://forums.virtualbox.org/viewtopic.php?f=7&t=35372, improved it
> I would like to share it.
> It is now more robust and ocf compliant and supports live migration
> teleportation in VBox's terminology). I'm testing it one week now on
> Debian Stretch and seems stable enough for production.
> The assumptions in order to be used:
> 1) Both nodes should mount the same filesystem, the same time (ie
> cluster, nfs, and so on). I used glusterfs and works like a charm. I
> VM settings and images on it.
> 2) Both nodes should have reasonable similar hardware - close enough
> that teleportation can work - check VirtualBox's documentation
> teleportation for this.
> 3) Both VMs should have the same settings- if you put the settings
> the common filesystem as I did, then it is easy: create the VM on
> node, just add it on the other.
> 4) SSH keys should be exchanged between nodes. You see, migrate_to
> should be able to handle both nodes in order live migration
> (teleporting) to work.
> 5) Teleportation works by putting the receiving node listening on a
> - by default 6000. Ensure that the port is correct and accessible
> the other node.
> Any comments are more than welcomed
> John (aka Ioannis)
That's awesome. If you can find the original author and get agreement
to put it under an open source license, it would be a great addition to
the resource-agents package.
Ken Gaillot <kgaillot at redhat.com>
More information about the Users