NetApp ontapi 报错解决方案

NetApp ontapi 报错解决方案

✅ 报错翻译 & 含义

ONTAPI has been proactively suspended on this cluster due to inactivity as this feature is deprecated. Use the "system services web ontapi modify" CLI command to un-suspend ONTAPI. (errno=61253)

  • 中文:ONTAPI(也叫 ZAPI,NetApp 旧版 XML 接口)已经被集群自动暂停。原因:这个接口已经标记为废弃,并且长时间没有被访问使用;需要在 NetApp 集群 CLI 执行命令来解除暂停NetApp Kno...

简单说: ADAudit Plus 采集 NetApp 文件审计日志,依赖ONTAPI(ZAPI)这个老接口; NetApp ONTAP 9.14 + 版本新增机制:如果连续 30 天没人调用 ONTAPI,就会自动把它挂起停用,防止废弃接口闲置,所以 ADAudit Plus 连不上、拿不到卷信息和审计事件,就报这个错。


🛠️ 临时解决办法(恢复采集)

登录 NetApp 集群的 SSH/System Manager CLI,执行命令:

system services web ontapi modify -suspended false

查看状态命令:

system services web ontapi show

执行完之后,回到 ADAudit Plus 点【Run Now】手动拉取事件,一般就能恢复采集NetApp。

⚠️ 重要提醒:这个只是临时恢复! 只要连续 30 天没有程序访问 ONTAPI,NetApp 会再次自动把它挂起,又会报同样错误。