I have a PVE cluster with a backup server which I would like to keep turned off most of the time as a "warm spare". Would it be possible to automatically issue a wake-on-lan command before replication jobs are scheduled to run, and shut the node down after all the replication jobs have been completed (provided no VM is running on that node)?
I know I could make a cron job on the main server to start the backup node with
I know I could make a cron job on the main server to start the backup node with
pvenode wakeonlan
a while before the scheduled replication jobs, but how to issue a shutdown command after the jobs have been run? Are there any replication job hooks for running scripts?