Hey,
Im testing the features storage replication and ha but I don't quiet understand this sentence in the wiki:
https://pve.proxmox.com/wiki/Storage_Replication
High-Availability is allowed in combination with storage replication, but it has the following implications:
3 node cluster, local zfs storage
lxc 18.04 container with webserver on node1, replication to node2, every minute
Test1) Manual migration from webserver on node1 -> node2, no problems, replication task changes from node2 -> node1 as it says in the wiki
Test2) webserver on node2, replication to node1 every minute, force shutdown of node2, manual migration like "Migrating a guest in Case of Error" -> works perfectly, after the migration replication task changes from node2 -> node1 to node1 -> node2
Test3) Enable HA, webserver on node1, replication task to node2 every minute, force shutdown of node1, after 150 seconds webserver gets started on node2, replication task fails because node1 is offline (as ecpected). Start of node1 (after "repair"), webserver disappears on node1 (I guess because it sees that it is running on node2), offline migration of webserver from node2 -> node1, works without problems, replication task changes from node2 -> node1 to node1 -> node2
So where exactly does redistributing services after more preferred node comes online lead to errors?
Im testing the features storage replication and ha but I don't quiet understand this sentence in the wiki:
https://pve.proxmox.com/wiki/Storage_Replication
High-Availability is allowed in combination with storage replication, but it has the following implications:
- redistributing services after a more preferred node comes online will lead to errors.
- recovery works, but there may be some data loss between the last synced time and the time a node failed.
3 node cluster, local zfs storage
lxc 18.04 container with webserver on node1, replication to node2, every minute
Test1) Manual migration from webserver on node1 -> node2, no problems, replication task changes from node2 -> node1 as it says in the wiki
Test2) webserver on node2, replication to node1 every minute, force shutdown of node2, manual migration like "Migrating a guest in Case of Error" -> works perfectly, after the migration replication task changes from node2 -> node1 to node1 -> node2
Test3) Enable HA, webserver on node1, replication task to node2 every minute, force shutdown of node1, after 150 seconds webserver gets started on node2, replication task fails because node1 is offline (as ecpected). Start of node1 (after "repair"), webserver disappears on node1 (I guess because it sees that it is running on node2), offline migration of webserver from node2 -> node1, works without problems, replication task changes from node2 -> node1 to node1 -> node2
So where exactly does redistributing services after more preferred node comes online lead to errors?