[Linux-HA] Active-Active NFS on Shared SCSI

Kirk Ismay captain at netidea.com
Fri Dec 1 15:11:22 MST 2006


Dave Dykstra wrote:
> What exactly do you mean by Active-Active?  I haven't tried it
> nor studied Matt Schillinger's web page but a quick look at the
> haresources you posted in last week's message doesn't make it seem
> like you think it's the same thing as I think it means.  I would
> expect you to export one filesystem from one system and a different
> filesystem from the other.  I would think you should be able to get
> that to work.  I'm not sure what the "nfs::node1" resource entry
> means under "node2".  Are you trying to nfs-mount a filesystem on an
> nfs server?  That usually means trouble.
> 
> - Dave Dykstra

By Active/Active I mean node1 normally controls volume1 (on the RAID), 
node2 controls volume2.  If node1 fails, node2 mounts volume1, and 
exports those directories as well. I'm using a virtual IP for each node 
as well.

In this configuration, neither node mounts exported directories from the 
other node, so no cross mounting is going on.

The original haresources was my initial stab at getting it working, 
which it did (sort of). The nfs::node1 bit is the nfs resource script 
from Matt's page. Here's what it looks like with both volumes.

node1	192.168.0.50 LVM::/dev/storage1 \
    Filesystem::/dev/mapper/storage1::/srv/exports/raid1::ext3\
    nfs::node1
node2  192.168.0.51  LVM::/dev/storage0 \
    Filesystem::/dev/mapper/storage0::/srv/exports/raid0::ext3\
    nfs::node1

I haven't had any luck getting this configuration to work.

-- 
Sincerely,
Kirk Ismay
System Administrator

--
Net Idea
201-625 Front Street Nelson, BC V1L 4B6
P:250-352-3512 | F:250-352-9780 | TF:1-888-352-3512

10 Years of Service Excellence!

Check out our brand new website! www.netidea.com


More information about the Linux-HA mailing list