下載本文檔
版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、linux多路徑的使用及介紹(三)1. 安裝多路徑軟件包; device-mapper-1.02.13xxx.rpm,該軟件運(yùn)行在底層,主要舉行設(shè)備和映射(系統(tǒng)已經(jīng)自動(dòng)安裝)。 device-mapper-multipath-0.4.7xxx.rpm ,此軟件包rhel5默認(rèn)已經(jīng)安裝; 2. 安裝fc hba 驅(qū)動(dòng); 當(dāng)前的新版linux已經(jīng)自帶多數(shù)fc hba驅(qū)動(dòng); 此時(shí)假如需要安裝官方驅(qū)動(dòng),比如安裝hp提供的 hp 81e hba驅(qū)動(dòng),需要注重其解釋內(nèi)指定的支持os版本范圍;雖然rhel5.7已經(jīng)發(fā)布,但是hp的驅(qū)動(dòng)僅僅支持到rhel5.6 , 強(qiáng)行安裝的話(huà),只會(huì)導(dǎo)致報(bào)錯(cuò)甚至系統(tǒng)崩潰; 3
2、. 更新/etc/multipath.conf 設(shè)定文件, 可參考后續(xù)第六步; 4. 設(shè)定multipathd 服務(wù)自動(dòng)啟動(dòng)并初始化; multipathd on multipath -f multipath -v2 5. mulitpath -ll , 看到下列類(lèi)似輸入,表示已經(jīng)勝利! mpath0 (36001438005dee7fd0000500000a00000) dm-2 hp,hsv400 size=500gfeatures=1 queue_if_no_pathhwhandler=0rw _ round-robin 0 prio=200active _ 2:0:3:1 sdb 8:
3、16 activeready _ 2:0:6:1 sdc 8:32 activeready _ 3:0:3:1 s 8:80 activeready _ 3:0:7:1 sdh 8:112 activeready _ round-robin 0 prio=40d _ 2:0:2:1 sda 8:0 activeready _ 2:0:7:1 s 8:48 activeready _ 3:0:1:1 sde 8:64 activeready _ 3:0:5:1 sdg 8:96 activeready 6. 以下為hp提供的 hpdmmultipath-4.4.1.tar.gz 所提供的 mul
4、tipath.conf 文件,供參考; 該軟件包貌似可以不需要安裝: donot it the first two lines of this or remove this file hp device mapper multipath enablement kit v4.4.1 the device mapper multipath template configuration file for rhel5u4 or later releases to be u with hp storageworks arrays. use this configuration file as your
5、/etc/multipath.conf file. if you already have a val working configuration file, refer here for the recommended configuration for hp arrays. for a list of configuration options with descriptions, please refer to /usr/share/doc/ multipath-too-version /multipath.conf.annotated the defaults section defa
6、ults udev_dir /dev polling_interval 10 selector round-robin 0 path_grou_policy failover getuid_callout /sbin/scsi_id -g -u -s /block/%n prio_callout /bin/ue path_checker tur rr_min_io 100 rr_weight unifo failback immediate no_path_retry 12 user_friendly_names yes the blacklist section - use this to
7、blacklist a multipath device based on it's wwid ( using wwid ) or device names ( using devnode ) or vendor and proct id ( using device block). blacklist wwid 26353900f02796769 devnode (ram|raw|loop|fd|md|dm-|sr|s|st)0-9* devnode hda-z0-9* devnode cciss!c0-9d0-9* device vendor hp product open-* t
8、he blacklist_ceptions section - to list device names to be treated as multipath candis even if they are on the blacklist. note: blacklist exceptions are only valid in the same class. it is not possible to blacklist devices using the devnode keyword and to exclude some devices of them using the wwid
9、keyword. blacklist_exceptions wwid 2345234245647657 devnode sda device vendor hp product open-* the multipaths section - uomment this section to define a per multipath device tings. multipaths uncomment the multipath block to modify the settings of a multipath device based on its wwid multipath wwid
10、 2039485769900000000 red path_grouping_policy group_by_prio path_selector round-robin 0 failback immediate rr_weight uniform no_path_retry 10 rr_min_io 100 the devices section - used to define per storage array model settings devices if you are already using a valid configuration file and do not hav
11、e a device bsection for hp arrays, please add the appropriate device subsection for the respective arrays from the entries below. if you already have a device subsection for hp arrays has erent parameters from the entries below, modify it appropriately. for eva a/a arrays device vendor hp|compaq pro
12、duct hsv1011 (c)compaq|hsv2010|hsv300|hsv4050 path_grouping_policy group_by_prio getuid_callout /sbin/scsi_id -g -u -s /block/%n path_checker tur path_selector round-robin 0 prio_callout /sbin/mpath_prio_alua /dev/%n rr_weight uniform failback immediate hardware_handler 0 no_path_retry 18 rr_min_io
13、100 for hp p2000 family device vendor hp product p2000 g3 fc|p2000g3 fc/iscsi path_grouping_policy group_by_prio getuid_callout /sbin/scsi_id -g -u -s /block/%n path_checker tur path_selector round-robin 0 prio_callout /sbin/mpath_prio_alua /dev/%n rr_weight uniform failback immediate hardware_handl
14、er 0 no_path_retry 18 rr_min_io 100 for xp arrays device vendor hp product open-.* path_grouping_policy multibus getuid_callout /sbin/scsi_id -g -u -s /block/%n path_selector round-robin 0 rr_weight uniform path_checker tur hardware_handler 0 failback immediate no_path_retry 18 rr_min_io 1000 for ms
15、a a/a arrays device vendor hp product msa volume* path_grouping_policy group_by_prio getuid_callout /sbin/scsi_id -g -u -s /block/%n path_checker tur path_selector round-robin 0 prio_callout /sbin/mpath_prio_alua /dev/%n rr_weight uniform failback immediate hardware_handler 0 no_path_retry 18 rr_min
16、_io 100 for msa2xxxsa arrays device vendor hp product msa2012sa|msa2312sa|msa2324sa path_grouping_policy group_by_prio getuid_callout /sbin/scsi_id -g -u -n -s /block/%n path_checker tur path_selector round-robin 0 prio_callout /sbin/mpath_prio_alua %d rr_weight uniform failback immediate hardware_h
17、andler 0 no_path_retry 18 rr_min_io 100 for msa23xxfc and msa23xxi arrays device vendor hp product msa2312fc|msa2324fc|msa2312i|msa2324i path_grouping_policy group_by_prio getuid_callout /sbin/scsi_id -g -u -s /block/%n path_checker tur path_selector round-robin 0 prio_callout /sbin/mpath_prio_alua /dev/%n rr_weight uniform failback immediate hardware_handler 0 no_path_retry 18 rr_min_io 100 for msa20xxfc, msa22xxfc and msa20xxi arrays device vendor hp product msa20212fc|msa2012i path_grouping_policy multibus getuid_callout /sbin/scsi_id -g -u -s /block/%n path
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 企業(yè)生產(chǎn)管理與效率提升(標(biāo)準(zhǔn)版)
- 公共交通運(yùn)營(yíng)統(tǒng)計(jì)分析制度
- 公共交通車(chē)輛購(gòu)置管理制度
- 南充市營(yíng)山縣2025年下半年公開(kāi)考核招聘事業(yè)單位工作人員備考題庫(kù)及一套完整答案詳解
- 2026年重慶大學(xué)電氣工程學(xué)院量子智能傳感器團(tuán)隊(duì)勞務(wù)派遣工程技術(shù)人員招聘?jìng)淇碱}庫(kù)完整答案詳解
- 養(yǎng)老院投訴處理與改進(jìn)制度
- 2026年遵義市市直事業(yè)單位公開(kāi)選調(diào)備考題庫(kù)及一套答案詳解
- 2026年聊城幼兒師范學(xué)校第二批公開(kāi)招聘工作人員9人備考題庫(kù)及1套完整答案詳解
- 2026年梧州市長(zhǎng)洲區(qū)榮祥投資有限公司招聘?jìng)淇碱}庫(kù)及參考答案詳解
- 2026年韶關(guān)市大寶山資源綜合利用有限公司招聘?jìng)淇碱}庫(kù)參考答案詳解
- 婦產(chǎn)科手術(shù)麻醉規(guī)課件
- 2025年福建省高考生物試卷真題(含答案解析)
- 水閘工程重大危險(xiǎn)源風(fēng)險(xiǎn)評(píng)估表
- 空調(diào)配件銷(xiāo)售合同范本
- 2025年黨建知識(shí)競(jìng)賽題及答案
- 《光伏發(fā)電技術(shù)》課件(共七章)
- 2025年國(guó)家開(kāi)放大學(xué)《電子政務(wù)概論》期末考試備考題庫(kù)及答案解析
- 醫(yī)療器械使用與維護(hù)常見(jiàn)問(wèn)題匯編
- 企業(yè)員工培訓(xùn)效果評(píng)估報(bào)告模板
- 醫(yī)療器械胰島素泵市場(chǎng)可行性分析報(bào)告
- 地鐵施工現(xiàn)場(chǎng)防臺(tái)風(fēng)措施
評(píng)論
0/150
提交評(píng)論