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

no balance options when running #12

Closed damo2929 closed 1 year ago

damo2929 commented 1 year ago

when running the script from today's git clone

I have all my VM's pilled on one host for testing as such should have balanced.

[balancer@wlsc-pmcbal01 Proxmox-load-balancer]$ ./plb.py INFO | START Load-balancer! INFO | Need to balance: True INFO | Number of options = 0 INFO | Need to balance: True INFO | Need to balance: True INFO | Number of options = 0 INFO | Need to balance: True INFO | Number of options = 0 INFO | Need to balance: True INFO | Number of options = 0 INFO | Need to balance: True INFO | Number of options = 0 INFO | Need to balance: True INFO | Number of options = 0 INFO | Need to balance: True INFO | Number of options = 0

Balancing Parameters

parameters: deviation: 0 # Percentage of allowable deviation of the RAM load of the node threshold: 70 # Percentage of maximum load lxc_migration: OFF # Container migration (LXCs are rebooted during migration!!!) migration_timeout: 1000 # For the future only_on_master: OFF # Only run PLB on the current cluster master

damo2929 commented 1 year ago

fixed permissions issue needs to work.

VM.Migrate, VM.Audit, Sys.Audit