Making Connections To Iscsi Targets; Add Static Entry; Iscsi Target Discovery Using 'Sendtargets; Login To Target Using 'Iscsiadm' Command - Qlogic FastLinQ 3400 Series User Manual

Converged network adapters and intelligent ethernet adapters
Table of Contents

Advertisement

8–iSCSI Protocol
iSCSI Offload in Linux Server
Ifconfig eth.<VLANID> <static ip> up — Assigns and IP address
to the VLAN interface.
Use the following command to get detailed information about VLAN interface:
# cat /proc/net/vlan/ethx.<vlanid>
Preserve the VLAN configuration across reboots by adding it to configuration files.
Configure the VLAN interface configuration in /etc/sysconfig/network-scripts. The
configuration file name has a specific format that includes the physical interface, a
character, and the VLAN ID.
For example, if the VLAN ID is 100, and the physical interface is eth0, then the
configuration file name should be ifcfg-eth0.100. The following are example
settings in the configuration file.
"DEVICE=ethX.100
"BOOTPROTO=static
"ONBOOT=yes
"IPADDR=<>
"NETMASK=<>
"USERCTL=no
"NETWORK=<>
"VLAN=yes
Restart the networking service for the changes to take effect, as follows:

Making Connections to iSCSI Targets

Refer to open-iscsi documentation for a comprehensive list of iscsiadm
commands. This is a sample list of commands to discovery targets and to create
iSCSI connections to a target.

Add Static Entry

iscsiadm -m node -p <ipaddr[:port]> -T
iqn.2007-05.com.qlogic:target1 -o new -I <iface_file_name>

iSCSI Target Discovery Using 'SendTargets'

iscsiadm -m discovery --type sendtargets -p <ipaddr[:port]> -I
<iface_file_name>

Login to Target Using 'iscsiadm' Command

iscsiadm --mode node --targetname <iqn.targetname> --portal
<ipaddr[:port]> --login
"Service network restart"
113
83840-546-00 E

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fastlinq 8400 series

Table of Contents