You are on page 1of 6

0

More NextBlog

CreateBlog SignIn

Saturday,24December2011

Rugged Data
Storage

ABrocadeSwitchCLIZoningConfigurationWalkthrough
Scenario:
AnewVMwarehostserverhasbeenpurchasedwithacoupleofFibreChannel(FC)HBAs.Youaretasked
withpatchingthefibrecablesintoaFibreChannelswitchstackpaironefibrecableperswitchandthen
needtoconfigurethezoningontheFCswitchestosupportconnectiontoanFCSAN.

RPC24 RAID - Dual Disk


Magazines VPX SAS and
SATA SSD/HDDs

Walkthrough:
Note:Theoutputexamplesbelowhavebeentruncatedtoshowjustthemostinterestingbits.Intheexamples
weareconfiguringthezoningforanewhostcalledESX03,haveconnectedtheFCHBA'sintoportsnumber
8oneachFCswitch.TheFCswitchesarecalledFCSW01andFCSW02.TheFCswitchesusedwereHP
4/16BSeries(Brocade)runningFabricO/S6.2.2d.AndtheSANisaHPEVAwithtwocontrollers
(EVA_ContrAandEVA_ContrB.)

Home
Aboutthisblog
2015Contents

UsingatoollikePutty(forSSH,Telnet,Serial,...)orsimilar,andviaaconnectiontoafibrechannelswitch
usingeitheraserialconsoleconnectionorethernetmanagementinterfacelogintotheCLIandrunthese
commands:

2014Contents

Step1:>switchshow
RuntheswitchshowcommandtofindthezoningconfignameandWWNofnewlyconnectedHBA.Copy

2012Contents

2013Contents

theWWNforlateruse.

2011Contents

Example:
Theexamplebelowshowstheconfigname"Company_Default"andlookingonthelineforport8givesus
theWWNofconnectedFCHBA

2010Contents

FCSW01:admin>switchshow
zoning:ON(Company_Default)

BriefNotes

AreaPortMediaSpeedStateProto
=====================================
88idN4OnlineFPort10:00:00:00:c9:83:63:1d
Step2:>cfgshow
Runthecfgshowcommandtodisplaytheconfigurationandseehowthezoningiscurrentlyconfigured.
Example:
TheexamplebelowshowshowtheESX02zone(ESX02z)isconfigured.TheESX02zonecontainstheEVA
SAN'scontrollerAport1andcontrollerBport1(controllerports2arepluggedintoFCSW02,)andtheESX02
hostsFCHBAwhichisconnectedintoFCSW01.)Alsodisplayedarethealiasesusedandtheirassociated
WWNs.
FCSW01:admin>cfgshow
Definedconfiguration:
cfg:Company_Default
ESX02z
zone:ESX02zEVA_ContrBP1EVA_ContrAP1ESX02
alias:EVA_ContrBP150:00:1f:e1:50:0b:81:5c
alias:EVA_ContrAP150:00:1f:e1:50:0b:81:58
alias:ESX02_110:00:00:00:c9:5e:8d:06
Effectiveconfiguration:
cfg:Company_Default
zone:S_ESX02z
50:00:1f:e1:50:0b:81:5c
50:00:1f:e1:50:0b:81:58
10:00:00:00:c9:5e:8d:06

Links

Anytime Anywhere
Access
To All Your Life Insurance
Policies Electronic Insurance
Account

BlogArchive
2015(7)
2014(172)
2013(157)
2012(148)
2011(61)
December(8)
ABrocadeSwitch
CLIZoning
Configuration
Walkthro...

Step3:>alicreate"NAME","WWN"
RunthealicreatecommandwiththealiasnameyouwanttogivetotheconnectedFCHBA,andtheWWN
numberobtainedfromstep1.
Example:
TheexamplebelowshowscreationofanaliasnameofESX03_1forthenewhostESX03's1stHBA,with
WWN10:00:00:00:c9:83:63:1d
FCSW01:admin>alicreate"ESX03_1","10:00:00:00:c9:83:63:1d"
Step4:>zonecreate"NAME","ALIASofFCHBA"
RunthezonecreatecommandtocreateazonefortheVMwarehostserver,andusethealiascreatedinstep
3toaddtheFCHBAtothezone.
Example:
TheexamplebelowshowscreationofazonecalledESX03zwiththealiasESX03_1added
FCSW01:admin>zonecreate"ESX03z","ESX03_1"
Step5:>zoneadd"NAME","ALIASofSAN(s)"
RunthezoneaddcommandtoaddthealiasesoftheSAN'sFCcontrollerportstothezone
Example:
TheexamplebelowshowsadditionoftheEVA'scontrollerAport1(EVA_ContrAP1)andcontrollerBport1
(EVA_ContrBP1)totheESX03zzone.
FCSW01:admin>zoneadd"ESX03z","EVA_ContrAP1"
FCSW01:admin>zoneadd"ESX03z","EVA_ContrBP1"
Step6:>cfgadd"CONFIG_NAME","ZONEtoADD"
Runthecfgaddcommandtoaddthenewlycreatezonetotheconfiguration.
Example:
TheexamplebelowshowstheadditionoftheESX03zzonetotheCompany_Defaultconfiguration.
FCSW01:admin>cfgadd"Company_Default","ESX03z"

Windows7XP
ModeUser
Experience(or
HowEasyit...
CitrixUdadmin
DeleteScript&
Event1163
VeeamBackup
andReplication
v6PreInstall
Checkl...
VeeamBackup
andReplication
v6Install
CompleteW...
FlowControlBest
Practicefora
VMware
vSphereES...
NetAppSimulator
8.17Mode
Walkthrough
SetupGuid...
InstallingAPC
UPS
PowerChute
Network
ShutdownSof...
November(5)
October(7)
September(11)
August(11)
July(1)

Step7:>cfgsave
Runthecfgsavecommandtosavetheconfiguration,enteringyestotheprompt

June(3)
May(2)
March(2)

Example:
FCSW01:admin>cfgsave
YouareabouttosavetheDefinedzoningconfiguration.ThisactionwillonlysavethechangesonDefined
configuration.AnychangesmadeontheEffectiveconfigurationwillnottakeeffectuntilitisreenabled.
DoyouwanttosaveDefinedzoningconfigurationonly?(yes,y,no,n):[no]yes
...FCSW01,cfgSavecompletessuccessfully....
Step8:>cfgenableCONFIG_NAME
Runthecfgenablecommandtoenabletheconfiguration,enteringyestotheprompt.
Example:
FCSW01:admin>cfgenableCompany_Default
Youareabouttoenableanewzoningconfiguration.Thisactionwillreplacetheoldzoningconfigurationwith
thecurrentconfigurationselected.Iftheupdateincludeschangestooneormoretrafficisolationzones,the
updatemayresultinlocalizeddisruptiontotrafficonportsassociatedwiththetrafficisolationzonechanges.
Doyouwanttoenable'Company_Default'configuration(yes,y,no,n):[no]yes
...zoneconfig"Company_Default"isineffect...
Updatingflash...
Step9:Repeat
RepeatSteps1to8ontheotherFCSwitch,fortheVMwarehosts2ndFCHBA,andFCSANsother
controllerports.
THEEND
Note:InsteadofaddingWWNstozones,canalsodesignatespecificportstobeamemberofazone(a
defaultconfigurationmayhaveonezonewithallportsdesignated.)
Example:
Intheexamplebelow,insteadofdefiningaWWNforESX01(asisdoneforESX02),aportnumberis
designatedinstead:

February(7)
January(4)
2010(30)

alias:ESX01_SP31,3
alias:ESX0210:00:00:00:c9:5e:8d:06
ForSearchEngine:Howtoconfigure/setupadditionalzoningusingCLIonaBrocadeswitch.

PostedbyVidadCosonokat16:23

Labels:Brocade

4comments:
AbhishekSharma 23January2013at05:38
switchshowportonlineandportnubernotshow
Reply

AbhishekSharma 23January2013at05:41
switchshowcommandportonlineandportnubernotshow
Reply

Alleres 8January2014at07:37
on the configShow output on switch we have to only two WWN ,one should be the HOST server
HBA,twoshouldbethetheEVAWWNnumber..butweareseeing3WWN.
doyouconfigureallEVAportonSANswitch1and2?
Reply

ShaneBalboa 11September2014at08:35
Verydetailedandinformativeblog!CantheAliaspartskippedandgostraighttozonecreate?
Reply

ClustrMaps

Enteryourcomment...

Commentas:

Publish

GoogleAccount

TotalPageviews

Preview

1 6 4 1 4 3 9

NewerPost

Home

OlderPost

Subscribeto:PostComments(Atom)

AwesomeInc.template.PoweredbyBlogger.