背景:
管理幾千臺(tái)服務(wù)器,每天都要使用腳本進(jìn)行巡檢,在巡檢過(guò)程中發(fā)現(xiàn)一批服務(wù)器報(bào)錯(cuò)持續(xù)報(bào)同一個(gè)錯(cuò)誤,排查后發(fā)現(xiàn)是iBMC固件升級(jí)導(dǎo)致的報(bào)錯(cuò),實(shí)際服務(wù)器硬件是正常的。
執(zhí)行以下命令清除sdr緩存就好了。文章來(lái)源:http://www.zghlxwxcb.cn/news/detail-542272.html
ip=XX.XX.XX.XX
user=****
pass=888888888
/sbin/ipmimonitoring -D LAN_2_0 -h $ip -u $user -p "$pass" --flush-cache
參數(shù)釋義文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-542272.html
-f, --flush-cache
Flush a cached version of the sensor data repository (SDR) cache. The SDR is typically cached for faster subsequent access. However, it may need to be flushed and re-generated if the SDR has been updated on a system.
到了這里,關(guān)于ipmimonitoring命令巡檢報(bào)錯(cuò),但是服務(wù)器實(shí)際正常的處理方式的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!