经典的SharePoint 2010升级中的多核CPU冲突问题
问题描述
================
升级SharePoint 2010的时候, 在跑向导(configuration wizard)的时候, 在第八或第九步失败, 在upgrade.log中, 可以发现如下报错:
06/30/2011 14:39:51 8 ERR Exception: Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException: An update conflict has occurred, and you must re-try this action. The object SPUpgradeSession Name=Upgrade-20110630-143925-862 was updated by GCGLOBAL\spcentraladminqa, in the PSCONFIG (2344) process, on machine SYDNWWEBQ26. View the tracing log for more information about the conflict.
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.StoreObject(SPPersistedObject obj, Boolean storeClassIfNecessary, Boolean ensure)
at Microsoft.SharePoint.Administration.SPConfigurationDatabase.Microsoft.SharePoint.Administration.ISPPersistedStoreProvider.PutObject(SPPersistedObject persistedObject, Boolean ensure)
at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Update()
at Microsoft.SharePoint.Upgrade.SPUpgradeSession.ContinueOnLocalThread(Guid id, Boolean consoleOutput)
at Microsoft.SharePoint.Upgrade.SPManager.ContinueSessionOnLocalThread(Guid id, Boolean consoleOutput)
at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
解决方案
=================
1. 在出现错误的SharePoint机器上, 在运行框中输入msconfig, 回车.
2. 选择boot选项卡, 点击Advanced Options按钮.
3. 勾选Number of processors, 选择1.
4. 点OK. 重启服务器.
5. 运行下面的命令:
psconfig -cmd upgrade -inplace b2b -force -wait
6. 向导跑成功后, 恢复原来的处理器设置.
参考资料
==================
Vista - Boot Advanced Options - Number of Processors
http://www.vistax64.com/tutorials/153125-boot-advanced-options-number-processors.html