<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><br>
Hi,<br>
<br>
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>
<br>
BR,<br>
Xabier<br>
<br>
El 11/06/15 a las 11:56, Yngvi Páll Þorfinnsson escribió:<br>
</div>
<blockquote
cite="mid:fa2a00442f44412caad9d9ff41a6a239@simi-mbx-04.siminn.is"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:CartoGothicStd-Bold;
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:CartoGothicStd-Book;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:IS">I
have installed and configured OpenStack(Juno) environment on
Ubuntu(14.04).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IS">We
have currently 1 controller node, 3 network nodes and 4
compute nodes as well as 4 swift nodes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:IS">I'm
using OpenStack Networking (neutron). </span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I was thinking of doing a „live migration“
of several instances, if I need to do a OS upgrade on a
compute node.<o:p></o:p></p>
<p class="MsoNormal">For the task of configuring „live
magration“ I‘ve been reading this document:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><b><span
style="font-size:12.0pt;font-family:CartoGothicStd-Bold">OpenStack
Cloud Administrator Guide<o:p></o:p></span></b></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:10.0pt;font-family:CartoGothicStd-Book">current
(2015-05-21)<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.5pt;font-family:CartoGothicStd-Book">Copyright
© 2013-2015 OpenStack Foundation Some rights reserved.</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I can quickly see it‘s necessary to add
this line to the nova.conf file ( on computer nodes):<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt;font-family:Courier">live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:Courier">VIR_MIGRATE_LIVE,
VIR_MIGRATE_TUNNELLED</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also, it seems I need to configure a NFS
mount og the dir<o:p></o:p></p>
<p class="MsoNormal">/var/lib/nova/instances<o:p></o:p></p>
<p class="MsoNormal">and thus configures file system access
between all compute nodes.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>My question is:<o:p></o:p></b></p>
<p class="MsoNormal">Is this the only way to configure a Live
migration of instances in Openstack ? i.e. configure a nfs
mount of directories?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards<o:p></o:p></p>
<p class="MsoNormal">Yngvi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</blockquote>
<br>
</body>
</html>