Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Safe way of mounting FC SAN storage visible to 2 machines ?
@ 2002-09-07 15:20 Howard Anderson
  2002-09-07 15:54 ` Adam Price
  2002-09-08  0:12 ` Martin
  0 siblings, 2 replies; 5+ messages in thread
From: Howard Anderson @ 2002-09-07 15:20 UTC (permalink / raw)


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.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Safe way of mounting FC SAN storage visible to 2 machines ?
  2002-09-07 15:20 Safe way of mounting FC SAN storage visible to 2 machines ? Howard Anderson
@ 2002-09-07 15:54 ` Adam Price
  2002-09-08  0:12 ` Martin
  1 sibling, 0 replies; 5+ messages in thread
From: Adam Price @ 2002-09-07 15:54 UTC (permalink / raw)


Howard Anderson wrote:
> Dear All,
<SNIP Background>
>
> Is there a safe way to mount the ADVFS partition on both systems, to
> look at this file ?
No supported way that I am aware of.


> Can I do a mount -r (or mount -o ro) on both systems, without risk of
> corrupting the ADVFS partition ?
Sounds scary to me, but try it.

> Failing this, is there a better way of solving the above problem?
>
Upgrade to V5 and use CFS.


> Thanks in advance for any help,
>
> Howard Anderson.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Safe way of mounting FC SAN storage visible to 2 machines ?
  2002-09-07 15:20 Safe way of mounting FC SAN storage visible to 2 machines ? Howard Anderson
  2002-09-07 15:54 ` Adam Price
@ 2002-09-08  0:12 ` Martin
  2002-09-10 22:34   ` TF
  1 sibling, 1 reply; 5+ messages in thread
From: Martin @ 2002-09-08  0:12 UTC (permalink / raw)


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" <nospam_hcanderson@tcp.co.uk> 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.
>
>
>
>




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Safe way of mounting FC SAN storage visible to 2 machines ?
  2002-09-08  0:12 ` Martin
@ 2002-09-10 22:34   ` TF
  2002-09-17 14:06     ` xz11
  0 siblings, 1 reply; 5+ messages in thread
From: TF @ 2002-09-10 22:34 UTC (permalink / raw)


How about setting the HSG80 unit to write protect mode when both node
require to access it? This can be scripted using cmdscript or hsxterm.

TF

On Sun, 08 Sep 2002 00:12:19 GMT, "Martin" <digicamguy@hotmail.com>
wrote:

>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" <nospam_hcanderson@tcp.co.uk> 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.
>>
>>
>>
>>
>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Safe way of mounting FC SAN storage visible to 2 machines ?
  2002-09-10 22:34   ` TF
@ 2002-09-17 14:06     ` xz11
  0 siblings, 0 replies; 5+ messages in thread
From: xz11 @ 2002-09-17 14:06 UTC (permalink / raw)



"TF" <glatisant68@hotmail.com> wrote in message
news:3d7e7312.898157@news.freeserve.co.uk...
> How about setting the HSG80 unit to write protect mode when both node
> require to access it? This can be scripted using cmdscript or hsxterm.


Yeah, this sounds the best bet.

Now I just need to find hsxterm & cmdscript.
(I presume these are on the StorageWorks Modular storage RAID array solution
software CDROM?)

I have now got the read only mount method working using my bespoke software.
But there is always a danger it will try to mount both read-write. It only
needs the master/slave entity decision software to have a timing issue fault
not spotted in testing.



Thanks for your and (everyone else's) help on this.

Regards,
Howard Anderson.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-09-17 14:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-07 15:20 Safe way of mounting FC SAN storage visible to 2 machines ? Howard Anderson
2002-09-07 15:54 ` Adam Price
2002-09-08  0:12 ` Martin
2002-09-10 22:34   ` TF
2002-09-17 14:06     ` xz11

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox