Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # on all nodes
- magicfix() {
- service pve-cluster stop
- service pvedaemon stop
- service cman stop
- service pve-cluster start
- service cman start
- service pvedaemon start
- # this one could possibly restart VMs in 4.x (but doesn't in 3.x), so disable unless you think you need it
- #service pve-manager restart
- service pvestatd restart
- service pveproxy restart
- service pve-firewall restart
- service pvefw-logger restart
- }
- magicfix
- # again after above was done on all nodes (makes /etc/pve rw)
- service pve-cluster restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement