-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks -- this was originally how Lenovo told us to check this, and I came across `mmfsadm test verbs status` on my own. I'm thinking, though, isn't there some risk that if RDMA went down somehow, that wouldn't be caught by your script? I can't say that I normally see that as the failure mode (it's most often booting up without), nor do I know what happens to `mmfsadm test verbs status` if you pull a cable or something. On 6/11/19 3:37 PM, Bryan Banister wrote:
This has been brocket for a long time... we too were checking that `mmfsadm test verbs status` reported that RDMA is working. We don't want nodes that are not using RDMA running in the cluster.
We have decided to just look for the log entry like this: test_gpfs_rdma_active() { [[ "$(grep -c "VERBS RDMA started" /var/adm/ras/mmfs.log.latest)" == "1" ]] }
Hope that helps, -Bryan
- -- ____ || \\UTGERS, |----------------------*O*------------------------ ||_// the State | Ryan Novosielski - novosirj@rutgers.edu || \\ University | Sr. Technologist - 973/972.0922 ~*~ RBHS Campus || \\ of NJ | Office of Advanced Res. Comp. - MSB C630, Newark `' -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQST3OUUqPn4dxGCSm6Zv6Bp0RyxvgUCXQAE3gAKCRCZv6Bp0Ryx vpvpAJ9KnVX79aXNu3oclxM6swYfZ5wKjQCeJF3s94tS7+2JtTlkc5OXV/E8LnI= =kBtE -----END PGP SIGNATURE-----
