[ofa-general]SRP target

Celine Bourde celine.bourde at ext.bull.net
Tue Jan 20 09:47:45 PST 2009


I've trouble running srp tools.

I try to setup the following configuration.

The first machine,``the initiator'', has a 2-port Connectx IB card.
Each port is connected to the a second machine, ``the target'',
which has a 2-port Connectx IB card too.

+-----------------+                     +---------------+
|                 |- - - - - - - - - - -|               |
|   initiator     |                     |     target    |
|                 |- - - - - - - - - - -|               |
+-----------------+                     +---------------+

the ibstat utility shows that both link are up.

My goal is to setup a failover connection. On the target machine,
both ports expose the the same storage device.

on my "target machine", I see 2 targets :
# cat /sys/class/infiniband_srpt/srpt-mlx4_0/login_info
tid_ext=0002c90300001d2c,ioc_guid=0002c90300001d2c,pkey=ffff,dgid=fe800000000000000002c90300001d2d,service_id=0002c90300001d2c
tid_ext=0002c90300001d2c,ioc_guid=0002c90300001d2c,pkey=ffff,dgid=fe800000000000000002c90300001d2e,service_id=0002c90300001d2c

But when I launch ibsrpdm -c on "initiator machine", the tool
discovers only one
target corresponding to the first port of my distant HCA card.

# ibsrpdm -c
id_ext=0002c90300001d2c,ioc_guid=0002c90300001d2c,dgid=fe800000000000000002c90300001d2d,pkey=ffff,service_id=0002c90300001d2c

# srp_daemon
IO Unit Info:
   port LID:        0002
   port GID:        fe800000000000000002c90300001d2d
   change ID:       0100
   max controllers: 0x10

   controller[  1]
       GUID:      0002c90300001d2c
       vendor ID: 000002
       device ID: 00634a
       IO class : 0100
       ID:        Mellanox OFED SRP target
       service entries: 1
           service[  0]: 0002c90300001d2c / SRP.T10:0002c90300001d2c

so i see only one of the targets; any hints why i don't see both
targets?
    
Thanks,

CĂ©line Bourde. 





More information about the general mailing list