How to add or remove OWA machine to existing WAC Server Farm?
Recently I was working on customer issue where PowerPoint presentation rendering was not working. The issue was one of Office Web App server was down and due to that OWA servers were not communicating with each other’s over 809 port, as soon as we remove faulty server from WAC farm and restarted Office Web Apps service, PowerPoint presentation rendering started working.
Now question comes how to remove existing OWA machine from WAC server farm and add new Office Web Server to existing farm.
How to add new Machine to existing farm?
- First get the current WAC Farm detail by using below cmdlet:
Get-OfficeWebAppsFarm
Result will show Machine name, InternalURL, externalURL
To add new OWA machine to existing farm:
Log on to Office Web App server which you want to add to the existing WAC farm.
Then run Get-OfficeWebAppsFarm command:
You will get below result as this machine is not part of an Office Web Apps Server farm.
Also you will see error message from: event ID: 8123
Now you need to add this server as a part of Office Web Apps server farm:
Cmdlet:
New-OfficeWebAppsMachine -MachineToJoin OWA2.mydomain.com
Now if you run Get-OfficeWebAppsFarm command you will see below result as new server added to existing farm.
You can restart Office web apps service to take immediate effects
How to remove Office Web App server from existing WAC farm server?
Run below mentioned cmdlet on machine which you want to remove from WAC Farm server.
Remove-OfficeWebAppsMachine –Verbose
Now run the Get-OfficeWebAppsFarm. Result will show that there are two office Web Apps server.
Thank you.