1、NetAppxClusteredDataONTAP8.2ClusterandVserverPeeringExpressGuideNetApp, Inc.495 East Java Drive Sunnyvale, CA 94089 U.S.Part number: 215-07997_A0May 2013Telephone:+1(408)822-60Fax:+1(408)822-4501Supporttelephone:+1(888)463-8277Web:Feedback:doccommentsTableofContents3ContentsDecidingwhethertousethisg
2、uide4Clusterpeeringworkflow5InterclusterVserverpeeringworkflow6ConsiderationsforconfiguringinterclusterUFs7Determiningwhethertousesharedordedicatedportsforinterclustercommunication8Requirednetworkinformation9Connectingclustersinapeerrelationship14ConfiguringinterclusterLIFstousededicatedintercluster
3、ports14ConfiguringinterclusterLIFstosharedataports19Creatingtheclusterpeerrelationship23ConnectingVserversinapeerrelationship25CreatingaVserverpeerrelationship25AcceptingaVserverpeerrelationship26Wheretofindadditional28informationCopyright information 29a*Trademarkinformation30Howtosendyourcomments3
4、1Index32DeCidingWhethertoUSethisguideThisguidedescribeshowtocreatepeerrelationshipsbetweentwoclustersandbetweentwoVservers.PeerrelationshipsenableclusterstocommunicatewithotherclustersandVserverstocommunicatewithotherVservers.Youmustcreateinterclusterpeerrelationshipstoreplicatedatabetweendifferentg
5、eographicallocationsorbetweenVserversondifferentclusters.Youshouldusethisguideifyouwanttocreatepeerrelationshipsanddonotwantalotofconceptualbackgroundforthetasks.Thisguidedoesnotcovereveryoptionandprovidesminimalbackgroundinformation.Thisguideassumesthatthetwoclustersinthepeerrelationshipthatyouwill
6、createhavealreadybeensetupandarerunningthesameversionofDataONTAP.Thetimeontheclustersmustbesynchronizedwithin300seconds(fiveminutes).Clusterpeerscanbeindifferenttimezones.Thisguideassumesthatyouareaclusteradministrator.VserveradministratorscannotcreateclusterpeerorVserverpeerrelationships.Iftheseass
7、umptionsarenotcorrectforyoursituation,orifyouwantmoreconceptualbackgroundinformation,youshouldseethefollowingdocumentation:ClusteredDataONTAPSystemAdministrationGuideforClusterAdministratorsClusteredDataONTAPNetworkManagementGuideSnapMirrorConfigurationandBestPracticesGuideforClusteredDataONTAP(TR-4
8、015)RelatedinformationDocumentationontheNetAppSupportSite:ClusterpeeringworkflowWhenconfiguringaclusterpeerrelationship,theadministratorsofbothclustersdeterminewhethertousededicatedportsforinterclustercommunicationortoshareportsalsousedbythedatanetwork,createinterclusterports(ifnecessary),assigninte
9、rclustcrLIFstotheselectedports,andthencreatethepeerrelationship.InterclusterVserverpeeringworkflowWhenyouconfigureaninterclusterpeerrelationshipforavirtualstorageserver(Vserver),youensurethereisasuitableVserveronthedestinationclusterbeforecreatingthepeerrelationship.Whentheadministratoroftheremotecl
10、usteracceptsthepeerrequest,theVservcrpeerrelationshipisestablished.ConsiderationsforconfiguringinterclusterLIFsTheinterclusternetworkuseslogicalinterfaces,orLIFs,thatcorrespondtoIPaddressesandrepresentnetworkaccesspointstoanode.TheinterclustcrnetworkusesonlyinterclusterLIFs.YouassigninterclusterLIFs
11、toportsinconformancewithrequirementstocreateasupportedpeerconfiguration. AtleastoneinterclustcrLIFmustbeconfiguredoneverynodeinthelocalclusterandoneverynodeintheremotecluster.ProvisioninginterclusterLIFsononlysomenodesoftheclusterisnotasupportedconfiguration.Tip:Tomakeiteasiertoidentifythenodewherea
12、ninterclusterLIFresides,itisagoodideatouseanamingconventionthatindicatesthenodeonwhichtheinterclusterLIFwascreated,followedbyic#oricl#toindicatetheLIFtypeandnumber.Forexample,thesecondoftwointerclusterLIFsonthefourthnodeofClusterOImightbenamedcluster01-04ic02.ThefirstletterofaLIFnameshouldbeeitheral
13、etteroranunderscore.EachinterclusterLIFrequiresanIPaddressdedicatedforinterclustercommunication.TheIPaddressesassignedtointerclustcrLIFscanresideinthesamesubnetasdataLIFsorinadifferentsubnet.Yourclusterpeeringtopologyshouldusefull-meshconnectivity,meaningthateveryinterclusterLIFonthelocalclustershou
14、ldbeabletocommunicatewitheveryinterclustcrLIFontheremotecluster.AsinterclusterLIFsbecomeavailableorunavailable,thelistofactiveIPaddressesusedbytheclustercanchange.ThediscoveryofactiveIPaddressesisautomaticincertainevents,suchaswhenanodereboots.Thecreationofapeerrelationshiprequiresonlyoneremoteclust
15、eraddress.Note:IfthenodehostingtheinterclusterLIFaddressgoesdownandtheaddressbecomesunavailable,theclusterpeerrelationshipmightnotberediscovered.Therefore,itisabestpracticetoconfigureatleastoneinterclusterIPaddressfromeachnodeinbothclusters,sothatthepeerrelationshipremainsstableifanodefails.Determin
16、ingwhethertousesharedordedicatedportsforinterclustercommunicationWhenyouconfigureaclusterpeerrelationship,youassigninterclustcrLIFstoportscapableofhandlinginterclustercommunications.Beforeselectingtheports,youhavetodeterminewhethertousededicatedportsforinterclustercommunicationortoshareportsthatarea
17、lsousedbythedatanetwork.Networkportsinaclusterhaverolesthatdefinetheirpurposeandtheirdefaultbehavior.PortroleslimitthetypesofLIFsthatcanbeassignedtoaport.InterclusterLlFsuseonlydataportsorinterclusterports.YoucanassignanyEthernetporttypeinthesystemtheroleofdataorintercluster,includingphysicalports(s
18、uchaseeoref)andlogicalports(suchasaVLANoraninterfacegroup).AdataportisusedfordatatrafficandcanbeaccessedbyNFS,CIFS,FC,oriSCSIclientsfordatarequests.YoucancreateVLANsandinterfacegroupsondataports.VLANsandinterfacegroupshavethedataportrolebydefault.Aninterclusterportisusedexclusivelyforcommunicationbe
19、tweenclusters. EachinterclusterLIFonaclusterinapeerrelationshipshouldberoutabletoeveryinterclusterLIFoftheothercluster.Whenyouassigntheinterclusterroletoaport,DataONTAPautomaticallyconfiguresanonmodifiablefailovergroupconsistingofinterclusterportsfortheinterclusterLIFs.Dataprotocolscannotfailoverorm
20、igratetoaninterclusterport.IfyouusedDataONTAPoperatingin7-Modeandusedadedicatedportforreplicationtraffic,itislikelythatyouwillwanttouseadedicatednetworkforclusteredDataONTAP.Mostofthenetworkingconsiderationsyouencounteredwhenusingreplicationin7-ModealsoapplytoclusteredDataONTAP.1.ANtypeandbandwidthI
21、fyouhaveahigh-speednetwork,suchas10GbE,youmighthaveenoughlocalLANbandwidthtoperformreplicationusingthesame10GbEportsusedfordataaccess.Ifyouhavea10GbEnetwork,youshouldcompareyouravailableWANbandwidthtoyourLANbandwidth.IftheavailableWANbandwidthissignificantlylessthan10GbE,youmightbelimitedtothenetwor
22、kutilizationthattheWANcansupport.DatachangerateandreplicationintervalIfyouplantousethepeerrelationshipforreplication,considerhowyouravailablebandwidthwillhandlethelevelofclientactivityduringthereplicationinterval.IftheWANbandwidthissimilartothatoftheLANportsandreplicationwilloccurduringregularclient
23、activity,thendedicateEthernetportsforinterclustercommunicationtoavoidcontentionbetweenreplicationandthedataprotocols.Considertheamountofdatathatwillbereplicatedineachintervalandwhetheritrequiressomuchbandwidththatitcouldcausecontentionwithdataprotocolsftrshareddataports.Ifyouusethepeerrelationshipfo
24、rreplicationandreplicationissettooccuronlywhenminimaltonoclientactivityoccurs,youmightbeabletousedataportsforinterclusterreplicationsuccessfully,evenwithoutaIOGbELANconnection.NetworkutilizationbydataprotocolsIfthenetworkutilizationgeneratedbythedataprotocols(CIFS,NFS,iSCSI)isabove50%,thenyoushouldd
25、edicateportsforinterclustercommunicationtoallowfornon-degradedperformanceifanodefailoveroccurs.PortavailabilitySharingportsfordataandinterclustercommunicationeliminatestheextraportcountsrequiredwhenusingdedicatedports.Whendataportsforinterclustercommunicationareshared,theinterclusterLIFscanbemigrate
26、dtoanyotherintercluster-capableportonthesamenode.Note:Ifyoudecidetodedicateportsforinterclustercommunication,itisabestpracticetoconfigureatleasttwointerclusterportspernode.AninterclusterLIFcannotfailovertoaportonadifferentnode;itsfailovergroupcontainsonlyintercluster-capableportsonthesamenode.Ifyouu
27、seinterclusterports,DataONTAPusesonlyinterclusterportsinthefailovergroupforaninterclusterLIF.Therefore,ifyouuseinterclusterports,youshouldconfigureatleasttwointerclusterportspernodesothatthereisaporttowhichtheinterclusterLIFcanfailover.Whenphysical10GbEportsareusedforbothdataandinterclustercommunica
28、tion,youcancreateVLANportsandusededicatedlogicalportsforinterclustercommunication.Usingdedicatedportsforinterclustercommunicationrequiresadditionalswitchportsandcableruns.PerformancecharacteristicsForbestperformance,allpathsusedbyinterclusterLIFsshouldhaveequalperfbnancecharacteristics.Ifanodehasone
29、interclusterLIFonaslowpathandanotherinterclusterLIFonafastpath,performancewillbeadverselyaffectedbecausedataismultiplexedacrosstheslowandfastpathssimultaneously.RequirednetworkinformationTheadministratorsofthelocalandremoteclustersbothhavetogatherIPaddresses,ports,andothernetworkinformationfortheint
30、erclusterLIFsbeforeconfiguringaclusterpeerrelationship.ConfigureatleastoneinterclusterIPaddressfromeachnodeinbothclusters,sothatthepeerrelationshipremainsstableifanodefails.Ifyouplantouseinterclusterports,configureatleasttwointerclusterportspernode.InterclusterLIFsforthelocalclusterYoumustconfigurea
31、tleastoneinterclusterLIFforeachnodeinthecluster.EachinterclusterLIFrequiresanIPaddressdedicatedftrinterclustercommunication.TypeofinformationYourvaluesNode1InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode2InterclusterLIFnameInterclusterLIFport(s)Int
32、erclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode3InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode4InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskTypeofinformationYourvaluesNode5InterclusterLIFna
33、meInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode6InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode7InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode8InterclusterLIFna
34、meInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskInterclusterLIFsfortheremoteclusterYoumustconfigureatleastoneinterclusterLIFforeachnodeinthecluster.EachinterclusterLIFrequiresanIPaddressdedicatedforinterclustercommunication.TypeofinformationYourvaluesNode1InterclusterLI
35、FnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode2InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode3InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode4InterclusterLI
36、FnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode5InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskTypeofinformationYourvaluesNode6InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNet
37、workmaskNode7InterclusterLIFnameIntercIusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskNode8InterclusterLIFnameInterclusterLIFport(s)InterclusterLIFIPaddressDefaultroutegatewayNetworkmaskConnectingclustersinapeerrelationshipToconnectclustersinapeerrelationship,youconfigureinterc
38、lusterLIFsbyusingeithersharedportsordedicatedports,andthencreatethepeerrelationship.BeforeyoubeginYoumusthavedecidedwhethertousededicatedportsforintcrclustercommunicationortoassignyourintcrclusterLIFstoshareddataports.AboutthistaskIfyouarenottheadministratoroftheremotecluster,youmustcoordinatewithth
39、eadministratortoconfigureinterclusterLlFsonthenodesoftheremoteclusterandtocreatethepeerrelationship.Youandtheadministratoroftheremoteclustercanconfigureclusterpeeringwithoutsharingcredentialinformationifyoubothissuethecommandswhileloggedintoyourrespectiveclusters.Thisguideprovidestwo,mutuallyexclusi
40、veproceduresforconfiguringinterclusterLIFs:oneforusingdedicatedportsandoneforusingsharedports.Youhavetoperformoneortheotherbeforecreatingtheclusterpeerrelationship.Tip:Configuringclusterpeeringcanbeveryrepetitive,becauseyoumustconfigureinterclusterLIFsoneverynodeinbothclusterstoestablishfill-meshcon
41、nectivity.Considerusingwildcardsinthecommandstosavetime.(Forbetterclarity,theexamplesdonotshowtheuseofwildcards.)ConfiguringinterclusterLIFstousededicatedinterclusterportsConfiguringinterclusterLIFstousededicateddataportsallowsgreaterbandwidththanusingshareddataportsonyourinterclusternetworksforclus
42、terpeerrelationships.AboutthistaskInthisexample,atwo-nodcclusterexistsinwhicheachnodehastwodataports,eeandef,whicharededicatedforintcrclusterreplication.Inyourownenvironment,youwouldreplacetheports,networks,IPaddresses,subnetmasks,andsubnetswiththosespecifictoyourenvironment.ToIeammoreaboutLIFsandpo
43、rttypes,seetheClusteredDataONTAPNetworkManagementGuideSteps1. Checktheroleoftheportsintheclusterbyusingthenetworkportshowcommand.ExampleClusterOl:networkportshowAuto-NegotDuplexSpeed(Mbps)KodePortRoleLinkMTUAdminZOperAdminZOperAdinin/OPercluster战true/truefolVfullauto/1000clusterIVtuetrefllfuUauto/10
44、00data胸true/troefolVUauto/1000dataI5ltetrefolVfuUauto/1000datal;ltuetreflVfuUauto/1000data醐tuetroefolVfidlauto/1000clusterUPl,3true/truefulVfuUauto/1000clusterUP【期true/truefalVtuUauto/1000dataUP醐tne/truefalVfuUauto/1000dataUP阿true/truefoLVfuUauto/1000dataUPISOJtrue/troefolVfuUauto/1000dataUP附true/tr
45、uefall/仙auto/100002abCdef”abedefOooooo100oooo666AueeQIeeeetSUIAC2. DeterminewhetheranyoftheLIFsareusingportsthatarededicatedforreplicationbyusingthenetworkinterfaceshowcommand.ExampleCurrent Current Is Node Port HomeClusterDl-OlectrueClusteiOHJleetrueClusterOl:networkinterfaceshowLogicalStatusNetwor
46、kVserverInterfaceAdninZOperAddressZNaskClusterOlchster_jit中/中lJ2.1M.0.xxx24vs1VSlJiflup/up192.168.0.1517243. IfaLlFisusingoneoftheportsdedicatedtoreplication,thenassigntheLIFtoadifferenthomeportbyusingthenetworkinterfacemodifycommand.TheLIFcannotremainontheportyouwanttodedicatetoreplication,becauseinterclusterportscannothostdataLIFs.Thenetworkinterfacemodifyoperationisnondisruptive,becausetheLIFhasnotyetmovedfromportee.Thenetworkinterfacemodifycommandshownbelowcha