public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* live migration problems.
@ 2012-03-30 21:45 Riccardo Veraldi
  2012-03-30 21:58 ` Andrew Cathrow
  0 siblings, 1 reply; 4+ messages in thread
From: Riccardo Veraldi @ 2012-03-30 21:45 UTC (permalink / raw)
  To: kvm

Hello,
I have problems with live migration.
I have several VMs in a CentOS 6.2 cluster environment.

When I migrate one virtual machine from nodeA to nodeB the migration 
goes smoothly but
in the same time the VM is migrated an external ping cannot reach the VM.
I ping the VM before migration and after the migration is done ping 
stops to work.
This happens for some VM and does not happen for other VM.
Apparently the VM are configured the same way so I can't understand why 
this is happening.
If I migrate the VM back to the original physical node the ping start 
working again like if the switch did not
realize the VM mac address changed switch port.
To make things work always I Should make a ping from the VM console to 
whatever host and
in this case the arp table is updated on the switch.
The strange thing as I said is that some VM seems to always work after 
migration while other
seems never to work untl they are migrated back to original cluster node.
Any hints or suggestions ?

thank you very much

Rick


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: live migration problems.
  2012-03-30 21:45 live migration problems Riccardo Veraldi
@ 2012-03-30 21:58 ` Andrew Cathrow
  2012-03-31 12:25   ` Riccardo Veraldi
  2012-03-31 12:35   ` Riccardo Veraldi
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Cathrow @ 2012-03-30 21:58 UTC (permalink / raw)
  To: Riccardo Veraldi; +Cc: kvm



----- Original Message -----
> From: "Riccardo Veraldi" <Riccardo.Veraldi@cnaf.infn.it>
> To: kvm@vger.kernel.org
> Sent: Friday, March 30, 2012 5:45:47 PM
> Subject: live migration problems.
> 
> Hello,
> I have problems with live migration.
> I have several VMs in a CentOS 6.2 cluster environment.
> 
> When I migrate one virtual machine from nodeA to nodeB the migration
> goes smoothly but
> in the same time the VM is migrated an external ping cannot reach the
> VM.
> I ping the VM before migration and after the migration is done ping
> stops to work.
> This happens for some VM and does not happen for other VM.
> Apparently the VM are configured the same way so I can't understand
> why
> this is happening.
> If I migrate the VM back to the original physical node the ping start
> working again like if the switch did not
> realize the VM mac address changed switch port.
> To make things work always I Should make a ping from the VM console
> to
> whatever host and
> in this case the arp table is updated on the switch.
> The strange thing as I said is that some VM seems to always work
> after
> migration while other
> seems never to work untl they are migrated back to original cluster
> node.
> Any hints or suggestions ?

Make sure you have DELAY=0 set in the ifcfg file for the bridge on both hosts.


> 
> thank you very much
> 
> Rick
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: live migration problems.
  2012-03-30 21:58 ` Andrew Cathrow
@ 2012-03-31 12:25   ` Riccardo Veraldi
  2012-03-31 12:35   ` Riccardo Veraldi
  1 sibling, 0 replies; 4+ messages in thread
From: Riccardo Veraldi @ 2012-03-31 12:25 UTC (permalink / raw)
  To: Andrew Cathrow; +Cc: kvm


ifdown and ifup of the bridge is sufficient to enable the new delay config ?

thank you

Rick


On 3/30/12 11:58 PM, Andrew Cathrow wrote:
>
> ----- Original Message -----
>> From: "Riccardo Veraldi"<Riccardo.Veraldi@cnaf.infn.it>
>> To: kvm@vger.kernel.org
>> Sent: Friday, March 30, 2012 5:45:47 PM
>> Subject: live migration problems.
>>
>> Hello,
>> I have problems with live migration.
>> I have several VMs in a CentOS 6.2 cluster environment.
>>
>> When I migrate one virtual machine from nodeA to nodeB the migration
>> goes smoothly but
>> in the same time the VM is migrated an external ping cannot reach the
>> VM.
>> I ping the VM before migration and after the migration is done ping
>> stops to work.
>> This happens for some VM and does not happen for other VM.
>> Apparently the VM are configured the same way so I can't understand
>> why
>> this is happening.
>> If I migrate the VM back to the original physical node the ping start
>> working again like if the switch did not
>> realize the VM mac address changed switch port.
>> To make things work always I Should make a ping from the VM console
>> to
>> whatever host and
>> in this case the arp table is updated on the switch.
>> The strange thing as I said is that some VM seems to always work
>> after
>> migration while other
>> seems never to work untl they are migrated back to original cluster
>> node.
>> Any hints or suggestions ?
> Make sure you have DELAY=0 set in the ifcfg file for the bridge on both hosts.
>
>
>> thank you very much
>>
>> Rick
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: live migration problems.
  2012-03-30 21:58 ` Andrew Cathrow
  2012-03-31 12:25   ` Riccardo Veraldi
@ 2012-03-31 12:35   ` Riccardo Veraldi
  1 sibling, 0 replies; 4+ messages in thread
From: Riccardo Veraldi @ 2012-03-31 12:35 UTC (permalink / raw)
  To: Andrew Cathrow; +Cc: kvm

Thank you very much, this solved my problem, not even 1 ping is lost!
I did not find this hint in the documentation though.
Really thanks again

Riccardo


On 3/30/12 11:58 PM, Andrew Cathrow wrote:
>
> ----- Original Message -----
>> From: "Riccardo Veraldi"<Riccardo.Veraldi@cnaf.infn.it>
>> To: kvm@vger.kernel.org
>> Sent: Friday, March 30, 2012 5:45:47 PM
>> Subject: live migration problems.
>>
>> Hello,
>> I have problems with live migration.
>> I have several VMs in a CentOS 6.2 cluster environment.
>>
>> When I migrate one virtual machine from nodeA to nodeB the migration
>> goes smoothly but
>> in the same time the VM is migrated an external ping cannot reach the
>> VM.
>> I ping the VM before migration and after the migration is done ping
>> stops to work.
>> This happens for some VM and does not happen for other VM.
>> Apparently the VM are configured the same way so I can't understand
>> why
>> this is happening.
>> If I migrate the VM back to the original physical node the ping start
>> working again like if the switch did not
>> realize the VM mac address changed switch port.
>> To make things work always I Should make a ping from the VM console
>> to
>> whatever host and
>> in this case the arp table is updated on the switch.
>> The strange thing as I said is that some VM seems to always work
>> after
>> migration while other
>> seems never to work untl they are migrated back to original cluster
>> node.
>> Any hints or suggestions ?
> Make sure you have DELAY=0 set in the ifcfg file for the bridge on both hosts.
>
>
>> thank you very much
>>
>> Rick
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe kvm" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-31 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-30 21:45 live migration problems Riccardo Veraldi
2012-03-30 21:58 ` Andrew Cathrow
2012-03-31 12:25   ` Riccardo Veraldi
2012-03-31 12:35   ` Riccardo Veraldi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox