<div dir="ltr">On Mon, Jul 6, 2015 at 7:58 AM, Miguel Barbosa Gonçalves <span dir="ltr">&lt;<a href="mailto:m@mbg.pt" target="_blank">m@mbg.pt</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<br>
I am building a KVM cluster that needs VM live migration.<br>
<br>
My shared storage as well as the KVM hosts will be running<br>
CentOS.<br>
<br>
Because 10 Gbps Ethernet switches are very expensive at the<br>
moment I will connect the KVM hosts to the storage by<br>
cross-over cables and create private networks for each<br>
connection (<a href="http://10.0.0.0/30" rel="noreferrer" target="_blank">10.0.0.0/30</a> and <a href="http://10.0.0.4/30" rel="noreferrer" target="_blank">10.0.0.4/30</a>).<br>
<br>
The following diagram shows the topology<br>
<br>
 Management             Management            Management<br>
    VLAN                   VLAN                  VLAN<br>
     |                      |                     |<br>
+----+-----+  10 Gbps  +----+----+  10 Gbps  +----+-----+<br>
| KVM Host |-----------| Storage |-----------| KVM Host |<br>
+----+-----+           +----+----+           +----+-----+<br>
     |                      |                     |<br>
   Public                 Public                Public<br>
    VLAN                   VLAN                  VLAN<br>
<br>
My question is: will live migration work in this configuration<br>
since the storage will have 2 different IP addresses<br>
(10.0.0.1 and 10.0.0.5) in 2 different networks even though<br>
it is the same storage?<br></blockquote><div><br></div><div style="">I don&#39;t know for sure if you&#39;ll run into problems having two different IP addresses, but I&#39;d suspect you would.</div><div style="">Some people (myself included) on this list use LVM backing and DRBD on the KVM hosts in which case the referenced storage layer is identically named.</div><div><br></div><div style="">Solution(?) for your scenario:</div><div style="">Maybe create a bridge on your Storage node that includes both 10Gbit NICs going to your KVM hosts?</div><div style="">That way you put a single IP address on the bridge and it is accessible (because it&#39;s bridged) to both KVM hosts. And less need for a 10Gbit switch (just yet).</div></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature">---~~.~~---<br>Mike<br>//  SilverTip257  //</div>
</div></div>