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.)