跳转到主内容

SnapCenter 服务器上的计划任务未运行

Views:
57
Visibility:
Public
Votes:
0
Category:
not set
Specialty:
snapx
Last Updated:

适用于

SnapCenter Server (SC) < 6.x

问题

  • SnapCenter 任务(如克隆生命周期、删除辅助备份和清除作业)在 SnapCenter 服务器上的 Windows 任务计划程序中计划运行,但停止运行,且 SnapCenter UI 中不显示任何错误。
  • 当从 SnapCenter UI、SQL Agent(克隆生命周期)触发,或复制作业语法并直接从 PowerShell(以域用户身份登录)运行时,作业可成功运行。
  • 启动作业时,joblauncher.logC:\Program Files\NetApp\SnapCenter\SMCore\log)返回错误,提示无法识别 cmdlet 的名称(即克隆生命周期作业的 "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.)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.