Managing Devices in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Enable uDAPL

  1. Become an administrator.
  2. (Optional) Verify that the following packages are installed:
    • Mellanox ConnectX Family InfiniBand HCA and 10GbE NIC drivers

    • Network device driver supporting the IP over InfiniBand (IPoIB) protocol

    • User Direct Access Programming Library (UDAPL) Direct Access Transport (DAT) facility

    By default, these packages are included in a normal Oracle Solaris installation. Verification should generate the following output:

    $ pkg verify -v connectx ip-over-ib udapl
    PACKAGE                                            STATUS
    pkg://solaris/driver/infiniband/connectx               OK
    pkg://solaris/system/io/infiniband/ip-over-ib          OK
    pkg://solaris/system/io/infiniband/udapl               OK
    
  3. Create the IPoIB interface.
    # ipadm create-ip name
    # ipadm create-addr -a address [address-object]
    
    name

    Name of the IPoIB interface.

    address

    A valid IP address. By default, this address is assumed to be a static address.

    address-object

    A name that identifies the IP address in association with the IP interface. If address-object is not specified, the OS automatically assigns a name using the format ip-name/protocol.

    For more information about the ipadm command, see the ipadm(1M) man page.

  4. Enumerate device entries in the service provider's configuration file into a list of interface adapters in the registry.
    # datadm -a serviceprovider.conf

    where serviceprovider.conf is the configuration file from the service provider. The file contains information about the device types that the provider supports. For more information, see the service_provider.conf(4) man page.

Example 3-12  Enabling uDAPL After IPoIB Interface Configuration

The following example configures ibd1 and updates the dat.conf registry with entries from the configuration file ABCDudaplt.conf.

In the interface configuration, the address object is automatically assigned.

# ipadm create-ip ibd1
# ipadm create-addr -a 192.168.0.1/24
# ipadm show-addr
ADDROJB       TYPE      STATE   ADDR
ibd1/v4       static    ok      192.168.0.1/24
...

# datadm -a /usr/share/dat/ABCDudaplt.conf