See how Microsoft Consulting Services can help you
Contact Microsoft Services
Contact The SharePoint Guys
Apply for a job at Microsoft Consulting Services
MCS Solution Dev
The Deployment Guys
MSDN UK Newsletter
MSDN UK Team Blog
TechNet UK Newsletter
TechNet UK Blog
This is fourth post in the scripted installation of SharePoint 2013 and Office Web Apps Server blog series, covering the installation, deployment and configuration of an Office Web Apps Server Farm
For SharePoint farm topology, installation and provisioning of all required service applications please see blog one, two and three of this series.
Office Web Apps is the online companion to Office Word, Excel, PowerPoint, and OneNote applications. It enables users to view and edit documents through a browser by providing a representation of an Office document. A SharePoint 2013 farm can be configured to use the Office Web Apps Server farm and provide Office Web Apps functionality to users who create or open Office files from SharePoint libraries.
Office Web Apps (OWA) Server supports two primary installation scenarios: a single-server Office Web Apps Server farm, and a multi-server load-balanced Office Web Apps Server farm. For this blog series, continuing with the desire for high availability, OWA will be implemented in a two-server load-balanced mode, utilising the same hardware load balancing solution as the SharePoint web front end servers. The OWA traffic will be encrypted and the solution will be implemented over HTTPS. The OWA Server will not run any other server applications including Exchange Server, SharePoint Server, Lync Server, and SQL Server. Also no other services or roles that depend on the Web Server (IIS) role on port 80, 443, or 809 should be installed on the OWA servers, as OWA Server periodically removes web applications For this blog series,
The internal URL used to provision the certificate is officeweb.sharepoint.company.com
Ensure that the certificate meets the following requirements:
The SSL offloading is set to off by default as part of the setup. When SSL is offloaded, it allows each Office Web Apps Server in the farm to communicate by using HTTP with the load balancer. However, all references to resources in the HTML are HTTPS references. If this is not set and HTTP is used, users will not be able to see resources or they will see security warnings. When offloading is set to off, SSL terminates at the individual servers that run Office Web Apps Server instead of the hardware load balancer.
The SSL will be terminated at the load balancer instead, due to the following advantages:
Execute the following PowerShell script to install the required windows components on both servers followed by a server restart:
Import-Module ServerManagerAdd-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices
Launch the installation from mounted ISO image on both servers and define the installation location as illustrated below:
Validate the following variables defined in the WAC_ConfigureOWAFarm.xml using the following table:
Specifies the location of the global disk cache that is used to store rendered image files. The default location is%programdata%\Microsoft\OfficeWebApps\Working\d\.
Specifies the maximum size of the global disk cache in gigabytes
<INSERT FRIENDLY NAME>
Specifies the friendly name of the certificate that Office Web Apps Server uses to create HTTPS bindings.
In the production environment it is not a requirement to specify the CertificateName parameter as the SSLOffloaded parameter is being used and the certificates are installed on the load balancer
Enables support for editing in the browser
Specifies the URL root that SharePoint use to access the Office Web Apps Server farm
Specifies the location on the local computer where activity logs are stored.
Specifies the number of days that log entries are stored. Log entries older than the configured date are trimmed.
Specifies, in megabytes, the maximum amount of memory that the rendering cache can use.
E:\Program Files \Microsoft\OfficeWebApps\Working\waccache
Specifies the location of the temporary cache for use by the Word and PowerPoint Viewing Services.
Indicates to the servers in the Office Web Apps Server farm that SSL is offloaded to the load balancer. When SSLOffloaded is enabled, web applications are bound to port 80 (HTTP) on the local server. However, HTML that references other resources, such as CSS or images, uses HTTPS URLs for those references.
Login to the first OWA server (OWA1) and launch PowerShell as administrator. Execute the following command to create the OWA farm:
Set-ExecutionPolicy Unrestricted –force E:\Install\scripts\WAC_ConfigureOWAFarm.ps1 -configLocation E:\Install\scripts\WAC_ConfigureOWAFarm.xml
Login to the second OWA server (OWA2) and launch PowerShell as administrator. Execute the following command to join the server to the farm:
Set-ExecutionPolicy Unrestricted –force Import-Module OfficeWebApps New-OfficeWebAppsMachine –MachineToJoin OWA1.<FQDN> -Confirm:$false
Login to the SharePoint Application Server hosting the Central Administration site and launch SharePoint Management Shell as administrator. Execute the following command to start consuming WAC service:
WACServer = "officeweb.<FQDN>"$WOPIZone = "internal-https" #Configure SP Farm to OWA FarmNew-SPWOPIBinding -ServerName $WACServer #Set the WOPI ZoneSet-SPWOPIZone –zone $WOPIZoneGet-SPWopiZone $config = (Get-SPSecurityTokenServiceConfig)$config.AllowOAuthOverHttp = $true$config.Update()