環境:
硬體:3台DELL R910無盤帶2G SD卡
1台DELL MD3820F存儲雙控
2台光纖交換機
軟體:windows server 2012 r2 with cu1
目标:R910伺服器的系統從存儲劃分的lun中sanboot引導啟動,并實作光纖雙鍊路高可用,搭建微軟伺服器虛拟化平台!
在此需要感謝我的同僚劉紹軍協助我完成SANboot的存儲調試!
存儲配置
劃分了3個存儲組利用每一個伺服器上的光纖卡綁定每一個存儲組,這樣每一個伺服器映射到的存儲組都是lun0,每一台伺服器上的系統都裝載在各自每一個存儲組的lun0中
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779749Urdm.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_14067797499thz.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779750Ft5X.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779750c9sO.png" target="_blank"></a>
伺服器配置
首先就是更改BIOS
修改BIOS和HAB配置時需要把2張HBA都插上光纖鍊路!
修改啟動順序
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779751tGou.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779752FmD0.png" target="_blank"></a>
把網卡排2避免啟動的時候DHCP找PXE啟動
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779753bfmF.png" target="_blank"></a>
禁用SD卡
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779754kbAl.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779755TgdK.png" target="_blank"></a>
開啟虛拟化
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779757rvOk.png" target="_blank"></a>
接下來是修改HBA卡配置:
需要對2張HBA卡都進行同樣的設定:
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779757Al0c.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779758rQhO.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779759cQrS.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779760U7ds.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779761G5aQ.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779762GrwQ.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779763OVSW.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_140677976487Vj.png" target="_blank"></a>
紅色框住的都需要改成enable
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779766IAxS.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779767L7kE.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779767zP3C.png" target="_blank"></a>
開啟SAN BOOT啟動
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779768IGSZ.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779769F9kI.png" target="_blank"></a>
下面這個延遲預設disable即可
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779770R1an.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779771NWJq.png" target="_blank"></a>
放入CD光牒安裝windows時隻插一個HBA卡光纖鍊路,安裝系統時就可以看到多個路徑的磁盤:
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779772QFuq.png" target="_blank"></a>
如果磁盤01顯示脫機可能是HBA卡沒找到映射的存儲也或者是BIOS和HBA卡的配置不正确,還可以試下如下方法讓磁盤0聯機:
在安裝作業系統選擇安裝磁盤的界面按shift+f10:
Diskpart
Diskpart>List disk
Diskpart>select disk 0
Disk 0 is now the selected disk.
DISKPART> ATTRIBUTES DISK CLEAR READONLY
Disk attributes cleared successfully.
DISKPART> attributes disk
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
DISKPART> ONLINE DISK
DiskPart successfully onlined the selected disk.
最後安裝完作業系統以後2張HBA卡都需要連結2條光纖鍊路插好!接着安裝windows server 的多路徑功能以及安裝儲存設備自帶CD光牒的管理軟體(隻安裝主機功能)就可以解決多路徑磁盤問題,最後看到的是1個邏輯磁盤。
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779773TZ4Y.png" target="_blank"></a>
<a href="http://rdsrv.blog.51cto.com/attachment/201407/31/2996778_1406779773WgH3.png" target="_blank"></a>
本文轉自 ZJUNSEN 51CTO部落格,原文連結:http://blog.51cto.com/rdsrv/1532667,如需轉載請自行聯系原作者