[Openstack] live migration of instances
Xabier Elkano
xelkano at hostinet.com
Thu Jun 11 12:13:28 UTC 2015
Hi,
do you have shared storage for your instances? If your instances disks
are in a shared storage like iscsi or CEPH you can do live migrations
without problems, otherwise, if your instances disks are in the compute
nodes local storage ( /var/lib/nova/instances), you may need to put this
directory in a NFS share to be able to do live migrations.
BR,
Xabier
El 11/06/15 a las 11:56, Yngvi Páll Þorfinnsson escribió:
>
> Hi
>
>
>
> I have installed and configured OpenStack(Juno) environment on
> Ubuntu(14.04).
>
> We have currently 1 controller node, 3 network nodes and 4 compute
> nodes as well as 4 swift nodes.
>
> I'm using OpenStack Networking (neutron).
>
>
>
> I was thinking of doing a „live migration“ of several instances, if I
> need to do a OS upgrade on a compute node.
>
> For the task of configuring „live magration“ I‘ve been reading this
> document:
>
>
>
> *OpenStack Cloud Administrator Guide*
>
> current (2015-05-21)
>
> Copyright © 2013-2015 OpenStack Foundation Some rights reserved.
>
>
>
> I can quickly see it‘s necessary to add this line to the nova.conf
> file ( on computer nodes):
>
>
>
> live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,
>
> VIR_MIGRATE_LIVE, VIR_MIGRATE_TUNNELLED
>
>
>
> Also, it seems I need to configure a NFS mount og the dir
>
> /var/lib/nova/instances
>
> and thus configures file system access between all compute nodes.
>
>
>
> *My question is:*
>
> Is this the only way to configure a Live migration of instances in
> Openstack ? i.e. configure a nfs mount of directories?
>
>
>
> Best regards
>
> Yngvi
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150611/51077156/attachment.html>
More information about the Openstack
mailing list