Main Menu

Search

INFINIBAND: How to check SM Priorities on all the IB Switches in the Fabric?

Following are steps to check SM priorities on all the IB Switches in Fabric.

1. Run "ibswitches" command on any one of the IB Switches to list the Switch names and their GUIDS

2. Run below ibdiagnet command on any of the IB Switches. This command will run for few seconds. Wait for command execution to complete.

3. On IB Switch where you ran ibdiagnet command, cat below file.
cat /tmp/ibdiagnet.sm
/tmp/ibdiagnet.sm file shows the SM priorities for each Switch GUID. You can map the GUID to the Switch name from the output of "ibswitches" in above step 1. Below is example snippet of /tmp/ibdiagnet.sm file..
-I--------------------------------------------------- 
-I- Summary Fabric SM-state-priority 
-I--------------------------------------------------- 
  SM - master 
    The Local Device : Port=0 lid=0x0029 guid=0xZZZZZZbea4bac0a0 dev=48438  
    priority:14 
  SM - standby 
    Port=27 lid=0x000b guid=0xXXXXXX620728c0a0 dev=48438  priority:5 

Products to which Article Applies
Infiniband Switches

Article Author: Tarun Boyella

No comments:

Post a Comment