欢迎来到天天文库
浏览记录
ID:12913822
大小:26.07 KB
页数:20页
时间:2018-07-19
《如何在 sles 下配置 bonding(how to configure bonding under sles)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、如何在sles下配置bonding(Howtoconfigurebondingundersles)Unlessthedevicechangesonthebusposition(changingslotsinthemachine),itwillnotbechangedbytheorderofthedriver'sloading.4-restartnetworkservice.RcnetworkrestartCheckwhethertheconfigurationisineffectandexecutethefollowingcommands:1-openstheterminalandexec
2、utescommandstomonitorthesystemlogfiles:Tail-f/var/log/messages2-opensanotherterminal,theIPaddressofthePingbindinginterface:Ping192.168.1.13-unplugthenetworkcardinthemainmodeofthenetworkcardinterfaceIfconfiguredcorrectly,you'llseethatthePingwillcontinue,nomatterwhichinterfaceisintheconnectionstate.
3、Inthelog,thereisaninterfacelinkbroken,andanotherinterfaceissettothemessageofthemaindevice.Repeatedlypluginthenetworkcable(andtestanothercable)toobservetheloginformationtounderstandthestatetransitionsthatoccur.AspectstonoteAdditionalnotesToavoiderrors,itisrecommendedthatallnetworkcardsbedrivenbythe
4、samedriver.Ifyouusedifferentdrivers,considerthefollowingconditions:*atotalofthreedriverrelatedoptionscanbeusedtomonitorthelinkstateofthenetwork:MIIlinkstatedetection,netif_carrierregistersinthedriverandARPmonitoring.Payattentiontousingthesamelinkmonitoringmeanssupportedbyalldrivers.Ifthereisnosuch
5、conditioninpractice,theonlysolutionistoreplacetheexistingnetworkcardwithanothernetworkcard.Toknowwhichmonitoringmethodthedriversupports,refertothefollowingsteps:TheMIIlinkstatecanbedeterminedbytheoutputofthetoolmii-toolorethtool.Driversupportfornetif_carrierandARPmonitoringmethodsrequiresaccesstos
6、ourcecodetounderstand.Soyouneedtoinstallthekernelsourcecode.*wanttoseeifthedriversupportsnetif_carrier,andsearchforkeywordsinthedrivesourcecode:grepnetif_carrier$driver_name.c*toseeifthedriversupportsARPmonitoring,thedrivermustsupportoneofthetworegistersoflast_rxortrans_start.Searchkeywordsindrive
7、sourcecode:grep"last_rx
8、trans_start"$driver_name.cYoucanconfigurethejobafteryou'veidentifiedtheinformation.TheLinuxbindingdriverprovidesawaytoaggregatemultiplenetworkinterfacebindingsintoalogicalbindingdevice.Th
此文档下载收益归作者所有