Distributed Virtual Switch VM Migration State Persistence
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Migrating a virtual machine (VM) from one host to another often results in loss of state information associated with the virtual network interface card (VNIC), and network administrators face challenges in managing inconsistent virtual network topologies during VM migration.
Innovation Solution
A method is introduced to persist the state of a virtual port associated with a VM by transferring the runtime state of the virtual port from the source host to the destination host during migration, using a distributed virtual switch (DVswitch) that maintains the configuration and runtime state of virtual ports across hosts, ensuring seamless network connectivity and preserving state information.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a virtual machine is migrated from one host to another, then the VM can be deployed on different hardware resources, but the state information associated with the virtual network interface card is lost
Solution Approach 1:
The patent introduces a distributed virtual switch as an intermediary component that maintains state information about virtual network interface cards across host migrations. The virtual switch stores MAC address to virtual port mappings and other state data, allowing the VNIC to retain its state even when the VM is migrated to a different physical host. This mediator approach resolves the contradiction by enabling flexible VM deployment while preserving network state information through the distributed virtual switch's state management capabilities.
2Adaptability or versatility
If virtual network topology is dynamically changed during migration, then network flexibility is improved, but network administrators face challenges in managing inconsistent topologies
Solution Approach 1:
The patent implements feedback mechanisms through the distributed virtual switch that continuously tracks and reports the actual network topology state to network administrators. The system provides real-time information about virtual port connections, MAC address mappings, and network resource allocation, enabling administrators to monitor and manage the dynamic topology changes during VM migration. This feedback approach maintains network flexibility while simplifying administration by providing transparent visibility into the evolving network state.
3Reliability
If state information is preserved during migration, then network connectivity reliability is improved, but additional systems and processes are required to maintain state
Solution Approach 1:
The patent makes the distributed virtual switch a multi-functional component that simultaneously performs packet forwarding, state information storage, MAC address mapping, and migration coordination. By consolidating these functions into a single universal component, the system achieves reliable network connectivity during migration without requiring separate dedicated state management systems. The virtual switch's universal design handles both the routing function and the state preservation function, reducing overall system complexity while maintaining reliability.
Data Source
AI summary
A runtime state of a virtual port associated with a virtual machine (“VM”) is persisted as the VM is migrated from a source host to a destination host. In certain embodiments, a virtual switch forwards network frames between the VM and the physical network interface via the virtual port. During migration of the VM, the runtime state of the virtual port is transferred to the destination host and applied at the second host to a virtual port associated with a second virtual switch at the destination host. The runtime state of the virtual port at the source host is then cleared, and the second virtual switch at the destination host forwards network frames between the migrated VM and the physical network interface of the destination host using the virtual port at the second host.


