Date: Fri, 18 Oct 2002 17:23:40 -0700 (PDT) From: Nate Lawson <nate@root.org> To: Mike Thompson <mike@atomz.com> Cc: freebsd-scsi@freebsd.org Subject: Re: Multiple FreeBSD SCSI Hosts Message-ID: <Pine.BSF.4.21.0210181720530.47792-100000@root.org> In-Reply-To: <4.3.2.7.2.20021018162828.00b0b4d0@pop.atomz.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Oct 2002, Mike Thompson wrote:
> At 03:41 PM 10/18/02 -0700, Nate Lawson wrote:
> >What are you trying to achieve? If you are trying to have apps on two
> >boxes sharing data via this method (say a webserver cluster), you're going
> >to end up with consistency problems from the FILE SYSTEM. SCSI is not the
> >problem -- multiple initiators have been around forever.
>
> I'm trying to essentially keep a live hot spare that can be manually
> configured to take over for the primary server should it fail for some
> reason. The secondary really doesn't need access to the shared SCSI volume
> until such time. Considering the problems mentioned regarding the file
> system it would probably be best for the secondary to not mount the shared
> SCSI volume until the primary has unmounted it (or been turned off).
>
> Mike
Excellent choice and that should work fine. You could even not have the
drive detected until the main box crashes:
if (heartbeat_dead) {
camcontrol rescan 0
fsck /dev/daX
mount /dev/daX /recovery/mnt
notify_admin()
}
-Nate
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0210181720530.47792-100000>
