How to Configure an IB HCA for iSER

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.

Note
If you have an exclusive Ethernet network environment you can skip this task.

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

  1. Connect the HCA to an InfiniBand switch.
    See the vendor documentation for details.
  2. Log in as root on the host (initiator) system.
  3. 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.
    # ifconfig ibd0 plumb
    
  4. Configure the IP address and port combination for the HCA.
    # ifconfig ibd0 inet 10.1.190.141 netmask 255.255.255.0 UP
    
  5. Verify the configuration of the interface.
    # ifconfig -a
    
    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
    
  6. Repeat steps 3-5 for all other HCA hosts on the network.
  7. Log in as root on the target system and repeat these steps.
  8. Use the ping command to verify connectivity on both the target and the initiator.
  9. (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.
    b. In the /etc/inet/netmasks file, add an entry for the subnet and the netmask. For example, 10.1.190.0   255.255.255.0.
Where to Go Next

Labels

task task Delete
smallsiteadmin smallsiteadmin Delete
configuring configuring Delete
storage storage Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


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