Re: Fwd: VirtualDomain broken for live migration.

Ferenc Wagner <[email protected]>
Newsgroups gmane.linux.highavailability.user
Message-ID <[email protected]>
Steven Hale <[email protected]> writes:

> There is no mention at all of a "--live" option on the libvirt Wiki
>
>   http://libvirt.org/migration.html

Live or offline migration is irrelevant to the topic of that page.  The
documentation of this option should be (but is not) present on
http://libvirt.org/sources/virshcmdref/html/sect-migrate.html instead.

> and it's not mentioned in "virsh help"

Try virsh help migrate.

> In order to tell virsh to use SSH I need to pass the "--tunnelled"
> parameter, which in turn then requires the "--p2p" parameter.

I doubt SSH tunnels are the best way to configure cluster migration,
credential management won't be easy.  I use qemu:// desturis with TLS
x509 authentication and tcp:// migrateuris for performance on a separate
network.

> When I do a manual migration it does leave behind the source config,
> and doesn't create a config on the new host.  The guest goes from
> "persistent" to "transient" as described in the table on the libvirt
> Wiki.  I've tried to pass the --undefine-source and --persist options
> to make it transfer the config and go from "persistent" to
> "persistent", but that doesn't work either.

Try --undefinesource and --persistent.

Btw. I decided to keep all my VMs transient and centrally manage their
configuration in the CIB.  This required creating a new resource agent,
of course, which I can share if you are interested.  It surely lacks
some features of VirtualDomain, but works pretty good for us.
-- 
Regards,
Feri.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.