安裝多路徑軟件的步驟_第1頁
安裝多路徑軟件的步驟_第2頁
安裝多路徑軟件的步驟_第3頁
安裝多路徑軟件的步驟_第4頁
全文預(yù)覽已結(jié)束

下載本文檔

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

文檔簡介

1、安裝多路徑的步驟準(zhǔn)備工作 : (已完成)1.多路徑rdac-LINUX-09.03.0B05.0030-source.tar.gz2.主機(jī) HBA 卡驅(qū)動確認(rèn)rootxtpt-db01 # lsmod|grep lpfclpfcscsi_transport_fc scsi_mod1956497190091 lpfc1486256 sg,st,lpfc,scsi_transport_fc,aacraid,sd_modrootxtpt-db02 /# modinfo lpfcfilename:/lib/modules/2.6.9-42.ELlargesmp/kernel/drivers/scsi/

2、lpfc/lpfc.ko 0:8.0.16.27 2BDE68EAC48EA9D89060BF1,并備份:ver:3.確認(rèn)啟動cp /boot/grub/grub.conf /boot/grub/grub.conf.bak.20090523.x# grub.conf generated by anaconda #in# Notet you do nove to rerun grub after making changes to this file# NOTICE: # #You have a /boot partition.This meanstall kernel and initrd p

3、aths are relative to /boot/, eg.root (hd0,0)kernel /vmlinuz-verinitrd /initrd-verro root=/dev/sda7.img#boot=/dev/sda default=1 timeout=5splashimage=(hd0,0)/grub/splash.xpm.gzhiddentitle Red Hat Entrise Linux AS (2.6.9-42.ELsmp)root (hd0,0)kernel /vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/1 rhgb quiet in

4、itrd /initrd-2.6.9-42.ELsmp.imgtitle Red Hat Entrise Linux AS (2.6.9-42.ELlargesmp)root (hd0,0)kernel /vmlinuz-2.6.9-42.ELlargesmp ro root=LABEL=/1 rhgb quiet initrd /initrd-2.6.9-42.ELlargesmp.imgtitle Red Hat Entrise Linux AS-up (2.6.9-42.EL)root (hd0,0)kernel /vmlinuz-2.6.9-42.EL ro root=LABEL=/1

5、 rhgb quiet initrd /initrd-2.6.9-42.EL.img4.對 RDAC 源碼包解壓,并進(jìn)入到 RDAC 源碼包解壓后目錄#gtar zxvf rdac-LINUX-09.03.0B05.0030-source.tar.gz實(shí)施步驟:# cd/soft_ins/linuxrdac-09.03.0B05.00301.移除原有的 RDAC#make clean包:編譯RDAC 源碼,并生成庫文件和驅(qū)動文件:#make安裝庫文件和驅(qū)動模塊至內(nèi)核模塊中并生成新的帶RDAC 驅(qū)動的 RAMDisk 文件。#make install安裝完成后,可以到/boot 目錄確認(rèn)是否生成

6、對應(yīng)文件,其名稱為 mpp-uname -r.img。應(yīng)該為:mpp-2.6.9-42.ELlargesmp.img4. 手動編輯啟動文件 /boot/grub/ mpp-2.6.9-42.ELlargesmp.img 文件。 default=3timeout=5splashimage=(hd0,0)/grub/splash.xpm.gz hidden.lst , 添 加 一 個(gè) 啟 動 選 項(xiàng) , 使 其 自 動 加載title Red Hat Entrise Linux AS (2.6.9-42.ELsmp)root (hd0,0)kernel /vmlinuz-2.6.9-42.ELsm

7、p ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-42.ELsmp.imgtitle Red Hat Entrise Linux AS (2.6.9-42.ELlargesmp)root (hd0,0)kernel /vmlinuz-2.6.9-42.ELlargesmp ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-42.ELlargesmp.imgtitle Red Hat Entrise Linux AS-up (2.6.9-42.EL)root (hd0,0)kernel /vmlinu

8、z-2.6.9-42.EL ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-42.EL.imgtitle Red Hat Entrise Linux AS mpp (2.6.9-42.ELlargesmp)root (hd0,0)kernel /vmlinuz-2.6.9-42.ELlargesmp ro root=LABEL=/ rhgb quiet initrd /mpp-2.6.9-42.ELlargesmp.img5. 上述工作完成后,需重新啟動系統(tǒng),并以加載 RDAC 驅(qū)動的選項(xiàng)啟動。確認(rèn)系統(tǒng)是否支持多路徑。確認(rèn) mppUpper, m

9、ppVhba,lpfc 模塊已經(jīng)加載:lsmod|grep lpfclpfcscsi_transport_fc scsi_mod1956490190091 lpfc1486258st,mppVhba,lpfc,scsi_transport_fc,aacraid,mppUpper,sg,sd_mod確認(rèn) RDAC已經(jīng)發(fā)現(xiàn)所有的卷組。由于磁盤陣列為雙控制器,在/proc/mpp中應(yīng)看到有controllerA 和controllerB 兩個(gè)控制器。#ls -lR /proc/mpprootxtpt-db01 # cd /proc/mpp rootxtpt-db02 mpp# ls -lR。./XT

10、BG_ARRAY:總用量 0dr-xr-xr-x dr-xr-xr-x-rw-r-r-rw-r-r-rw-r-r-rw-r-r-3 root root 03 root root 01 root root 01 root root 01 root root 01 root root 05 月 21 14:03 controllerA5 月 21 14:03 controllerB5 月5 月5 月5 月21 14:03 virtual21 14:03 virtual21 14:03 virtual21 14:03 virtual0123./XTBG_ARRAY/controllerA:總用量 0

11、dr-xr-xr-x2 root root 05 月 21 14:03 lpfc_h2c0t0./XTBG_ARRAY/controllerA/lpfc_h2c0t0:總用量 0-rw-r-r-rw-r-r-rw-r-r-rw-r-r-1 root root 01 root root 01 root root 01 root root 05 月5 月5 月5 月21 14:0321 14:0321 14:0321 14:030123./XTBG_ARRAY/controllerB:總用量 0dr-xr-xr-x2 root root 05 月 21 14:03 lpfc_h1c0t0./XTBG_ARRAY/controllerB/lpfc_h1c0t0:總用量 0-rw-r-r-rw-r-r-rw-r-r-1 root root 01 root root 01 root root 05 月5 月5 月21 14:0321 14:0321 14:03012磁盤確認(rèn):此時(shí)磁盤應(yīng)為 3 個(gè)。注意:此處萬一啟動失敗,則 進(jìn)入回退方案。回退:啟動選項(xiàng)出現(xiàn)

溫馨提示

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

評論

0/150

提交評論