Patching Office Web Apps to Service Pack 1.

Here are some steps to patch your Office Web Apps servers to the very recently released Service Pack 1 build. I have tested these at a few clients. Let me know if you have any problems or questions.

Firstly read this article and understand the steps involved: http://technet.microsoft.com/en-us/library/jj966220.aspx

Here are the steps to follow:

1) Remove the WOPI binding from the Central Administration server using the following PowerShell:

   1: Remove-SPWOPIBinding –All –confirm:$false

2) Remove the machines from the OWA farm, to be run for each farm in the OWA farm  (effectively scrapping the farm) :

   1: Import-Module OfficeWebApps 

   2: Remove-OfficeWebAppsMachine

3) Patch each OWA server with OWA SP1 and reboot each OWA server.

4) Recreate the OWA farm on the First OWA server using the following PowerShell command. Make sure that you have the  -SSLOffloaded parameter specified if you are using a load balancer. (Reference: http://technet.microsoft.com/en-us/library/jj219436.aspx)

Change to suit your environment of course:

   1: Import-Module OfficeWebApps 

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

5) On each subsequent OWA server run the following PowerShell to rejoin the machine to the farm:

   1: Import-Module OfficeWebApps 

   2: New-OfficeWebAppsMachine –MachineToJoin OWA1.<FQDN> -Confirm:$false

6) On the first OWA server run the following PowerShell to do a quick visual check on the farm and machine status:

   1: Import-Module OfficeWebApps 

   2:  

   3: #Get the Farm Status

   4: Get-OfficeWebAppsFarm 

   5:  

   6: #Get the machines in the farm

   7: (Get-OfficeWebAppsFarm).Machines

7) Reconnect SharePoint to the OWA farm. Run the following PowerShell on the Central Administration server:

   1: #Change to your OWA loadbalanced url (Can be a single server if there is only one)

   2: WACServer = "officeweb.<FQDN>"

   3:  

   4: #Set the WOPI Zone

   5: $WOPIZone = "internal-https" 

   6:  

   7: #Configure the SP Farm to connect to the OWA Farm

   8: New-SPWOPIBinding -ServerName $WACServer 

   9:  

  10: #Set the WOPI Zone

  11: Set-SPWOPIZone –zone $WOPIZone

  12: Get-SPWopiZone 

  13:  

  14: #Allow HTTP over OAuth

  15: $config = (Get-SPSecurityTokenServiceConfig)

  16: $config.AllowOAuthOverHttp = $true

  17: $config.Update()

Also make sure you test from a browser using a NON-Service account otherwise you might find some errors/unexpected behaviour.

Happy hunting!

References:

Advertisements

About Aaron Saikovski

Aaron Saikovski is a Microsoft certified technology specialist, consultant, developer, trainer and cloud solution architect with over 20+ years commercial information technology experience. He has consulted and worked with an incredibly diverse number of both local and international clients across the banking and financial services, utilities, oil and mining, telecommunications, logistics, construction/property, pharmaceutical, transport/airline and FMCG sectors. He has also consulted on a variety of projects to both Federal and State governments in high-profile portfolios such as Prime Minister and Cabinet, Department of Defence, Taxation Office, Department of Education and Training, Department of Employment & Workplace Relations and the Department of Health. Aaron’s skills revolve around the Microsoft platform stack with a core skillset based on the SharePoint platform. He has been involved in some of the largest SharePoint deployments in the world and was a member of the Global SharePoint Ranger team within Microsoft Corporation and was actively involved with the SharePoint Customer Advisory Team (SPCAT) to provide guidance and best practices to the largest Microsoft enterprise global customers. He was also an active MSDN article reviewer and contributor during his time at Microsoft. He has very broad and deep experience with architecting, developing and deploying complex customer solutions leveraging the Microsoft Office365 and Azure cloud platforms. Some of the key cloud customers he has been involved with are Qantas, Caltex, and Fujitsu/Westpac to name a few. He assists customers with their journey to the cloud and provides guidance and best practices to assist in identifying workloads that are suitable candidates to be migrated or redeveloped. These include IaaS, SaaS and PaaS solutions that solve a particular business requirement while providing the best technical outcome for the customer. Aaron is a regular presenter at such events as SharePoint Saturday (http://www.spsevents.org), Microsoft TechEd and is a regular presenter at user groups and conferences. He presents on a wide and varied range of topics that encompass the complete end to end Microsoft solution stack such as Windows 8 App development through to deploying Azure IaaS solutions with PowerShell. Aaron has an active social media profile. He was the founding member of OzMoss (http://www.codify.com/lists/OzMOSS), a very active and prominent online SharePoint community and he can be followed on Twitter at @RuskyDuck72. He blogs regularly at https://aaronsaikovski.wordpress.com/ Aaron is also an active affiliate member of the Institute of Electrical and Electronics Engineers (www.ieee.org) Outside of work Aaron is a very active volunteer for DoggieRescue (www.doggierescue.com) where he volunteers his time to maintain and improve their IT systems to keep them running as optimally and efficiently as possible. ** OPINIONS EXPRESSED ARE MY OWN VIEWS AND NOT THOSE OF MY EMPLOYER **
This entry was posted in OWA, Service Pack 1, SharePoint 2013. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s