适用对象:
存储平台 — 具有 Storage Center 5.4 及更高版本的 Dell Compellent 系列 40 和 Dell Compellent 系列 30 存储系统
作者:
Ramamohan Reddy K
问题:
如何在Compellent上配置iSCSI网络?
解决方案:
iSCSI 网络的前端布线和容错域配置与 FC 相同。按照 wiki 进行操作,了解前端布线和域配置。但在 iSCSI 中,将为每个容错域配置一个控制端口。
此控制端口将 iSCSI 流量重定向到相应的虚拟端口。
提醒:为每个容错域网络创建单独的唯一子网。具有相同子网的不同容错域可能会使尝试确定正确连接路径的服务器感到困惑。
示例:假设如果要在 iSCSI 网络中配置两个容错域,您可以配置以下内容:
Fault Domain1
Controller A Port1 IP address 192.168.1.1
subdomain 255.255.255.0
Controller B port1 IP address 192.168.1.2
subdomain 255.255.255.0
Control port IP address 192.168.1.3
subdomain 255.255.255.0
Fault Domain 2
Controller A Port 2 IP address 192.168.2.1
subdomain 255.255.255.0
控制器 B 端口 2 IP 地址 192.168.2.2 子域 255.255.255.0
控制端口 IP 地址 192.168.2.3
子域 255.255.255.0
在 FC 网络中,将立即在分区在一起的所有端口之间建立连接。
而 iSCSI 网络未分区,您需要从服务器启动所有连接。
发现令人信服的目标:
使用容错域控制端口发现 Compellent 端口的 IQN。
iscsiadm -m discovery -t sendtargets -p <faultdomain_ip_address>
其中,
faultdomain _ip_address是 Compellent 存储中容错域的控制端口 IP 地址。
例如,以下命令会发现与容错域 1 关联的 compellent 端口的 iqn。
# iscsiadm -m discovery -t sendtargets -p 192.168.1.3
192.168.1.3:3260,0 iqn.2002-03.com.compellent:5000d31000295251
192.168.1.3:3260,0 iqn.2002-03.com.compellent:5000d31000295253
以下命令会发现与故障域 2 关联的 compellent 端口的 iqn。
# iscsiadm -m discovery -t sendtargets -p 192.168.2.3
192.168.2.3:3260,0 iqn.2002-03.com.compellent:5000d31000295252
192.168.2.3:3260,0 iqn.2002-03.com.compellent:5000d31000295254
记录 Compellent 目标:
发现 compellent 目标后,您可以按如下方式登录目标:
# iscsiadm -m node --login
Logging in to [iface: default, target:
iqn.2002-03.com.compellent:5000d31000295251,门户:192.168.1.3, 3260]
Logging in to [iface: default, target:
iqn.2002-03.com.compellent:5000d31000295253,门户:192.168.1.3, 3260]
Login to [iface: default, target:
iqn.2002-03.com.compellent:5000d31000295252,门户:192.168.2.3, 3260]:successful
Login to [iface: default, target:
iqn.2002-03.com.compellent:5000d31000295254,门户:192.168.2.3、3260]:成功
登录 Compellent 目标后,可以在 Compellent Storage Center 上创建服务器对象。在 Compellent Storage Center 中创建服务器后,请使用 wiki 文章授予主机
对 Compellent 卷的访问权限。