This post is more than 5 years old
1 Rookie
•
114 Posts
0
10506
March 4th, 2013 11:00
smart zoning on cisco
Anybody uses smart zoning on cisco fabrics ? (new since 5.2.6)
Supposedly smart zones can have multiple initiators in a zone, but communication is only allowed initiator to target :
http://www.cisco.com/en/US/prod/collateral/ps4159/ps6409/ps5987/at_a_glance_c45-708533.pdf
or this blog :
Is it a good idea to replace the multiple single-initiator-single-target zones we have to deal with now, with one smart smart zone ?
No Events found!
cincystorage
2 Intern
•
467 Posts
1
March 4th, 2013 20:00
Smart Zoning is pretty awesome and I highly recommend it to anyone. The basic idea is that you will create a smart zone as various types. In my example i'm going with a 15 host ESX environment called ESXProd connect to two fabrics, A and B on separate HBA ports. Each fabric has two VMAX FA ports shared by the ESX hosts. Using traditional 1-to-1 zoning each host would have something like this:
ESX1_HBA1_7e1 VSAN 1
ESX1_HBA1_9e1 VSAN 1
ESX1_HBA2_8e1 VSAN 2
ESX1_HBA2_10e1 VSAN 2
Each zone contains two member pwwn - one for the server's HBA and one for the FA Port. All in i'd have 60 zones (4 zones times 15 hosts) to manage and deal with.
Using a one-to-many SmartZone we allow a single initiator to connect to multiple targets. That means my zoning per server is now:
ESX1_HBA1_7e1_9e1 VSAN 1
ESX1_HBA2_8e1_10e1 VSAN 2
Each zone has three pwwn - one for the server's HBA, and two for the FA Ports. It's a lot less zones than the traditional approach, but it's still 30 zones in all. I think the better option is the many-to-one SmartCone which allows multiple initiators to talk to a single target. sing this we end up with far less zones, like this:
ESXProd_7e1 VSAN 1
ESXProd_9e1 VSAN 1
ESXProd_8e1 VSAN 2
ESXProd_10e1 VSAN 2
Each SmartConnect zone contains 16 pwwn. 15 for server HBA WWNs and 1 for the FA WWN. Total zones used? Four. When adding a new ESX host to this cluster we simple modify the SmartZone to add a new member pwwn.
The third option, which Cisco does not recommend but does work is many-to-many. We'd end up with two zones, one per fabric.
You can zone using device alias, pwwn, fcid, or fc alias as members in SmartZones. Enable SmartZone at the fabric, zone, or zoneset level..
dynamox
9 Legend
•
20.4K Posts
0
March 4th, 2013 21:00
do you have to go through some kind of conversion process or SmartZones can work next to traditional zones in the same zone set?
cincystorage
2 Intern
•
467 Posts
0
March 4th, 2013 22:00
Yeah, they have a conversion process which will identify each member as either an initiator or target by probing the name server for the information.
When you add a member it's just like the current syntax except you have to specify it as either init, target, or both:
member pwwn 10:00:00:12:134:56:99 target
Zoning then will only allow initiators to talk to targets and not other initiators.
Enabling Smart Zoning is as simple as "zone smart-zoning enable vsan 100". Then you have to convert your existing zones... you can do it per zone, vsan, zonetset, or fc alias like so: "zone convert smart-zoning zone name vsan " or "zone convert smart-zoning vsan "
If, for whatever reason, you need an target to talk to a target or init to init you just disable Smart Zoning on that zone: "no attribute disable-smart-zoning" inside that zone..
It's a simple process really.. I don't know about you but adding a new host to my esx farm requires so many zones... it's a big pain in the ass for most people (not me, since i automate it with perl
)
dynamox
9 Legend
•
20.4K Posts
0
March 4th, 2013 22:00
my ESX farms are not as big as yours, especially now that we are migrating from HP C-class blades to big UCS blades. I use bash for creating zone files that i import in Fabric Manager, i save perl for big parsing jobs
cincystorage
2 Intern
•
467 Posts
0
March 4th, 2013 23:00
I have about 160 blades all in in my ESX farms.. so many zones....Can you import a zone into Fabric Managler? I usually have just created them via cli, then activate via FM.
I have lots of issues with FM tho... runs slow...randomly stop working... thats why it's Fabric Managler lol
dynamox
9 Legend
•
20.4K Posts
0
March 5th, 2013 05:00
yes, you can import new zones in Fabric Manager, once you go into "edit active zone set" option, select Restore and point to a file name that contains your new zones (file should start with first line "config terminal").
dynamox
9 Legend
•
20.4K Posts
0
March 5th, 2013 07:00
Mark, i am telling you man ..YOU WILL automate yourself out of a job
cincystorage
2 Intern
•
467 Posts
0
March 5th, 2013 07:00
Damn, learned something new today. I have defined templates for my zones (by port group on the VMAXs, or SP pairs on the VNXs).. so all I do is "./newzone.pl [-existinghost | -newhost | -wwn] ".
If you specify -newhost it generated the config to create the fcalias and uses that to zone, -existinghost will presume the existance of an fcalias, and -wwn will forgo all aliasing and uses straight member pwwn...
It's was pretty nice..but Smart Zoning is a lot nicer in my environment..
dynamox
9 Legend
•
20.4K Posts
0
March 5th, 2013 08:00
yep, followed by software defined storage administrator
cincystorage
2 Intern
•
467 Posts
1
March 5th, 2013 08:00
Haha We're pretty lean on staffing here... we've got 4 vmax, 4 vnx, and 4 cx arrays.. plus 3 isilons, a few centera 16 node clusters, 4 datadomains, and a dozen celerra data movers. It's just me and a junior admin i'm training... I guess that's about 7pb of managed space per admin... not sure what the normal is..but seems pretty low to me...
I figure if I don't automate myself out of a job VMAX Cloud Edition or VPLEX Cloud Edition (I think thats the next logical step) will do it anyways
bhalilov1
1 Rookie
•
114 Posts
0
March 5th, 2013 09:00
Talking about automation and zoning, have you guys seen the new proposal for target driven zoning ? Erik Smith ( @ErikSmith7 ) presented it last year at EMCworld, and he told me they will be demoing it this year. This is long post, but is is a very interesting one :
Introducing Target Driven Zoning (TDZ) - Brass Tacks
In a nutshell :
Without TDZ
With TDZ
cincystorage
2 Intern
•
467 Posts
0
March 5th, 2013 09:00
We're around 90% VM here today.. with a rather anti-public-cloud legal policy... so i'm curious how the vmware vCloud quite plays out in effecting my role as a storage administrator..
dynamox
9 Legend
•
20.4K Posts
0
March 5th, 2013 10:00
now that would be slick, interesting how this would handle the different routing mechanism (IVR)
cincystorage
2 Intern
•
467 Posts
0
March 5th, 2013 10:00
I actually have a perl script somewhere that I have used to make my initial zoning during switch migrations from McBroData to Cisco.. It just dumps the masking db, parses it, and outputs zones... Intresting idea to automate the creation of that zone... I think what you'd have behind the scenes is a default zone which contains every initiator which isnt already in a zone and all the targets...Then you just probe the masking database for any new entries, and generate the zone.. it sounds pretty friggin sweet...
Sounds like a reason to have a few drinks @ EMC World and discuss..
dynamox
9 Legend
•
20.4K Posts
0
March 6th, 2013 13:00
Mark,
can you share how you approached this "conversion" process? Were you using traditional zoning before that and how did you convert to smart zones ? Did you create new smart zones, put them in the active zone set and removed the other ones ? At one site i am getting ready to migrate from 9222i/9134 hodge-podge to 9509 so there i am thinking of starting with Smart Zones from the get go but at my other side i have 9513 where i would like to implement it "in-place".