Quantcast
Viewing all articles
Browse latest Browse all 22

Cisco Smart zoning – part II: examples

Smart zoning examples

In my smart zoning post from last February I already presented the way to get started with Cisco smart zoning. I initially planned to give a more detailed calculation on how much time you can save if you were using smart zoning compared to SIST zoning.

Image may be NSFW.
Clik here to view.
SAN fabric

I was talking to an EMC SAN instructor (Richard Butler) this week and after I did a little white boarding and used my hands to picture how massive a traditional SIST zone environment would be, we agreed smart zoning is the way to go.

Single initiator, single target zoning

in the old days SIST zoning was pretty much the standard if you wanted to connect initiators to targets. SIST because with only 1 initiator and only 1 target per zone, you prevented unwanted logins from ports that were initiator as well as target (for example MirrorView ports in EMC Clariion or VNX). So if you take a look at the above picture, you can easily see that for redundancy and high availability reasons each HBA had to be able to reach each storage controller and therefore the host ended up having 4 SIST zones, 2 in each fabric or SAN.

Imagine having a dual controller storage array, like the VNX, with 4 ports per controller and 1 of these reserved for replication traffic. You end up with 3 available ports per controller. So i you were to “throw” every target port in 1 big smart zone, every initiator would be able to see every target (= 3) per fabric and each host would end up having 6 logins on each storage array instead of 4.

My best practice would be to make evenly large groups of targets and place the initiators (HBAs) in those groups, so each smart zone ends up having roughly the same number of wwpns. Don’t place every initiator in every smart zone, or you would end up with too many logins on the array again.

A0  B1  A2  B3 B0  A1  B2  A3
 Host 1  X HBA0 HBA0  X HBA1 HBA1
 Host 2  X HBA0 HBA0  X HBA1 HBA1
 Host 3  X HBA0 HBA0  X HBA1 HBA1
 Host 4  X HBA0 HBA0  X HBA1 HBA1
 Host 5  X HBA0 HBA0  X HBA1 HBA1
 Host 6  X HBA0 HBA0  X HBA1 HBA1

As you can see I excluded the replication port (A0 and B0), tried to distribute the remaining ports as evenly as possible over the 2 fabrics, keeping redundancy. I therefore placed 2 target ports of the A controller (A1 and A3) as well as one port of the other controller in the same fabric. On the other fabric I did the same thing, except reversed (B1, B2 and A2). For people who know about SAN and zoning this makes sense.

As you can see both A2 and B2 will get all initiators, but the other 2 ports per fabric will be distributed evenly. So we end up with two groups per fabric:

  1. hosts connected to B1, A2 as well as A1 and B2
  2. hosts connected to A2, B3 as well as B2 and A3

We will have to create smart zones containing the targets:

Fabric 1

  • B1, A2
  • A1, B2

Fabric 2

  • A2, B3
  • B2, A3

That’s only 4 zones per storage array!

Consider you have 4 arrays your hosts need to connect to and you have 20 hosts. In a traditional SIST zoning environment you’d end up having 20 (hosts) x 4 (zones per array) x 4 (arrays) = 320 SIST zones.

In my example the final number of smart zones would be 4 (per array) x 4 (arrays) = 16 smart zones.

And if you adapt your naming convention from something like “HOSTa_HBAb_ARRAYc_Ad” to something almost generic like “SZ_ARRAYc_B1_A2” and place all the hosts HBAs that need to connect to this smart zone in this smart zone, I’m guessing that even in the GUI (DCNM) this will only take a few minutes, considering you already created aliases for each HBA (you’d only have to select each alias for that smart zone and drag these into the right smart zone).

How long would it take you to create 320 SIST zones?

I rest my case.


Viewing all articles
Browse latest Browse all 22

Trending Articles