ZFS 4-Node Cluster - HA - Migration - Replication

Tdreissi

Active Member
May 21, 2019
38
3
28
46
Hallo,

ich habe ein 4-Node Cluster mit "local" ZFS.
- HA Gruppe angelegt
- VID 100 zu HA Gruppe hinzugefügt
- VID 100 Replication aktiviert

Dann habe ich Node 1 "hart" ausgeschaltet und er hat wie erwartet die VM auf Node 2 hochgefahren
- VID 100 fährt auf Node2 hoch
- Replication geht jetzt nach Node1
- HA started

Nachdem Node 1 wieder online und Verfügbar war wollte ich die VM zurück migrieren - ERROR
- GUI: migrate online geht nicht, da "local-disks"
- Error: can't live migrate attached local disks without with-local-disks option
- CLI: qm migrate online 100 Node1 --online --with-local-disks
- ERROR: Failed to sync data - can't live migrate VM with replicated volumes

Der einzige Workarround den ich gefunden habe um Orginal Zustand vor K-Fall wieder herzustellen ist:
- Replication entfernen auf Node2 - dadurch wird aber komplette Disk auf Node1 gelöscht
- HA VID 100 entfernt
- qm migrate online 100 Node1 --online --with-local-disks
- 100 migriert jetzt erfolgreich und geht auf Node1 zurück
- Replication wieder aktiviert
- VID 100 wieder zu HA Gruppe

Gibt es da einen anderen weg oder geht das nur so kompliziert?
Was auch geht ist Offline migration, aber das will ich nicht wirklich.

Danke...
 
Ich dachte auch das LiveMig mit ZFS & PM 6.0 endlich über die GUI machbar ist...leider geht es bei meinen upgedateten Clustern nicht.
 

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!