VMware vSphere

 View Only
Expand all | Collapse all

vMotion and Ping packets dropped

  • 1.  vMotion and Ping packets dropped

    Posted May 11, 2012 04:42 PM

    Sometime i saw due to vMotion only 1 ping packet is dropped  and sometimes 5-6 and sometime  no packet is dropped what is reason of packet dropping that quiesec the vm but why it is like this kind of different behavior. Is this depends on bandwidth available for vMotion?



  • 2.  RE: vMotion and Ping packets dropped

    Posted May 11, 2012 05:13 PM

    When vmotion occurs there is a quiescing of the VM so the VM is not going to respond to a ping during this perios - so if there is added latency due to network bandwidth or the load being experienced by the ESXi host you will see some dropped packets - but the nature of IP traffic the packets will be requeued and resent -



  • 3.  RE: vMotion and Ping packets dropped

    Posted May 11, 2012 05:57 PM

    Quiesec is happened always then why in some cases no packet is dropped

    And please tell me the impact of these dropped ping packets on those applications for whom a slight latency can initiate the failover like Oracle RAC cluster what is the recommendation for those vm's?



  • 4.  RE: vMotion and Ping packets dropped

    Posted May 11, 2012 07:27 PM

    The quiescing typically is very short and a packet will not get dropped but in the rare instances where there are network bandwidth issues (this is why best practice is to have vmotion on its own isolated network), excessive loads on the ESXi hosts or latensy issues with the pysical network -

    Since an IP network is a contention based there network you will always have some dropped packets and the dropped packets that can occur during vmotion are going to be minimal and shoulr not affect those types of applications -



  • 5.  RE: vMotion and Ping packets dropped

    Posted May 11, 2012 08:09 PM

    Don't ping and you won't see any packets dropped!  ;-)

    Is there a lot of vMotion happening and causing problems?

    Turn down the aggressiveness of the DRS rules.

    Add more resources so there is less DRS-induced vMotion

    Can you tune RAC to be not so sensitive?

    When I watch (which is seldom, these days) I usually only see one missed ping, which is typically a moment before vCenter reports Complete.



  • 6.  RE: vMotion and Ping packets dropped

    Posted May 12, 2012 08:23 AM

    Yeah i Know due to quiesec the ping is dropped but why sometime no ping drop even at the time of quiesec



  • 7.  RE: vMotion and Ping packets dropped

    Posted May 12, 2012 09:21 AM

    Ranjna Aggarwal wrote:

    Yeah i Know due to quiesec the ping is dropped but why sometime no ping drop even at the time of quiesec

    There are many things that should happen during the last phase of vMotion:

    The final changed pages in memory will be transferred with the VM "paused".

    The new ESXi shall take over the VMDK file on the shared storage

    The new ESXi host shall send a faked broadcast frame "from" the VM, to get the physical switches to learn the new location

    All of this is typically very fast and under 0.5 seconds. Ping -t typically sends each second and depending on the exact timing you might not lose a single ping.



  • 8.  RE: vMotion and Ping packets dropped

    Posted May 12, 2012 09:21 AM

    In addition to the quiescing, remember that the VM is connected to another physical switch port. This means that the VM's MAC address has to be unregistered from the source switch port and registered to the destination switch port. Depending on the switch and configuration (e.g. spanning-tree) this might also cause a short network "outage".

    André



  • 9.  RE: vMotion and Ping packets dropped

    Posted May 12, 2012 09:29 AM

    André Pett wrote:

    Depending on the switch and configuration (e.g. spanning-tree) this might also cause a short network "outage".

    Even with spanning-tree enabled on the ESXi switch ports a vMotion event should in my opinion not be able to cause spanning-tree to react. Spanning-tree works only with special frames ("BPDUs") and calculates the map of the switched network, but does not really care of ordinary MAC address changes.



  • 10.  RE: vMotion and Ping packets dropped

    Posted May 12, 2012 10:57 AM

    but why sometime no packet is dropped?



  • 11.  RE: vMotion and Ping packets dropped

    Posted May 12, 2012 11:01 AM

    Ranjna Aggarwal wrote:

    but why sometime no packet is dropped?

    It could be that with some luck the "time slot" (around 1 second) between the two pings makes it possible to complete the final steps within this "slot".

    What is interesting is to have a RDP session into the VM and "ride along the vMotion" through the terminal session, while at the same time doing a ping going out from the VM. Typically you do not see a ping loss from inside the VM.



  • 12.  RE: vMotion and Ping packets dropped

    Posted May 12, 2012 11:19 AM

    Hi RanjnaAggarwal

    Could you please increase TTL time  .

    .

    "Before you judge a man, walk a mile in his shoe."


  • 13.  RE: vMotion and Ping packets dropped

    Posted May 12, 2012 11:56 AM

    juan11 wrote:

    Hi RanjnaAggarwal

    Could you please increase TTL time.

    Do you mean on the ordinary ping command?