[Openstack] Live migration problem in OpenStack ESSEX
hanyu.xiao at eayun.com
Tue Dec 18 01:45:44 UTC 2012
If you want to use live migration, you need a shared storage, for your
environment, NFS make be the best choice, simple and enough, keep the
instances data stored in the space, that means, instance data should
have the same absolute path between the migration machines, the start
and destination machine must have nfs mounted.
Second, you need some modifications to libvirt conf:
- vim /etc/libvirt/libvirtd.conf
-- #listen_tls = 0
++ listen_tls = 0
-- #listen_tcp = 1
++ listen_tcp = 1
++ auth_tcp = "none"
-- env libvirtd_opts="-d"
++ env libvirtd_opts="-d -l"
-- libvirtd_opts=" -d"
++ libvirtd_opts=" -d -l"
then you must restart libvirt, ensure:
# stop libvirt-bin && start libvirt-bin
# ps -ef | grep libvirt
root 1145 1 0 Nov27 ? 00:00:03 /usr/sbin/libvirtd -d -l
That's all for live migration, good luck.
By the way, if you have problems with live migration, you can try nova block migration, that doesn't need
NFS configuration. type "nova help live-migration" for details.
On 12/17/2012 07:58 PM, Narayanan, Krishnaprasad wrote:
> I am using Ubuntu 12.04 Precise Pangolin with multi compute node
> environment running on KVM / libvirt. The nova command that I use is
> "nova live-migrate instanceID hostID" and via API, I am passing the
> same information in the request body.
> I haven't modified any configuration in the libvirt. Can I get to know
> the necessary configuration details in order to solve the problem?
> *From:*Hanyu Xiao [mailto:hanyu.xiao at eayun.com]
> *Sent:* Montag, 17. Dezember 2012 04:08
> *To:* Narayanan, Krishnaprasad
> *Cc:* openstack at lists.launchpad.net
> *Subject:* Re: [Openstack] Live migration problem in OpenStack ESSEX
> Can you show the details of your OS, software environment and your
> commands doing live migration?
> Live migration need some pre-configuration and some modifications to
> libvirt/nfs configuration.
> On 12/16/2012 11:57 PM, Narayanan, Krishnaprasad wrote:
> Hallo all,
> I am trying to perform live migration from one compute node to
> another (using Nova APIs and commands) and I am getting an error
> HTTP 400 and the log file says "Remote error: FileNotFound File
> tmpSoFy35 could not be found". I am using OpenStack ESSEX.
> Could anybody suggest solutions to get rid of this problem?
> Mailing list:https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
> Post to :openstack at lists.launchpad.net <mailto:openstack at lists.launchpad.net>
> Unsubscribe :https://launchpad.net/~openstack <https://launchpad.net/%7Eopenstack>
> More help :https://help.launchpad.net/ListHelp
> Hanyu Xiao
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openstack