围绕megacli工具的面向对象api,用于管理lsi raid卡
pymegacli的Python项目详细描述
如果您的基础架构中有任何LSI RAID卡,而这些卡是在收购之前 在3ware中,您无疑熟悉megacli64,它是lsi 用于管理这些卡。它缺乏用户友好性是传奇。一些 惊人的例子:
- case sensitivity + inconsistent case (example: /opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -Lall -aALL)
- wildly inconsistent, hard-to-parse output (BBU GasGauge Status: 0x0128)
- misleading summary information (components like BBUs will often simultaneously report State: Optimal and Pack is about to fail & should be replaced, which seems like they should never occur at the same time)
这个库试图包装megacli和megacli64,并提供一个面向对象的接口 看看你的控制器到底是怎么回事。
此时,它不支持更改任何内容,只显示数据。就这样 适合在Nagios支票中使用,但您仍然必须记住如何实际使用 更改设置。这在未来可能会改变。