9–Configuring iSCSI Protocol
iSCSI Offload in VMware Server
131
83840-546-00 N
List All Sessions
After a login, issue the following command to show all sessions:
iscsiadm -m session
The following command shows more detail, such as the device name
(
/dev/sdb
), which can be verified by issuing the
fdisk -l
command.
iscsiadm -m session -P2
List All Drives Active in the System
fdisk -l
Maximum Offload iSCSI Connections
With the default driver parameters set, which includes 128 outstanding
commands, bnx2i can offload 128 connections on Cavium 8400 Series Adapters.
Although 128 is not a hard limit, consider it simple on-chip resource allocation
math. The bnx2i can offload more connections by reducing the shared queue size,
which in turn limits the maximum outstanding tasks on a connection. For
information on
sq_size
and
rq_size
. When the maximum allowed connection offload limit is
reached, the driver logs the following message to syslog:
bnx2i: unable to allocate iSCSI context resources
Linux iSCSI Offload FAQ
Additional information about Linux iSCSI offload includes:
Cavium 3400 Series Adapters do not support iSCSI offload.
The iSCSI session will not recover after a hot remove and hot plug.
For MPIO to work properly, iSCSI nop-out should be enabled on each iSCSI
session. Refer to open-iscsi documentation for procedures on setting up
noop_out_interval
and
noop_out_timeout
values.
In the scenario where multiple C-NIC devices are in the system and the
system is booted with Cavium’s iSCSI boot solution, ensure that the iSCSI
node under
/etc/iscsi/nodes
for the boot target is bound to the NIC
that is used for booting.
iSCSI Offload in VMware Server
The bnx2i driver is the QLogic VMware iSCSI adapter driver supporting iSCSI
offload and jumbo frames up to 9,000 bytes on VMware ESXi 5.
x
and 6.0.
Lossless iSCSI-Offload-TLV over DCB is supported on ESXi 5.
x
and 6.0. (Support
for this feature on ESXi 6.5 was unknown at the time of publication.)