跳转到主内容

缺少消息队列服务会导致 SnapCenter 作业出现问题

适用场景

  • SnapCenter 服务器
  • 适用于 Microsoft Windows 的 SnapCenter 插件

问题描述

现象1:

由于"此计算机上尚未安装消息队列"、SnapCenter作业失败。 在中可能会出现以下错误 SMCoreService.log/SMCore_<JobID>.log

 <TIMESTAMP> ERROR SMCore PID=[<PID>] TID=[<TID>] System.InvalidOperationException: Message Queuing has not been installed on this computer.
     at System.Messaging.Interop.SafeNativeMethods.MQPathNameToFormatName(String pathName, StringBuilder formatName, Int32& count)
     at System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath(String queuePath, Boolean throwException)
     at System.Messaging.MessageQueue.Exists(String path)
     at JobManager.SmQueue..ctor(String queueName)
     at JobManager.SmJobManager..ctor(String qPath, ISmJobManagerConsumer consumerImpl)
     at SnapMgrCoreService.HostManagementService.<.cctor>b__4e()
     at System.Lazy`1.CreateValue()

现象2:

SnapCenter作业持续运行、在中可能会出现以下错误 SMCoreService.log/SMCore_<JobID>.log

<TIMESTAMP> ERROR SMCore_49 PID=[<PID>] TID=[<TID>] An error occurred while adding job to jobQ: Message Queuing has not been installed on this computer.Source: System.Messaging
  Stack Trace:    at System.Messaging.Interop.SafeNativeMethods.MQPathNameToFormatName(String pathName, StringBuilder formatName, Int32& count)
     at System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath(String queuePath, Boolean throwException)
     at System.Messaging.MessageQueue.Exists(String path)
     at JobManager.SmQueue..ctor(String queueName)
     at JobManager.SmJobManager..ctor(String qPath, ISmJobManagerConsumer consumerImpl)
     at SnapMgrCoreService.HostManagementService.<.cctor>b__39()
     at System.Lazy`1.CreateValue()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Lazy`1.get_Value()
     at SnapMgrCoreService.ProtectionService.AddJob(SmRequest request)

现象3:

 <TIMESTAMP> ERROR SMCore_28 PID=[328] TID=[16] An error occurred while adding job to jobQ: Source: System.Messaging Stack Trace: at System.Messaging.MessageQueue.Create(String path, Boolean transactional) at JobManager.SmQueue..ctor(String queueName) at JobManager.SmJobManager..ctor(String qPath, ISmJobManagerConsumer consumerImpl) at System.Messaging.MessageQueue.Create(String path, Boolean transactional) at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at SnapMgrCoreService.ProtectionService.AddJob(SmRequest request)

现象4:

  • 成功的 备份作业在SC UI > 资源 >数据库> 选择并打开数据库下不可见
  • 备份 /快照可在ONTAP命令行界面下查看

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.