38
Integrating Office Web Apps (OWA) with SharePoint 2013

Integrating Office Web Apps with SharePoint 2013

Embed Size (px)

DESCRIPTION

The Microsoft Office Web Applications that were once configured and managed as a service application in SharePoint 2010 are configured and managed completely different in SharePoint 2013. The Office Web Applications (OWA) are now created in an Office Web Apps farm, which allows you to create a universal Office Web App environment that can host multiple SharePoint farms, as well as communicate with Lync and Exchange servers. The OWA farm allows users to create, edit, and share content using browser-based versions of Word, Excel, PowerPoint, and OneNote. Furthermore, OWA can be configured to enhance the users search experience by providing a document preview or thumbnail that is viewable from within the search result set. This session will discuss how and why you will want to implement the new Office Web Apps and the many benefits of doing so.

Citation preview

Page 1: Integrating Office Web Apps with SharePoint 2013

Integrating Office Web Apps (OWA) with SharePoint 2013

Page 2: Integrating Office Web Apps with SharePoint 2013

About the Speaker

• Brian Alderman (MCT / Consultant)

• CBT Nuggets – (www.cbtnuggets.com) @cbtnuggets

[email protected]

• www.microtechpoint.com – Brian’s Blog

• @brianalderman

• Co-Author SharePoint 2010 Administrator’s Companion

• Co-Author SharePoint 2013 Administration Inside Out

• Enjoy Travel and Golf

Page 3: Integrating Office Web Apps with SharePoint 2013
Page 4: Integrating Office Web Apps with SharePoint 2013

Mulletville, Vermont

Page 5: Integrating Office Web Apps with SharePoint 2013

Garden of the Gods with Pikes Peak

Page 6: Integrating Office Web Apps with SharePoint 2013

Arizona Golf

Page 7: Integrating Office Web Apps with SharePoint 2013

19th Hole

Page 8: Integrating Office Web Apps with SharePoint 2013

Overview of OWA Comparison of OWA 2010 and 2013 OWA Terminology

Pre-Installation Configuration Installation Process Troubleshooting Commands and Best Practices

Session Agenda

Page 9: Integrating Office Web Apps with SharePoint 2013

Office Web Apps Overview

Page 10: Integrating Office Web Apps with SharePoint 2013

Office Web Apps (OWA) – Browser-Based Office ApplicationsWordExcelPowerPoint OneNote

Accessible from SharePoint, Exchange, Lync, File Shares, and Web SitesAccessible from IE, Firefox, Chrome, Safari on PC’s and MAC’s, as well

as Tablets and Slates (View and Edit) and Smart Phones (View Only)Free to View These Document TypesOffice Licenses Required for End Users to Create or Modify DocumentsOnly Used by Claims-Based Authenticated Web Apps

Office Web Apps Overview

Page 11: Integrating Office Web Apps with SharePoint 2013

OWA 2010/2013 Comparison

2010 Deployed as SharePoint Service

Application

Multiple SharePoint Farms = Multiple Service Applications

Patching SharePoint Meant Patching OWA

2013 Separate Product Deployed in Separate

OWA Farm

Multiple SharePoint Farms use Single OWA Farm

Independent OWA Server Patching

Independent Scaling and Optimization

Page 12: Integrating Office Web Apps with SharePoint 2013

What’s New with OWA and SharePoint 2013

Page 13: Integrating Office Web Apps with SharePoint 2013

OWA Terminology

WOPI Protocol = Web application Open Platform Interface

Office Webs Contain Two Components WOPI Apps or Clients – (OWA Servers to Render Documents – Called WAC - Web

Application Companions)

WOPI Host or WOPI Servers – SharePoint, Lync, or Exchange Hosting Documents

Page 14: Integrating Office Web Apps with SharePoint 2013

Types of OWA Server Roles in Load Balanced Environment Front End Excel Back End Word Back End PowerPoint Back End

OWA WOPI Server Roles

Page 15: Integrating Office Web Apps with SharePoint 2013

Pre-Installation Configuration

Page 16: Integrating Office Web Apps with SharePoint 2013

Dedicated Server (No Microsoft Server Applications Using Port 80, 443, or 809)

All Servers in Same AD Domain NOT on Domain Controller No SQL Server or Database Required Virtualization of OWA Servers Allowed About 20,000 Typical Users per Server Single Server Farm – Can add More Servers for HA and Improved

Performance

OWA Server Specifications

Page 17: Integrating Office Web Apps with SharePoint 2013

Hardwear Requirements

Same Hardware Requirements as SharePoint 2013

Page 18: Integrating Office Web Apps with SharePoint 2013

Windows Server x64 2008 R2 SP1 or Windows Server 2012 .NET 4.5 Framework Windows Management Framework 3.0 If Windows 2008 R2 - Install KB2592525 Update IIS 7.0 (Web Server Role) PowerShell 3.0 (No OWA UI, all PowerShell) IE 8 or Later (IE 9 or Later Preferred)

OWA Software Prerequisites

Page 19: Integrating Office Web Apps with SharePoint 2013

Enter Following Windows PowerShell Command:Add-WindowsFeature Web-Server,Web-WebServer,Web-Common-Http,Web-

Static-Content,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,Web-Security,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Ink-Handwriting,IH-Ink-Support

Note: This is one Command, do not Press ‘Enter’ Until End of Command

Configure Server for OWA

Page 20: Integrating Office Web Apps with SharePoint 2013

No Installation on SharePoint Farm Use PowerShell to Connect SharePoint Farm to OWA Farm Use New-SPWOPIBinding -ServerName

mtpowa.microtechpoint.com –AllowHTTP Binds Entire SharePoint Farm to OWA Farm Run Only Once for All Apps in SharePoint Farm Can use –Application “AppName” Switch to Specify Particular

Applications (ie; -Application “Excel”)

OWA Connection to SharePoint

Page 21: Integrating Office Web Apps with SharePoint 2013

All Machines Identical in OWA Farm Any Machine can Play any Role Can Dedicate Machine to Specific Role Can Reconfigure Farm Without Removing Machines or

Reassigning Roles

Managing OWA Farm

Page 22: Integrating Office Web Apps with SharePoint 2013

Patch Independent of SharePoint Farm Must Disconnect Machine from OWA Farm to Patch Remove-OfficeWebAppsMachine

In-Place Major Version Upgrades not Supported – (Must Remove Old Version)

Minimal Downtime During Upgrade, but Should Upgrade During Low-Demand

Patching OWA Farm

Page 23: Integrating Office Web Apps with SharePoint 2013

Installation Process

Page 24: Integrating Office Web Apps with SharePoint 2013

1. Prepare Windows Server for OWA Installation2. Run OWA Setup to Install OWA3. Create OWA Farm using Windows PowerShell

Use New-OfficeWebAppsFarm to Create Master/First Server to Store OWA Configuration Information

Add Machines to OWA Farm using New-OfficeWebAppsMachine4. Configure SharePoint to use OWA Farm

Note: If Lose Master, Child Servers Still Function

OWA and SharePoint Farm Configuration

Page 25: Integrating Office Web Apps with SharePoint 2013

Server 2008 R2: Open Windows PowerShell as Administrator Import-Module ServerManager Add-WindowsFeature Web-Server,Web-WebServer,Web-Common-Http,Web-Static-

Content,Web-App-Dev,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,Web-Security,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Ink-Handwriting,IH-Ink-Support

Server 2012: Open Windows PowerShell as Administrator Add-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

1. Prepare Windows Server for OWA

Page 26: Integrating Office Web Apps with SharePoint 2013

1. Download Office Web Apps from the Microsoft Download Center

Server 2008 R2: Extract Files From .img File and Run Setup.exe Server 2012: Open the .img File and Run Setup.exe

2. Accept Licensing Agreement – Click ‘Continue’3. Specify Location for OWA Installation Files– Click ‘Install Now’ 4. Download and Install the OWA Server update KB28100075. Optionally – Download and Install OWA Language Packs

2. Install OWA

Page 27: Integrating Office Web Apps with SharePoint 2013

1. Create OWA Farm:New-OfficeWebAppsFarm -InternalUrl"https://mtpowa.microtechpoint.com" -ExternalUrl"https://mtpowaext.microtechpoint.com" -SSLOffloaded -EditingEnabled

(Note: EditingEnabled is only used by SharePoint)2. Verify OWA Farm Exists by Opening Browser:

https://mtpowa.microtechpoint.com/hosting/discovery(Specify name assigned to InternalUrl parameter used during OWA farm creation)

3. Execute Following Command to add Servers to OWA FarmNew-OfficeWebAppsMachine –MachineToJoin ”mtpowa.microtechpoint.com” [-roles] (If Want to Run Specific Application)

Note: To Remove Machine from OWA Farm use Remove-OfficeWebAppsMachine

3. Create OWA Farm Using Window’s PowerShell

Page 28: Integrating Office Web Apps with SharePoint 2013

1. Open SharePoint’s PowerShell as Administrator2. Create Binding Between SharePoint and OWA

New-SPWOPIBinding -ServerName <FQDNofOWAServer> -AllowHTTP(Only Specify if not using https)

3. View the WOPI Zones for SharePoint Bindings Get-SPWOPIZone (Verify use of internal https)

4. If External Access also Enter Following Command: Set-SPWOPIZone –zone “external-https”

Note: To disconnect SharePoint farm from OWA: Remove-SPWOPIBinding –All:$true

4. Configure SharePoint for OWA

Page 29: Integrating Office Web Apps with SharePoint 2013

Demonstration

Configuring Office Web Apps for SharePoint 2013

Page 30: Integrating Office Web Apps with SharePoint 2013

Troubleshooting

Page 31: Integrating Office Web Apps with SharePoint 2013

If During Install of KB2592525 Receive Error:“This update is not applicable to this computer”

Complete These Steps: Extract files from KB2592525.MSU-file with the command: Windows6.1-

KB2592525-x64.msu /extract:C:\KB2592525 In C:\KB2592525 folder run the command: pkgmgr.exe /n:Windows6.1-

KB2592525-x64.xml Do NOT Uninstall KB2670838 as Some Suggest If Receive 500 Web Server Exception Errors During Installation

Windows 2008 R2 – Run Following Command from Command Prompt and Then Perform IISRESET /restart /noforce%systemroot%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -iru

Windows 2012 – Run Following Command from Command Prompt:dism /online /enable-feature /featurename:IIS-ASPNET45

Installation Troubleshooting Tips

Page 32: Integrating Office Web Apps with SharePoint 2013

Ensure WOPI Zone Set Properly on OWA Farm and Compare to SharePoint Farm Check WOPI Zone by Entering:

https://mtpowa.microtechpoint.com/hosting/discovery Default OWA Log Location:

%ProgramData%\Microsoft\OfficeWebApps\Data\Logs\ULS Can Change Log Location Using Set-OfficeWebAppsFarm -

LogLocation Requires Restart of OWA Server

Troubleshooting Tips

Page 33: Integrating Office Web Apps with SharePoint 2013

Don’t Test Functionality of OWA Documents Using SharePoint’s System Account; Must use Non-System Account

Don’t Install Any Office Product on OWA Server Don’t Attempt Installation of OWA on Domain Controller Try Repair-OfficeWebAppsFarm to Resolve Issues with OWA

Farm

Troubleshooting Tips (Cont…)

Page 34: Integrating Office Web Apps with SharePoint 2013

Commands and Best Practices

Page 35: Integrating Office Web Apps with SharePoint 2013

OWA and WOPI PowerShell Commands◦ New-OfficeWebAppsFarm

◦ Get-OfficeWebAppsFarm

◦ New-OfficeWebAppsMachine

◦ Remove-OfficeWebAppsMachine

◦ Get-OfficeWebAppsMachine

◦ Set-OfficeWebAppsMachine

◦ New-OfficeWebAppsHost

◦ Get-OfficeWebAppsHost

◦ Remove-OfficeWebAppsHost

◦ New-SPWopiBinding

◦ Get-SPWopiBinding

◦ Remove-SPWopiBinding

◦ New-SPWopiApplication

◦ Set-SPWopiApplication

◦ Get-SPWopiApplication

◦ Remove-SPWopiApplication

◦ Get-SPWopiZone

◦ Set-SPWopiZone

◦ Remove-SPWopiZone

Setup and Configure OWA Setup and Configure WOPI’s

Page 36: Integrating Office Web Apps with SharePoint 2013

Deploy OWA in Multi-Server Load Balanced Farm using HTTPS Ensure Sufficient Memory on OWA Servers Encrypt Traffic Between Servers Using IPSec Turn off Microsoft Auto Updates on OWA Servers Create OU in AD Just for OWA Servers Check out OWA TechNet Article http://technet.microsoft.com/en-us/library/jj219458.aspx

Best Practices

Page 37: Integrating Office Web Apps with SharePoint 2013

Questions

Page 38: Integrating Office Web Apps with SharePoint 2013

Thank You For Attending