By Robert Stober | June 28, 2012 | Cluster Management, RDMA
# 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![]()