If you are encountering issues and need to rebuild the office web app server, follow this guideline:
On the office web app machine
Try and take the farm offline (if for example you are in a load balanced environment
Then, backup the current Farm information using Powershell commands on the office web app server.
Import-Module -Name OfficeWebApps
Get-OfficeWebAppsFarm >
c:\Farmsettings.log
Use Powershell on the office web app server to remove all the machine from
the farm, then remove the parent machine. This will delete the farm.
Remove-OfficeWebAppsMachine
Reboot the Office Web Apps server(s).
Recreate the farm via Powershell on the office web app server. using (if appropriate) the parameter values from the "Farmsettings.log".
New-OfficeWebAppsFarm -InternalURL "http://farm.com" -ExternalUrl "https://farm.com" -CertificateName
"OfficeWebApps Certificate" -AllowHttp -EditingEnabled -OpenFromURLEnabled
On the Web/App server
Rebuild the bindings via SharePoint Powershell (on SharePoint Server):
Remove-SPWOPIBinding -All:$true
New-SPWOPIBinding -ServerName "farm.com" -AllowHttp
Set-SPWOPIZone -Zone "external-https"
Comments