设为首页 收藏本站
查看: 3535|回复: 0

[经验分享] 如何激活已过试用期的System Center 2012 Operations Manager

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2016-12-27 11:01:03 | 显示全部楼层 |阅读模式
开始在测试System Center 2012 Operations Manager(以下简称为SCOM)一直使用的是评估版本,一直忘了输入密钥,周六的时候突然收到评估过期通知邮件,同时OpsMgr控制台无法连接。本文将引导您完成如何激活它的步骤。
如果尝试打开OpsMgr控制台,报警及报错如下:
wKiom1hguqLh3MrNAAAxGEfAD3Q600.png
wKiom1hgv2uxeedAAABmANy4Lqk872.png
Log信息如下:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
日期: 2016/12/26 9:07:22
应用程序: Operations Manager
应用程序版本: 7.1.10226.0
严重性: 错误
消息: 未能连接到服务器"BJ-SCOM**.****"
Microsoft.EnterpriseManagement.Common.UnknownServiceException: 服务引发未知异常。有关详细信息,请参阅内部异常。 ---> System.ServiceModel.FaultException`1[System.UnauthorizedAccessException]: The creator of this fault did not specify a Reason.
Server stack trace:
在 System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
在 System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
在 System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
在 System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]:
在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
在 Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
在 Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
在 Microsoft.EnterpriseManagement.ManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, ManagementGroupInternal internals)
在 Microsoft.EnterpriseManagement.Mom.Internal.UI.Common.ManagementGroupSessionManager.Connect(String server)
在 Microsoft.EnterpriseManagement.Monitoring.Console.Internal.ConsoleWindowBase.TryConnectToManagementGroupJob(Object sender, ConsoleJobEventArgs args)
System.ServiceModel.FaultException`1[System.UnauthorizedAccessException]: The creator of this fault did not specify a Reason. (错误详细信息等于 System.UnauthorizedAccessException: You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product. For information on purchasing the retail version of this product, go to http://go.microsoft.com/fwlink/?LinkID=74446.
at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.CheckLicence()
at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.Connect(SdkClientConnectionOptions options)
at Microsoft.EnterpriseManagement.ServiceDataLayer.BasicDispatcherService.Connect(SdkClientConnectionOptions connectionOptions))。



错误代码:You have exceeded the evaluation period of this product. Please upgradeto the retail version to continue using the product.
此时我们观察SCOM日志,明显会发现大量26319ID日志:
wKioL1hguqyC8XQyAAFmcDrHmZY087.png
wKiom1hgurCjfTu3AAGnAYG9_90125.png
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
具体信息如下:
日志名称:          Operations Manager
来源:            OpsMgr SDK Service
日期:            2016/12/25 16:51:52
事件 ID:         26319
任务类别:          无
级别:            错误
关键字:           经典
用户:            暂缺
计算机:           BJ-SCO**.*****
描述:
An exception was thrown while processing Connect for session ID uuid:e0c27c04-c2f3-4b0f-80b7-642e38f964b1;id=1592.
Exception message: The creator of this fault did not specify a Reason.
Full Exception: System.ServiceModel.FaultException`1[System.UnauthorizedAccessException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to System.UnauthorizedAccessException: You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product. For information on purchasing the retail version of this product, go to http://go.microsoft.com/fwlink/?LinkID=74446.
   at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.CheckLicence()
   at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.Connect(SdkClientConnectionOptions options)
   at Microsoft.EnterpriseManagement.ServiceDataLayer.BasicDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)).
事件 Xml:

  
   
    26319
    2
    0
    0x80000000000000
   
    674535
    Operations Manager
    BJ-SCOM**.*****
   
  
  
    Connect
    uuid:e0c27c04-c2f3-4b0f-80b7-642e38f964b1;id=1592
    The creator of this fault did not specify a Reason.
    System.ServiceModel.FaultException`1[System.UnauthorizedAccessException]: The creator of this fault did not specify a Reason. (Fault Detail is equal to System.UnauthorizedAccessException: You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product. For information on purchasing the retail version of this product, go to http://go.microsoft.com/fwlink/?LinkID=74446.
   at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.CheckLicence()
   at Microsoft.EnterpriseManagement.ServiceDataLayer.SessionManagerService.Connect(SdkClientConnectionOptions options)
   at Microsoft.EnterpriseManagement.ServiceDataLayer.BasicDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)).
  




报错代码:You have exceeded the evaluation period of this product. Please upgrade to the retail version to continue using the product.
显然OpsMgr控制台没有打开的主要原因是因为我们已经超过System Center 2012 Operations Manager的评估期。

知道问题根源后我们就可以对症下药了,按照常规思路我们只需要通过Operations Manager Shell命令行录入产品密钥即可,操作方法如下:
1.以管理员身份运行Operations Manager Shell模块
wKiom1hgurGwWWPkAAHK_FdmA2Y776.png
2.输入一下命令加载 OperationsManager 模块:
1
Import-Module OperationsManager



wKioL1hgurHxKK_uAAAEXqdIGq8893.png
3.然后输入新建SCOM管理组连接命令:
1
New-SCOMManagementGroupConnection



然而我们会遇到以下报错:
wKiom1hgurLS16KFAAC3TaRIoFI621.png
1
2
3
4
5
6
7
8
9
10
11
PS C:Windowssystem32> New-SCOMManagementGroupConnection
New-SCOMManagementGroupConnection : The service threw an unknown exception. See
inner exception for details.
所在位置 行:1 字符: 1
+ New-SCOMManagementGroupConnection
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidOperation: (Microsoft.Syste...nnectionCom
mand:NewSCManagementGroupConnectionCommand) [New-SCManagementGroupConnecti
on],UnknownServiceException
+ FullyQualifiedErrorId : ExecutionError,Microsoft.SystemCenter.Core.Comma
nds.NewSCManagementGroupConnectionCommand



此错误显示意义基本上是因为评估期已过期,因此我们将无法连接到管理组。
4.按照提醒我们需要将SCOM系统时间更改为我们仍处于评估期的日期(往前修改半月或一月均可,如果是虚拟机请临时关闭宿主机上"集成服务--时间同步"选项)。
wKioL1hgurKCrBPTAABb3Q9SgXw670.png
wKiom1hgurPQAAk5AADPB66rnOU028.png
5.重启System Center Data Access Service (System Center数据访问服务)服务:
wKioL1hgurOAxwn0AAB1kk7QOoY643.png
6.重新执行New-SCOMManagementGroupConnection并运行以下命令查看评估到期时间(如执行依旧报错,请确保系统时间已更改并重复以上5步骤):
1
Get-SCOMManagementGroup | ft skuforlicense,version,timeofexpiration -a



wKioL1hgurTyD4l7AACDHvVm51w170.png
7.通过Set-SCOMLicense命令输入产品密钥并确认:
1
Set-SCOMLicense ProductId "*********************"



wKiom1hgurTS2PDrAABkaNFbOl8989.png
8.重启System Center Data Access Service (System Center数据访问服务),此时控制台就可以打开了,如下:
wKiom1hgurXDwcwFAAFlh2DPwkY220.png
执行Get-SCOMManagementGroup | ft skuforlicense,version,timeofexpiration -a查看更新后授权信息已生效:
wKioL1hgurajMCWuAABq8UwiAW8047.png

如上为整个排错操作过程,希望可以帮到大家,如有不足请留言指出,感谢支持。


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-320175-1-1.html 上篇帖子: 全网收集System Center视频电子书打包下载 下篇帖子: asdas
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表