SnapCenter服务器上的计划任务未运行
适用场景
SnapCenter服务器(SC)
问题描述
- 克隆生命周期、删除二级备份和清除在SnapCenter服务器上的Windows任务计划程序中计划的作业等SnapCenter任务停止运行、而SnapCenter UI中未显示错误。
- 从SnapCenter UI、SQL代理(克隆生命周期)触发或复制作业语法并直接从PowerShell (以域用户身份登录)触发后、这些作业将成功运行。
- 当启动作业时,
joblauncher.log
(C:\Program Files\NetApp\SnapCenter\SMCore\log
)返回错误,指出无法识别的名称(例如,克隆生命周期作业的“New-SmClone
”)。
2023-05-03T03:30:02.1925276-05:00 DEBUG Smcore PID=[364] TID=[1] Enter Job Launcher
2023-05-03T03:30:02.7081557-05:00 ERROR Smcore PID=[364] TID=[1] An error occurred while invoking the powershell cmdlet.System.Management.Automation.CommandNotFoundException: The term 'New-SmClone' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
at System.Management.Automation.RunspaceInvoke.Invoke(String script, IEnumerable input, IList& errors)
at SnapMgrHelper.SmPsHelper.InvokeCmdlet(String strCmdlet, Collection`1& result, IList& lstErrors)
2023-05-03T03:30:02.7081557-05:00 ERROR Smcore PID=[364] TID=[1] ErrorCode (-1), ErrorMessage (The term 'New-SmClone' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.)