Create a cluster with remote node

fruchtzwerg

New Member
Apr 3, 2023
22
0
1
I would like to create a cluster of a node inside my home-net and a remote vps (public IP).
I thought of tailscale to easily installng it.
So I created a new cluster on the remote node (with public IP). Unfortunately the node inside my homenet behind my router cannot join the cluster.

My questions:
(1) How can I connect all the nodes through tailscale's given IP's of the nodes?
(2) Do I have to create an interface for the tailscale net? Because just now proxmox only shows me the public IP as the IP.
Until now I have two interfaces for proxmox: first vmbr0 connected to the public IP and second vmbr1 which creates an intern network with an IP-range for all VM/LXC.

So what I am missing?
 
Is there a reason you want a cluster with a remote node? You are probably better off with it as two separate clusters (or individual nodes). What is the latency (RTT on ping) between the cluster and the remote node?
 
This won’t work;

you need a connection from a dedicated server to a local server, but your local server is behind the router and dont have real ip
 
I wouldn't say it couldn't work as they don't strictly have to be local... you can do a site to site vpn between the locations using vms on the internal networks (or on the nodes, but I would use a vm tied to a specific node). The only stated requirement I can find is the latencies are under 5 milliseconds, but are fine behind routers. You should be able to be about 50 miles apart and stay within that requirement assuming the same ISP or dedicated fiber. That said, if it's a random VPS not specifically in the same or near-by city, the latency is probably >5ms.

Still the question of why do you want them to be part of the same cluster? Are they going to have any sort of shared storage that you would want to move vms between them?
 
  • Like
Reactions: gurubert
Thanks for responding.
The main-reason to connect both nodes inside a cluster is that I want to secure the availability of the LXCs/VMs. If one node is offline the other can provide the services. Shared Storage would be great.
The node on the vps has limited ressources (2 Cores, 2 GB RAM, 60GB storage) but a 24/7 safe online connection
The node behind the router has much more ressources but limited bandwidth and highly depend on the home-setup.

I though mixing this could gain the potential and reduce the limits of both nodes separetly.
Maybe that requires much more knowledge than my skills.
 
You are generally better off replicating the services within the VMs and not have them in the same cluster, unless you have either shared or synchronous storage (either of which you are going to need <5ms, maybe 10ms if your I/O is low, but asking for problems). You haven't mentioned your RTT yet to even know if that is possible. If not, then it depends on what is running on the LXCs/VMs how best to provide or take over the service.
 
  • Like
Reactions: gurubert

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!