<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    hi:<br>
    <br>
    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.<br>
    <br>
    Second, you need some modifications to libvirt conf:<br>
    <br>
    <p>    - vim /etc/libvirt/libvirtd.conf
    </p>
    <pre class="code">--  #listen_tls = 0
++  listen_tls = 0

--  #listen_tcp = 1
++  listen_tcp = 1

++  auth_tcp = "none"</pre>
    <ul>
      <li class="level1">
        <div class="li"> vim /etc/init/libvirt-bin.conf</div>
      </li>
    </ul>
    <pre class="code">--  env libvirtd_opts="-d"
++  env libvirtd_opts="-d -l"</pre>
    <ul>
      <li class="level1">
        <div class="li"> vim /etc/default/libvirt-bin</div>
      </li>
    </ul>
    <pre class="code">--  libvirtd_opts=" -d"
++  libvirtd_opts=" -d -l"</pre>
    <br>
    then you must restart libvirt, ensure: <br>
    <pre class="code"># 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.

Thanks.
</pre>
    <br>
    <br>
    <div class="moz-cite-prefix">On 12/17/2012 07:58 PM, Narayanan,
      Krishnaprasad wrote:<br>
    </div>
    <blockquote
cite="mid:E65EEA4076DFA64CB0D578052EE5B8BA3214B1FB@E14MDB-01.zdv.Uni-Mainz.DE"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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"><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">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.<br>
            <br>
            I haven't modified any configuration in the libvirt. Can I
            get to know the necessary configuration details in order to
            solve the problem?</span><span style="color:#1F497D"><o:p></o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
                Hanyu Xiao [<a class="moz-txt-link-freetext" href="mailto:hanyu.xiao@eayun.com">mailto:hanyu.xiao@eayun.com</a>]
                <br>
                <b>Sent:</b> Montag, 17. Dezember 2012 04:08<br>
                <b>To:</b> Narayanan, Krishnaprasad<br>
                <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
                <b>Subject:</b> Re: [Openstack] Live migration problem
                in OpenStack ESSEX<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Can you show
          the details of your OS, software environment and your commands
          doing live migration?<br>
          <br>
          Live migration need some pre-configuration and some
          modifications to libvirt/nfs configuration.<br>
          <br>
          Thanks.<o:p></o:p></p>
        <div>
          <p class="MsoNormal">On 12/16/2012 11:57 PM, Narayanan,
            Krishnaprasad wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span lang="DE">Hallo all,</span><o:p></o:p></p>
          <p class="MsoNormal"><span lang="DE"> </span><o:p></o:p></p>
          <p class="MsoNormal">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. <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Could anybody suggest solutions to get
            rid of this problem?<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Thanks<o:p></o:p></p>
          <p class="MsoNormal">Krishnaprasad<o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:"Times New
              Roman","serif""><br>
              <br>
              <br>
              <o:p></o:p></span></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>Mailing list: <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><o:p></o:p></pre>
          <pre>Post to     : <a moz-do-not-send="true" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><o:p></o:p></pre>
          <pre>Unsubscribe : <a moz-do-not-send="true" href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><o:p></o:p></pre>
          <pre>More help   : <a moz-do-not-send="true" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><o:p></o:p></pre>
        </blockquote>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif""><br>
            <br>
            <o:p></o:p></span></p>
        <pre>-- <o:p></o:p></pre>
        <pre>Hanyu Xiao<o:p></o:p></pre>
        <pre>Eayun.com<o:p></o:p></pre>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Hanyu Xiao
Eayun.com</pre>
  </body>
</html>