if I've understood you, you are using LVM backed local storage on each compute node. If you run "lvs cinder-volumes" you can see the disks. I guess you have in your nova.conf image_type=lvm, but with the volume group lying on the compute node disks.
One possibility to get shared storage is using one dedicated storage node with the cinder-volume service configured and put your instance disks in it. A more simple config is a NFS share for all your compute nodes. To achieve this I am using a CEPH cluster. El 11/06/15 a las 14:24, Yngvi Páll Þorfinnsson escribió: > > Hi, > > yes, the disks are local storage on each compute nodes > > But I did configure LVM on each compute node, and did configure this > according to the Juno Install guide: > > > > „The service provisions logical volumes on this device > > using the /LVM /driver and provides them to instances via /iSCSI > /transport.“ > > > > And volume groups are configured on each compute node: > > *vgcreate cinder-volumes /dev/sdX* > > > > So, I guess I‘m using a shared storeage ( iscsi ) ? > > Are you referring to LVM configuration and thus a shared storage, > iscsi ? > > > > Best regards > > Yngvi > > > > > > *From:*Xabier Elkano [mailto:xelk...@hostinet.com] > *Sent:* 11. júní 2015 12:13 > *To:* Yngvi Páll Þorfinnsson; openstack@lists.openstack.org > *Subject:* Re: [Openstack] live migration of instances > > > > > 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@lists.openstack.org > <mailto:openstack@lists.openstack.org> > > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > > >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack