您好,欢迎访问三七文档
RedHatLinuxv5.xSoftwareiSCSIInitiatorConfiguration&MultipathingGuideAbstractThisdocumentcoversinstallingandconfiguringtheRedHatEnterpriseLinuxv5.xsoftwareiSCSIinitiator.ItalsocoversconfiguringMPIOwithRHELv5.1orgreaterV1.01Copyright©2007EqualLogic,Inc.November2007EqualLogicisaregisteredtrademarkofEqualLogic,Inc.Alltrademarksandregisteredtrademarksmentionedhereinarethepropertyoftheirrespectiveowners.Possession,use,orcopyingofthedocumentationorthesoftwaredescribedinthispublicationisauthorizedonlyunderthelicenseagreementspecifiedherein.EqualLogic,Inc.willnotbeheldliablefortechnicaloreditorialerrorsoromissionscontainedherein.Theinformationinthisdocumentissubjecttochange.Yourperformancecanvary.EqualLogic,Inc.100SpitBrookRoadBuildingZKO2Nashua,NH03063Tel:603.579.9762Fax:603.579.6910Support:877.887.7337RevisionInformationThefollowingtabledescribesthereleasehistoryofthisdocument.TechnicalReportRevisionDateChange1.01.0111/200711/2007InitialReleaseUpdatedpathlocationsTableofContentsRevisionInformation.............................................................................................................3InstallationInstructions:.........................................................................................................5DiscoveringTargets:..............................................................................................................6LoggingintoTargets..............................................................................................................6CheckingSessionStatus:.......................................................................................................7Loggingoffatarget:..............................................................................................................8PersistentDevicenaming:......................................................................................................8MountingiSCSIFilesystemsatBoot:.................................................................................11ConfiguringMulitpathConnections:...................................................................................11LinuxNICConfiguration:....................................................................................................13InstallationInstructions:TheinitiatorisactuallyakernelmodulethatisalreadyavailablewiththeappropriateRedHatEnterpriseLinuxinstallation.Touseandmanagetheinitiator,youneedtoinstalltheiSCSIutilities.Notes:DonotusetheversionthatcomesontheRHELv5.0installCDs.Thatversion,iscsi-initiator-utils-6.2.0.742-0.5.el5doesnotworkwithourarray.Youcanfindtargetsbutnotconnecttothem.Youneedversioniscsi-initiator-utils-6.2.0.742-0.6.el5orgreater.RHELv5.0requiresatleastoneiSCSIHBAandoneGbENICtodomultipathing.YouwillneedRHELv5.1orgreatertotakeadvantageofmultipathingwithGbENICs.Thisrequiresversioniscsi-initiator-utils-6.2.0.865-0.8.el5orgreater.YoucaninstallitthroughtheAdd/RemoveProgramsoratthecommandline.#up2dateiscsi-initiator-utilsOnceinstalled,run:#serviceiscsistartToverifythattheiSCSIservicewillbestartedatboottime,thechkconfigcommandcanbeusedasfollows:#chkconfig–-listiscsiiscsi0:off1:off2:off3:off4:off5:off6:offBydefault,thenewlyaddediscsiinitiatorisnotenabledatboot,whichisthereasonforeachoftherunlevelslistedtohavetheservicesettooff.Toenablethisatboot,againusethechkconfigcommandasfollows:#chkconfig–-addiscsi#chkconfigiscsionTheabovetwocommandsfirstcheckstobesuretherearethenecessaryscriptstostartandstoptheservice,andthenitsetsthisservicetobeenabledfortheappropriaterunlevels.Thenchecktobesurethechangestookeffect:#chkconfig--listiscsiiscsi0:off1:off2:on3:on4:on5:on6:offYoualsoneedtodothesamefortheMultipathdaemon.#chkconfig--listmultipathdiscsi0:off1:off2:on3:on4:on5:on6:offDiscoveringTargets:Onceyouhavetheiscsiservicerunningyouwillusethe‘iscsiadm’utilitytodiscover,loginandlogoutoftargets.Togetalistofavailabletargetstype:#iscsiadm–mdiscovery–tst–pGroupIPaddress:3260Example:#iscsiadm-mdiscovery-tst-p172.23.10.240:3260172.23.10.240:3260,1iqn.2001-05.com.equallogic:0-8a0906-83bcb3401-16e0002fd0a46f3d-rhel5-testTheexampleshowsthatthe‘rhel5-test’volumehasbeenfound.However,it’snotyetloggedin.LoggingintoTargetsHerearetwowaystoconnecttoiSCSItargets:(#maniscsiadmforothermethods)Logintoalltargets.#iscsiadm–mnode–lLogintoanindividualtarget.#iscsiadm–mnode–l–TCompleteTargetName–l–pGroupIPaddress:3260Example:#iscsiadm–mnode–l–Tiqn.2001-05.com.equallogic:83bcb3401-16e0002fd0a46f3d-rhel5-test–pGroupIPaddress:3260CheckingSessionStatus:Toseetheconnectionstatusrun:#iscsiadm-msession–iSampleoutput:iscsiadmversion2.0-742************************************Session(sid1)usingmoduletcp:************************************TargetName:iqn.2001-05.com.equallogic:0-8a0906-83bcb3401-16e0002fd0a46f3d-rhel5-testPortalGroupTag:1NetworkPortal:172.23.10.240:3260iSCSIConnectionState:LOGGEDINInternaliscsidSessionState:NOCHANGE************************NegotiatediSCSIparams:************************HeaderDigest:NoneDataDigest:NoneMaxRecvDataSegmentLength:65536M
本文标题:RHEL5_iSCSI_Config_Multi_Path_Jumbo_Frame_Page 11
链接地址:https://www.777doc.com/doc-3207677 .html