Deploy Office Web Apps Server 2013 in Azure #SPSSTHLM11 Thorbjørn Værp January 25 th , 2014 SharePoint Saturday Stockholm
Dec 05, 2014
Deploy Office Web Apps Server 2013 in Azure
#SPSSTHLM11Thorbjørn VærpJanuary 25th, 2014
SharePoint Saturday
Stockholm
Thanks to our sponsors!
SharePint
Silver
Bronze
Raffle
Platinum
Gold
• Thorbjørn Værp, Technical Evangelist• @vaerpn• http://sharepoint13.net
#SPSSTHLM
Welcome
Agenda
• Office Web Apps Server intro• Prereqs• Perf & Scale• Implementing
– Demo: Implement, Connect & Publish <-> OWA –SP - Cloud
#SPSSTHLM
Office Web Apps
Office Web Apps
• Familiar• Advanced
authoring• Commenting• Touch support• Working with
others• Accross devices
End User Experience
Before / after
Browser SharePoint
Office Web Apps
Server
Host Frame
App Frame
WOPI
Architectur
e
How Office Web Apps Works
• 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
• 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
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
• Demo: Deploy Office Web Apps Server• Internal and External w.Azure VM’s
Demo
Demo
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
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
• Office Web Apps on TechNet library:KLICK ME
• Windows PowerShell for SharePoint Command Builder:
KLICK ME• SharePoint Server 2013 on TechNet:
KLICK ME• Blogs and Forums: (msdn or sharepoint13.net)
Online Resources
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
Browse to: http://sp.vaerpn.com Logon with [email protected] password: Stockholm14First five replies is awarded a free drink ticket!
Q&AThank You!Thorbjørn Værp
@vaerpn
...and visit our sponsors who made this day possible!
Thank you!
Please rate this session...