Lab 05: Deploying Microsoft Office Web Apps Server
DISCLAIMER 2013 Microsoft Corporation. All rights reserved. Microsoft, Active Directory, Hyper-V, Internet Explorer, Lync, PowerPoint, Silverlight, SQL Server, Windows, Windows PowerShell, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. THE CONTENTS OF THIS PACKAGE ARE FOR INFORMATIONAL AND TRAINING PURPOSES ONLY AND ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. No part of the text or software included in this training package may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission from Microsoft. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. The names of actual companies and products mentioned herein may be the trademarks of their respective owners. To obtain authorization for uses other than those specified above, please visit the Microsoft Copyright Permissions Web page at http://www.microsoft.com/about/legal/permissions This content is proprietary and confidential, and is intended only for users described in the content provided in this document. This content and information is provided to you under a Non-Disclosure Agreement and cannot be distributed. Copying, disclosing all or any portion of the content and/or information included in this document is strictly prohibited.
Table of Contents Lab 05: Deploying Office Web Apps Server... 1 Exercise 1: Installing Office Web Apps Server... 2 Exercise 2: Verifying the Office Web Apps Configuration... 7
Microsoft Lync 2013 Ignite Lab 05: Deploying Office Web Apps Server During this lab, you will deploy the Microsoft Office Web Apps Server role on the WAC01 virtual machine. Estimated time to complete: 30 minutes Before You Begin To complete this lab, you need to have completed Labs 01 through 04. What You Will Learn After completing the exercises, you will be able to: Install Office Web Apps Server. Configure Office Web Apps Server. Configure Lync 2013 to use Office Web Apps. Validate the installation of Office Web Apps Server. Share a Microsoft PowerPoint presentation by using Lync 2013. See the rich features provided by the WAC server role. Scenario In order to improve the overall experience of Microsoft PowerPoint presentations in Lync Server meetings, management has decided to deploy the Microsoft Office Web Apps server role and configure Lync 2013 to take advantage of it. Management would like to experience the new rich features provided by the addition of the WAC server role. In this lab, you will deploy this server role onto a server and then configure Lync Server to use it. 1
Lab 05: Deploying Office Web Apps Server Exercise 1: Installing Office Web Apps Server In this exercise, you will install Office Web Apps Server. You will first request and assign a certificate to the Office Web Apps server. You will then install the server role and perform the necessary configurations. The Microsoft.NET Framework 4.5 prerequisite has already been installed. Internet Information Services 7 (IIS 7.0) has also been preinstalled. Tasks 1. Create a certificate request. Note: You should use a publicly trusted certificate with the internal and external server names listed as Subject Alternate Names. For the purpose of this lab and environment, use a certificate from the internal Certificate Authority. a. On WAC01, on the desktop, double-click the Certificates shortcut. b. In the Certificates MMC, expand Certificates (Local Computer) and then click Personal. c. Right-click Personal, click All Tasks, click Advanced Operations, and then click Create Custom Request. d. In the Certificate Enrollment wizard, on the Before You Begin page, click Next. e. On the Select Certificate Enrollment Policy page, click Active Directory Enrollment Policy and then click Next. f. On the Custom Request page, in the Template drop-down list, select Web Server, and then click Next. g. On the Certificate Information page, in the window next to Details, click the down chevron and then click Properties. Figure 1: Web Server template details chevron h. On the Certificate Properties page, on the Subject tab, under Subject name, in the Type drop-down list, select Common name. i. In the Value box, type wac01.onprem.local and then click Add. j. Under Alternative name, in the Type drop-down list, select DNS. k. In the Value box, type wac01.onprem.local and then click Add. 2
Microsoft Lync 2013 Ignite l. In the Value box, type wac01.onprem123.lyncignite.biz and then click Add. It should look similar to the following figure. Figure 2: Certificate properties m. Click the General tab and in the Friendly Name box, type Office Web Apps Certificate Note: This exact name is important, as you will need to refer to this certificate using its Friendly Name in a command line later. n. Click the Private Key tab, and then click the down chevron next to Key Options to expand the options. o. Select the Make private key exportable check box, and then click OK. p. Back on the Certificate Information page, click Next. 3
Lab 05: Deploying Office Web Apps Server q. On the Certificate Enrollment page, in the File Name box, type C:\WACCert.req and then click Finish. 2. Process the certificate request. a. On WAC01, start File Explorer. b. In File Explorer, open the C:\WACCert.req file with Notepad. c. In Notepad, click the Edit menu, and then click Select All. d. Click the Edit menu again, and then click Copy. e. Close Notepad. f. Start Microsoft Internet Explorer. g. In the address bar, type http://dc01.onprem.local/certsrv and then press Enter. h. At the Windows Security prompt, in the User name box, type administrator i. In the Password box, type Lync!gnit3 and then click OK. j. On the Welcome page, click Request a certificate. k. On the Request a Certificate page, click advanced certificate request. l. On the Advanced Certificate Request page, click Submit a certificate request by using a base-64-encoded CMC or PKCS #10 file, or submit a renewal request by using a base-64-encoded PKCS #7 file. m. On the Submit a Certificate Request or Renewal Request page, right-click in the Saved Request window and then click Paste. n. In the Certificate Template drop-down list, select Web Server, and then click Submit. Note: If the certificate request fails, restart the Active Directory Certificate Services service on DC01 and try it again. o. On the Certificate Issued page, click Download certificate. p. In the File Download window, click the Save drop-down menu, and then click Save as. q. On the Save As page, in the File name box, type C:\WACCert.cer and then click Save. r. Close Internet Explorer. 3. Import the new certificate. a. On WAC01, in the Certificates MMC, right-click Personal, click All Tasks, and then click Import. 4
Microsoft Lync 2013 Ignite b. On the Welcome page, click Next. c. On the File to Import page, in the File name box, type c:\waccert.cer and then click Next. d. On the Certificate Store page, leave the default settings and then click Next. e. On the Completion page, click Finish. f. At the Certificate Import Wizard prompt, click OK, and then close the Certificates MMC without saving changes. 4. Install Office Web Apps Server. a. On WAC01, in File Explorer, browse to C:\LabFiles\Office Web Apps\ and double-click Setup.exe. b. In the Microsoft Office Web Apps Server 2013 wizard, select the I accept the terms of this agreement check box, and then click Continue. c. On the Choose a file location page, leave the default settings and then click Install Now. d. On the Completion page, click Close. e. Close File Explorer. 5. Create the New Web Applications Farm. a. On WAC01, on the Start bar, click the Windows PowerShell icon. b. In Windows PowerShell, type the following command and then press Enter: New-OfficeWebAppsFarm -InternalUrl https://wac01.onprem.local -ExternalUrl https://wac01.onprem123.lyncignite.biz CertificateName Office Web Apps Certificate AllowHttp This command will take a couple of minutes to complete. Note: The Certificate parameter must match the Friendly Name you entered when creating the certificate request. Note: If you have trouble using the commands for Office Web Apps, restarting the WAC01 server may resolve that. 5
Lab 05: Deploying Office Web Apps Server 6. Configure the WAC Server allow list. a. On WAC01, in Windows PowerShell, type the following command and then press Enter: New-OfficeWebAppsHost Domain onprem.local The results of this command should list (onprem.local) under allowlist. 6
Microsoft Lync 2013 Ignite Exercise 2: Verifying the Office Web Apps Configuration In this exercise, you will verify the Office Web Apps configuration by first, viewing a web URL. You will then start the Lync 2013 Topology Builder and view the configuration of the WAC URL in Lync 2013. Tasks 1. Verify the Office Web Apps Server Installation. a. On DC01, start Internet Explorer. b. In the address bar, type https://wac01.onprem.local/hosting/discovery and then press Enter. You should see a Web Application Open Platform Interface (WOPI) discovery XML file similar to the following figure. c. Close Internet Explorer. Figure 3: WOPI discovery XML file 7
Lab 05: Deploying Office Web Apps Server 2. Verify WAC Server URL Discovery. a. On LSFE01, rest the mouse in the bottom left corner to bring up the Start button. b. Right-click the Start button, and click Event Viewer. c. In the Event Viewer, expand Applications and Services Logs, and then click Lync Server. d. In the Lync Server event logs, find the newest event with the ID of 41032 with the source of LS Data MCU and view its properties. It should look similar to the following figure. Figure 4: Successful WAC discovery event This confirms that the WAC server was discovered. e. Close the Event and the Event viewer. 8