阅读更多
近日在研究如何把老服务器从光纤存储矩阵中剥离实现服务器与磁盘阵列的直连高可用通信,花了3天时间大致摸出配置过程中的一些关键点:
1、x3850x6,raid卡有多种型号(raid卡上还需要增加扩展卡才支持raid5,默认0、1、10),服务器通过按F1进入uefi模式可进行服务器磁盘raid配置,在uefi如果找不到磁盘或者raid配置不显示configure选项,则需要检查服务器前面主控板上槽位上的raid卡连接线是否松动;
2、x3850x6,u盘制作为gpt启动盘,通过服务器uefi引导,安装windows2012r2标准版,可自动识别raid卡并驱动;
3、x3850x,安装完系统后系统出现很多未知设备(xxx控制器4个还有24个其他设备),如果这时链接磁盘阵列,系统内无法发现磁盘阵列的卷,需要追加安装Intel Chipset Software Installation Utility驱动程序intc_dd_inteldp_9.4.0.1026_windows_32-64,重启后硬件驱动完成;(其它2个驱动不知道是否有用可以尝试intc-lnvgy_dd_inteldp_10.1.17861.8101_windows_x86-64,elx-lnvgy_fw_fc_18a-2.10x6-12_windows_x86-64)
4、v3500,双控的V3500磁盘整列有2个管理IP,分别为192.168.70.121和122,位于左右2个主控的iscsi的1号口,通过配置直连主机ip为192.168.70.x/24即可通过http://192.168.70.121实现web访问控制;
5、通过192.168.70.122管理页面配置磁阵,顺序是【池】-【卷】-【主机与FC通道映射】,配置后需要检查【按主机划分的端口】内的FC类型的端口活动状态是否为【活动】,如果单服务器通过双FC通道卡与单磁盘整列的A、B两个控制器的通道实现双链接,则有可能显示为【非活动】;
6、x3850x,磁阵链接服务器后,windows系统会在磁盘管理工具中显示2个相同的磁盘,因服务器与磁盘是通过2块FC卡直连链接,这种不经过san交换机的链接方式可以通过ibm的管理软件管理实现负载均衡与冗余,下载SDDDSM_x64_2471_061416管理软件(搜索ibm sdddsm即可,留意不同的系统版本),安装后重新启动服务器,磁盘管理工具中显示2块相同的磁盘会显示为1块;
7、磁盘格式化,如果超过2T空间,格式化为gpt,如果通过mbr分区表会自动格式化为2T+剩余空间;
8、测试,找个大文件copy到系统的已经映射到系统的磁盘整列的磁盘中去,过程中把磁盘阵列与服务器的光纤任意拔掉一组,观察文件复制过程是否中断,经过观察复制过程中稍有停顿后文件继续复制,恢复拔掉的光纤后,稍等待磁盘告警恢复,然后拔掉另一组光纤测试,经过观察复制过程中稍有停顿后文件继续复制,恢复拔掉的光纤,测试结束;
服务器可通过已安装的ibmsystem device driver dsm命令观察通道状态,以下为测试过程中观察结果:
C:\Program Files\IBM\SDDDSM>datapath query device
Total Devices : 1
DEV#: 0 DEVICE NAME: Disk1 Part0 TYPE: 2145 POLICY: LEAST I/
O AND WEIGHT
SERIAL: 60050763008909D5F800000000000005 Reserved: No LUN SIZE: 2.7TB
HOST INTERFACE: FC
================================================================================
===========
Path# Adapter/Hard Disk State Mode Select
Errors
0 Scsi Port1 Bus0/Disk1 Part0 OPEN NORMAL 531
0
1 * Scsi Port2 Bus0/Disk1 Part0 OPEN NORMAL 0
0
C:\Program Files\IBM\SDDDSM>datapath query device
Total Devices : 1
DEV#: 0 DEVICE NAME: Disk1 Part0 TYPE: 2145 POLICY: LEAST I/
O AND WEIGHT
SERIAL: 60050763008909D5F800000000000005 Reserved: No LUN SIZE: 2.7TB
HOST INTERFACE: FC
================================================================================
===========
Path# Adapter/Hard Disk State Mode Select
Errors
0 Scsi Port1 Bus0/Disk1 Part0 OPEN NORMAL 531
0
1 * Scsi Port2 Bus0/Disk1 Part0 OPEN NORMAL 0
0
C:\Program Files\IBM\SDDDSM>datapath query device
Total Devices : 1
DEV#: 0 DEVICE NAME: Disk1 Part0 TYPE: 2145 POLICY: LEAST I/O AND WEIGHT
SERIAL: 60050763008909D5F800000000000005 Reserved: No LUN SIZE: 2.7TB
HOST INTERFACE: FC
===========================================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Scsi Port1 Bus0/Disk1 Part0 OPEN NORMAL 531 0
1 * Scsi Port2 Bus0/Disk1 Part0 OPEN NORMAL 0 0
C:\Program Files\IBM\SDDDSM>datapath query device
Total Devices : 1
DEV#: 0 DEVICE NAME: Disk1 Part0 TYPE: 2145 POLICY: LEAST I/O AND WEIGHT
SERIAL: 60050763008909D5F800000000000005 Reserved: No LUN SIZE: 2.7TB
HOST INTERFACE: FC
===========================================================================================
Path# Adapter/Hard Disk State Mode Select Errors
1 * Scsi Port2 Bus0/Disk1 Part0 OPEN NORMAL 7431 0
C:\Program Files\IBM\SDDDSM>datapath query device
Total Devices : 1
DEV#: 0 DEVICE NAME: Disk1 Part0 TYPE: 2145 POLICY: LEAST I/O AND WEIGHT
SERIAL: 60050763008909D5F800000000000005 Reserved: No LUN SIZE: 2.7TB
HOST INTERFACE: FC
===========================================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Scsi Port1 Bus0/Disk1 Part0 OPEN NORMAL 24091 54
1 * Scsi Port2 Bus0/Disk1 Part0 OPEN NORMAL 25265 0
C:\Program Files\IBM\SDDDSM>datapath query device
Total Devices : 1
DEV#: 0 DEVICE NAME: Disk1 Part0 TYPE: 2145 POLICY: LEAST I/O AND WEIGHT
SERIAL: 60050763008909D5F800000000000005 Reserved: No LUN SIZE: 2.7TB
HOST INTERFACE: FC
===========================================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Scsi Port1 Bus0/Disk1 Part0 OPEN NORMAL 68747 54
1 * Scsi Port2 Bus0/Disk1 Part0 OPEN NORMAL 25265 0
C:\Program Files\IBM\SDDDSM>datapath query device
Total Devices : 1
DEV#: 0 DEVICE NAME: Disk1 Part0 TYPE: 2145 POLICY: LEAST I/O AND WEIGHT
SERIAL: 60050763008909D5F800000000000005 Reserved: No LUN SIZE: 2.7TB
HOST INTERFACE: FC
===========================================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Scsi Port1 Bus0/Disk1 Part0 OPEN NORMAL 69712 54
1 * Scsi Port2 Bus0/Disk1 Part0 OPEN NORMAL 25265 0
C:\Program Files\IBM\SDDDSM>datapath query device
Total Devices : 1
DEV#: 0 DEVICE NAME: Disk1 Part0 TYPE: 2145 POLICY: LEAST I/O AND WEIGHT
SERIAL: 60050763008909D5F800000000000005 Reserved: No LUN SIZE: 2.7TB
HOST INTERFACE: FC
===========================================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Scsi Port1 Bus0/Disk1 Part0 OPEN NORMAL 83059 54
C:\Program Files\IBM\SDDDSM>datapath query device
Total Devices : 1
DEV#: 0 DEVICE NAME: Disk1 Part0 TYPE: 2145 POLICY: LEAST I/O AND WEIGHT
SERIAL: 60050763008909D5F800000000000005 Reserved: No LUN SIZE: 2.7TB
HOST INTERFACE: FC
===========================================================================================
Path# Adapter/Hard Disk State Mode Select Errors
0 Scsi Port1 Bus0/Disk1 Part0 OPEN NORMAL 106359 54
1 * Scsi Port2 Bus0/Disk1 Part0 OPEN NORMAL 25265 0
C:\Program Files\IBM\SDDDSM>