郭晓冬& Abner Kou原创,转载请注明出处http://abner.cublog.cn
使用 Windows Storage Server 2008 hype-v 添加 iSCSI
一、环境
Windows Storage Server 2008
ip:192.168.40.60
Windows 2008R2 with Hyper-v
ip:192.168.60.21
Microsoft iSCSI software Target(MSDN订阅者可以下载得到)
二、配置
安装完WSS2008后
安装iscsitarget.msi
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第1张图片
Next to Next 安装就可以了
设置WSS2008
打开"开始->程序->管理工具->Microsoft iSCSISoftware Target"
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第2张图片
在ISCSI 目标处 右键 创建iscsi目标
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第3张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第4张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第5张图片
点击高级选项
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第6张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第7张图片
此处的ip是你要让客户端连接到WSS2008应用ISCSI
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第8张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第9张图片
在创建好的目标上 右键 为ISCSI目标创建虚拟磁盘
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第10张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第11张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第12张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第13张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第14张图片
至此WSS2008服务器设置完毕
下面设置hyper-v 客户端
安装iscsitargetClient.msi(可以省略)
打开"开始->程序->管理工具->ISCSI发起程序"
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第15张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第16张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第17张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第18张图片
这一步的时候如果提示连接失败,这可能是由于WSS2008 防火墙引起的
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第19张图片
把防火墙关闭即可,如果不想关闭防火墙
只需要在允许程序通过Windows防火墙中添加ISCSI端口就可以了
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第20张图片
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第21张图片
再试 OK
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第22张图片
添加ISCSI完毕
在目标中即可发现添加的ISCSI磁盘,Hyper-v中可以像本地磁盘一样访问iSCSI盘
使用Windows Storage Server 2008给hype-v添加iSCSI盘_第23张图片