Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Networking: Track what needs to happen for live migrations #2377

Closed
2 tasks
rcgoodfellow opened this issue Feb 17, 2023 · 1 comment
Closed
2 tasks

Networking: Track what needs to happen for live migrations #2377

rcgoodfellow opened this issue Feb 17, 2023 · 1 comment
Labels
networking Related to the networking.
Milestone

Comments

@rcgoodfellow
Copy link
Contributor

In addition to propolis-contained state, we also need to track the following for instance migration.

  • Update switch NAT tables.

The rack switches contain ingress NAT tables that map an external address and a port to a sled underlay address, VNI, and VM MAC address.

(external addr, port) -> (sled underlay address, geneve vni, instance mac)

When an instance is migrated to another sled, these tables need to be updated with the new underlay address target. There is one NAT table for external IPv4 addresses and one for IPv6.

  • Update OPTE v2p mappings across the rack.

OPTE contains a virtual-to-physical mapping that tells it what underlay destination address is associated with an instance-assigned IP address. If an instance migrates to a new sled, this mapping needs to be updated.

@rcgoodfellow rcgoodfellow added the networking Related to the networking. label Feb 17, 2023
@rcgoodfellow rcgoodfellow added this to the MVP milestone Feb 17, 2023
@bnaecker
Copy link
Collaborator

These are already tracked, in the following issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
networking Related to the networking.
Projects
None yet
Development

No branches or pull requests

2 participants