VM migration zum anderen Cluster bestimmt Zeit

achim22

Renowned Member
May 21, 2015
414
5
83
58
Dortmund
Hallo,
z.Z. migriere ich die VMs händisch , nach einem Update von PM und dessen Neustart, auf einen anderen Cluster.

Kann ich das automatisieren ?

Z.B am Tag X um 23:59 sollen alle VMs vom Cluster 1 auf den Cluster 2 migriert werden ?


Gruß
 
Nicht über das Webinterface, aber du kannst dir ein Bashscript schreiben und das dem Cron übergeben.
Code:
qm migrate <vmid> <target> [OPTIONS]
Der Befehl "qm help migrate" zeigt dir nur zum Migrieren die verfügbaren Optionen an. Das ganze packst du dann in ein Script und gibst es dann dem Cron. https://wiki.ubuntuusers.de/Cron/
 
  • Like
Reactions: achim22

About

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!