Вы находитесь на странице: 1из 6
0 More NextBlog»
0
More
NextBlog»

CreateBlog SignIn

0 More NextBlog» CreateBlog SignIn Saturday,24December2011 ABrocadeSwitchCLIZoningConfigurationWalkthrough

Saturday,24December2011

ABrocadeSwitchCLIZoningConfigurationWalkthrough

Scenario:

AnewVMwarehostserverhasbeenpurchasedwithacoupleofFibreChannel(FC)HBAs.Youaretasked

withpatchingthefibrecablesintoaFibreChannelswitchstackpair–onefibrecableperswitch–andthen

needtoconfigurethezoningontheFCswitchestosupportconnectiontoanFCSAN.

Walkthrough:

Note:Theoutputexamplesbelowhavebeentruncatedtoshowjustthemostinterestingbits.Intheexamples

weareconfiguringthezoningforanewhostcalledESX03,haveconnectedtheFCHBA'sintoportsnumber

8oneachFCswitch.TheFCswitchesarecalledFCSW01andFCSW02.TheFCswitchesusedwereHP

4/16B­Series(Brocade)runningFabricO/S6.2.2d.AndtheSANisaHPEVAwithtwocontrollers

(EVA_ContrAandEVA_ContrB.)

UsingatoollikePutty(forSSH,Telnet,Serial,

usingeitheraserialconsoleconnectionorethernetmanagementinterface;logintotheCLIandrunthese

commands:

)orsimilar,andviaaconnectiontoafibrechannelswitch

Step1:>switchshow

RuntheswitchshowcommandtofindthezoningconfignameandWWNofnewlyconnectedHBA.Copy

Rugged Data Storage

RPC24 RAID - Dual Disk Magazines VPX SAS and SATA SSD/HDDs

Rugged Data Storage RPC24 RAID - Dual Disk Magazines VPX SAS and SATA SSD/HDDs
Rugged Data Storage RPC24 RAID - Dual Disk Magazines VPX SAS and SATA SSD/HDDs
Rugged Data Storage RPC24 RAID - Dual Disk Magazines VPX SAS and SATA SSD/HDDs
Rugged Data Storage RPC24 RAID - Dual Disk Magazines VPX SAS and SATA SSD/HDDs

theWWNforlateruse.

Example:

Theexamplebelowshowstheconfigname"Company_Default"andlookingonthelineforport8givesus

 

theWWNofconnectedFCHBA

FCSW01:admin>switchshow

zoning:ON(Company_Default)

 
 

AreaPortMediaSpeedStateProto =====================================

88idN4OnlineF­Port10:00:00:00:c9:83:63:1d

Step2:>cfgshow

Anytime Anywhere Access

To All Your Life Insurance Policies Electronic Insurance Account

Runthecfgshowcommandtodisplaytheconfigurationandseehowthezoningiscurrentlyconfigured.

Example:

TheexamplebelowshowshowtheESX02zone(ESX02z)isconfigured.TheESX02zonecontainstheEVA

TheexamplebelowshowshowtheESX02zone( ESX02z )isconfigured.TheESX02zonecontainstheEVA
TheexamplebelowshowshowtheESX02zone( ESX02z )isconfigured.TheESX02zonecontainstheEVA

SAN'scontrollerAport1andcontrollerBport1(controllerports2arepluggedintoFCSW02,)andtheESX02

SAN'scontrollerAport1andcontrollerBport1(controllerports2arepluggedintoFCSW02,)andtheESX02  
 

hostsFCHBAwhichisconnectedintoFCSW01.)Alsodisplayedarethealiasesusedandtheirassociated

WWNs.

 

FCSW01:admin>cfgshow

Definedconfiguration:

BlogArchive

 

cfg:Company_Default

 

ESX02z

zone:ESX02zEVA_ContrBP1;EVA_ContrAP1;ESX02

2014(172)

 

alias:EVA_ContrBP150:00:1f:e1:50:0b:81:5c

alias:EVA_ContrAP150:00:1f:e1:50:0b:81:58

2013(157)

alias:ESX02_110:00:00:00:c9:5e:8d:06

2012(148)

Effectiveconfiguration:

2011(61)

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

 

Step3:>alicreate"NAME","WWN"

RunthealicreatecommandwiththealiasnameyouwanttogivetotheconnectedFCHBA,andtheWWN

numberobtainedfromstep1.

Example:

TheexamplebelowshowscreationofanaliasnameofESX03_1forthenewhostESX03's1 st HBA,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.

UPS

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"

 

Step7:>cfgsave

Runthecfgsavecommandtosavetheconfiguration,enteringyestotheprompt

May(2)

Example:

FCSW01:admin>cfgsave

YouareabouttosavetheDefinedzoningconfiguration.ThisactionwillonlysavethechangesonDefined configuration.AnychangesmadeontheEffectiveconfigurationwillnottakeeffectuntilitisre­enabled. DoyouwanttosaveDefinedzoningconfigurationonly?(yes,y,no,n):[no]yes

2010(30)

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,fortheVMwarehosts2 nd FCHBA,andFCSANsother controllerports.

THEEND

Note:InsteadofaddingWWNstozones,canalsodesignatespecificportstobeamemberofazone(a

defaultconfigurationmayhaveonezonewithallportsdesignated.)

Example:

Intheexamplebelow,insteadofdefiningaWWNforESX01(asisdoneforESX02),aportnumberis

designatedinstead:

alias:ESX01_SP31,3

alias:ESX01_SP31,3

alias:ESX0210:00:00:00:c9:5e:8d:06

ForSearchEngine:Howtoconfigure/setupadditionalzoning­usingCLI­onaBrocadeswitch.

Postedby VidadCosonok a t 16:23

Labels:Brocade

4comments:

switchshowportonlineandportnubernotshow

switchshowcommandportonlineandportnubernotshow

ontheconfigShowoutput onswitchwehavetoonly twoWWN,oneshouldbetheHOST server HBA,twoshouldbethetheEVAWWNnumber butweareseeing3WWN.

doyouconfigureallEVAportonSANswitch1and2?

Verydetailedandinformativeblog!CantheAliaspartskippedandgostraighttozonecreate?ShaneBalboa 11September2014at08:35

 

ClustrMaps

Enteryourcomment Commentas: GoogleAccou Publish Preview NewerPost Home OlderPost Subscribeto:

Enteryourcomment

Enteryourcomment

Commentas:

GoogleAccou
GoogleAccou
Enteryourcomment Commentas: GoogleAccou Publish Preview NewerPost Home OlderPost Subscribeto:
Enteryourcomment Commentas: GoogleAccou Publish Preview NewerPost Home OlderPost Subscribeto:

Publish

Preview

AwesomeInc.template.PoweredbyBlogger.

Subscribeto: PostComments(Atom) AwesomeInc.template.Poweredby Blogger . TotalPageviews 1 6 4 1 4 3 9
Subscribeto: PostComments(Atom) AwesomeInc.template.Poweredby Blogger . TotalPageviews 1 6 4 1 4 3 9
TotalPageviews 1 6 4 1 4 3 9
TotalPageviews
1
6
4
1
4
3
9
Subscribeto: PostComments(Atom) AwesomeInc.template.Poweredby Blogger . TotalPageviews 1 6 4 1 4 3 9
Subscribeto: PostComments(Atom) AwesomeInc.template.Poweredby Blogger . TotalPageviews 1 6 4 1 4 3 9