Proxmox 4 HA resource type IP address

zeebeedee

New Member
Dec 13, 2015
7
1
1
Hello!

It will be very handy, if we can have an "floating ip" for cluster web interface.
Can You add such functionality to HA manager? It may be an "HA resource type ip address".
Maybe it can be accomplished some other way?

Thanks!
 
More importantly it's not just about the management interface, it's about having a common IP address for the cluster API service. Big upvote ;-)
 
First of all I'd like to use a floating ip for virtual machines e.g. redundant HA proxy, ftp server

Just create 2 VMs and assign a floating IP to them. Of course you could use VM-HA, but you don't depend on distributed/remote storage (another point of failure).

Use cases:
- Floating IP for PVE management interface
- Assign floating IP to multiple VMs
- Manual trigger fail-over/back
- Specify timeouts
- Manual fail-over/back conditions (tcp port checks, HTTP response code, custom scripts, etc)
- Email notifications

I have no idea regarding feasibility or how it could be implemented.
 
First of all I'd like to use a floating ip for virtual machines e.g. redundant HA proxy, ftp server

Just create 2 VMs and assign a floating IP to them. Of course you could use VM-HA, but you don't depend on distributed/remote storage (another point of failure).

Use cases:
- Floating IP for PVE management interface
- Assign floating IP to multiple VMs
- Manual trigger fail-over/back
- Specify timeouts
- Manual fail-over/back conditions (tcp port checks, HTTP response code, custom scripts, etc)
- Email notifications

I have no idea regarding feasibility or how it could be implemented.
Simple enough and been done for ages; what you're asking for is IP takeover. there's multiple ways to accomplish this and some are preferred over others depending on the OS of your VMs. Google is your friend.
 
Simple enough and been done for ages; what you're asking for is IP takeover. there's multiple ways to accomplish this and some are preferred over others depending on the OS of your VMs. Google is your friend.

Sure it is done via different methods but none of it is part of Proxmox 4.x. You could possibly do something on Proxmox 3.x as HA was based on RedHat cluster software. Still it was not documented anywhere. Ability to do it within Proxomox would definitely be a great feature. Sadly Debian 8.x doesn't even have a good support for Pacemaker

http://ral-arturo.blogspot.com/2015/12/current-status-of-ha-stack-on-debian.html
 
I apologize, I understood you wanted to cluster 2 VMs for the purpose; Doing it ON the hypervisors is possible but not a good idea- but if you want to live dangerously, https://wiki.debian.org/Debian-HA/ClustersFromScratch

You'll have to take care not to disrupt the existing corosync, which may or may not work correctly with this version of pacemaker (I have not tried it.)

Lastly, corosync+pacemaker are not the only way to skin this particular cat; cron+ping+shell script can accomplish what you want as well. The real question in my mind is what is the payoff vs the effort in doing this... I agree that having a floating IP for cluster management is NICE, I'm not envisioning a use case that would not be simpler to solve with a test/backup IP in the script that calls it; if its just for convenience you can do a DNS takeover to a secondary A/C record just as simply without affecting your cluster at all.

Having said all that- devs, it would really be a nice polish to add a floating management IP.
 

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!