cvk98 / Proxmox-load-balancer

Designed to constantly maintain the Proxmox cluster in balance
GNU General Public License v3.0
171 stars 20 forks source link

Feature/only run on master #3

Closed Cylindric closed 2 years ago

Cylindric commented 2 years ago

Not sure if this is a direction you wanted to go in with PLB, but I've added a capability for the script to determine if it's running on a cluster master node, and only run if it is. This means I can configure all my proxmox hosts identically using ansible, but the script only actually does anything on one node, even if the cluster HA reconfigures itself.