User Manual

Driver FeaturesRev 2.1-1.0.6
Mellanox Technologies
50
4.1.2.3 SRP Tools - ibsrpdm, srp_daemon and srpd Service Script
To assist in performing the steps in Section 6, the OFED distribution provides two utilities,
ibsrpdm and srp_daemon, which
Detect targets on the fabric reachable by the Initiator (for Step 1)
Output target attributes in a format suitable for use in the above “echo” command (Step
2)
A service script srpd which may be started at stack startup
The utilities can be found under
/usr/sbin/, and are part of the srptools RPM that may be
installed using the Mellanox OFED installation. Detailed information regarding the various
options for these utilities are provided by their man pages.
Below, several usage scenarios for these utilities are presented.
ibsrpdm
ibsrpdm is using for the following tasks:
1. Detecting reachable targets
a. To detect all targets reachable by the SRP initiator via the default umad device (/sys/class/infiniband_mad/
umad0), execute the following command:
This command will output information on each SRP Target detected, in human-readable
form.
Sample output:
b. To detect all the SRP Targets reachable by the SRP Initiator via another umad device, use the following
command:
2. Assistance in creating an SRP connection
tl_retry_count A number in the range 2..7 specifying the IB RC retry count.
ibsrpdm
IO Unit Info:
port LID: 0103
port GID: fe800000000000000002c90200402bd5
change ID: 0002
max controllers: 0x10
controller[ 1]
GUID: 0002c90200402bd4
vendor ID: 0002c9
device ID: 005a44
IO class : 0100
ID: LSI Storage Systems SRP Driver 200400a0b81146a1
service entries: 1
service[ 0]: 200400a0b81146a1 / SRP.T10:200400A0B81146A1
ibsrpdm -d <umad device>