automatic migration for critical guest, router


Jan 30, 2019
I'd like to add a shutdown hook so to speak, in systemd to automate the migration of a guest upon intentional reboot of a host. The guest is a router and firewall so it must have low downtime and I like to keep my security patches up to date. My goal is simply saving time, instead of manually migrating hosts every time.

Can anyone tell me if there's any reasons this is a terrible idea?

The router is a pfsense instance and I haven't got it runnning in HA and CARP mode yet, so this would be a short term solution until that is working. I'd still consider keeping after that none the less.
This will introduce more complexity and failure potential. To save time and repeat the same steps over-and-over, use a system/configuration automation tool (eg. ansible, puppet, salt, ...)


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!