From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,629925758dd6ba8 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-07 17:12:21 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!news-out.visi.com!hermes.visi.com!newsfeeds-atl2!news.webusenet.com!news03.bloor.is.net.cable.rogers.com!news02.bloor.is.net.cable.rogers.com.POSTED!not-for-mail From: "Martin" Newsgroups: comp.unix.tru64 References: Subject: Re: Safe way of mounting FC SAN storage visible to 2 machines ? Organization: Rogers X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Sun, 08 Sep 2002 00:12:19 GMT NNTP-Posting-Host: 24.102.92.45 X-Complaints-To: abuse@rogers.com X-Trace: news02.bloor.is.net.cable.rogers.com 1031443939 24.102.92.45 (Sat, 07 Sep 2002 20:12:19 EDT) NNTP-Posting-Date: Sat, 07 Sep 2002 20:12:19 EDT Xref: archiver1.google.com comp.unix.tru64:8582 The HSG80 provides LUN masking via "Selective Storage Presentation". This allows you to assign a LUN to a specific CONNECTION(s) on the controller. This will solve your problem of both systems seeing the same LUN. At the CLI you can do a SHOW CONNECTIONS You should see the host connections for the 2 Tru64 systems on the fabric. Assign the LUN to the specific server. Check the SET command in the CLI reference guide for the exact syntax to do this. "Howard Anderson" wrote in message news:YOoe9.363744$Aw4.15212881@bin2.nnrp.aus1.giganews.com... > Dear All, > > I am configuring a pair of ES40 systems with Tru64 4.0G, with the ITSEC > patch kit (based on patch kit 2). > (I know this is not the latest O/S and patch level, but I am stuck with it.) > > I have a StorageWorks SAN connected to both systems via Fibre Channel HBA's. > > The StorageWorks uses a pair of HSG80 controllers, configured in Transparent > failover > mode. > The installation guide states that Multi bus failover can only be used with > ver 5.x of the O/S :-( > > I am creating 4 RAIDS down the 6 shelves, with 2 hot spare disks, and will > have it containing 1 big ADVFS filesystem. > > The systems are going to be configured as a failover pair using our own > Code. > (As we have used on earlier systems, - again I am not allowed to use > TruCluster.) > > Previously we used a Baydel Dar5 RAID with dual SCSI connectors, which were > hardware switched (and switched via controlling software on a pair of NT > PCs.) To only allow one system to physically 'see' and hence mount the RAID > at any one time. > > Now with the Fibre Channel HBA's both systems can 'see' the RAID at the same > time. > > I need to modify our own code to handle the Master/Slave start-up, and > failover switching in this configuration. > > The current plan is to write a file into the shared storage containing the > name of the last host to be master. Software can then check for the presence > of this file, and act upon its contents. > > To cut to the chase, my question is: > > Is there a safe way to mount the ADVFS partition on both systems, to look at > this file ? > Can I do a mount -r (or mount -o ro) on both systems, without risk of > corrupting the ADVFS partition ? > (Obviously once the Bespoke failover software has decided which machine > should be master, this one machine will then remount as read-write. > > Failing this, is there a better way of solving the above problem? > > Thanks in advance for any help, > > Howard Anderson. > > > >