How To Install infiniband-diags on Rocky Linux 8

In this tutorial we learn how to install infiniband-diags on Rocky Linux 8. infiniband-diags is InfiniBand Diagnostic Tools

Introduction

In this tutorial we learn how to install infiniband-diags on Rocky Linux 8.

What is infiniband-diags

This package provides IB diagnostic programs and scripts needed to diagnose an IB subnet. infiniband-diags now also provides libibmad. libibmad provides low layer IB functions for use by the IB diagnostic and management programs. These include MAD, SA, SMP, and other basic IB functions.

We can use yum or dnf to install infiniband-diags on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install infiniband-diags.

Install infiniband-diags on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install infiniband-diags

Install infiniband-diags on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install infiniband-diags using yum by running the following command:

sudo yum -y install infiniband-diags

How To Uninstall infiniband-diags on Rocky Linux 8

To uninstall only the infiniband-diags package we can use the following command:

sudo dnf remove infiniband-diags

infiniband-diags Package Contents on Rocky Linux 8

/etc/infiniband-diags/error_thresholds
/etc/infiniband-diags/ibdiag.conf
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/54d51790023890536c52fd51eaab2f7cb8e933
/usr/lib/.build-id/06
/usr/lib/.build-id/06/7d2e58727781fb88e64ae60d594aa9e844f348
/usr/lib/.build-id/07
/usr/lib/.build-id/07/646f136105d3aca4398263215443b503debb5f
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/3593109db1b56f735fb730d9331be5cf6e3424
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/ad5350f40800a63726ff7e44c45977944447eb
/usr/lib/.build-id/25
/usr/lib/.build-id/25/0787e2a369ae651d40daa15ec1581a7d4dac95
/usr/lib/.build-id/32
/usr/lib/.build-id/32/78d9fe2125da01acf62c2011088d2e3538f9b7
/usr/lib/.build-id/39
/usr/lib/.build-id/39/a315e71dc55a9a181cdf45b8eab9e11aed04aa
/usr/lib/.build-id/44
/usr/lib/.build-id/44/c466a604dfa4774ca8404f1dd44a900afd7754
/usr/lib/.build-id/49
/usr/lib/.build-id/49/a1a7859b8e7892c597807e214b8ca0887a2132
/usr/lib/.build-id/74
/usr/lib/.build-id/74/2a316a869aa9bc72833606d24dca04d3724ca5
/usr/lib/.build-id/78
/usr/lib/.build-id/78/378a631fd6886f6bf9183b6734e5ee3cc645bf
/usr/lib/.build-id/86
/usr/lib/.build-id/86/aa408520c2db22310bf1a67c64e51598e449e4
/usr/lib/.build-id/86/cc0301178298c8c1f35af06daab82f3bba1036
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/8b314f6e63b615fd090185b5fd47be14345caf
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/ff3f9559db730116b9c54243f06dcd1b8fef36
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/b46bceb37dd650a7b00bf607eb930535aa3303
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/391e656a866f87c085c666debcbaa6a8574fe5
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/5fdbcbbf202573058a499b762ba57822e32eb6
/usr/lib/.build-id/c2/ff1313fdd7cf6c312ac16ca5ae31f26d7ee02f
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/87de04c2d33d664e4da02837d6db1d0be95500
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/63148d593fc10fc8944412f7c1ddbda1267d7c
/usr/lib/libibmad.so.5
/usr/lib/libibmad.so.5.3.32.0
/usr/lib/libibnetdisc.so.5
/usr/lib/libibnetdisc.so.5.0.32.0
/usr/sbin/check_lft_balance.pl
/usr/sbin/dump_fts
/usr/sbin/dump_lfts.sh
/usr/sbin/dump_mfts.sh
/usr/sbin/ibaddr
/usr/sbin/ibcacheedit
/usr/sbin/ibccconfig
/usr/sbin/ibccquery
/usr/sbin/ibfindnodesusing.pl
/usr/sbin/ibhosts
/usr/sbin/ibidsverify.pl
/usr/sbin/iblinkinfo
/usr/sbin/ibnetdiscover
/usr/sbin/ibnodes
/usr/sbin/ibping
/usr/sbin/ibportstate
/usr/sbin/ibqueryerrors
/usr/sbin/ibroute
/usr/sbin/ibrouters
/usr/sbin/ibstat
/usr/sbin/ibstatus
/usr/sbin/ibswitches
/usr/sbin/ibsysstat
/usr/sbin/ibtracert
/usr/sbin/perfquery
/usr/sbin/saquery
/usr/sbin/sminfo
/usr/sbin/smpdump
/usr/sbin/smpquery
/usr/sbin/vendstat
/usr/share/man/man8/check_lft_balance.8.gz
/usr/share/man/man8/dump_fts.8.gz
/usr/share/man/man8/dump_lfts.8.gz
/usr/share/man/man8/dump_mfts.8.gz
/usr/share/man/man8/ibaddr.8.gz
/usr/share/man/man8/ibcacheedit.8.gz
/usr/share/man/man8/ibccconfig.8.gz
/usr/share/man/man8/ibccquery.8.gz
/usr/share/man/man8/ibfindnodesusing.8.gz
/usr/share/man/man8/ibhosts.8.gz
/usr/share/man/man8/ibidsverify.8.gz
/usr/share/man/man8/iblinkinfo.8.gz
/usr/share/man/man8/ibnetdiscover.8.gz
/usr/share/man/man8/ibnodes.8.gz
/usr/share/man/man8/ibping.8.gz
/usr/share/man/man8/ibportstate.8.gz
/usr/share/man/man8/ibqueryerrors.8.gz
/usr/share/man/man8/ibroute.8.gz
/usr/share/man/man8/ibrouters.8.gz
/usr/share/man/man8/ibstat.8.gz
/usr/share/man/man8/ibstatus.8.gz
/usr/share/man/man8/ibswitches.8.gz
/usr/share/man/man8/ibsysstat.8.gz
/usr/share/man/man8/ibtracert.8.gz
/usr/share/man/man8/infiniband-diags.8.gz
/usr/share/man/man8/perfquery.8.gz
/usr/share/man/man8/saquery.8.gz
/usr/share/man/man8/sminfo.8.gz
/usr/share/man/man8/smpdump.8.gz
/usr/share/man/man8/smpquery.8.gz
/usr/share/man/man8/vendstat.8.gz
/usr/share/perl5/vendor_perl/IBswcountlimits.pm
/etc/infiniband-diags/error_thresholds
/etc/infiniband-diags/ibdiag.conf
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/814b74ce60bac04349e1cce37efb0f59ce7301
/usr/lib/.build-id/19
/usr/lib/.build-id/19/57c50df1a79c85b73638891eade8433ca4cb86
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/0ecb662d6ba589622577f0b74533db5c83ce5e
/usr/lib/.build-id/40
/usr/lib/.build-id/40/1c9426ca778f0ccccbe66e390108deb1ae8057
/usr/lib/.build-id/43
/usr/lib/.build-id/43/df09d3f4db5456a250c556625cc53ea8b97ce0
/usr/lib/.build-id/45
/usr/lib/.build-id/45/8b107342051715b6aca740c4c4c3d1126e0fcc
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/4045fb88b5b8bb278f8ae659d1f38962922632
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/80c4a8e31f1525f545e660250ce452ae0eb48b
/usr/lib/.build-id/73
/usr/lib/.build-id/73/0ee8c31a28c2e699f3624d9194fd977b15c946
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/9b0c3dbe10c52a577d8560840e4fd8774ad9be
/usr/lib/.build-id/81
/usr/lib/.build-id/81/4500cde28f430181d3e8d23de7a57c348e027a
/usr/lib/.build-id/89
/usr/lib/.build-id/89/fdcf00f4f18c8129968ab2f2e8cf335bd377b7
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/d33fa404a1f3bc7b9a27937b5c6e4dea60fdf4
/usr/lib/.build-id/97
/usr/lib/.build-id/97/15822446eeaa43fef5ac622ea0db74c6e5a4b3
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/387562529dfdbb14a6d5e127b97d526cdeb033
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/7718fcc2471a5f187ceb3ea652c66925ccb281
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/2341e93c3f3ede19caf226d748529b30c358bd
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/259507e9404a6b4116954ce25e297f38d2a733
/usr/lib/.build-id/cd
/usr/lib/.build-id/cd/06c18ad7429a33d92ebb6cd9283f6f1d29f4eb
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/5911cdc5685b3246dbd89a3150997fa8aa791b
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/95387bbb743e80f6520b2d27bbf8b5f69d36f7
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/f58214bf624b5c23eb48818c12e26418a5814f
/usr/lib64/libibmad.so.5
/usr/lib64/libibmad.so.5.3.32.0
/usr/lib64/libibnetdisc.so.5
/usr/lib64/libibnetdisc.so.5.0.32.0
/usr/sbin/check_lft_balance.pl
/usr/sbin/dump_fts
/usr/sbin/dump_lfts.sh
/usr/sbin/dump_mfts.sh
/usr/sbin/ibaddr
/usr/sbin/ibcacheedit
/usr/sbin/ibccconfig
/usr/sbin/ibccquery
/usr/sbin/ibfindnodesusing.pl
/usr/sbin/ibhosts
/usr/sbin/ibidsverify.pl
/usr/sbin/iblinkinfo
/usr/sbin/ibnetdiscover
/usr/sbin/ibnodes
/usr/sbin/ibping
/usr/sbin/ibportstate
/usr/sbin/ibqueryerrors
/usr/sbin/ibroute
/usr/sbin/ibrouters
/usr/sbin/ibstat
/usr/sbin/ibstatus
/usr/sbin/ibswitches
/usr/sbin/ibsysstat
/usr/sbin/ibtracert
/usr/sbin/perfquery
/usr/sbin/saquery
/usr/sbin/sminfo
/usr/sbin/smpdump
/usr/sbin/smpquery
/usr/sbin/vendstat
/usr/share/man/man8/check_lft_balance.8.gz
/usr/share/man/man8/dump_fts.8.gz
/usr/share/man/man8/dump_lfts.8.gz
/usr/share/man/man8/dump_mfts.8.gz
/usr/share/man/man8/ibaddr.8.gz
/usr/share/man/man8/ibcacheedit.8.gz
/usr/share/man/man8/ibccconfig.8.gz
/usr/share/man/man8/ibccquery.8.gz
/usr/share/man/man8/ibfindnodesusing.8.gz
/usr/share/man/man8/ibhosts.8.gz
/usr/share/man/man8/ibidsverify.8.gz
/usr/share/man/man8/iblinkinfo.8.gz
/usr/share/man/man8/ibnetdiscover.8.gz
/usr/share/man/man8/ibnodes.8.gz
/usr/share/man/man8/ibping.8.gz
/usr/share/man/man8/ibportstate.8.gz
/usr/share/man/man8/ibqueryerrors.8.gz
/usr/share/man/man8/ibroute.8.gz
/usr/share/man/man8/ibrouters.8.gz
/usr/share/man/man8/ibstat.8.gz
/usr/share/man/man8/ibstatus.8.gz
/usr/share/man/man8/ibswitches.8.gz
/usr/share/man/man8/ibsysstat.8.gz
/usr/share/man/man8/ibtracert.8.gz
/usr/share/man/man8/infiniband-diags.8.gz
/usr/share/man/man8/perfquery.8.gz
/usr/share/man/man8/saquery.8.gz
/usr/share/man/man8/sminfo.8.gz
/usr/share/man/man8/smpdump.8.gz
/usr/share/man/man8/smpquery.8.gz
/usr/share/man/man8/vendstat.8.gz
/usr/share/perl5/vendor_perl/IBswcountlimits.pm

References

Summary

In this tutorial we learn how to install infiniband-diags on Rocky Linux 8 using yum and dnf.