Joseph Perrin
2013-Nov-13 18:01 UTC
[libvirt-users] Migration function is not supported by the connection driver: virDomainMigrate2
Greetings; I'm running Fedora 19, Xen 4.2.3, libvirt 1.0.5.6. I have two identical servers x1 & x2. I've read http://libvirt.org/migration.html & I've created certificates for tls according to http://wiki.libvirt.org/page/TLSSetup I can do this on both servers, and from a third admin server: # virsh -c xen+tls://x1.localdomain hostname x1.localdomain and... # virsh -c xen+tls://x2.localdomain hostname x2.localdomain It appears I can connect without issues. No matter what I try, I cannot get migration to work :-( x 1000! I've created a test DomU named "z19", which uses a DRBD block device between the two hosts. It's running on x1, (and obviously not on x2), and I want to migrate it to x2. When I attempt to migrate I get the following. (Although, I've tried every permutation of syntax I've read about. The following appears to be most reasonable for my situation?) # virsh migrate --live z19 xen+tls://x2.localdomain error: this function is not supported by the connection driver: virDomainMigrate2 # virsh -c xen+tls://x1.localdomain migrate z19 xen+tls://x2.localdomain error: this function is not supported by the connection driver: virDomainMigrate2 # virsh migrate --live z19 xen+ssh://root@x2.localdomain error: this function is not supported by the connection driver: virDomainMigrate2 I've set libvirtd.conf: log_level=1 Which reports nothing. There is a great amount of conflicting information on this topic. It's difficult to ascertain which to listen to. Any suggestions you could give me would be greatly appreciated. -Joseph
Daniel P. Berrange
2013-Nov-13 18:11 UTC
Re: [libvirt-users] Migration function is not supported by the connection driver: virDomainMigrate2
On Wed, Nov 13, 2013 at 01:01:54PM -0500, Joseph Perrin wrote:> Greetings; > > I'm running Fedora 19, Xen 4.2.3, libvirt 1.0.5.6. I have two identical > servers x1 & x2. I've read http://libvirt.org/migration.html & I've > created certificates for tls according to > http://wiki.libvirt.org/page/TLSSetup > > I can do this on both servers, and from a third admin server: > > # virsh -c xen+tls://x1.localdomain hostname > x1.localdomain > > and... > > # virsh -c xen+tls://x2.localdomain hostname > x2.localdomain > > It appears I can connect without issues. > > No matter what I try, I cannot get migration to work :-( x 1000! I've > created a test DomU named "z19", which uses a DRBD block device between the > two hosts. It's running on x1, (and obviously not on x2), and I want to > migrate it to x2. > > When I attempt to migrate I get the following. (Although, I've tried every > permutation of syntax I've read about. The following appears to be most > reasonable for my situation?) > > # virsh migrate --live z19 xen+tls://x2.localdomain > error: this function is not supported by the connection driver: > virDomainMigrate2 > > # virsh -c xen+tls://x1.localdomain migrate z19 xen+tls://x2.localdomain > error: this function is not supported by the connection driver: > virDomainMigrate2 > > # virsh migrate --live z19 xen+ssh://root@x2.localdomain > error: this function is not supported by the connection driver: > virDomainMigrate2What does 'virsh version' report ? I'm guessing that it is going to say 'xenlight' as the virt driver and I'm afraid that does not yet support migration. Only the legacy XenD driver supports migration with Xen. Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|