[ClusterLabs] Resolving cart before the horse with mounted filesystems.
kgaillot at redhat.com
Fri Apr 30 14:51:46 EDT 2021
On Fri, 2021-04-30 at 16:20 +0000, Strahil Nikolov wrote:
> Ken ment yo use 'Filesystem' resourse for mounting that NFS server
> and then clone that resource.
> Best Regards,
> Strahil Nikolov
OK, now I'm thinking everyone who reads this has a different
Matthew, can you give more details about your use case?
If you only need one NFS server, then it's fine not to clone it. The
groups can be ordered after the NFS server without requiring them to be
colocated with it.
> > On Fri, Apr 30, 2021 at 18:44, Matthew Schumacher
> > <matt.s at aptalaska.net> wrote:
> > 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
Ken Gaillot <kgaillot at redhat.com>
More information about the Users