Re: Two node NFS cluster serving multiple networks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FYI -   everything worked as I expected.  I put a second interface in each host and configured it for another network.  Then, I configured the resources for this 2nd network and created a separate service specifically for the resources on this network.  So I have a service for nfs exports to our 91.0 network and another for exports to our 20.0 network.  Using different nfs client resources, I can mount rw on one network and ro on the other, for example.  I figured it would work this way, but I hadn't tested it yet.  I must admit I sweating a bit until I actually saw it work.

Thanks,

Randy

Brian Kroth wrote:
OK, poorly thought out example.

FYI, in heartbeat you can specify which interface to use for the
service IP, though like rgmanager, you generally don't have to:

http://www.linux-ha.org/HeartbeatResourceAgent/IPaddr2
http://www.linux-ha.org/v2/Examples/Simple

Alex Kompel <barbos@xxxxxxxxx> 2008-03-12 10:39:
  
You will still need some way to tell the system through which
interface you want to route outgoing packets for each target.
You can achieve the same with greater ease by splitting the network in
 2 subnets and assigning each to a single interface.
It all depends on the problem you are trying to solve. If you want
redundancy - use active-passive bonding, you want throughput - use
active-active bonding (if your switch supports link aggregation), if
you want security and isolation - use separate subnets.

-Alex

2008/3/12 Brian Kroth <bpkroth@xxxxxxxx>:
    
This is a hypothetical, but what if you have two interfaces on the same
 network and want to force one service IP to one interface and the other
 to a different interface?  I think what everyone is wondering is how
 much control one has over the service IP placement.

 Thanks,
 Brian

 Finnur Örn Guðmundsson - TM Software <fog@xxxx> 2008-03-12 14:36:


      
Hi,
        
 >
 > I see no reason why you could not have 3 diffrent interfaces, each connected to the networks you are trying to serve the NFS requests to/from. RG Manager will add the floating interfaces to the "correct" interface, that is, if your floating ip is 1.2.3.4 and you have a interface with the IP address 1.2.3.3 he will add the IP to that interface.
 >
 >
 > Bgrds,
 > Finnur
 >
 > -----Original Message-----
 > From: linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of gordan@xxxxxxxxxx
 > Sent: 12. mars 2008 14:10
 > To: linux clustering
 > Subject: Re:  Two node NFS cluster serving multiple networks
 >
 > Sounds very similar to what I'm trying to achieve (see the other thread
 > about binding failover resources to interfaces). I've not seen a response
 > yet, so I'm most curious to see if you'll get any.
 >
 > Gordan
 >
 > On Wed, 12 Mar 2008, Randy Brown wrote:
 >
 > > I am using a two node cluster with Centos 5 with up to date patches.  We have
 > > three different networks to which I would like to serve nfs mounts from this
 > > cluster.  Can this even be done?  I have interfaces available for each
 > > network in each node?
 >
 > --
 > Linux-cluster mailing list
 > Linux-cluster@xxxxxxxxxx
 > https://www.redhat.com/mailman/listinfo/linux-cluster
 >
 > --
 > Linux-cluster mailing list
 > Linux-cluster@xxxxxxxxxx
 > https://www.redhat.com/mailman/listinfo/linux-cluster

--
 Linux-cluster mailing list
 Linux-cluster@xxxxxxxxxx
 https://www.redhat.com/mailman/listinfo/linux-cluster

      
--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster
    

-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster
begin:vcard
fn:Randy Brown
n:Brown;Randy
org:National Weather Service;Office of Hydrologic Development
adr:;;1325 East West Highway;Silver Spring;MD;20910;USA
email;internet:randy.brown@xxxxxxxx
title:Senior Systems Administrator
tel;work:301-713-1669 x110
url:http://www.nws.noaa.gov/ohd/
version:2.1
end:vcard

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux