How To Install srp_daemon on CentOS 8

srp_daemon is Tools for using the InfiniBand SRP protocol devices

Introduction

In this tutorial we learn how to install srp_daemon on CentOS 8.

What is srp_daemon

In conjunction with the kernel ib_srp driver, srp_daemon allows you to discover and use SCSI devices via the SCSI RDMA Protocol over InfiniBand.

We can use yum or dnf to install srp_daemon on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install srp_daemon.

Install srp_daemon on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install srp_daemon using dnf by running the following command:

sudo dnf -y install srp_daemon

Install srp_daemon on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install srp_daemon using yum by running the following command:

sudo yum -y install srp_daemon

How To Uninstall srp_daemon on CentOS 8

To uninstall only the srp_daemon package we can use the following command:

sudo dnf remove srp_daemon

srp_daemon Package Contents on CentOS 8

/etc/rdma/modules/srp_daemon.conf
/etc/srp_daemon.conf
/usr/lib/.build-id
/usr/lib/.build-id/89/5c561c1fc47564b6fc7bd573631d6898c0a70e
/usr/lib/systemd/system/srp_daemon.service
/usr/lib/systemd/system/[email protected]
/usr/lib/udev/rules.d/60-srp_daemon.rules
/usr/libexec/srp_daemon/start_on_all_ports
/usr/sbin/ibsrpdm
/usr/sbin/run_srp_daemon
/usr/sbin/srp_daemon
/usr/sbin/srp_daemon.sh
/usr/share/doc/rdma-core/ibsrpdm.md
/usr/share/man/man5/srp_daemon.service.5.gz
/usr/share/man/man5/[email protected]
/usr/share/man/man8/ibsrpdm.8.gz
/usr/share/man/man8/srp_daemon.8.gz

References

Summary

In this tutorial we learn how to install srp_daemon on CentOS 8 using yum and dnf.