Main Menu

Search

Showing posts with label Exalogic IB. Show all posts
Showing posts with label Exalogic IB. Show all posts

EXALOGIC: INFINIBAND: How to check if all Exalogic Compute Nodes are connected correctly to both the IB Switches

For checking if all Exalogic Compute Nodes are connected correctly to both the IB Switches, run below command on one of the IB Switches in the Fabric.
ibnetdiscover | grep -A 2 "Ca" | egrep -i -A 2 "<node 1 >|<node 2>|.....|<node N>"
For e.g. if you have four compute nodes in the rack with names el01cn01, el01cn02, el01cn03 and el01cn04 your command will look as follows:
ibnetdiscover | grep -A 2 "Ca" | egrep -i -A 2 "el01cn01|el01cn02|el01cn03|el01cn04" 
Output will be in below format
Ca 2 "H-00XXXXXXX" # "< CN/SN Hostname> EL-C <CN/SN IP> HCA-1" 
[1](XXXXXX) "S-00XXXXXX"[<Switch Port>] # lid <lid #> lmc 0 "SUN IB QDR GW switch <Switch 1> <Switch 1 IP>" lid <lid #> 4xQDR 
[2](XXXXXX) "S-00XXXXXX"[<Switch Port>] # lid <lid #> lmc 0 "SUN IB QDR GW switch <Switch 2> <Switch 2 IP>" lid <lid #> 4xQDR  
Below is sample output which shows el01cn01 connected to two IB Switches el01gw01 & el01gw02 correctly.
Ca 2 "H-00XXXXXX128bf08" # "el01cn01 EL-C XX.XX.XX.XX HCA-1" 
[1](XXXXXX128bf09) "S-00XXXXXXXXbac0a0"[6] # lid 5 lmc 0 "SUN IB QDR GW switch el01gw01 XX.XX.XX.XX" lid 41 4xQDR 
[2](XXXXXX128bf0a) "S-00XXXXXXX728c0a0"[6] # lid 6 lmc 0 "SUN IB QDR GW switch el01gw02 XX.XX.XX.XX" lid 11 4xQDR   

Products to which Article Applies
Exalogic racks using Infiniband Switches

Article Author: Tarun Boyella

EXALOGIC: INFINIBAND: "getportcounters" Command to Check If there are Issues/Problems and Errors On 40Gbits/sec Internal Connector Ports of IB Switch (How To Doc)

EXALOGIC: INFINIBAND: "getportcounters" Command To Clear/Reset Errors And Port Counters IB Switch Ports (How To Doc) Connector Ports of IB Switch (How To Doc)

EXALOGIC: INFINIBAND: "getportcounters" Command to Check If there are Issues/Problems and Errors On 10Gbits/sec ETH Ethernet Connector Ports of IB Switch (How To Doc)

EXALOGIC: INFINIBAND: How To Check If Infiniband Switch is Spine Switch or NM2-GW Leaf Switch?

In Exalogic racks (quarter, half & full) we have 2 Infiniband Leaf NM2-GW Switches (in case of full rack it will be 4) and Infiniband 36P spine switch. Most common question which comes is which switch is NM2-GW leaf switch and which one is 36P spine switch.

Easiest way to identify whether the Infiniband switch is spine switch or NM2-GW leaf switch is to check "ibswitches" command output and look at Switches description.

Description of NM2-GW Leaf switches is shown as "SUN IB QDR GW switch" where as description for Spine switch is shown as "SUN DCS 36P QDR". Below is example snippet of "ibswitches" command.

Switch    : 0x00YYY060eca8c0a0 ports 36 "SUN IB QDR GW switch exalogic-gw02 10.10.10.2" enhanced port 0 lid 10 lmc 0
Switch    : 0x00YYY0616d28c0a0 ports 36 "SUN IB QDR GW switch exalogic-gw01 10.10.10.1" enhanced port 0 lid 1 lmc 0
Switch    : 0x00YYY0802520a0a0 ports 36 "SUN DCS 36P QDR exalogic-sp01 10.10.10.3" enhanced port 0

Products to which Article Applies


Exalogic racks - both Virtual and Physical

Additional Reference


https://www.cloudns.net/blog/10-most-used-nslookup-commands/

EXALOGIC:INFINIBAND: How To Use "ibping" Command To Troubleshooting Infiniband (IB) Network Issues Between Compute Nodes?

Refer to below Infiniband Article in this website which has information on how to do ibping tests.
INFINIBAND: How To Use "ibping" Command To Troubleshooting Infiniband (IB) Network Issues?

Products to which Article Applies

Steps in above Article applies to both Exalogic Physical and Virtual racks.


Additional References

https://www.tarbots.com/2019/11/infiniband-how-to-use-ibping-command-to.html

EXALOGIC INFINIBAND: Steps for rebooting the Infiniband NM2-GW Switches Leaf Switches in Exalogic (How To Doc)


Below are steps for rebooting NM2-GW Infiniband Leaf switches in Exalogic rack.

1. Login to one of the NM2-GW Switches and run below “getmaster”, which will return either GW01, GW02. In this case lets assume GW01 is running the master.

getmaster

Below is example output of above command.

# getmaster
Local SM enabled and running, state MASTER
2015XXX2 YY:XX:27 Master SubnetManager on sm lid 15 sm guid ZZZZZZZZZZZZZZZZ : SUN IB QDR GW switch GW01 10.10.XX.XX 

2. Login to the switch NOT returned by getmaster and which is NOT running the Master. In this case lets assume GW02. Reboot GW02 switch using below "reboot" command.


reboot

Wait for the switch to come back up. When the Switch comes back up, verify that SM is running and GW02 is in STAND BY be executing below “getmaster”.
getmaster

Below is example output of above command.
# getmaster
Local SM enabled and running, state STAND BY
201XXX2 YY:XX:27 Master SubnetManager on sm lid 15 sm guid ZZZZZZZZZZZZZZZZ : SUN IB QDR GW switch GW01 10.10.XX.XX 

If SM is not enabled on the switch, enable back the SM by running below command.

enablesm

3. Login to SM master switch. In this case, GW01. Execute below “disablesm” command.
disablesm

Verify that master moves to GW02. This can be verified by again running below "getmaster" command.


4. Reboot the switch (GW01) using below "reboot" command.
reboot

Wait for the switch to come back up. Once the switch comes back up verify that SM is running on it and it is the standby Switch. To verify whether SM is running on GW01 and if it standby Switch we can run below "getmaster" command on GW01.
getmaster

If SM is not enabled on the switch, enable back the SM by running below command.
enablesm

Products to which Article Applies

Exalogic rack Infiniband Switches (Applies to both Exalogic Physical and Virtual racks)