4.5 (optional) Start opensm
If you are going to use the opensm suetnet manager, edit /etc/default/opensm and add the port GUIDs of the interfaces on which you wish to start opensm.
You can find the port GUIDs of your cards with the ibstat -p command:
# ibstat -p
0x0002c9030002fb05
0x0002c9030002fb06
/etc/default/opensm:
PORTS="0x0002c9030002fb05 0x0002c9030002fb06"
Note if you want to start opensm on all ports you can use the PORTS="ALL" keyword.
Start opensm:
#/etc/init.d/opensm start
If opensm has started correctly you should see SUBNET UP messages in the opensm logfile (/var/log/opensm.<PORTID>.log).
Mar 04 14:56:06 600685 [4580A960] 0x02 -> SUBNET UP
Note that you can start opensm on multiple nodes; one node will be the active subnet manager and the others will put themselves into standby.