How to selectively stop the RDMA service on hosts that don't have Infiniband

page_header_divider_line

By Robert Stober | June 28, 2012 | Cluster Management, RDMA

   

 

Here is a quick one for you— one of our customers asked me today how to selectively stop the RDMA service on hosts within a Bright Cluster Manager node category that don't have Infiniband. Here it is, a very fast and easy solution when using the CMSH.

 

# cmsh

[hcsd-head]% device use node001
[hcsd-head->device[node001]]% set finalizescript

#!/bin/bash
# turn off rdma service on hosts without Infinband
module="infiniband"
lspci | grep -i $module | grep -v grep >/dev/null 2>&1
res=$?
if [ $res == 0 ]; then
chroot /localdisk
chkconfig rdma off
fi

[hcsd-head->device*[node001*]]% commit

High Performance Computing eBook

resource_asset_divider_image

COMMENTS