共用方式為


套用軟體更新至 Office Web Apps Server

 

適用版本: Office Web Apps Server

摘要: 說明如何套用軟體更新到 Office Web Apps Server 陣列。

對象: IT 專業人員

在新版 Office Web Apps Server 推出之後,Microsoft 提供了一系列的軟體更新來協助改善伺服器的安全性、效能和可靠性。 本文說明如何套用軟體更新到 Office Web Apps Server Server 陣列中的個別伺服器。

重要事項

本文是 Office Web Apps Server 的內容藍圖的一部分。 請以藍圖做為起點來取得文章、下載檔及影片,以協助您部署及管理 Office Web Apps Server。
Are you looking for help with Office Web Apps on your desktop or mobile device? You can find this information by searching for "Office Web Apps" on Office.com.

警告

Office Web Apps Server 不支援使用自動更新程式套用 Office Web Apps Server 更新。 這是因為 Office Web Apps Server 的更新必須以本文所述的特定方式套用。 如果自動套用 Office Web Apps Server 更新,使用者可能無法在 Office Web Apps 檢視或編輯文件。 如果發生此情況,您必須重建 Office Web Apps Server 伺服器陣列。 若要重建伺服器陣列,您必須使用 Remove-OfficeWebAppsMachine 從伺服器陣列中移除 Office Web Apps Server、使用 [新增或移除程式] 解除安裝 Office Web Apps Server,然後依照<部署 Office Web Apps Server>中所述的步驟重新安裝 Office Web Apps Server。 在重新安裝之後,再依照本文章所述的步驟套用更新。
請務必檢閱<規劃 Office Web Apps Server 更新>中的方針,建立 Office Web Apps Server 伺服器陣列的更新程序。

開始之前

您可以在 Microsoft Office 更新部落格,以及在 Office、Office 伺服器及相關產品的 TechNet 更新中心上找到 Office Web Apps Server 可用更新的最新清單。

針對 Office Web Apps Server 發行的更新將會更新 Office Web Apps Server 及任何已安裝的 Office Web Apps Server 語言套件。 沒有專為 Office Web Apps Server 語言套件而設的個別更新。

在升級過程中,您將必須重建 Office Web Apps Server伺服器陣列。 要準備重建 Office Web Apps Server 伺服器陣列時,檢閱您目前的 Office Web Apps Server 伺服器陣列內容,方法是執行 Windows PowerShell Cmdlet Get-OfficeWebAppsFarm 並檢閱 New-OfficeWebAppsFarm 的參數。 您用於 New-OfficeWebAppsFarm 的參數,應該與您第一次設定 Office Web Apps Server 伺服器陣列時使用的參數相同。

注意事項

您可以使用滑鼠、快速鍵或觸控等方式來完成本文中的工作。 如需詳細資訊,請參閱下列資源:

套用軟體更新至由單伺服器的 Office Web Apps Server 伺服器陣列

若要套用軟體更新到單伺服器的 Office Web Apps Server 伺服器陣列,請從伺服器陣列移除 Office Web Apps Server、套用軟體更新,然後重建 Office Web Apps Server 伺服器陣列。 如果您的 Office Web Apps Server 伺服器陣列中只有一部伺服器,則當您更新伺服器時,使用者將無法使用 Office Web Apps。 因此請考慮在非關鍵或非營業時間更新 Office Web Apps Server。

套用軟體更新至單伺服器的伺服器陣列

  1. 如果更新尚未下載到 Office Web Apps Server,請從 Microsoft 下載中心下載您要套用的 Office Web Apps Server 更新。

  2. 在您要套用軟體更新的 Office Web Apps Server 上,以系統管理員身分開啟 Windows PowerShell 提示,並執行下列命令。

        Remove-OfficeWebAppsMachine
    
  3. 在該伺服器上安裝 Office Web Apps Server 更新。 如果出現提示,請重新啟動伺服器。

  4. 以系統管理員身分開啟 Windows PowerShell 提示字元,並執行 New-OfficeWebAppsFarm Cmdlet 來重建 Office Web Apps Server 伺服器陣列。 您為 –InternalURL 指定的 URL,是執行 Office Web Apps Server 的伺服器名稱,例如 http://Contoso-WAC 。 在此情況下,您會使用先前的 Office Web Apps Server 伺服器陣列所使用的相同名稱。 請使用您第一次建立 Office Web Apps Server 伺服器陣列時所使用的相同額外參數。 例如,–AllowHttp 參數會將伺服器陣列設定為使用 HTTP,而 –EditingEnabled 參數在與 SharePoint 2013 搭配使用時,則可啟用在 Office Web Apps 中進行編輯。 Lync Server 2013 或 Exchange Server 2013 不使用 –EditingEnabled 參數,因為那些主機不支援編輯。

    下列範例中的程式代碼會建立名為 的新 Office Web Apps Server 伺服器陣列http://Contoso-WAC.

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

    New-OfficeWebAppsFarm>中將說明其他可設定翻譯服務、Proxy 伺服器、美工圖案支援與線上檢視程式的參數。

套用軟體更新至多 Office Web Apps Server 伺服器陣列

若要套用軟體更新至多 Office Web Apps Server 伺服器陣列,請先從負載平衡器集區和伺服器陣列中移除其中一台伺服器、套用軟體更新,然後建立更新過的 Office Web Apps Server 伺服器陣列。 接著將 Office Web Apps Server 伺服器陣列中剩餘的伺服器移除、更新,再加到更新過的新伺服器陣列。 當新的伺服器陣列中有足夠的伺服器可支援目前的流量時,就將流量負載平衡到新的伺服器陣列。 使用此更新程序時,使用者可以在 Office Web Apps 中開啟及編輯文件,而不會受到中斷。

套用軟體更新至多伺服器陣列

  1. Microsoft 下載中心將您要套用的 Office Web Apps Server 更新,下載到 Office Web Apps Server 伺服器陣列可以使用的網路位置。

  2. 從負載平衡器集區中移除您要套用軟體更新的 Office Web Apps Server。

  3. 在該 Office Web Apps Server 上,以系統管理員身分開啟 Windows PowerShell 提示字元,並執行下列命令。

        Remove-OfficeWebAppsMachine
    
  4. 在該伺服器上安裝 Office Web Apps Server 更新。 如果出現提示,請重新啟動伺服器。

  5. 以系統管理員身分開啟 Windows PowerShell 提示字元,並使用 Cmdlet New-OfficeWebAppsFarm 建立更新過的 Office Web Apps Server 伺服器陣列。 您為 –InternalURL 指定的 URL,是執行 Office Web Apps Server 的伺服器名稱,例如 http://Contoso-WAC。 在此情況下,請使用與現有 Office Web Apps Server 伺服器陣列相同的名稱。 請使用您第一次建立 Office Web Apps Server 伺服器陣列時所使用的相同額外參數。 例如,–AllowHttp 參數會將伺服器陣列設定為使用 HTTP,而 –EditingEnabled 參數在與 SharePoint 2013 搭配使用時,則可啟用在 Office Web Apps 中進行編輯。 Lync Server 2013 或 Exchange Server 2013 不使用 –EditingEnabled 參數,因為那些主機不支援編輯。

    下列範例中的程式代碼會建立名為 的新 Office Web Apps Server 伺服器陣列http://Contoso-WAC.

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

    New-OfficeWebAppsFarm>中將說明其他可設定翻譯服務、Proxy 伺服器、美工圖案支援與線上檢視程式的參數。

  6. 視 Office Web Apps Server 伺服器陣列有多少台伺服器而定,將流量負載平衡到新的伺服器陣列。 您可以將此步驟延到在伺服器陣列中加入了更多更新過的伺服器後再執行。

  7. 針對伺服器陣列裡剩餘的每台伺服器,遵循下列步驟。

    1. 從負載平衡器集區中移除下一台 Office Web Apps Server。

    2. 在該伺服器上安裝 Office Web Apps Server 更新。 如果出現提示,請重新啟動伺服器。

    3. 以系統管理員身分開啟 Windows PowerShell 提示字元,然後執行下列命令。 –MachineToJoin 參數會將目前的伺服器新增至現有的 Office Web Apps 伺服器陣列。 在此情況下,您想要將伺服器新增至更新的 Office Web Apps 伺服器陣列。 因此,請使用更新的 Office Web Apps 伺服器陣列中其中一部伺服器的電腦名稱。

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

另請參閱

Remove-OfficeWebAppsMachine
New-OfficeWebAppsMachine
New-OfficeWebAppsFarm
Get-OfficeWebAppsFarm

Office Web Apps Server 的內容藍圖

Office Web Apps Server 的內容藍圖