Transcript
Page 1: Deploy Office Web Apps Server 2013 in Azure

Deploy Office Web Apps Server 2013 in Azure

#SPSSTHLM11Thorbjørn VærpJanuary 25th, 2014

SharePoint Saturday

Stockholm

Page 2: Deploy Office Web Apps Server 2013 in Azure

Thanks to our sponsors!

SharePint

Silver

Bronze

Raffle

Platinum

Gold

Page 3: Deploy Office Web Apps Server 2013 in Azure

• Thorbjørn Værp, Technical Evangelist• @vaerpn• http://sharepoint13.net

#SPSSTHLM

Welcome

Page 4: Deploy Office Web Apps Server 2013 in Azure

Agenda

• Office Web Apps Server intro• Prereqs• Perf & Scale• Implementing

– Demo: Implement, Connect & Publish <-> OWA –SP - Cloud

#SPSSTHLM

Page 5: Deploy Office Web Apps Server 2013 in Azure

Office Web Apps

Page 6: Deploy Office Web Apps Server 2013 in Azure

Office Web Apps

Page 7: Deploy Office Web Apps Server 2013 in Azure

• Familiar• Advanced

authoring• Commenting• Touch support• Working with

others• Accross devices

End User Experience

Page 8: Deploy Office Web Apps Server 2013 in Azure

Before / after

Page 9: Deploy Office Web Apps Server 2013 in Azure

Browser SharePoint

Office Web Apps

Server

Host Frame

App Frame

WOPI

Architectur

e

How Office Web Apps Works

Page 10: Deploy Office Web Apps Server 2013 in Azure

• Win Server 2008 R2 to Win Server 2012 R2 virtual is ok

• .Net 4.5 + Powershell 3.0 *Only 2008 R2

• All servers must be domain joined, NO AD, SP, Exch++

• Use PS for enabling features: >>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, NET-Framework-Features,NET-Framework-Core

• SCOM for monitoring

Prerequisiti

es

Prerequisities

Page 11: Deploy Office Web Apps Server 2013 in Azure

• Install Office Web Apps, CU’s and Language Packs (supports config files)

• Start PowerShell as Admin:>>New-OfficeWebAppsFarm –InternalURL “https://server.contoso.com” –ExternalUrl “https://wacweb.contoso.com” -CertificateName “officewebapps certificate” -EditingEnabled

• Install additional servers • >>New-OfficeWebAppsMachine -MachineToJoin <machine_name>

• That’s it (Wopi ) Your farm is ready to handle requests.

Implem

entin

g

Your first Office Web Apps Server

Page 12: Deploy Office Web Apps Server 2013 in Azure

SharePoint

Office Web AppsServer

Discovery Request

Discovery Response

>>New-SPWOPIBinding –Server <server_URL>>>Set-SPWOPIZone –Zone <zone>

• Set once for the whole SharePoint farm• PowerShell only • Nothing is installed on SharePoint• Removing is just as easy

Connecting SharePoint to OWA

Implem

enting

Page 13: Deploy Office Web Apps Server 2013 in Azure

• Demo: Deploy Office Web Apps Server• Internal and External w.Azure VM’s

Demo

Demo

Page 14: Deploy Office Web Apps Server 2013 in Azure

Internet

OWA2.vaerpn.com172.16.4.8

SP2.vaerpn.com172.16.4.5 Cloudservice

Http EndPoint

Cloudservice Http EndPoint

Http://sp.vaerpn.com

Http://owa.vaerpn.com

138.91.52.111

138.91.52.229

Http://SP2

Page 15: Deploy Office Web Apps Server 2013 in Azure

Separated into new ProductProvides services to: One or more SharePoint Farms Exchange 2013 Lync 2013 Url/UNC accessible File

Servers 3rd party document stores

(I.e. Oracle UCM, EMC Documentum, etc.)

Remember

This: Must be domain joined Singel server supports 20K

users Any load balancer/ARR will

work, Azure easy as 1-2-3 Must use PowerShell (AKA the job saving language for the IT-pro)

Summary

Page 17: Deploy Office Web Apps Server 2013 in Azure

From Demo; All my PS Commands Office Web Apps Server, -remember to install all the binaries including Languagepacks and PU/CU.

1. PREREQS 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,WebNet-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices,NET-Framework-Features,NET-Framework-Core

2. New FarmNew-OfficeWebAppsFarm –InternalURL "http://owa2" –ExternalURL "http://owa.vaerpn.com" –AllowHttp -EditingEnabledGet-officewebappsfarm >>Additional Machines to join the farm:New-OfficeWebAppsMachine

3. TESThttp://owa2/hosting/discovery

4. open from urlSet-OfficeWebAppsFarm -OpenFromUrlEnabled:$True>>Generate link to docs on file share urlhttp://owa2/op/generate.aspx#

>>Remove OWA Machine for updates like Language Packs PU/CU:Remove-OfficeWebAppsMachine

On SharePoint ServerFarm WFE (only one server)1. Add PSSnapin MicrosoftAdd-PSSnapin Microsoft.SharePoint.PowerShell

2. Bind server on httpNew-SPWOPIBinding -ServerName owa.vaerpn.com -AllowHTTPGet-SPWOPIZone

3. Set the Zone - either, internal-http, internal-https, external-https, external-httpSet-SPWOPIZone –zone “internal-http”Get-SPWOPIZone

4. AllowOpenAuthOverhttp set to -true (not valid on external sone)(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp' returns False, continue$config = (Get-SPSecurityTokenServiceConfig)$config.AllowOAuthOverHttp = $true$config.Update()(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp

>>REMOVE OAuthHttp:$config = (Get-SPSecurityTokenServiceConfig)$config.AllowOAuthOverHttp = $false$config.Update()(Get-SPSecurityTokenServiceConfig).AllowOAuthOverHttp

5. Remove binding to OWA FarmRemove-SPWOPIBinding –All:$true

6. PDF preview in search results, Standard & Enterprise onlySite settings - Search Result type - Copy PDF rename to PDF Preview, Actions result change to Word Item

7.PDF on Cell Phones>>Adjust the binding so that smartphones won’t try to view PDFs in Word Web App (but other devices will continue

to work)Get-SPWopiBinding -Action "MobileView" -Application "WordPDF" | Remove-SPWopiBinding -Confirm:$false

>>Remove the binding altogether so that PDFs open in the default PDF viewer on all devices, use the following:Get-SPWOPIBinding –Application "WordPDF" | Remove-SPWOPIBinding -Confirm:$false

>>Going backGet-SPWOPIBinding –Application "WordPDF" | Remove-SPWOPIBinding -Confirm:$falseNew-SPWOPIBinding –ServerName "Server.corp.Contoso.com" –Application "WordPDF" -AllowHTTP

Page 18: Deploy Office Web Apps Server 2013 in Azure

Browse to: http://sp.vaerpn.com Logon with [email protected] password: Stockholm14First five replies is awarded a free drink ticket!

Page 19: Deploy Office Web Apps Server 2013 in Azure

Q&AThank You!Thorbjørn Værp

@vaerpn

Page 20: Deploy Office Web Apps Server 2013 in Azure

...and visit our sponsors who made this day possible!

Thank you!

Please rate this session...


Top Related