8–Configuration d'iSER
Configuration d'iSER sous ESXi 6.7
vmnic5
0000:42:00.1 qedentv
QLogic FastLinQ QL41xxx 10/25/40/50/100 GbE Ethernet Adapter
esxcli network vswitch standard uplink add -u vmnic5 -v vSwitch_iser1
esxcli network vswitch standard portgroup add -p "rdma_group1" -v vSwitch_iser1
esxcli network ip interface add -i vmk1 -p "rdma_group1"
esxcli network ip interface ipv4 set -i vmk1 -I 192.168.10.100 -N 255.255.255.0 -t static
esxcfg-vswitch -p "rdma_group1" -v 4095 vSwitch_iser1
esxcli iscsi networkportal add -n vmk1 -A vmhba65
esxcli iscsi networkportal list
esxcli iscsi adapter get -A vmhba65
vmhba65
Name: iqn.1998-01.com.vmware:localhost.punelab.qlogic.com qlogic.org qlogic.com
mv.qlogic.com:1846573170:65
Alias: iser-vmnic5
Vendor: VMware
Model: VMware iSCSI over RDMA (iSER) Adapter
Description: VMware iSCSI over RDMA (iSER) Adapter
Serial Number: vmnic5
Hardware Version:
Asic Version:
Firmware Version:
Option Rom Version:
Driver Name: iser-vmnic5
Driver Version:
TCP Protocol Supported: false
Bidirectional Transfers Supported: false
Maximum Cdb Length: 64
Can Be NIC: true
Is NIC: true
Is Initiator: true
Is Target: false
Using TCP Offload Engine: true
Using ISCSI Offload Engine: true
4.
Ajoutez la cible à l'initiateur iSER comme suit :
esxcli iscsi adapter target list
esxcli iscsi adapter discovery sendtarget add -A vmhba65 -a 192.168.10.11
esxcli iscsi adapter target list
Adapter
-------
vmhba65
Up
40000Mbps
Target
------------------------
iqn.2015-06.test.target1
Full
00:0e:1e:d5:f6:a3 1500
Alias
Discovery Method
-----
----------------
SENDTARGETS
118
QLogic Corp.
Last Error
----------
No Error
AH0054602-02 F