Proxmox-Cluster: Subnet-IP of a VM (Hetzner)

CRaSH3k

New Member
Jan 9, 2011
2
0
1
Hi,

I want to set up a 3-Node-Proxmox-Cluster at Hetzner.
However, there is a question, that I could not solve myself and I hope that you can help me:

Hetzner says, that they are binding Subnet-IPs only to a single Rootserver.
As I want to run several VMs on the cluster (each with its own IP of the subnet), I ask myself
how to solve the following Problem:
When a Node "NodeA" of the Cluster fails and the VMs are migrated to another Node "NodeB", how can
e.g. the VM hosting a website still be reachable afterwards?
As far as I know, the new Node "NodeB" could not handle the IP that was given to the VM, as it is part of the subnet tied to the Node that failed ("NodeA").


Thanks in advance!
 
You could (should) do the following:

- give your VMs private IPs
- set up NAT or reverse proxy for your webs
- set up DNS with very short TTL
- register your public IPs in DNS, reregister on migration
(could be done automatically on HA if you run your own DNS)

hope this helps
Birger
 
@Michel V use the new vLan Feature at Hetzner ;) You can order a public subnet which then is available to all Servers connected to that vlan.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!