Hello,
First off, thanks for this amazing software. It's quite a pleasure to work with it, even though my head is spinning from learning all this new stuff.
We have a ha-cluster with three nodes. Two nodes will be running containers and should be able to take over the others containers in case of failure.
I setup drbd-partitions on these two that sync vice-versa. So far so good.
What I can't wrap my head around and can't find an answer is: how do I (automatically) failover a VZ-Container that is stored on a drbd-partition?
Can this not be done? I've searched for hours but can't find an answer.
What I tried/am trying:
drbd primary-primary:
doesn't seem to work because clustered filesystems don't work with OpenVZ. Tried with gluster 3.2, but container won't start and seems to be quite slow.
drbd primary-secondary:
I changed cluster.conf and drbd-partition failover works but the container-migration fails. How can I add a resource in cluster.conf to migrate the vz-configuration and startup the container after drbd has successfully failed over?
I'd really appreciate some input, even a link to some manual. I'll gladly rtfm, but currently I have a bit information overload and a steamy head.
Thanks a lot and kind regards
-Stephan
First off, thanks for this amazing software. It's quite a pleasure to work with it, even though my head is spinning from learning all this new stuff.
We have a ha-cluster with three nodes. Two nodes will be running containers and should be able to take over the others containers in case of failure.
I setup drbd-partitions on these two that sync vice-versa. So far so good.
What I can't wrap my head around and can't find an answer is: how do I (automatically) failover a VZ-Container that is stored on a drbd-partition?
Can this not be done? I've searched for hours but can't find an answer.
What I tried/am trying:
drbd primary-primary:
doesn't seem to work because clustered filesystems don't work with OpenVZ. Tried with gluster 3.2, but container won't start and seems to be quite slow.
drbd primary-secondary:
I changed cluster.conf and drbd-partition failover works but the container-migration fails. How can I add a resource in cluster.conf to migrate the vz-configuration and startup the container after drbd has successfully failed over?
I'd really appreciate some input, even a link to some manual. I'll gladly rtfm, but currently I have a bit information overload and a steamy head.
Thanks a lot and kind regards
-Stephan