iSCSI target on NetApp for AIX 6.1 and VIOS 2.1

Problem

iSCSI is much more flexible and easy to manage then a fibre channel (FC) infrastructure. There is a performance penalty of course, but in many cases the performance penalty is well worth the management benefits. This article will show how to set up the NetApp as a target and the AIX or VIOS host as the client for iSCSI LUNs.

Solution

Setting up the NetApp

iscsi nodename
igroup create -i -t aix aixgroup iqn.1992-08.com.ibm:aix-rtp.00000000
lun create -s 200g /vol/iscsi/aix1
lun map /vol/test/aix.lun aixgroup
lun show -g aix

Setting up the AIX host

oslevel -r
lslpp -l | grep -i iscsi
echo "10.10.1.10 3260 iqn.1992-08.com.netapp:sn.00000000" > /etc/iscsi/targets
lsdev -C | grep iscsi
lsattr -El iscsi0
chdev -l iscsi0 -a initiator_name=iqn.1992-08.com.ibm:aix-rtp.00000000
lsdev -Cc disk
cfgmgr -l iscsi0
lsdev -Cc disk

References


NetApp bonded VLAN configuration

Problem

To maximize the benefit from the multi-port adapters on a NetApp, it is best to bond the ports together (some vendors refer to this as “trunk groups”). Then over the new bonded trunk, the various networks can be assigned as VLANs, maximizing the network throughput for each LAN the NetApp needs to communicate with.

Solution

In this example, I will show how to bond two interfaces together, and create three VLANs:

vif create multi vif0 e9a e9b
vlan create -g vif0 200
vlan add vif0 201 202
ifconfig vif0-200 10.10.0.25 netmask 255.255.0.0
ifconfig vif0-201 10.20.0.25 netmask 255.255.0.0
ifconfig vif0-202 10.30.0.25 netmask 255.255.0.0
savecore

References