Hi,
I took a quick look and was pretty sure this should be done already
for you, but looking at the code again there may be a problem...
rc.openibd (/etc/rc.d/rc.openibd) has this section in it:
--snip--
# Add node description to sysfs
if [ -d ${IB_SYSFS} ]; then
hca_id=1
for hca in ${IB_SYSFS}/*; do
if [ -e ${hca}/node_desc ]; then
/usr/bin/logger "Set node_desc for $(/usr/bin/basename
$hca): $(/bin/hostname -s) HCA-${hca_id}"
echo -n "$(/bin/hostname -s) HCA-${hca_id}" >> ${hca}/node_desc
fi
hca_id=$(/usr/bin/expr ${hca_id} + 1)
done
fi
--snip--
But looking at this again, I'm not sure 'hostname -s' is right... can
you check this code on your machine and see why its not working? I
don't have any IB hardware to test with.
And to answer your question, if you wanted to do this manually, you
could edit '/etc/rc.local' and add that same line in there, or in
'/etc/pre-scst_xtra_conf'.
--Marc
> --
> You received this message because you are subscribed to the Google Groups
> "esos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
esos-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.