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
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
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
No comments:
Post a Comment