SCE或SCSQL备份失败、并显示错误API调用失败
适用场景
- SnapCenter服务器(SC)
- 适用于Microsoft Exchange Server的SnapCenter插件(SCE)
- 适用于Microsoft SQL Server的SnapCenter插件(SCSQL)
问题描述
- SCE/SCSQL备份 失败、并显示
API invoke failed
错误 - SCSQL备份的作业日志中出现错误:
SnapManagerWeb_<Job_ID> log
2023-06-23T13:57:29.9866182+02:00 INFO SnapManagerWeb_1750796 PID=[4888] TID=[22] Enter JobManagerProvider: UpdateJobStatus
2023-06-23T13:57:29.9866182+02:00 DEBUG SnapManagerWeb_1750796 PID=[4888] TID=[22] Updating the job (1750796) task (Creating Snapshot copy) status as Failed
2023-06-23T13:57:29.9866182+02:00 INFO SnapManagerWeb_1750796 PID=[4888] TID=[22] Enter UpdateJobStatus
2023-06-23T13:57:29.9866182+02:00 INFO SnapManagerWeb_1750796 PID=[4888] TID=[22] Exit UpdateJobStatus
2023-06-23T13:57:30.0022470+02:00 INFO SnapManagerWeb_1750796 PID=[4888] TID=[22] Exit JobManagerProvider: UpdateJobStatus
SCW_<Job_ID> log
Critical SDW PID=[4608] TID=[5940] The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: API invoke failed. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
Verbose SDW PID=[4608] TID=[5940] ex.Message : The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: API invoke failed.
Verbose SDW PID=[4608] TID=[5940] InitializeONTAP() throw exception: API invoke failed.
Error SDW PID=[4608] TID=[5940] API invoke failed. at SnapDrive.Nsf.Core.Storage.StorageConnection.Initialize(SDStorageSystemId storageSystemId)
Error SDW PID=[4608] TID=[5940] GetStorageSystemVersion failed
Error SDW PID=[4608] TID=[5940] Failed to connect to the storage system <Storage_Cluster_Name / SVM_Name>
Error SDW PID=[4608] TID=[5940] Failed to get the volumes for all volumes.
SMCore_<Job_ID> log
ERROR SMCore_1750796 PID=[5260] TID=[14] Create snapshot '<Snapshot_Name>' failed: Snapshot operation failed. API invoke failed..
ERROR SMCore_1750796 PID=[5260] TID=[14] ErrorCode (-1), ErrorMessage (Create snapshot '<Snapshot_Name>' failed: Snapshot operation failed. API invoke failed.. )
SmSql_<Job_ID> log
DEBUG SmSql_<Job_ID> PID=[3456] TID=[4] updating snapshot failure for database: <Database_Name>
DEBUG SmSql_<Job_ID> PID=[3456] TID=[5] Info: SQL server will not backup this db as snapshot creation has failed.