1、VMware连接DELLEQPS6500存储多路径设置EQ与VMware多路径连接rootvmtest /# esxcfg-vswitch -A iscsi1 VSwitch1 /新建一个vSwitch,添加iscsi1端口组。rootvmtest /# esxcfg-vmknic -a -i 10.10.10.112 -n 255.255.255.0 -m 9000 iscsi1 /给iscsi1端口组添加vmknic,并设置IP 子网掩码 MTU值。rootvmtest /# esxcfg-vswitch -A iscsi2 VSwitch1 /新建一个vSwitch,添加iscsi2端口
2、组。rootvmtest /# esxcfg-vmknic -a -i 10.10.10.113 -n 255.255.255.0 -m 9000 iscsi2 /给iscsi2端口组添加vmknic,并设置IP 子网掩码。rootvmtest /# esxcfg-vswitch -L vmnic1 vSwitch1 /将网卡vmnic1加入到vSwitch1里面。rootvmtest /# esxcfg-vswitch -L vmnic1 vSwitch3 /将网卡vmnic3加入到vSwitch1里面。rootvmtest /# esxcfg-vswitch l /查看虚拟交换机的信息,这
3、里用vSwitch1来做iscsi多路径。Switch Name Num Ports Used Ports Configured Ports MTU Uplinks vSwitch0 32 7 32 1500 vmnic0,vmnic2 PortGroup Name VLAN ID Used Ports Uplinks Service Console 2 0 1 vmnic0,vmnic2 VM Network 0 2 vmnic0,vmnic2 Service Console 0 1 vmnic0,vmnic2Switch Name Num Ports Used Ports Configur
4、ed Ports MTU Uplinks vSwitch1 64 6 64 1500 vmnic1,vmnic3 PortGroup Name VLAN ID Used Ports Uplinks iscsi2 0 1 vmnic3 iscsi1 0 1 vmnic1 VMkernel 0 1 vmnic1,vmnic3如下图所示rootvmtest /# esxcfg-vswitch -p iscsi1 -N vmnic3 vSwitch1 /将vmnic3移除到未用适配器中。效果如上图所示。rootvmtest /# esxcfg-vswitch -p iscsi2 -N vmnic1 v
5、Switch1 /将vmnic1移除到未用适配器中。效果如上图所示。rootvmtest /# esxcfg-swiscsi -e /启用iscsi软件适配器。Enabling software iSCSI. /看到状态为已启用。rootvmtest /# esxcfg-scsidevs -a /查看所有的scsi设备包含软的iscsivmhba0 qla2xxx link-n/a fc.2000001b3292c4a1:2100001b3292c4a1 (14:0.0) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HB
6、Avmhba1 qla2xxx link-n/a fc.2001001b32b2c4a1:2101001b32b2c4a1 (14:0.1) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HBAvmhba2 megaraid_sas link-n/a unknown.vmhba2 (25:0.0) LSI Logic / Symbios Logic Dell PERC 6/i Integratedvmhba3 ata_piix link-n/a sata.vmhba3 (0:31.2) Intel Corporation
7、31xESB/632xESB/3100 Chipset SATA Storage Controller IDEvmhba32 ata_piix link-n/a sata.vmhba32 (0:31.2) Intel Corporation 31xESB/632xESB/3100 Chipset SATA Storage Controller IDEvmhba33 iscsi_vmk link-n/a iqn.1998-.vmware:vmtest-243a86a8 () Software iSCSI如图所示rootvmtest /# esxcfg-vmknic -lInterface Por
8、t Group/DVPort IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSS Enabled Type vmk0 VMkernel IPv4 10.10.10.111 255.255.0.0 10.10.255.255 00:50:56:7e:f3:d1 1500 65535 true STATIC vmk1 iscsi1 IPv4 10.10.10.112 255.255.255.0 10.10.10.255 00:50:56:76:d3:be 9000 65535 true STATIC vmk2 iscsi2
9、IPv4 10.10.10.113 255.255.255.0 10.10.10.255 00:50:56:79:49:ff 9000 65535 true STATIC 查看vmknic的信息映射每个端口组到iscsi软件适配器(Initiator)rootvmtest /# esxcli swiscsi nic add -n vmk1 -d vmhba33 rootvmtest /# esxcli swiscsi nic add -n vmk2 -d vmhba33rootvmtest /# esxcli swiscsi nic list -d vmhba33 /查看信息,输出已下信息说明
10、映射成功。vmk1 pNic name: vmnic1 ipv4 address: 10.10.10.112 ipv4 net mask: 255.255.255.0 ipv6 addresses: mac address: 00:26:b9:32:35:8c mtu: 9000 toe: false tso: true tcp checksum: false vlan: true link connected: true ethernet speed: 1000 packets received: 18475 packets sent: 1387 NIC driver: bnx2 drive
11、r version: 1.6.9 firmware version: 5.0.4 ipms 1.6.0vmk2 pNic name: vmnic3 ipv4 address: 10.10.10.113 ipv4 net mask: 255.255.255.0 ipv6 addresses: mac address: 00:26:b9:32:35:90 mtu: 9000 toe: false tso: true tcp checksum: false vlan: true link connected: true ethernet speed: 1000 packets received: 19492 packets sent: 2202 NIC driver: bnx2 driver version: 1.6.9firmware version: 5.0.4 ipms 1.6.0下面开始连接EQ存储设备。点击iscsi软件适配vmhba33,重新扫描。点击确定。点击属性点击动态发现,添加EQ存储的group ip确定,等出现目标之后,自动关闭。下面我们回到硬件存储器,点击右边的添加存储器。下一步这里已经人到了EQ里的卷了。格式化完毕就可用了。在EQ的管理端也可以看见了有2条路径
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1