KVM failover to another KVM server
Dan Sheffner
thesheff17 at yahoo.com
Mon May 11 16:38:37 UTC 2009
ok I now have the virtualization enabled on both machines.
I do this on vmserver05:
root at vmserver05:/etc/libvirt/qemu# /etc/init.d/libvirt-bin restart
* Restarting libvirt management daemon /usr/sbin/libvirtd [ OK ]
root at vmserver05:/etc/libvirt/qemu# virsh
Connecting to uri: qemu:///system
Welcome to virsh, the virtualization interactive terminal.
Type: 'help' for help with commands
'quit' to quit
virsh # list
Id Name State
----------------------------------
4 jeos-8.04.2test running
virsh # migrate --live jeos-8.04.2test qemu+ssh://vmserver06.ttr/system
and I try to connect to the virsh on vmserver06.ttr
root at vmserver06:/etc/libvirt/qemu# virsh
Connecting to uri: qemu:///system
Both commands seem to hang and not produce any logging. As soon as I try the migrate command on vmserver05 I cannot connect to the console on vmserver06. I have changed the log level on libvert to be debug but I don't see anything in the logs that are making this not work. I have tried with and without the /etc/libvirt/qemu/jeos-8.04.2test.xml on both machines and only on the source and have the same result as before it hangs. I'm not sure what I'm doing wrong here. Is there anymore debug info I can enable to figure out what is going on with the machine while it is trying to run the migrate command?
----- Original Message ----
From: Mark D. Foster <mark at foster.cc>
To: Dan Sheffner <thesheff17 at yahoo.com>
Sent: Friday, May 8, 2009 8:36:04 PM
Subject: Re: KVM failover to another KVM server
Dan Sheffner wrote:
> Well when I try to use the create command I get this:
>
> virsh # create /etc/libvirt/qemu/ubuntuTest.xml
> error: Failed to create domain from /etc/libvirt/qemu/ubuntuTest.xml
> error: unknown OS type hvm
http://blog.loftninjas.org/2009/05/04/libvirt-unknown-os-type-hvm/
--
Said one park ranger, 'There is considerable overlap between the
intelligence of the smartest bears and the dumbest tourists.'
Mark D. Foster, CISSP <mark at foster.cc> http://mark.foster.cc/
More information about the ubuntu-server
mailing list