From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Greinig, Peter" Newsgroups: gmane.os.tru64.managers Subject: UPDATE: Mounting storageset on multiple nodes in SAN. Date: Tue, 03 Dec 2002 12:49:12 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <321FB5727DA49F4585CCB0ABDE2E920034835A@BN-EXCH55-01> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1038919572 6697 80.91.224.249 (3 Dec 2002 12:46:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Dec 2002 12:46:12 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18JCRG-0001ji-00 for ; Tue, 03 Dec 2002 13:46:11 +0100 Original-Received: (qmail 16388 invoked by uid 5); 3 Dec 2002 12:48:15 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16379 invoked by uid 49493); 3 Dec 2002 12:48:15 -0000 Original-Received: from Peter.Greinig@bourne-leisure.co.uk by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(-6.0/5.0):. Processed in 0.530076 secs); 03 Dec 2002 12:48:15 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 3 Dec 2002 12:48:14 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H6J00HGWNKD1Y@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 Dec 2002 07:48:14 -0500 (EST) Original-Received: from mail1.messagelabs.com (mail1.messagelabs.com [212.125.75.4]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with SMTP id <0H6J00HJXNK835@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 03 Dec 2002 07:48:09 -0500 (EST) Original-Received: (qmail 15663 invoked from network); Tue, 03 Dec 2002 12:48:06 +0000 Original-Received: from no-dns-yet.demon.co.uk (HELO ho-exch55-01.butlins.co.uk) (194.159.178.33) by server-23.tower-1.messagelabs.com with SMTP; Tue, 03 Dec 2002 12:48:06 +0000 Original-Received: by HO-EXCH55-01 with Internet Mail Service (5.5.2653.19) id ; Tue, 03 Dec 2002 12:46:34 +0000 Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) X-VirusChecked: Checked X-Env-Sender: Peter.Greinig@bourne-leisure.co.uk X-Msg-Ref: server-23.tower-1.messagelabs.com!1038919686!16514 Xref: main.gmane.org gmane.os.tru64.managers:2616 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2616 All, Sorry to continue on this topic following a summary, but having thought I had a solution which would work ok given some care the following comments (from Alan Davis) got me more worried! > The problem goes deeper than that. > Unless the SAN insulates each machine from SCSI errors (the HSG's don't, the > EVA might but I wouldn't bet on it without lots of research) if the > presented devices take a SCSI error every machine that the device is > presented to will try to handle it. This causes one or more of the systems > to crash. The systems may run for months to years without problems, but you > are not protected, the systems are not configured in a supportable manner > (HP service won't help you fix them if they crash), and it's just a Really > Bad Idea(tm). Does anyone else (esp. from HP!) have any views on this - I guess I'm talking the scenario of: 1. Storageset visible to 3 (non-clustered) nodes on SAN (i.e. not tied down to one machine by the HSG80s). 2. Storageset mounted on 1 (only) of these machines. 3. SCSI error occurs on Storageset (e.g. mirror disk failure while machine is writing to it) 4. Who/what handles the error? Is it true that ALL machines that can see the disk really do try and handle the error (even though the storageset isn't actually mounted on two of them)? Comments from people before hadn't suggested this one, and I don't really want to bring down our whole production environment because of something like this! Regards, Peter Greinig. -----Original Message----- From: Greinig, Peter [mailto:Peter.Greinig@bourne-leisure.co.uk] Sent: Monday, December 02, 2002 9:44 AM To: tru64-unix-managers@ornl.gov Subject: SUMMARY: Mounting storageset on multiple nodes in SAN. All, Thanks to Martin Petder, Peter Gergen, Johan Brusche, Thomas Sjolshagen, Mark Deiss and Pat O'Brien for their responses. The general conclusion is that mounting a fileset on more than one (unclustered) node simultaneously is not a good idea at all! (I didn't think it was either...) Pat O'Brien went one stage further and actually tried it out (you're braver than I am!!!), Pat's conclusion being that with two different systems writing to the same disk one cannot see the changes made by the other and eventual corruption is the result. Given that my whole reason for having this storageset available to any of the three machines is to be able to move data around without it going over the LAN (so ruling out NFS mounts etc) then I am proposing the following (suggested by most of the people above): 1. No entry in /etc/fstab for this domain/fileset on ANY machine 2. A daemon process running on each machine which will be responsible for mounting the fileset on that machine. For this process to mount the fileset it will have to receive a 'not mounted' response from BOTH other machines. 3. A simple interactive script which will place a mount (or unmount) request with the above daemon. 4. Communication between the interactive scripts & the three daemons to be done using RCP or small NFS mounts. 5. Tell anyone with root access (fortunately very few people) that if they even THINK of mounting the fileset manually then bits of them will be cut off (!) Given that all data on this fileset is transitory, i.e. we can afford to loose it, then I think this will be the best approach. Thomas Sjolshagen (HP Tru64 engineer) suggested that corruption could cause an AdvFS IO domain panic, but that this shouldn't cause a general system panic (unless live_dumps set to 0 in sysconfig) - I'm happy to live with the possibility of domain panics... Again, thanks for the responses. Regards, Peter Greinig. Systems Programmer Bourne Leisure Group Ltd ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________