1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
Configuring srp_daemon
----------------------
In order to configure the srp_daemon you must list the
IB ports you want to use in /etc/defaults/srptools.
If you add ports which do not have srp devices presented
to them, srp_daemon will hang, causing the boot process
to hang.
IB ports are listed in the form:
"Channel Adapter":"port number"
You can list all the Channel Adapters (CAs) and ports with the ibstatus
command. The CA is listed as the Infiniband device.
eg, to configure srp_daemon on all the ports listed below:
#ibstatus
Infiniband device 'mlx4_0' port 1 status:
default gid: fe80:0000:0000:0000:0002:c903:0002:fce9
base lid: 0x22
sm lid: 0x1
state: 4: ACTIVE
phys state: 5: LinkUp
rate: 20 Gb/sec (4X DDR)
Infiniband device 'mlx4_0' port 2 status:
default gid: fe80:0000:0000:0000:0002:c903:0002:fcea
base lid: 0x0
sm lid: 0x0
state: 1: DOWN
phys state: 2: Polling
rate: 10 Gb/sec (4X)
set:
IB_PORTS="mlx4_0:1 mlx4_0:2"
|