将软件更新应用到 Office Web Apps ServerApply software updates to Office Web Apps Server

 

适用于: Office Web Apps ServerApplies to: Office Web Apps Server

摘要: 说明如何将软件更新应用到 Office Web Apps Server 服务器场。Summary: Explains how to apply software updates to an Office Web Apps Server farm.

目标用户: IT 专业人员Audience: IT Professionals

在 Office Web Apps Server 的新版本之后, Microsoft 会提供一系列软件更新, 以帮助改进服务器安全性、性能和可靠性。After a new release of Office Web Apps Server, Microsoft makes a series of software updates available to help improve server security, performance, and reliability. 本文介绍如何将软件更新应用到 Office Web Apps Server 服务器场中的各个服务器。This article describes how to apply software updates to individual servers in an Office Web Apps Server farm.

重要

本文是 Content roadmap for Office Web Apps Server的一部分。This article is part of the Content roadmap for Office Web Apps Server. 使用路线图作为帮助您部署和管理 Office Web Apps Server 的文章、下载和视频的起点。Use the roadmap as a starting point for articles, downloads, and videos that help you deploy and manage Office Web Apps Server.
您是否要在桌面或移动设备上查找 Office Web Apps 帮助?Are you looking for help with Office Web Apps on your desktop or mobile device? 您可以通过在Office.com上搜索 "Office Web Apps" 来查找此信息。You can find this information by searching for "Office Web Apps" on Office.com.

警告

Office Web Apps Server 不支持使用自动更新过程应用 Office Web Apps Server 更新。Applying Office Web Apps Server updates by using the automatic updates process isn’t supported with Office Web Apps Server. 这是因为 Office Web Apps Server 的更新必须以特定方式应用, 如本文中所述。This is because updates to an Office Web Apps Server must be applied in a specific way, as described in this article. 如果 Office Web Apps Server 更新是自动应用的, 则用户可能无法在 Office Web Apps 中查看或编辑文档。If Office Web Apps Server updates are applied automatically, users may be unable to view or edit documents in Office Web Apps. 如果发生这种情况, 您必须重新生成 Office Web Apps Server 服务器场。If this happens, you have to rebuild your Office Web Apps Server farm. 若要重新生成服务器场, 必须使用new-officewebappsmachine删除 Office Web apps server, 并使用 "添加或删除程序" 卸载 office web apps server, 然后按照以下步骤重新安装 office web apps server, 从而删除服务器场中的 Office web apps server。在 "部署 Office Web Apps Server" 中介绍。To rebuild a farm, you must remove the Office Web Apps Server from the farm by using Remove-OfficeWebAppsMachine, uninstall Office Web Apps Server by using Add or remove programs, and then reinstall Office Web Apps Server by following the steps that are described in Deploy Office Web Apps Server. 重新安装后, 请按照本文中介绍的步骤应用更新。After you have reinstalled, apply the update by following the steps that are described in this article.
请务必查看规划 Office Web Apps server 更新中的指南, 并为 Office Web apps server 场建立更新过程。It is important that you review the guidelines in Planning updates for Office Web Apps Server and establish an update process for the Office Web Apps Server farm.

开始之前Before you begin

您可以在Microsoft Office update 博客上的 Office Web Apps Server 和office、office 服务器和相关产品的 TechNet 更新中心上查找适用于 office Web Apps Server 的最新更新列表。You can find the most recent list of updates available for Office Web Apps Server on the Microsoft Office Updates blog and on the TechNet Update center for Office, Office servers, and related products.

为 Office Web Apps Server 发布的更新将更新 Office Web Apps Server 和所有已安装的 Office Web Apps Server 语言包。Updates that are released for Office Web Apps Server will update Office Web Apps Server and any Office Web Apps Server language packs that are installed. Office Web Apps Server 语言包没有单独的更新。There are no separate updates for Office Web Apps Server language packs.

作为更新过程的一部分, 您必须重新创建 Office Web Apps Server 服务器场。As part of the update process, you'll have to re-create the Office Web Apps Server farm. 若要准备重新创建 Office Web Apps Server 服务器场, 请通过运行 Windows PowerShell cmdlet OfficeWebAppFarm查看当前的 Office Web apps server 场属性, 并查看new-officewebappsfarm的参数。To prepare to re-create the Office Web Apps Server farm, review your current Office Web Apps Server farm properties by running the Windows PowerShell cmdlet Get-OfficeWebAppFarm and review the parameters for New-OfficeWebAppsFarm. 您用于new-officewebappsfarm的参数应与您在首次设置 Office Web Apps Server 服务器场时使用的参数相同。The parameters that you use for New-OfficeWebAppsFarm should be the same parameters that you used when you first set up the Office Web Apps Server farm.

备注

您可以使用鼠标、键盘快捷方式或触控来完成本文中的任务。You can complete tasks in this article by using a mouse, keyboard shortcuts, or touch. 有关详细信息,请参阅以下资源:For more information, see the following resources:

将软件更新应用到单个服务器 Office Web Apps Server 服务器场Apply software updates to a single server Office Web Apps Server farm

若要将软件更新应用到单个服务器 Office Web Apps Server 服务器场, 请从服务器场中删除 Office Web Apps Server, 应用软件更新, 然后重新创建 Office Web Apps Server 场。To apply software updates to a single server Office Web Apps Server farm, remove the Office Web Apps Server from the farm, apply the software update, and re-create the Office Web Apps Server farm. 如果你的 Office Web Apps Server 服务器场中只有一台服务器, 则用户在更新服务器时将无法使用 Office Web Apps。If you have only one server in your Office Web Apps Server farm, users won’t be able to use Office Web Apps while you are updating the server. 因此, 请考虑在非紧急或非工作时间更新 Office Web Apps Server。So consider updating the Office Web Apps Server during either non-critical or non-business hours.

将软件更新应用到单个服务器场To apply software updates to a single server farm

  1. 如果尚未将更新下载到 Office Web Apps Server, 请从Microsoft 下载中心下载要应用的 Office Web apps server 更新。If the update hasn’t been downloaded to the Office Web Apps Server already, download the Office Web Apps Server update that you want to apply from the Microsoft Download Center.

  2. 在要应用软件更新的 Office Web Apps Server 上, 以管理员身份打开 Windows PowerShell 提示符, 然后运行以下命令。On the Office Web Apps Server that you want to apply the software update to, open the Windows PowerShell prompt as an administrator and run the following command.

        Remove-OfficeWebAppsMachine
    
  3. 在该服务器上安装 Office Web Apps Server 更新。Install the Office Web Apps Server update on that server. 如果出现提示,请重新启动服务器。If prompted, restart the server.

  4. 以管理员身份打开 Windows PowerShell 提示符, 然后运行new-officewebappsfarm cmdlet, 以重新创建 Office Web Apps Server 场。Open the Windows PowerShell prompt as an administrator and run the New-OfficeWebAppsFarm cmdlet to re-create an Office Web Apps Server farm. 您为 – InternalURL指定的 URL 是运行 Office Web Apps server 的服务器的名称, 例如http://Contoso-WACThe URL you specify for –InternalURL is the name of the server that runs Office Web Apps Server, such as http://Contoso-WAC. 在这种情况下, 您将使用您用于以前的 Office Web Apps Server 场的相同名称。In this case, you would use the same name that you used for the previous Office Web Apps Server farm. 使用您在第一次创建 Office Web Apps Server 场时使用的相同的附加参数。Use the same additional parameters that you used when you first created the Office Web Apps Server farm. 例如, – AllowHttp参数将服务器场配置为使用 HTTP, 并且 – EditingEnabled参数在将 Office Web Apps 与 SharePoint 2013 一起使用时, 可以在 Office Web Apps 中进行编辑。For example, the –AllowHttp parameter configures the farm to use HTTP, and the –EditingEnabled parameter enables editing in Office Web Apps when it is used together with SharePoint 2013. Lync Server 2013 或 Exchange Server 2013 不使用 – EditingEnabled参数, 因为这些主机不支持编辑。The –EditingEnabled parameter is not used by Lync Server 2013 or Exchange Server 2013 because those hosts don't support editing.

    以下示例中的代码创建一个名为http://Contoso-WAC的新 Office Web Apps Server 场。The code in the following example creates a new Office Web Apps Server farm named http://Contoso-WAC.

        New-OfficeWebAppsFarm -InternalURL "http://Contoso-WAC" -AllowHttp -EditingEnabled
    

    New-officewebappsfarm中介绍了用于配置转换服务、代理服务器、剪贴画支持和联机查看器的其他参数。Additional parameters that configure translation services, proxy servers, clipart support, and Online Viewers are described in New-OfficeWebAppsFarm.

将软件更新应用到多个 Office Web Apps Server 服务器场Apply software updates to a multiple Office Web Apps Server farm

若要将软件更新应用到多个 Office Web Apps Server 服务器场, 请首先从负载平衡器池和服务器场中删除其中一个服务器, 应用软件更新, 并创建更新的 Office Web Apps Server 服务器场。To apply software updates to a multiple Office Web Apps Server farm, you first remove one of the servers from the load balancer pool and from the farm, apply the software update, and create an updated Office Web Apps Server farm. 然后, 删除并更新 Office Web Apps Server 服务器场中的其余服务器, 并将其加入到新更新的服务器场中。Then you remove and update the remaining servers in the Office Web Apps Server farm, and join them to the new updated farm. 当新的场中有足够的服务器支持当前流量时,将平衡流量加载到新场。You load balance traffic to the new farm when you have enough servers in the new farm to support the current traffic. 通过使用此更新过程, 用户可以在不中断的情况下, 在 Office Web Apps 中打开和编辑文档。By using this update process, users can open and edit documents in Office Web Apps without disruption.

将软件更新应用到多个服务器场To apply software updates to a multiple server farm

  1. 将您想要从Microsoft 下载中心应用的 Office Web apps Server 更新下载到 Office Web Apps server 服务器场可用的网络位置。Download Office Web Apps Server update that you want to apply from the Microsoft Download Center to a network location available to the Office Web Apps Server farm.

  2. 从负载平衡器池中删除要应用软件更新的 Office Web Apps Server。Remove the Office Web Apps Server that you want to apply the software update to from the load balancer pool.

  3. 在该 Office Web Apps Server 上, 以管理员身份打开 Windows PowerShell 提示符, 然后运行以下命令。On that Office Web Apps Server, open the Windows PowerShell prompt as an administrator and run the following command.

        Remove-OfficeWebAppsMachine
    
  4. 在该服务器上安装 Office Web Apps Server 更新。Install the Office Web Apps Server update on that server. 如果出现提示,请重新启动服务器。If prompted, restart the server.

  5. 使用 cmdlet new-officewebappsfarm以管理员身份打开 Windows PowerShell 提示符, 并创建更新的 Office Web Apps Server 场。Open the Windows PowerShell prompt as an administrator and create an updated Office Web Apps Server farm by using the cmdlet New-OfficeWebAppsFarm. 您为 – InternalURL指定的 URL 是运行 Office Web Apps server 的服务器的名称, 例如http://Contoso-WACThe URL you specify for –InternalURL is the name of the server that runs Office Web Apps Server, such as http://Contoso-WAC. 在这种情况下, 请使用与现有 Office Web Apps Server 场相同的名称。In this case, you use the same name as the existing Office Web Apps Server farm. 使用您在第一次创建 Office Web Apps Server 场时使用的相同的附加参数。Use the same additional parameters that you used when you first created the Office Web Apps Server farm. 例如, – AllowHttp参数将服务器场配置为使用 HTTP, 并且 – EditingEnabled参数在将 Office Web Apps 与 SharePoint 2013 一起使用时, 可以在 Office Web Apps 中进行编辑。For example, the –AllowHttp parameter configures the farm to use HTTP, and the –EditingEnabled parameter enables editing in Office Web Apps when it is used together with SharePoint 2013. Lync Server 2013 或 Exchange Server 2013 不使用 – EditingEnabled参数, 因为这些主机不支持编辑。The –EditingEnabled parameter is not used by Lync Server 2013 or Exchange Server 2013 because those hosts don't support editing.

    以下示例中的代码创建一个名为http://Contoso-WAC的新 Office Web Apps Server 场。The code in the following example creates a new Office Web Apps Server farm named http://Contoso-WAC.

        New-OfficeWebAppsFarm -InternalURL "http://Contoso-WAC" -AllowHttp -EditingEnabled
    

    New-officewebappsfarm中介绍了用于配置转换服务、代理服务器、剪贴画支持和联机查看器的其他参数。Additional parameters that configure translation services, proxy servers, clipart support, and Online Viewers are described in New-OfficeWebAppsFarm.

  6. 根据您在 Office Web Apps Server 服务器场中拥有的服务器数, 将流量负载平衡到新服务器场。Depending on how many servers that you have in the Office Web Apps Server farm, load balance traffic to the new farm. 您可以延迟这个步骤,直到有更多更新的服务器加入到场中。You may delay this step until you have more updated servers to join the farm.

  7. 对于服务场中其余的每个服务器,请执行以下步骤。For each remaining server in the farm, follow these steps.

    1. 从负载平衡器池中删除下一个 Office Web Apps 服务器。Remove the next Office Web Apps Server from the load balancer pool.

    2. 在该服务器上安装 Office Web Apps Server 更新。Install the Office Web Apps Server update on that server. 如果出现提示,请重新启动服务器。If prompted, restart the server.

    3. 以管理员身份打开 Windows PowerShell 提示符, 然后运行以下命令。Open the Windows PowerShell prompt as an administrator and run the following command. – MachineToJoin参数将当前服务器添加到现有的 Office Web Apps server 服务器场。The –MachineToJoin parameter adds the current server to an existing Office Web Apps Server farm. 在这种情况下, 您希望将服务器添加到更新的 Office Web Apps Server 服务器场。In this case, you want to add the server to the updated Office Web Apps Server farm. 因此, 请使用更新后的 Office Web Apps Server 服务器场中的某个服务器的计算机名称。So use the computer name of the one of the servers in the updated Office Web Apps Server farm.

          New-OfficeWebAppsMachine -MachineToJoin "server1.contoso.com"
      

另请参阅See also

[Remove-OfficeWebAppsMachine](https://docs.microsoft.com/en-us/powershell/module/officewebapps/remove-officewebappsmachine?view=officewebapps-ps)[Remove-OfficeWebAppsMachine](https://docs.microsoft.com/en-us/powershell/module/officewebapps/remove-officewebappsmachine?view=officewebapps-ps) [New-OfficeWebAppsMachine](https://docs.microsoft.com/en-us/powershell/module/officewebapps/new-officewebappsmachine?view=officewebapps-ps)[New-OfficeWebAppsMachine](https://docs.microsoft.com/en-us/powershell/module/officewebapps/new-officewebappsmachine?view=officewebapps-ps) [New-OfficeWebAppsFarm](https://docs.microsoft.com/en-us/powershell/module/officewebapps/new-officewebappsfarm?view=officewebapps-ps)[New-OfficeWebAppsFarm](https://docs.microsoft.com/en-us/powershell/module/officewebapps/new-officewebappsfarm?view=officewebapps-ps) [Get-OfficeWebAppsFarm](https://docs.microsoft.com/en-us/powershell/module/officewebapps/get-officewebappsfarm?view=officewebapps-ps)[Get-OfficeWebAppsFarm](https://docs.microsoft.com/en-us/powershell/module/officewebapps/get-officewebappsfarm?view=officewebapps-ps)

Office Web Apps Server 内容指南Content roadmap for Office Web Apps Server