[Openstack-operators] [Grizzly] Migrating VMs to compute node with newer processor
swinchen at gmail.com
Tue Dec 17 19:36:19 UTC 2013
Did you need to modify anything else in the database or delete any files
other than the instance XML file in /etc/libvirt/qemu?
On Tue, Dec 17, 2013 at 12:38 PM, Juan José Pavlik Salles <
jjpavlik at gmail.com> wrote:
> I found the exact same solution, couldn't find any cleaner way for my
> migration problem.
> 2013/12/16 Samuel Winchenbach <swinchen at gmail.com>
>> Hi All,
>> I have tried everything I can think of to migrate a VM to a node running
>> a newer processor. I have tried setting "libvirt_cpu_mode=none" on both
>> hosts, I have tried creating a custom CPU, etc. This is what I found
>> worked: Stop the instance, change "host", "node" and "launched_on" to the
>> new hostname in the instances table in the nova database, then hard reboot
>> the instance. Something like this:
>> ~# nova stop <UUID>
>> ~# mysql -u root -p
>> mysql> use nova;
>> mysql> update instances set host='<NEWHOST>', node='<NEWHOST>',
>> launched_on='<NEWHOST>' where uuid='<UUID>';
>> mysql> exit
>> ~# nova reboot --hard <UUID>
>> So I have two questions about doing it this way:
>> 1) Is there anything else in the database I need to change?
>> 2) Are there any files I need to delete from the old host other than the
>> instance XML file in /etc/libvirt/qemu?
>> OpenStack-operators mailing list
>> OpenStack-operators at lists.openstack.org
> Pavlik Salles Juan José
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-operators