WrittenbyKenny Saturday,12February201118:45
ViewComments Afewweeksagoatgeekweek,IwasassignedthetaskofgettingtheCiscoNexus1000vdistributedvirtualswitchsetup.Iprobablyspentagood4hoursonmyfirst clusterbecauseIhadnocluewhatwasgoingonandIendeduplosingmymanagementnetworkandspentlotsoftimerestoringmynetworktotheoriginalvSwitch.I followedTrainSignal's1000vInstallationtraininginProSeriesVol.1buttheNexus10000vsetuphaschangedabitsincethen.Ithasactuallygottenmucheasier.After findingafewwalkthroughsandtalkingtorockstarJasonNash,Iwasabletosetupmy2ndclusterinlessthan10minutes.I'llshowyoutheeasieststepbystepinstructions Icanpossiblydo. Thereareafewprerequisitestounderstandbeforewegetstarted. 1. VSM=VirtualSupervisorModulewhichisthe"brains"ortheengineonaCiscoswitch.Thisisan.ovfthatisdeployedasaVMintoourcluster.Wearegoingto setup2oftheseforHApurposes 2. VEM=VirtualEthernetModulewillbeinstalledontheESXihoststhroughUpdateManager. 3. PacketVLAN=UsedforcommunicationbetweentheVSMandtheVEMswithinaswitchdomainbyprotocolssuchasCDP,LACP,andIGMP.Cisco recommendskeepingthisonit'sownseparateVLAN,butIwouldputPacketandControlonthesameL2VLAN. 4. ControlVLAN=UsedtosendVSMconfigurationcommandstoeachVEM,VEMnotificationstotheVSM,andNetFlowexports.Ciscorecommendskeepingthis onit'sownseparateVLAN,butIwouldputPacketandControlonthesameL2VLAN. 5. ManagementVLAN=ThemanagementinterfaceisnotusedtoexchangedatabetweentheVSMandVEM,itisusedtoestablishandmaintaintheconnection betweentheVSMandVMwarevCenterServer.NeedstobeonaroutableVLANthatcancommunicatewiththevCenterServer. ThesetupI'mreplicatingisanESXihostwith210Gigabitethernetadapters.AsJasonNashfoundout,tomoveeverythingovertotheNexus1000vwiththeGUI,youmust startwithVirtualStandardSwitchesandnotwithDistributedVirtualSwitch.
TomaketheinstallationoftheVEMseamless,verifyVMwarevCenterUpdateManagerisupandrunningbecauseonceweaddthehoststotheNexus1000v,Update Managerwilltakecareoftherest.
AfterdownloadingtheNexus1000vpackage,it'stimetodeploythe.OVFtemplate.
ItendtonamemyfirstonewithaVSM01becausewearegoingtodeploya2ndoneafterinitialsetup.
Skiptheadvancedconfigurationparameters,disabletelnet,enablessh,settoRSA,enter1024,enterNTPifyouwant.
EnterSVSDomainandenterL2andentertheVLANsforPacketandControl
Don'teditandsave.
NavigatetotheIPaddressweconfiguredforthemanagementnetworkandchoose"LaunchInstallerApplication".(Note:youmusthaveJavaInstalledtolaunchthe application.)
Enterthepasswordwesetupearlierandclicknext
EnteryourvCenterinformationandclicknext.
SelecttheClusterwheretheVSMislocated.
ChoosetheVSMVirtualMachinefromthedropdownandclickonadvancedtomakesureyourportgroupsaregoingtobeconfiguredcorrectly
ProvidesomeofthesameVSMconfigurationsandclicknext
Clickfinishandlettheconfigurationdoitsthing.Itwilltakeabout12minutestoconfigureandreboottheVSM.
ClickNotomigratehoststoVSMbecausewewilldothatmanuallyandfinish.
copyrunstart
NowthattheVSMhasbeeninstalled,let'sgetasecondaryVSMupandrunningandconfigureitassecondary.OncetheOVFisdeployed,typeinthesamepasswordand thedomainID,allowareboot,anditwillreconfigureitself.
gobacktoVSM01andtypeinshowsystemredundancystatusandwewillseeHAconfigurationinprocess.
Let'sconfiguretheportprofileforthephysicalethernetuplink: conft portprofiletypeethernetsystemuplink vmwareportgroup switchportmodetrunk switchporttrunkallowedvlanall channelgroupautomodeonmacpinning systemvlan1,4050,6070,100,200 noshutdown stateenabled end copyrunstart
Prettysimple.Ifinditmucheasiertocreatenewportprofileforeveryvlanthatavirtualmachinewillresideinsteadoftransferringoverportgroupsintheportmigration process.Let'screateaportprofileforVLAN70asanexample.
conft portprofiletypevethernet1KVVM_Network vmwareportgroup switchportmodeaccess switchportaccessvlan70 vmwaremaxports1024 noshutdown stateenabled end copyrunstart
NowthateverythingispreparedwecanstartmigratinghoststothenewNexus1000vvDS.RemoveanethernetadapterfromthevSSsoit'savailableforthemigrations.
GotoHome>NetworkingandwearereadytoAddaHosttoourNexus1000v
SelecttheHostswiththefreeethernetadaptersandchoosethesystemuplinkfromthedropdownandclicknext.
DonotworryaboutmigratingportsorVMsyet
Clickfinish
WatchtheprocessintherecenttasksofVUMupdatingthehostswithVEMmodules.
NowtheVEMhasbeeninstalledwecanstartmigratingportsbyeitherclickingonManagehostsorMigrateVirtualMachineNetworking.
Granted,itmighthavetakenyoumorethan10minutesthefirsttimethrough,butnowthatyouknowtheprocess,itisactuallyaverysimpleprocedure.
LastUpdatedonSaturday,12February201118:48