The Latest Gartner® Magic Quadrant™Hyperconverged Infrastructure Software
Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)
Code: Select all
esxcfg-vswitch -a vSwitch1
esxcfg-vswitch -m 9000 vSwitch1
esxcfg-vswitch -A iSCSI0 vSwitch1
esxcfg-vmknic -a -i 10.0.0.20 -n 255.255.255.0 -m 9000 iSCSI0
esxcfg-vswitch -A iSCSI1 vSwitch1
esxcfg-vmknic -a -i 10.0.1.20 -n 255.255.255.0 -m 9000 iSCSI1
esxcfg-vswitch -A iSCSI2 vSwitch1
esxcfg-vmknic -a -i 10.0.2.20 -n 255.255.255.0 -m 9000 iSCSI2
esxcfg-vswitch -A iSCSI3 vSwitch1
esxcfg-vmknic -a -i 10.0.3.20 -n 255.255.255.0 -m 9000 iSCSI3
esxcfg-vswitch -A iSCSI4 vSwitch1
esxcfg-vmknic -a -i 10.0.0.120 -n 255.255.255.0 -m 9000 iSCSI4
esxcfg-vswitch -A iSCSI5 vSwitch1
esxcfg-vmknic -a -i 10.0.1.120 -n 255.255.255.0 -m 9000 iSCSI5
esxcfg-vswitch -A iSCSI6 vSwitch1
esxcfg-vmknic -a -i 10.0.2.120 -n 255.255.255.0 -m 9000 iSCSI6
esxcfg-vswitch -A iSCSI7 vSwitch1
esxcfg-vmknic -a -i 10.0.3.120 -n 255.255.255.0 -m 9000 iSCSI7
esxcfg-vswitch -L vmnic4 vSwitch1
esxcfg-vswitch -L vmnic5 vSwitch1
esxcfg-vswitch -L vmnic6 vSwitch1
esxcfg-vswitch -L vmnic7 vSwitch1
esxcfg-vswitch -p iSCSI0 -N vmnic5 vSwitch1
esxcfg-vswitch -p iSCSI1 -N vmnic5 vSwitch1
esxcfg-vswitch -p iSCSI0 -N vmnic6 vSwitch1
esxcfg-vswitch -p iSCSI1 -N vmnic6 vSwitch1
esxcfg-vswitch -p iSCSI0 -N vmnic7 vSwitch1
esxcfg-vswitch -p iSCSI1 -N vmnic7 vSwitch1
esxcfg-vswitch -p iSCSI2 -N vmnic4 vSwitch1
esxcfg-vswitch -p iSCSI3 -N vmnic4 vSwitch1
esxcfg-vswitch -p iSCSI2 -N vmnic6 vSwitch1
esxcfg-vswitch -p iSCSI3 -N vmnic6 vSwitch1
esxcfg-vswitch -p iSCSI2 -N vmnic7 vSwitch1
esxcfg-vswitch -p iSCSI3 -N vmnic7 vSwitch1
esxcfg-vswitch -p iSCSI4 -N vmnic4 vSwitch1
esxcfg-vswitch -p iSCSI5 -N vmnic4 vSwitch1
esxcfg-vswitch -p iSCSI4 -N vmnic5 vSwitch1
esxcfg-vswitch -p iSCSI5 -N vmnic5 vSwitch1
esxcfg-vswitch -p iSCSI4 -N vmnic7 vSwitch1
esxcfg-vswitch -p iSCSI5 -N vmnic7 vSwitch1
esxcfg-vswitch -p iSCSI6 -N vmnic4 vSwitch1
esxcfg-vswitch -p iSCSI7 -N vmnic4 vSwitch1
esxcfg-vswitch -p iSCSI6 -N vmnic5 vSwitch1
esxcfg-vswitch -p iSCSI7 -N vmnic5 vSwitch1
esxcfg-vswitch -p iSCSI6 -N vmnic6 vSwitch1
esxcfg-vswitch -p iSCSI7 -N vmnic6 vSwitch1
esxcli swiscsi nic add -n vmk1 -d vmhba38
esxcli swiscsi nic add -n vmk2 -d vmhba38
esxcli swiscsi nic add -n vmk3 -d vmhba38
esxcli swiscsi nic add -n vmk4 -d vmhba38
esxcli swiscsi nic add -n vmk5 -d vmhba38
esxcli swiscsi nic add -n vmk6 -d vmhba38
esxcli swiscsi nic add -n vmk7 -d vmhba38
esxcli swiscsi nic add -n vmk8 -d vmhba38
Code: Select all
# Fixing iSCSI MPIO througput limited to 1G.
esxcli nmp device list | grep ^eui |
while read device ; do
esxcli nmp device setpolicy --psp VMW_PSP_RR --device ${device}
esxcli nmp roundrobin setconfig --type "iops" --iops 3 --device ${device}
done
Code: Select all
esxcfg-module -e igb
esxcfg-module -s "IntMode=2,2,2,2 VMDQ=4,4,4,4" igb