All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Waychison <Michael.Waychison@Sun.COM>
To: raven@themaw.net
Cc: autofs@linux.kernel.org, "Keeler,
	Wayne T (Wayne)" <wtkeeler@agere.com>,
	nfs@lists.sourceforge.net
Subject: Re: Replicated hosts in autofs
Date: Tue, 16 Nov 2004 12:56:57 -0500	[thread overview]
Message-ID: <419A3F69.9020601@sun.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0411152128070.8422@donald.themaw.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

raven@themaw.net wrote:
> On Fri, 12 Nov 2004, Keeler, Wayne T (Wayne) wrote:
> 
> 
>>Hi,
>>
>>I have read many threads regarding replicated hosts for autofs v3 and
>>v4. 
>>
>>Here is my scenario:
>>
>>On a linux host (Opteron running RHEL 3 WS kernel 2.4.21-20.ELsmp, I
>>have the following automount configured:
>>
>>mountpoint -fstype=nfs,-proto=tcp,ro host1,host2:/tmp/ro
>>
>>The goal in my implementation is that after the initial mount occurs to
>>host1 or host2, if that particular host fails, nfs will pick up the
>>mount on the alternate host. Note that since both mount points are read
>>only, this serves as a lower cost, higher availability solution. This
>>works on Solaris.
> 
> 
> Nop. Not available in Linux.
> 
> 
>>I have had no success with this on Linux. It seems that the replication
>>only works on the initial mount/rpc call. Once the initial mount occurs,
>>it doesn't appear there is any fail-over capability.
> 
> 
> Yep. I believe you are correct.
> 
> 
>>I have even installed RedHat's Beta version of E4 (kernel
>>2.6.9-1.648_ELsmp). The result is the same. If I crash the machine that
>>originally had the mount-point, the end result is a hung mount and
>>fail-over never occurs.
>>
>>I can't seem to find any information that indicates that this should or
>>should not work by design.
>>
>>Can someone please definitively tell me if the capability I am seeking
>>is available via the autofs supplied by RedHat in Enterprise 3?
> 
> 
> I don't think that this is practicle to do in autofs.
> 
> This is the source of statements like "this functionality belongs in NFS 
> or mount". The limited implementation in autofs is there because of the 
> lack of it in NFS.
> 
> The question then is "does autofs or mount/NFS handle this in Solaris"?
> 
> Mike?

This is handled in the NFS code in Solaris (for the read-only failover
bits).  I remember reading it being listed on one of the many Linux nfs
priority lists on the net, but I can't find it now.  I don't think
anyone is working on this just yet.

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBmj9pdQs4kOxk3/MRAi6dAJ9nBswZwFZO+ucAnu9sbOa740X3DgCfXJ0W
J1DL7hYYQZaMXmVG9POHBZ8=
=1WFI
-----END PGP SIGNATURE-----

  reply	other threads:[~2004-11-16 17:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-12 18:53 Replicated hosts in autofs Keeler, Wayne T (Wayne)
2004-11-15 13:34 ` raven
2004-11-16 17:56   ` Mike Waychison [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-11-15 14:03 Keeler, Wayne T (Wayne)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=419A3F69.9020601@sun.com \
    --to=michael.waychison@sun.com \
    --cc=autofs@linux.kernel.org \
    --cc=nfs@lists.sourceforge.net \
    --cc=raven@themaw.net \
    --cc=wtkeeler@agere.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.