View Source

h2. How to Configure an IB HCA for iSER

An InfiniBand Host Channel Adapter (HCA) is required to take full advantage of the iSCSI Extensions for RDMA (iSER) capabilities. To use iSER, you must configure the HCA on both the target and the initiator.
{info:title=Note}If you have an exclusive Ethernet network environment you can skip this task.{info}

The following task describes you how to configure the IP address for an InfiniBand HCA, so it can communicate with the target.

# Connect the HCA to an InfiniBand switch.
See the vendor documentation for details.
# Log in as root on the host (initiator) system.
# Configure, or plumb, the target and the initiator for the HCA.
The target and the initiator must be on the same subnet. This example uses {{ibd0}} as the driver.
{code}
# ifconfig ibd0 plumb
{code}
# Configure the IP address and port combination for the HCA.
{code}
# ifconfig ibd0 inet 10.1.190.141 netmask 255.255.255.0 UP
{code}
# Verify the configuration of the interface.
{code}
# ifconfig -a
{code}
{code}
ibd0: flags=201000842<BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 2044 index 3
inet 10.1.190.141 netmask ffffff00 broadcast 255.255.255.0
ipib 0:c:4:6:fe:80:0:0:0:0:0:0:0:3:ba:0:1:0:22:9a
{code}
# Repeat steps 3-5 for all other HCA hosts on the network.
# Log in as root on the target system and repeat these steps.
# Use the {{ping}} command to verify connectivity on both the target and the initiator.
# (Optional) Make these configuration changes persist during system reboots.
a. Follow the instructions in Chapter 2 of the [System Administration Guide: Network Interfaces and Network Virtualization|http://docs.sun.com/app/docs/doc/819-6990/].
b. In the {{/etc/inet/netmasks}} file, add an entry for the subnet and the netmask. For example, 10.1.190.0&nbsp;&nbsp; 255.255.255.0.

h5. Where to Go Next

* [How to Configure iSCSI Ports|How to Configure iSCSI Target Ports]

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact