HP存儲(chǔ)在linux下安裝多路軟件方法.docx_第1頁
HP存儲(chǔ)在linux下安裝多路軟件方法.docx_第2頁
HP存儲(chǔ)在linux下安裝多路軟件方法.docx_第3頁
HP存儲(chǔ)在linux下安裝多路軟件方法.docx_第4頁
HP存儲(chǔ)在linux下安裝多路軟件方法.docx_第5頁
已閱讀5頁,還剩1頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

在linux下安裝HP多路軟件步驟(Device Mapper Multipath Enablement Kit for HP StorageWorks Disk Arrays)各位兄弟,因?yàn)楸救嗽缇烷_始接觸到HP EVA4400的存儲(chǔ),但是一直都是在windows或者VMware下解決多路徑的問題。今天剛好在Redhat Enterprise Linux 5.5解決,順便也寫成文檔,免得自己老了,記不了。這里要感謝一下廣軍,感謝他對(duì)我的信任與支持。以下是客戶的環(huán)境:服務(wù)器:4臺(tái)HP DL580G7服務(wù)器OS:Redhat Enterprise Linux 5.5存儲(chǔ):EVA4400步驟一、確認(rèn)信息1、 確認(rèn)HBA卡驅(qū)動(dòng)是否正常,系統(tǒng)是否能識(shí)別到。注意:有部份博科的HBA卡是不能直連的,只能通過光纖交換機(jī)才能連接的。可以使用lspci命令查看。(別的牌子沒有測試過還不知道)。2、 確認(rèn)HBA卡的驅(qū)動(dòng)是否加載到內(nèi)核里面,可以使用lsmod命令查看。3、 確保系統(tǒng)已經(jīng)安裝已下的rpm包:可以使用rpm qa|grep device* 查看是否安裝 For RHEL 4 Update 7: device-mapper-1.02.25-2.el4 or later device-mapper-multipath-0.4.5-31.el4 or later For RHEL 4 Update 8: device-mapper-1.02.28-2.el4 or later device-mapper-multipath-0.4.5-35.el4 or later For RHEL 5 Update 2: device-mapper-1.02.24-1.el5 or later device-mapper-multipath-0.4.7-17.el5 or later For RHEL 5 Update 3: device-mapper-1.02.28-2.el5 or later device-mapper-multipath-0.4.7-23.el5 or later For RHEL 5 Update 4: device-mapper-multipath-0.4.7-30.el5 or later device-mapper-1.02.32-1.el5 or later For RHEL 5 Update 5: device-mapper-multipath-0.4.7-34.el5 or later device-mapper-1.02.39-1.el5 or later For SLES 10 SP2: device-mapper-1.02.13-6.14 or later device-mapper-devel-1.02.13-6.14 or later multipath-tools-0.4.7-34.43 or later For SLES 10 SP3: device-mapper-1.02.13-6.14 or later device-mapper-devel-1.02.13-6.14 or later multipath-tools-0.4.7-34.50.10 or later For SLES 11: device-mapper-1.02.27-8.6 or later multipath-tools-0.4.8-40.4.1 or later步驟二、安裝HPDM Multipath Enablement 在HP的官網(wǎng)上有很多版本,可以根據(jù)自己需要下載(/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3559652&prodTypeId=18964&prodSeriesId=3559651&swLang=13&taskId=135&swEnvOID=4004)下載完成后,進(jìn)入文件目標(biāo),例如:/tmp# cd /tmp# tar -zxvf HPDMmultipath-.tar.gz# cd HPDMmultipath-# ./INSTALL這樣HPDM Multipath Enablement就安裝完成了。之后再運(yùn)行(也可以重啟):# /etc/init.d/multipathd restart步驟三、配置1、運(yùn)行# multipath -ll 查看wwid號(hào),需要記錄下來(紅色字體為WWID號(hào))。# multipath -llmapper0(3600508b40006ea6e0001a000002a0000) dm-2 HP,HSV210size=500Gfeatures=1 queue_if_no_pathhwhandler=0_ round-robin 0 prio=100active_ 0:0:2:1 sdc 8:32 activeready_ 0:0:3:1 sdd 8:48 activeready_ round-robin 0 prio=20enabled_ 0:0:0:1 sda 8:0 activeready_ 0:0:1:1 sdb 8:16 activeready2、配置/etc/multipath.conf運(yùn)行:vi /etc/multipath.conf將本機(jī)硬盤從多路徑中去掉blacklist devnode sda添加多路徑映射設(shè)備,其中別名alias可以自己起。multipaths multipath wwid 3600508b4001013f70001900004230000 alias mapper0 path_grouping_policy multibus path_checker tur path_selector round-robin 0 multipath wwid 3600508b4001013f70001900004320000 alias mapper1 path_grouping_policy multibus path_checker tur path_selector round-robin 0 3、根據(jù)存儲(chǔ)的型號(hào)選擇deviceFor MSA2012fc/MSA2212fc/MSA2012idevicevendor HPproduct MSA20212fc|MSA2012igetuid_callout /sbin/scsi_id -g -u -s /block/%nhardware_handler 0path_selector round-robin 0path_grouping_policy multibusfailback immediaterr_weight uniformno_path_retry 18rr_min_io 100path_checker turFor EVA4x00/EVA6x00/EVA8x00devicevendor HP”product HSV2010|HSV300|HSV4050getuid_callout /sbin/scsi_id -g -u -s /block/%nprio_callout /sbin/mpath_prio_alua /dev/%nhardware_handler 0path_selector round-robin 0path_grouping_policy group_by_priofailback immediaterr_weight uniformno_path_retry 18rr_min_io 100path_checker turFor HP P2000 FC / P2000 FC/iSCSIdevicevendorproductpath_grouping_policygetuid_calloutpath_checkerpath_selectorprio_calloutrr_weightfailbackhardware_handler no_path_retry rr_min_ioHPP2000 G3 FC|P2000G3 FC/iSCSIgroup_by_prio/sbin/scsi_id -g -u -s /block/%nturround-robin 0/sbin/mpath_prio_alua /dev/%nuniformimmediate018100For MSA2012sa/MSA2312sa/MSA2324sadevicevendor HPproduct MSA2012sa|MSA2312sa|MSA2324sagetuid_callout /sbin/hp_scsi_id -g -u -n -s /block/%nprio_callout /sbin/mpath_prio_alua /dev/%nhardware_handler 0path_selector round-robin 0path_grouping_policy group_by_priofailback immediaterr_weight uniformno_path_retry 18rr_min_io 100path_checker turFor XPdevicevendor HPproduct OPEN-.*getuid_callout /sbin/scsi_id -g -u -s /block/%nhardware_handler 0path_selector round-robin 0path_grouping_policy multibusfailback immediaterr_weight uniformno_path_retry 18rr_min_io 1000path_checker turFor MSA2312fc/MSA2324fc/MSA2312i/MSA2324idevicevendor HPproduct MSA2312fc|MSA2324fc|MSA2312i|MSA2324igetuid_callout /sbin/scsi_id -g -u -s /block/%nhardware_handler 0path_selector round-robin 0prio_callout /sbin/mpath_prio_alua /dev/%npath_grouping_policy group_by_priofailback immediaterr_weight uniformno_path_retry 18rr_min_io 100path_checker tur配置完成后,重啟服務(wù)器或者/etc/init.d/multipathd restart步驟四:查看結(jié)果# multipath -llmapper0 (3600508b4001013f70001900004320000) dm-1 COMPAQ,HSV111 (C)COMPAQsize=1.3Tfeatures=1 queue_if_no_pathhwhandler=0_ round-robin 0 prio=60active_ 3:0:0:2 sdc 8:32 activeready_ 3:0:1:2 sde 8:64 activereadymapper0(3600508b4001013f70001900004230000) dm-0 COMPAQ,HSV111 (C)COMPAQsize=500Gfeatures=1 queue_if_no_pathhwhandler=

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論