Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
http://wiki.xen.org/wiki/Remus like VMWare which allows state of a VM to be replicated over a highspeed link to an other machine for failover.
And I keep reading Xen is faster than KVM, but I haven't tested that in my environment yet.
An Introduction to Full Virtualization With Xen (Linux.com)
Posted Oct 24, 2012 8:44 UTC (Wed) by robert_s (subscriber, #42402)
From what I've seen, Xen is faster than KVM about half the time, and vice versa the other half.
And it's hard to predict which will be faster for a particular workload.
Posted Oct 24, 2012 9:59 UTC (Wed) by Lennie (subscriber, #49641)
Judging by some of the other things I've seen online, KVM has gotten better and Xen and KVM seem to be getting closer in performance and I think I've even seen them supporting paravirtualisation APIs from each other.
Posted Oct 24, 2012 13:20 UTC (Wed) by cas (subscriber, #52554)
For KVM, there's plain old migration.
It's not the same as VM mirroring, but if you don't have the hardware (or the need) for completely transparent VM failover, you can do something similar with virsh save and virsh restore of a currently running VM.
The VM is paused for as long as it takes to save, transfer to another machine, and restore the VM's state.
Works well enough with shared storage (like NFS), and (i haven't tried this) might even work if you save to stdout, pipe over ssh, and then restore from stdin.
Otherwise if the VM or the server it's running on has died, DRBD or iscsi volumes or even qcow2 on NFS can be used to boot a VM on another server.
Posted Oct 24, 2012 13:50 UTC (Wed) by Lennie (subscriber, #49641)
If you want some form of failover it is usually better to have 2 VM's in proper failover configuration. In a way that fits the software involved.
But the question was why Xen, so I thought I'd mention it. :-)
Posted Oct 24, 2012 15:45 UTC (Wed) by Lennie (subscriber, #49641)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds