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

Cluster (shared or mobile IP address) #875

Closed
candlerb opened this issue Feb 6, 2017 · 2 comments
Closed

Cluster (shared or mobile IP address) #875

candlerb opened this issue Feb 6, 2017 · 2 comments

Comments

@candlerb
Copy link
Contributor

candlerb commented Feb 6, 2017

(Relates to #142 but I thought it worth raising as separate feature request for the non-VM use case)

There are cases where you have a single IP address that relates to multiple devices. Examples:

  • A switch stack with a single management address
  • A pair of routers with HSRP/VRRP gateway address
  • A ganeti cluster with a floating management address
  • A pair of Windows servers running windows clustering

In each case, there are one or more shared management or service addresses; at any instant in time they can be served by any device in the group. Logically, the whole group provides a service on that address.

At the moment, you need to either leave the address not associated to any device, or associate it with only one device.

In the current DCIM model, this could be better implemented as a "device group" where you are able to associate an address with the group (or a virtual interface on the group)


However, once VMs are brought into the picture (#142), the concept can be more general:

  • A cluster is also somewhere that VMs can run
  • A cluster can consist of physical devices and/or VMs (e.g. a Kubernetes cluster which is formed out of VMs)
  • You can have a cluster without any DCIM inventory (e.g. a cluster called "Amazon us-west-1")

At this point, it's more than just a Device Group.

@jeremystretch
Copy link
Member

I see at least two separate concepts in play here: shared control planes and virtual IPs. Shared control planes (e.g. switch stacks) was tackled initially in #99 but isn't being pursued currently due to the investment required in time and effort. I'd like to revisit it at some point in the future.

Virtual IP addresses (VIPs) are likely addressed sufficiently by #819, which would allow a user to designate an IP address as a VRRP address, for example. I'm not sure that explicitly assigning a VIP to a set of interfaces is particularly valuable, but we can re-evaluate that once #819 has been implemented.

Finally, in the interest of keeping the list of issues manageable, I'd like to set aside any discussion of VM clustering until VM support (#142) is added to NetBox. Does that sound like a reasonable approach?

@candlerb
Copy link
Contributor Author

candlerb commented Feb 8, 2017

I think there is value in linking a VRRP address to a set of devices: it is useful for monitoring purposes (e.g. if this virtual address stops working, you know which devices to look at), and perhaps more importantly, for configuration changes you know where to go. And similarly, a cluster management address typically floats between devices in the cluster.

But I'm happy to see how #142 goes and take it from there.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants