This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
10533A: Deploying, Configuring, and
Administering Microsoft® Lync™ Server
2010
Microsoft Hyper-V™ Classroom Setup Guide
Contents
Introducing Microsoft Hyper-V 1 Setup Overview 2 Classroom Requirements 3
1. Install the Hyper-V Server Role 7 2. Enable the Windows Audio Service 7 3. Create an External Virtual Network 8 4. Install the Virtual Machine Files 8 5. Run the VM-Pre-Import Script 12 6. Import the Virtual Machines 13 7. Configure the Virtual Machines 14 8. Configure the Host Computer Network Adapters 17
Appendix A 20
Information in this document, including URL and other Internet Web site references, is subject to change
without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-
mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any
real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or
should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting
the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval
system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or
otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
The names of manufacturers, products, or URLs are provided for informational purposes only and Microsoft
makes no representations and warranties, either expressed, implied, or statutory, regarding these
manufacturers or the use of the products with any Microsoft technologies. The inclusion of a manufacturer or
product does not imply endorsement of Microsoft of the manufacturer or product. Links are provided to third
party sites. Such sites are not under the control of Microsoft and Microsoft is not responsible for the contents of
any linked site or any link contained in a linked site, or any changes or updates to such sites. Microsoft is not
responsible for webcasting or any other form of transmission received from any linked site. Microsoft is
providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement of
Microsoft of the site or the products contained therein.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights
covering subject matter in this document. Except as expressly provided in any written license agreement from
Microsoft, the furnishing of this document does not give you any license to these patents, trademarks,
10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010 5
Lab Host Computers Checklist
1. Install the Hyper-V Server Role
2. Enable the Windows Audio Service
3. Create an External Virtual Network
4. Install the Virtual Machine Files
5. Run the VM-Pre-Import script
6. Import the Virtual Machines
7. Configure the Virtual Machines
8. Configure the Host Computer Network Adapters
6 10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010
Lab Host Computers Setup
Use the instructions in the following sections to set up the classroom manually.
IMPORTANT: To fix an issue with Remote Desktop Services licensing expiring, please
perform the following steps before you begin the setup of the virtual machine
environment.
Before you start any virtual machines, you must perform the following actions on both
hosts:
1. Right-click the system tray clock and then click Adjust date/time.
2. On the Date and Time window, click Change date and time.
3. On the Date and Time Settings window, change the date to March 25th
, 2011.
4. Verify both hosts have the same time and date and then click OK twice.
5. Start the virtual machines as instructed in the rest of this Setup Guide.
The virtual machines will automatically get the time and date from the hosts.
Important: The operating systems installed on the virtual machines in this learning product
have not been activated. Rearm has been run at the end of development, and the OS in the
virtual machine will be in a grace state.
This grace state lasts for 30 days for the client and 60 days for the server. If you keep these
virtual machines running longer than this, you either must run rearm or activate the virtual
machines using your own keys.
If the operating system has not retained this state, you may have time to run the class before
activation is required. Otherwise, you can rearm the operating system by running slmgr –
rearm at the Administrative command prompt. If no additional rearms are available, then
the virtual machine will go in to notification mode but will still provide full functionality.
You will just have to close the initial messages about activation.
You may be prompted to restart the computer when the virtual machine is started for the
first time. This is because of the hardware differences on the Host computer. You can just
click Restart Later to close the message.
10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010 7
1. Install the Hyper-V Server Role In this task, you will install the Hyper-V server role on each Windows Server 2008 R2
host computer.
Important: If you are receiving Stop Error Messages on your host(s), and are using Intel CPUs that are code-named Nehalem, for example, the Nehalem CPU for a server is from the Intel Xeon processor 5500 series, and the Nehalem CPU for a client is from the Intel Core-i processor series, it is important to install the hotfix in the KB Article number 975530.
http://support.microsoft.com/kb/975530
Important: If Hyper-V is installed already, you can skip this procedure.
1. On each host machine, click Start, point to Administrative Tools, and click Server
Manager.
2. In the Server Manager console, click Roles. In the details pane, click Add Roles.
3. On the Before You Begin page, click Next.
4. On the Select Server Roles page, select the Hyper-V check box, and then click Next.
5. On the Hyper-V page, click Next.
6. On the Create Virtual Networks page, do not select any check boxes, and then click
Next.
7. On the Confirm Installation Selections page, click Install.
8. On the Installation Results page, click Close.
9. When prompted to restart the computer, click Yes.
10. After the server restarts, log on using administrator credentials. When the installation
finishes, click Close.
11. In the Server Manager console, select the Do not show me this console at logon
check box, and then close Server Manager.
2. Enable the Windows Audio Service If you have not already done so, enable the Microsoft Windows
® Audio Service on both
hosts.
1. On the host machines, click Start > Administrative Tools > Services.
2. In the Services console, right-click Windows Audio and then click Properties.
DC1.1\VM-Pre-Import-10533A-MIA-DC1.1.bat (root of the virtual machine
import folder).
2. Verify the links are created in the appropriate C:\Program Files\Microsoft
Learning\10533\Drives\10533A-MIA-DC1.1\Virtual Hard Disks\ folder.
3. Repeat the steps above for each virtual machine that has a parent drive. The batch
files include the following:
VM-Pre-Import-10533A-MIA-SQL1.1.bat
10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010 13
VM-Pre-Import-10533A-MIA-LS1.1.bat
VM-Pre-Import-10533A-MIA-CL1.1.bat
VM-Pre-Import-10533A-MIA-LS1.2.bat
VM-Pre-Import-10533A-MIA-AM1.2.bat
VM-Pre-Import-10533A-RED-SBS1.2.bat
VM-Pre-Import-10533A-MIA-RAS1.2.bat
VM-Pre-Import-10533A-MIA-CL1.2.bat
VM-Pre-Import-10533A-RED-CL2.2.bat
6. Import the Virtual Machines 1. On HOST1, click Start, point to Administrative Tools, and then click Hyper-V
Manager.
2. In the Actions pane, click Import Virtual Machine.
3. In the Import Virtual Machine dialog box, click Browse.
4. Browse to C:\Program Files\Microsoft Learning\10533\Drives, click 10533A-
MIA-DC1.1, and then click Select Folder.
5. Click Import.
Note: If you receive a message that the virtual machine imported with warnings, right-click
10533A-MIA-DC1.1, and then click Settings. Under IDE Controller 0, verify that the
10533A-MIA-DC1.1.vhd file is connected to the virtual machine.
If the hard drive is not connected:
1. Click Browse, and then browse to C:\Program Files\Microsoft
Learning\10533\Drives\10533A-MIA-DC1.1\Virtual Hard Disks.
2. Click 10533A-MIA-DC1.1.vhd, and then click Open.
If the hard drive is connected, just click OK.
Repeat these steps for any other virtual machines you get this warning.
6. Repeat Steps 2-5 for the following virtual machines:
10533A-MIA-SQL1.1
10533A-MIA-LS1.1
10533A-MIA-CL1.1
10533A-MIA-DC1.2
14 10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010
10533A-MIA-SQL1.2
10533A-MIA-ED1.2
10533A-ROM-LS2.2
10533A-ROM-CL3.2
10533A-INT-CL4.2
7. On HOST2, click Start, point to Administrative Tools, and then click Hyper-V
Manager.
8. In the Actions pane, click Import Virtual Machine.
9. In the Import Virtual Machine dialog box, click Browse.
10. Browse to C:\Program Files\Microsoft Learning\10533\Drives, click 10533A-
MIA-DC1.1, and then click Select Folder.
11. Click Import.
Note: If you receive a message that the virtual machine imported with warnings, right-click
10533A-MIA-DC1.1, and then click Settings. Under IDE Controller 0, verify that the
10533A-MIA-DC1.1.vhd file is connected to the virtual machine. If it is not connected,
click Browse, and then browse to C:\Program Files\Microsoft
Learning\10533\Drives\10533A-MIA-DC1.1\Virtual Hard Disks. Click 10533A-MIA-
DC1.1.vhd, click Open and then click OK. If the hard drive is listed, click OK. Repeat
these step for any other virtual machines you get this warning.
12. Repeat Steps 7-11 for the following virtual machines:
10533A-MIA-SQL1.1
10533A-MIA-LS1.1
10533A-MIA-CL1.1
10533A-MIA-LS1.2
10533A-RED-CL2.2
10533A-MIA-AM1.2
10533A-RED-SBS1.2
10533A-MIA-RAS1.2
10533A-MIA-CL1.2
7. Configure the Virtual Machines HOST1
1. Right-click 10533A-MIA-DC1.1, and then click Start.
10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010 15
2. Right-click 10533A-MIA-DC1.1, and then click Connect.
3. Verify that the virtual machine boots and logs on as Fabrikam\Administrator
automatically, using a password of Pa$$w0rd.
4. If necessary, on the Microsoft Windows prompt, click Restart Now.
5. When the virtual machine reboots and automatically logs on, if a Windows
Activation notification message displays, click Cancel, and then perform the
following:
Open a command prompt, and type slmgr –rearm.
Restart the computer as prompted.
6. When the virtual machine reboots and automatically logs on, click the Start button,
and then select Shut down to shut down the virtual machine.
7. After the virtual machine shuts down, in the Hyper-V Manager, under Virtual
Machines, right-click 10533A-MIA-DC1.1, and then click Snapshot.
8. Wait for the Snapshot process to finish. In the Snapshots pane, right-click the
snapshot name, and then click Rename.
9. Type StartingImage, and then press ENTER.
10. Right-click 10533A-MIA-DC1.1, and then click Start.
11. Right-click 10533A-MIA-DC1.1, and then click Connect.
12. Verify that the server boots and logs on as Fabrikam\Administrator automatically,
using a password of Pa$$w0rd and verify that the logon is successful.
13. On the Action menu, click Turn off. In the Turn Off Machine dialog box, click
Turn Off.
14. In the Virtual Machines pane, right-click 10533A-MIA-DC1.1, and then click
Revert.
15. In the Revert Virtual Machine dialog box, click Revert.
16. Repeat Steps 1-15 for the following virtual machines:
10533A-MIA-SQL1.1
10533A-MIA-LS1.1
10533A-MIA-CL1.1
10533A-MIA-DC1.2
10533A-MIA-SQL1.2
10533A-MIA-ED1.2
10533A-ROM-LS2.2
16 10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010
10533A-ROM-CL3.2
10533A-INT-CL4.2
Please note, the following virtual machines automatically logon as users other than
Fabrikam\Administrator.
10533A-MIA-CL1.1 as Fabrikam\Andreas
10533A-ROM-CL3.2 as Fabrikam\Marcel
10533A-INT-CL4.2 as INT-CL4\Administrator
10533A-MIA-ED1.2 as MIA-ED1\Administrator
You will be able to complete the steps in this section using these accounts.
HOST2
1. Right-click 10533A-MIA-DC1.1, and then click Start.
2. Right-click 10533A-MIA-DC1.1, and then click Connect.
3. Verify that the server boots and logs on as Fabrikam\Administrator automatically.
4. If necessary, on the Microsoft Windows prompt, click Restart Now. After the
computer restarts and logs on as Fabrikam\Administrator automatically
5. If a Windows Activation notification message displays, click Cancel, and then
perform the following:
Open a command prompt, and type slmgr –rearm.
Restart the computer as prompted. After the computer restarts, log on as
Fabrikam\Administrator, using a password of Pa$$w0rd.
6. Click the Start button, and then select Shut down to shut down the virtual machine.
7. After the virtual machine shuts down, in the Hyper-V Manager, under Virtual
Machines, right-click 10533A-MIA-DC1.1, and then click Snapshot.
8. Wait for the Snapshot process to finish. In the Snapshots pane, right-click the
snapshot name, and then click Rename.
9. Type StartingImage, and then press ENTER.
10. Right-click 10533A-MIA-DC1.1, and then click Start.
11. Right-click 10533A-MIA-DC1.1, and then click Connect.
12. Verify that the server boots and logs on as Fabrikam\Administrator automatically.
13. On the Action menu, click Turn off. In the Turn Off Machine dialog box, click
Turn Off.
10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010 17
14. In the Virtual Machines pane, right-click 10533A-MIA-DC1.1, and then click
Revert.
15. In the Revert Virtual Machine dialog box, click Revert.
16. Repeat Steps 1-15 for the following virtual machines:
10533A-MIA-SQL1.1
10533A-MIA-LS1.1
10533A-MIA-CL1.1
10533A-MIA-LS1.2
10533A-MIA-AM1.2
10533A-RED-SBS1.2
10533A-MIA-RAS1.2
10533A-MIA-CL1.2
10533A-RED-CL2.2
Please note, the following virtual machines automatically logon as users other than
Fabrikam\Administrator.
10533A-MIA-CL1.1 as Fabrikam\Andreas
10533A-MIA-CL1.2 as Fabrikam\Andreas
10533A-MIA-RAS1.2 as MIA-RAS1\Administrator
10533A-RED-CL2.2 as Fabrikam\Tzipi
You will be able to complete the steps in this section using these accounts.
8. Configure the Host Computer Network Adapters The host computers will need to be able to communicate via TCP/IP to the Virtual
Machines. Complete the following steps to configure the IP Address settings on the host
computer. Please verify all firewalls have been turned off on the host computers.
HOST1
1. Click Start and then click Run.
2. In the Open field, type ncpa.cpl and press ENTER.
3. In the Network Connections windows, located the network device named External.
You may need to press the ALT key and then on the menu, click View and change
the view to Details in order to see the Device Name.
4. Right-click the External network device and click Properties.
18 10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010
5. In the Properties window, click Internet Protocol Version 4 (TCP/IPv4) and click
Properties.
6. In the Properties window, use the following values to configure the Internet Protocol
Version 4 properties:
IP address: 10.0.10.201
Subnet mask: 255.255.255.0
Default gateway: 10.0.10.1
Preferred DNS server: 10.0.10.10
7. In the Properties window, click Advanced.
8. In the Advanced TCP/IP Settings Properties window, under IP addresses, click Add.
9. In the TCP/IP Address window, in the IP address field, type 10.0.20.201
10. In the Subnet mask field, type 255.255.255.0 and then click OK.
11. Repeat steps 8 through 10 to assign the following IP addresses to Host1.
10.0.30.201 255.255.255.0
172.16.10.201 255.255.255.0
12. Then click OK three times and close the Network connections window.
HOST2
1. Click Start and then click Run.
2. In the Open field, type ncpa.cpl and press ENTER.
3. In the Network Connections windows, located the network device named External.
You may need to press the ALT key and then on the menu, click View and change
the view to Details in order to see the Device Name.
4. Right-click the External network device and click Properties.
5. In the Properties window, click Internet Protocol Version 4 (TCP/IPv4) and click
Properties.
6. In the Properties window, use the following values to configure the Internet Protocol
Version 4 properties:
IP address: 10.0.10.202
Subnet mask: 255.255.255.0
Default gateway: 10.0.10.1
Preferred DNS server: 10.0.10.10
7. In the Properties window, click Advanced
10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010 19
8. In the Advanced TCP/IP Settings Properties window, under IP addresses, click Add.
9. In the TCP/IP Address window, in the IP address field, type 10.0.20.202
10. In the Subnet mask field, type 255.255.255.0 and then click OK.
11. Repeat steps 8 through 10 to assign the following IP addresses to Host2.
10.0.30.202 255.255.255.0
172.16.10.202 255.255.255.0
12. Then click OK three times and close the Network connections window.
Please verify all firewalls have been turned off on the host computers.
20 10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010
Appendix A
The virtual machines were developed using the English (United States) layout shown
below.
If your physical keyboard does not match the above layout, you may need to refer to the
above layout for the character positions used to logon. For future logons and usage
throughout the labs, you may want to install your keyboard layout in the virtual machine.
To update the Lync Server service certificate on 10533A-MIA-LS1.2
Lync Server is already installed on the set two virtual machines and they are configured with a 2 year certificate. If you are attempting to perform this course sometime after those certificates have expired, perform the following steps to request and assign new certificates after the set two set of virtual machines are started.
1. On MIA-LS1, click Start, click All Programs, click Microsoft Lync Server 2010
and then click Lync Server Deployment Wizard.
2. In the Lync Server 2010 - Deployment Wizard, click Install or Update Lync Server
System.
3. In the Lync Server 2010 - Deployment Wizard, in the Step 3: Request, Install or
Assign Certificates, click Run.
4. In the Certificate Wizard, click Request.
5. In the Certificate Request page, click Next.
6. In the Delayed or Immediate Requests page, ensure Send the request immediately
to an online certification authority is selected and then click Next.
7. In the Choose a Certification Authority (CA) page, click Next.
10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010 21
8. In the Certification Authority Account page, click Next.
9. In the Specify Alternate Certificate Template page, click Next.
10. In the Name and Security Settings page, in the Friendly Name box type, MIA-LS1
New Cert and then click Next.
11. In the Organization Information page, click Next.
12. In the Geographical Information page, click Next.
13. In the Subject Name / Subject Alternate Names page, click Next.
14. In the SIP Domain setting on Subject Alternate Names (SANs) page, under
Configured SIP domains click to select Fabrikam.com and then click Next.
15. In the Configure Additional Subject Alternate Names page, click Next.
16. In the Certificate Request Summary page, click Next.
17. In the Executing Commands page, ensure that the Task status shows as completed
and then click Next.
18. In the Online Certificate Request Status page, click Finish
19. In the Certificate Assignment page, click Next.
20. In the Certificate Assignment Summary page, click Next.
21. In the Executing Commands page, ensure that the Task status shows as completed
and then click Finish.
22. In the Certificate Wizard, click Close.
Note: After completing the above steps, run Step 4 on the Deployment Wizard to start all of the Lync Server services. Use the Services MMC to verify all of the services have started.
23. In the Lync Server 2010 - Deployment Wizard, click Exit.
To update the Lync Server service certificate on 10533A-ROM-LS2.2
Lync Server is already installed on the set two virtual machines and they are configured with a 2 year certificate. If you are attempting to perform this course sometime after those certificates have expired, perform the following steps to request and assign new certificates after the set two set of virtual machines are started.
1. On ROM-LS2, click Start, click All Programs, click Microsoft Lync Server 2010
and then click Lync Server Deployment Wizard.
22 10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010
2. In the Lync Server 2010 - Deployment Wizard, click Install or Update Lync Server
System.
3. In the Lync Server 2010 - Deployment Wizard, in the Step 3: Request, Install or
Assign Certificates, click Run.
4. In the Certificate Wizard, click Request.
5. In the Certificate Request page, click Next.
6. In the Delayed or Immediate Requests page, ensure Send the request immediately
to an online certification authority is selected and then click Next.
7. In the Choose a Certification Authority (CA) page, click Next.
8. In the Certification Authority Account page, click Next.
9. In the Specify Alternate Certificate Template page, click Next.
10. In the Name and Security Settings page, in the Friendly Name box type, ROM-LS2
New Cert and then click Next.
11. In the Organization Information page, click Next.
12. In the Geographical Information page, click Next.
13. In the Subject Name / Subject Alternate Names page, click Next.
14. In the SIP Domain setting on Subject Alternate Names (SANs) page, under
Configured SIP domains click to select Fabrikam.com and then click Next.
15. In the Configure Additional Subject Alternate Names page, click Next.
16. In the Certificate Request Summary page, click Next.
17. In the Executing Commands page, ensure that the Task status shows as completed
and then click Next.
18. In the Online Certificate Request Status page, click Finish
19. In the Certificate Assignment page, click Next.
20. In the Certificate Assignment Summary page, click Next.
21. In the Executing Commands page, ensure that the Task status shows as completed
and then click Finish.
22. In the Certificate Wizard, click Close.
Note: After completing the above steps, run Step 4 on the Deployment Wizard to start all of the Lync Server services. Use the Services MMC to verify all of the services have started.
23. In the Lync Server 2010 - Deployment Wizard, click Exit.
10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010 23
To update the Lync Server service certificate on 10533A-RED-SBS1.2
Lync Server is already installed on the set two virtual machines and they are configured with a 2 year certificate. If you are attempting to perform this course sometime after those certificates have expired, perform the following steps to request and assign new certificates after the set two set of virtual machines are started.
1. On RED-SBS1, click Start, click All Programs, click Microsoft Lync Server 2010
and then click Lync Server Deployment Wizard.
2. In the Lync Server 2010 - Deployment Wizard, click Install or Update Lync Server
System.
3. In the Lync Server 2010 - Deployment Wizard, in the Step 3: Request, Install or
Assign Certificates, click Run.
4. In the Certificate Wizard, click Request.
5. In the Certificate Request page, click Next.
6. In the Delayed or Immediate Requests page, ensure Send the request immediately
to an online certification authority is selected and then click Next.
7. In the Choose a Certification Authority (CA) page, click Next.
8. In the Certification Authority Account page, click Next.
9. In the Specify Alternate Certificate Template page, click Next.
10. In the Name and Security Settings page, in the Friendly Name box type, RED-SBS1
New Cert and then click Next.
11. In the Organization Information page, click Next.
12. In the Geographical Information page, click Next.
13. In the Subject Name / Subject Alternate Names page, click Next.
14. In the SIP Domain setting on Subject Alternate Names (SANs) page, under
Configured SIP domains click to select Fabrikam.com and then click Next.
15. In the Configure Additional Subject Alternate Names page, click Next.
16. In the Certificate Request Summary page, click Next.
17. In the Executing Commands page, ensure that the Task status shows as completed
and then click Next.
18. In the Online Certificate Request Status page, click Finish
19. In the Certificate Assignment page, click Next.
24 10533A: Deploying, Configuring, and Administering Microsoft® Lync™ Server 2010
20. In the Certificate Assignment Summary page, click Next.
21. In the Executing Commands page, ensure that the Task status shows as completed
and then click Finish.
22. In the Certificate Wizard, click Close.
Note: After completing the above steps, run Step 4 on the Deployment Wizard to start all of the Lync Server services. Use the Services MMC to verify all of the services have started.
23. In the Lync Server 2010 - Deployment Wizard, click Exit.
IMPORTANT: In order to not have to repeat these steps before every class. It is recommended that you rearm all of the virtual machines and then make a new starting point snapshot.