On 4/30/21 8:11 AM, Ken Gaillot wrote
2. Make the nfs mount itself a resource and make VirtualDomain
resources depend on it. In order for this to work each node would
need
it's own nfs mount resource, and VirtualDomain resources that can run
on
any node would need to depend on the nfs mount resource of whatever
node
they decide to run on but not the nfs mount resource of any other
node.
I'm not sure how to make this work because the dependency changes
with
what node the VirtualDomain resource is started on.
If each VM needs a particular mount, you can clone the NFS server,
create separate groups where groupN = (mountN, vmN), and colocate/order
the groups relative to the clone.
Thanks for the reply, but I'm not sure I follow. Why would I clone the
NFS server? I only need one server, and I only need the singular NFS
mount on each node.
Do you have documentation you could point to so I can catch up in my
understanding?
Matt
_______________________________________________
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users
ClusterLabs home: https://www.clusterlabs.org/