Справочник Пользователя для Q-Logic 8200 SERIES
3–Open-iSCSI User’s Guide
Managing QLogic iSCSI Adapters Using iscsiadm
Managing QLogic iSCSI Adapters Using iscsiadm
3-6
IS0054604-00 A
iSCSI Interface Configuration
iSCSI Configuration Parameters
Each iSCSI Host Bus Adapter, NIC, or network interface to which sessions are
bound should have its own iSCSI interface config file in /etc/iscsi/ifaces.
bound should have its own iSCSI interface config file in /etc/iscsi/ifaces.
For hardware offload iSCSI, iscsiadm creates ifaces for QLogic iSCSI ports.
Before the iface can be used, the IP address for the port must be set as shown in
lists hardware iSCSI
interface config file fields.
Table 3-2. Hardware iSCSI Interface Config File Fields
Needed
Field Name
Description
Yes
iface.transport_name
The iscsi_transport or driver to use for iface
No
iface.initiatorname
Set if the /etc/iscsi/initiatorame.iscsi
initiatorname is not to be used for normal ses-
sions. For discovery sessions, /etc/iscsi/
initiatorname.iscsi is used.
sions. For discovery sessions, /etc/iscsi/
initiatorname.iscsi is used.
Yes
iface.hwaddress
Sets MAC address to bind by hardware address
Yes
iface.ipaddress
The IP address configured for the iface, on the
same subnet as the target
same subnet as the target
No
iface.bootproto
Set to dhcp if IPv4 address must be obtained
dynamically through DHCP, or set to static if IPv4
address is set to a static IP address.
dynamically through DHCP, or set to static if IPv4
address is set to a static IP address.
No
iface.vlan_priority
Used to set VLAN priority for the iSCSI interface
No
iface.vlan_state
(disable/enable)
(disable/enable)
Used to enable or disable the VLAN on the iSCSI
interface
interface
No
iface.ipv6_linklocal
Used to specify the IPV6 Link Local Address with
the link local prefix of FE80::0/64
the link local prefix of FE80::0/64
No
iface.ipv6_autocfg
(nd-neighbor discovery)
(nd-neighbor discovery)
Used to set the discovery protocol to obtain IPV6
address
address
No
iface.linklocal_autocfg
For transport like qla4xxx, this allows you to
autoconfigure the # IPV6 link local address based
on the MAC address of the iSCSI interface.
on the MAC address of the iSCSI interface.
No
iface.router_autocfg
Required to set the IPv6 router discovery protocol
No
iface.state
Set to enable by default.To disable the iface, set it
to disable.
to disable.
Yes
iface.iface_num
Used when more than one interface is configured
for a transport
for a transport