[Linux-HA] What is the proper way to order NFS & IP resources
Andrew Beekhof
beekhof at gmail.com
Mon Feb 12 00:54:13 MST 2007
On 2/8/07, John Lange <john.lange at open-it.ca> wrote:
> Here is the challenge; 4 node cluster with 4 virtual IPs each running
> NFS.
>
> What is the proper way to configure this so IPs can move and NFS
> restarts whenever a new IP arrives on a node?
depends on the version a little bit... which do you have?
>
> Obviously only one instance of NFS should not be running on each machine
> so it would seem that it should be a clone resource but how do you order
> a clone resource making it dependent on all of the non-clone IP
> resources so that NFS gets restarted when the IP moves?
>
> That didn't seem like it would work so instead I created non-clone
> NFSServer resources, made each of them dependent on one of the IPs. But
> then won't they move and follow the IPs resulting in NFSServer being
> started twice (or more) on a node when it gets an IP?
>
> To solve that I thought I'd make the nfsserver resource +INFINITY sticky
> to its node, but then I can't see how it would restart nfsserver when an
> IP moves?
>
> I'm sure this is simple to do but I couldn't find an example anywhere
> for heartbeat2. I guess its not common to run 4 instances of NFS.
>
> Regards,
>
> John
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list