LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Device major and minor numbers in Linux

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx, linux-ha-dev@xxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Device major and minor numbers in Linux
From: jsc3@xxxxxxxxxxxxx (John Cronin)
Date: Tue, 3 Jul 2001 15:56:16 -0400 (EDT)
> On Tue, 3 Jul 2001, John Cronin wrote:
> 
> > Using Linux (primarily Redhat 6.X and 7.X) how does one adjust device
> > major and minor numbers if one wants to do something like have failover
> > NFS service?
> 
> AFAIK you can't failover NFS in an LVS
> 
> http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO-10.html#ss10.24
> 
> do you know something that we don't?

Perhaps I should have posted it to the linux-ha list.  This is really
more of an HA/mon/heartbeat kind of thing, but I am looking at it from
the perspective of using it to provide storage to an LVS cluster.

The scenario I am looking at is using dual attached SCSI disks.  Actually,
I have done this before using heartbeat and mon with two Redhat 6.1 servers
and dual attached SCSI raid array, but we lucked out and the major and minor
numbers matched up.  In other words, it uses the same file system, but
we have two systems attached to the file system (though only one has
it mounted at any given time, obviously).  This is a common setup
for Veritas Cluster Server and Sun Cluster as well.

The one caveat is that you have to have two clusters: one to provide
NFS service and one to use it.  You cannot provide and use NFS service
from the same nodes, as there are file locking issues that can quite
easily result in deadlock during failover.

-- 
John Cronin
mailto: `echo NjsOc3@xxxxxxxxxxx | sed 's/[NOSPAM]//g'`


<Prev in Thread] Current Thread [Next in Thread>