天天看点

SANBoot安装系统

环境:

硬件: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>

放入光盘安装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&gt;List disk

Diskpart&gt;select disk 0

Disk 0 is now the selected disk.

DISKPART&gt; ATTRIBUTES DISK CLEAR READONLY

Disk attributes cleared successfully.

DISKPART&gt; 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&gt; ONLINE DISK

DiskPart successfully onlined the selected disk.

最后安装完操作系统以后2张HBA卡都需要链接2条光纤链路插好!接着安装windows server 的多路径功能以及安装存储设备自带光盘的管理软件(只安装主机功能)就可以解决多路径磁盘问题,最后看到的是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,如需转载请自行联系原作者

继续阅读