?
Solved

Qlogic SAN setup/zoning questions

Posted on 2009-04-28
3
Medium Priority
?
809 Views
Last Modified: 2013-11-14
We have an Apple XServe RAID (XRaid) which is currently directly connected to a Mac computer.  We want to have the ability to connect a second Mac to the XRaid.  I know that two Macs can't access the same volume simultaneously - we would dismount the volume on Mac 1 and then mount on Mac 2 and vice versa.

We have purchased a Qlogic 5602Q fiber channel switch and all the cables/transceivers/cards necessary to physically hook both Macs amd the Xraid up to the switch.  What do I need to do on the switch as far as configuration so that both Macs will be able to see both of the XRaid controllers?
0
Comment
Question by:FWeston
  • 2
3 Comments
 
LVL 7

Expert Comment

by:dolomiti
ID: 24272718
hi,
I don't know Apple XRaid, but  I know something about SAN.

Generally speaking, 2 computers cannot access same volume :
this is not in the sense that "they are not able to",
but is in the sense: "they have not to access same volume":

if they do, before or after the partition inside volume, will be corrupted.

Two or more hosts can access (in the sense "is allowed") to a same volume,
(using FC switch as you have got), ONLY if they use a software
that synchronize them, as Cluster, Virtualizzation, or other.

If you need share files, you have to permit access to the SAN, just to 1 server:
this, after, using own File Sharing protocol, (NFS for Unix, SMB for Windows,...)
will share documents to other servers.

Do you agree ?

You can wire both Macs to the Storage, via Switches, but on the Storage, you
have to mask each volume to each wwname of the HBA/Macs.

How many HBA or port per HBA have you each MAC ?

bye
vic
0
 
LVL 3

Author Comment

by:FWeston
ID: 24279478
Hi,

I already know that they won't both be able to access the same volume at the same time.  As I've said, I need to allow both Macs the ability to see each volume with the understanding that only one will be able to have it mounted at any given time.

Each Mac has one dual-port HBA.

Thanks
0
 
LVL 7

Accepted Solution

by:
dolomiti earned 2000 total points
ID: 24281327
hi,
thank you for answer, and clarity.

Usually to connect a dual-controller Storage with dual-channel HBAs or 2 HBA/server,
2 FC-Switches is used.
Suppose we have two FC-Switches and each FC-Switch has 10 ports

See Solution Alpha in the snippet.

This is physical FC schema, where <======> are FC cables (six).
Done this, you have to zone the Switches; you can zone by wwname
or port number. Suppose you choose PortNumber

On SwitchA, you create 2 zones:

Zone_1 = Port10,Port_1
Zone_2 = Port10,Port_2

On SwitchB, you create 2 zones (same names, same ports) :

Zone_1 = Port10,Port_1
Zone_2 = Port10,Port_2



If you have just one switch, there is no problem;
you have just a single point of failure if Swich fails.
Consider to use ports 11-20 of your switch as port 1-10 of Switch(B)  (See solution Beta)

On this switch, define 4 zones:

Zone_1 = Port10-Port_1
Zone_2 = Port10-Port_2
Zone11 = Port20-Port11
Zone12 = Port20-Port12

That's all ? No!

>>>>>> On the storage,  you have to define
- 2 or more Logical Volumes
- 2 hosts, and attached each host, the wwname of the 2 ports
example
Host1
Host1-HBAa=12341234000A000B
Host1-HBAb=12341234000A000C

Host2
Host2-HBAa=12341234000A000D
Host2-HBAb=12341234000A000E

You can find HBA's wwname in many ways:
* Reading physically on the HBAs
* See on Hosts by specific program (also Qlogic ones)
* At bios level
* On the Storage (not always possible) , if you attach one at time and note wwname and/or put in group

- Share each Volume to 1 host (create the LUN)

Volume1(  music  )--->Host1 = LUN_0
Volume2(pictures)--->Host1 = LUN_1

Volume3(  video  )--->Host2 = LUN_0


>>>>>> On the server you need:
- Device driver for HBA
- Multi-path Software

if you don't install the first, you will not see any disk
if you don't install the last, you'll see each Volume 2 times,

but knowing Apple (just as end-user), I believe all will be easy and perfect as use an IPod.

bye
vic

                S O L U T I O N   Alpha:   two switches
/-------\                                                      /-------\
|       |                                                      |       |
!     1 +<=============> HBA(a)-Host(1)-HBA(b) <=============> + 1     |
! S   2 +<=============> HBA(a)-Host(2)-HBA(b) <=============> + 2   S |
! w   3 |                                                      | 3   w |
! i   4 |                                                      | 4   i |
! t   5 |                                                      | 5   t |
! c   6 |                                                      | 6   c |
! h   7 |                                                      | 7   h |
!     8 |                                                      | 8     |
!(A)  9 |         /--------------\   /--------------\          | 9  (B)|
!    10 +<=======>+ Controller(a)|   | Controller(b)+<=======> +10     |
|       |         \--------------/   \--------------/          |       |
\------/                                                       \-------/ 
 
 
    o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
 
 
 
                 S O L U T I O N   Beta: one Switch
/-------\                                                      ~~~~~~~~~
|       |                                                      |       |
!     1 +<=============> HBA(a)-Host(1)-HBA(b) <=============> +11     |
! S   2 +<=============> HBA(a)-Host(2)-HBA(b) <=============> +12   S |
! w   3 |                                                      |13   w |
! i   4 |                                                      |14   i |
! t   5 |                                                      |15   t |
! c   6 |                                                      |16   c |
! h   7 |                                                      |17   h |
!     8 |                                                      |18     |
!     9 |         /--------------\   /--------------\          |19     |
!    10 +<=======>+ Controller(a)|   | Controller(b)+<=======> +20     |
|       |         \--------------/   \--------------/          |       |
~~~~~~~~~                                                      \-------/ 

Open in new window

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question