Engineer wants to know when active and standby SCCs switching happened. How can we find the active&standby switching record in the log files?
We can know it by analyzing the OCPLOG.txt or HBU.LOG file.
1.In OCPLOG.TXT file, we can find "ProcMSSwitch MSG_HBU_SMOOTH" record which means the standby SCC board switched to active state, and "NotifyACT2STDBY" record which means the active SCC board switched to standby state.
ProcMSSwitch MSG_HBU_SMOOTH 0 0 0 2011-7-12 16:2:16
NotifyACT2STDBY 0 1 2011-7-12 16:39:59
2.In HBU.LOG file, we can find "HSC SWITCH slave --> master" record which means the standby SCC board switched to active state, and "HSC SWITCH master --> slave" record which means the active SCC board switched to standby state.
NO:921 TIME:2011-7-12 16:2:3 MODID:0x29 INFO:ErrCode:0xffffffff FileName:hsc_msg.cpp Line:650 Info:HSC SWITCH slave --> master
NO:1127 TIME:2011-7-12 16:39:57 MODID:0x29 INFO:ErrCode:0xffffffff FileName:hsc_msg.cpp Line:375 Info:HSC SWITCH master --> slave
From above records, we can know:
This SCC board was switching to active state at 2011-7-12 16:2:3 and was switching back to stanby state at 2011-7-12 16:39:57.
When the active scc board switches to standby state, it will resets itself. So we can find a "Init OCP Log OK" record after "NotifyACT2STDBY" record.(see case:SE0000531254)
OCPLOG.TXT is in the /ofs2/log/ directory of SCC.
HBU.LOG is in the /ofs1/log/ directory of SCC.
It is useful when we do the troubleshooting.