windows 更新后 SharePoint 2013 搜索应用程序中断。

SharePoint 2013 search application break after windows update.

问题: 我们对 SharePoint Server 2013 WFE 应用了一些 windows 更新。此更新导致我们的搜索服务应用程序中断。它在 CA 的搜索服务应用程序中给出以下错误:

服务器 C....1 上的搜索应用程序 'Search Service Application' 未完成加载。查看受影响服务器上的事件日志以获取更多信息。

为了调查问题的根本原因,我检查了事件日志并发现了以下错误:

作业定义Microsoft.Office.Server.Search.Administration.CustomDictionaryDeploymentJobDefinition(ID a006ef86-4d33-4f2d-a77f-4cb2ac909b23)的Execute方法抛出异常。下面包含更多信息。

服务器 CBRDEVSPS01 上的搜索应用程序“102a182f-24fd-4147-8bc4-d22168b3e29e”未完成加载。查看受影响服务器上的事件日志以获取更多信息。

我还检查了 ULS 日志,发现以下错误:

11/17/2015 10:23:57.06 OWSTIMER.EXE (0x300C) 0x32A0 SharePoint Server 搜索管理 dl1x 高 在 GathererProject::EnsureComServer 中捕获意外异常。异常消息:设备未就绪。 . 4f4e429d-c15d-5048-e5da-799794211bff 11/17/2015 10:23:57.06 OWSTIMER.EXE (0x300C) 0x32A0 SharePoint Server 搜索管理 fwi9 异常搜索应用程序搜索服务应用程序:默认内容源同步失败 System.IO.FileNotFoundException:设备未就绪.在 Microsoft.Office.Server.Search.Administration.MSSITLB.IGatherApplication2.get_GatherProjects() 在 Microsoft.Office.Server.Search.Administration.GathererProject.get_ProjectObject() 在 Microsoft.Office.Server.Search.Administration.GathererProject.EnsureComServer() 在 Microsoft.Office.Server.Search.Administration.GathererProject.GetContentSource(String strContentSource) 在 Microsoft.Office.Server.Search.Administration.OSSPrimaryGathererProject.ProvisionContentSources() 在 Microsoft.Office.Server.Search.Administration.SearchServiceApplication.SynchronizeDefaultContentSources() 在 Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Synchronize() StackTrace: 在 Microsoft.Office.Server.Native.dll: (sig=678c0f87-966f-4d99-9c94-b49e788d2672|2|microsoft.office.server.native.pdb, offset=131CE) 在 Microsoft.Office.Server.Native.dll:(偏移量=21BE5)4f4e429d-c15d-5048-e5da-799794211bff 11/17/2015 10:23:57.07 OWSTIMER.EXE (0x300C) 0x32A0 SharePoint Server 搜索管理 fwj8 同步应用程序搜索服务应用程序 System.IO.FileNotFoundException 异常失败:设备未就绪。在 Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Synchronize() 在 Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize() StackTrace: 在 Microsoft.Office.Server.Native.dll: (sig=678c0f87-966f-4d99-9c94-b49e788d2672|2|microsoft.office.server.native.pdb, offset=131CE)在 Microsoft.Office.Server.Native.dll: (offset=21BE5) 4f4e429d-c15d-5048-e5da-799794211bff 11/17/2015 10:23:57.12 OWSTIMER.EXE (0x300C) 0x32A0 SharePoint Server 共享服务 6482 服务实例 Microsoft.Office.Server.Search.Administration.SearchServiceInstance 的关键应用程序服务器管理作业失败 (64d2ce6d-5c68-4c52-93b8-d0abdaf1dd18 ).原因:设备未就绪。技术支持详细信息:System.IO.FileNotFoundException:设备尚未就绪。在 Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize() 在 Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(布尔 isAdministrationServiceJob)4f4e429d-c15d-5048-e5da-799794211bff

为了解决这个问题,我尝试了以下方法:

  1. 通过 PowerShell 重新启动 SharePoint Server 搜索,但无法完成操作。
  2. 清除文件系统 在 SharePoint 定时服务 运行 http://www.social-point.com/sharepoint-2010-event-id-6482-application-server-administration-job-failed-for-service-instance-microsoft-office-server-search-administration-searchserviceinstance

  3. 的所有 WFE 上兑现
  4. 卸载所有 Windows 更新

  5. 尝试使用 PowerShell 命令重置搜索索引并停止爬网,但失败了。
  6. 运行 SharePoint 产品配置向导
  7. 检查组策略日志,未发现任何受影响的 SharePoint 帐户。

我创建了一个功能齐全的新搜索应用程序。任何修复当前搜索应用程序的建议将不胜感激。

唯一的选择是重新创建搜索服务应用程序。我可以避免创建 SSA.有什么想法吗?

我认为您是对的,有时唯一的解决方案是重新创建 SSA。安装 Windows 更新后,我现在处于类似情况。当前的搜索索引正在返回结果,但新的爬网将不会完成并且似乎挂起。抓取此服务器场上的所有内容可能需要数天时间,因此为了最大限度地减少停机时间,以下是我们即将实施的计划:

  1. 创建一个临时网络应用程序。
  2. 创建与新网站关联的新搜索服务应用程序 应用
  3. 在新 SSA 中创建内容源
  4. 使用此处描述的 PowerShell 脚本从旧 SSA 导出托管属性 (http://blog.riccardocelesti.it/exportimport-managed-properties-via-powershell/)
  5. 使用新的 SSA 抓取内容
  6. 导入托管属性和映射(再次使用上面的脚本)
  7. 切换服务应用程序关联,以便生产网络应用程序使用 这个新的 SSA。它应该包含所有已抓取的内容,并准备好用当前数据响应查询。

我希望这对某人有所帮助。

其中一个 windows 更新可能安装了早期 CU 之一的一部分。见 https://blogs.technet.microsoft.com/stefan_gossner/2015/07/15/important-psconfig-is-mandatory-for-july-2015-cu-for-sharepoint-2013/

您是否尝试过 运行 产品配置向导(或 psconfig)?这可能会解决您的搜索问题。