Mirror Packet Control for Virtual Machine Migration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In existing port mirroring techniques, monitor VMs often fail to receive mirror packets during live migration, leading to packet loss due to outdated port information and increased processing load from regular investigations by virtual switches.
Innovation Solution
A mirror packet control device that detects the completion of a VM's movement and updates port correspondence information by transmitting deletion instructions to the transmission source, ensuring mirror packets are redirected correctly and preventing loss.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If virtual switch regularly investigates port information to maintain mirror packet routing, then mirror packet delivery accuracy is improved, but processing load increases
Solution Approach 1:
The system performs preliminary actions by having the migration source device proactively notify the mirror packet control device before VM migration occurs. This allows the system to pre-update port correspondence information, eliminating the need for continuous investigation and reducing processing load while maintaining accuracy.
Solution Approach 2:
The system implements feedback mechanisms where the migration source device sends notifications about VM migration status to the mirror packet control device. This feedback loop ensures port information is updated automatically based on actual migration events, replacing continuous investigation with event-driven updates.
2Measurement precision
If port correspondence information is updated frequently to reflect VM migration, then mirror packet delivery accuracy is improved, but system complexity increases
Solution Approach 1:
The mirror packet control device acts as an intermediary between the migration source device and the transmission source device. It receives migration notifications, identifies the relevant transmission source, and coordinates the deletion of outdated port information. This intermediary role simplifies the overall system by centralizing the update logic in a dedicated component rather than requiring complex peer-to-peer communication protocols.
3Productivity
If the system waits for migration completion notification to update port information, then processing load is reduced, but packet loss occurs during migration
Solution Approach 1:
The system performs preliminary actions by having the migration source device notify the mirror packet control device at the start of migration. This allows the system to proactively identify and update port correspondence information before migration completes, preventing packet loss while avoiding continuous investigation during the migration process.
Data Source
AI summary
A mirror packet control device includes a processor that detects a notification of a completion of movement of a first virtual machine from another device to the mirror packet control device. The processor refers, upon the detection of the notification, to first correspondence information to identify a transmission source that transmits a first mirror packet to the first virtual machine. The first correspondence information includes a first item associating first identification information of the first virtual machine with second identification information of the transmission source. The processor transmits a first deletion instruction to the transmission source. The first deletion instruction instructs deletion of a second item included in second correspondence information stored in the transmission source. The second item associates the first identification information with identification information of a first port of the transmission source through which the first mirror packet is transmitted to the first virtual machine.


