User Manual
It is possible for regular (non-SRP) LUNs to also be present; the SRP LUNs may be
identified by their names. You can configure the /etc/multipath.conf file to change
multipath behavior.
It is also possible that the SRP LUNs will not appear under /dev/mapper/. This can
occur if the SRP LUNs are in the black-list of multipath. Edit the ‘blacklist’ section in
/etc/multipath.conf and make sure the SRP LUNs are not black-listed.
Rev 2.3-1.0.1
Mellanox Technologies
169
3.3.1.1.9 Automatic Activation of High Availability
• Set the value of SRP_DAEMON_ENABLE in /etc/infiniband/openib.conf to
"yes".
For the changes in
openib.conf to take effect, run:
/etc/init.d/openibd restart
• Start srpd service, run: service srpd start
• From the next loading of the driver it will be possible to access the SRP LUNs on /dev/
mapper/
It is possible that regular (not SRP) LUNs may also be present; the SRP LUNs may be
identified by their name.
• It is possible to see the output of the SRP daemon in /var/log/srp_daemon.log
Shutting Down SRP
SRP can be shutdown by using “rmmod ib_srp”, or by stopping the OFED driver (“
/etc/
init.d/openibd stop”), or as a by-product of a complete system shutdown.
Prior to shutting down SRP, remove all references to it. The actions you need to take depend on
the way SRP was loaded.
There are three cases:
1. Without High Availability
When working without High Availability, you should unmount the SRP partitions that were
mounted prior to shutting down SRP
.
2. After Manual Activation of High Availability
If you manually activated SRP High Availability, perform the following steps:
a. Unmount all SRP partitions that were mounted.
b. Stop service srpd (Kill the SRP daemon instances).
c. Make sure there are no multipath instances running. If there are multiple instances, wait for them to end or
kill them.
d. Run: multipath -F
3. After Automatic Activation of High Availability
If SRP High Availability was automatically activated, SRP shutdown must be part of the driver
shutdown ("/etc/init.d/openibd stop") which performs Steps 2-4 of case b above. However
, you
still have to unmount all SRP partitions that were mounted before driver shutdown.