hyper-v server 2008 setup and configuration tool guide microsoft

21

Click here to load reader

Upload: api-6553176

Post on 10-Apr-2015

255 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

Hyper-V Server 2008 Setup and Configuration Tool Guide

Microsoft Corporation

Published: October 2008

Author: Cynthia Nottingham

AbstractThis guide will help you set up and configure Microsoft® Hyper-V™ Server 2008. For more information about Hyper-V Server 2008, see the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=129170).

Page 2: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

Copyright InformationInformation in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted in examples herein are fictitious. 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.

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, copyrights, or other intellectual property.

© 2008 Microsoft Corporation. All rights reserved.

Microsoft, Hyper-V, Windows, Windows Vista, and Windows Server are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

All other trademarks are property of their respective owners.

Page 3: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

Contents

Setting the Administrator Password............................................................................................................6

Hyper-V Configuration Tool.........................................................................................................................6

1. Domain/Workgroup 7

2. Computer Name 8

3. Network Settings 8

4. Add Local Administrator9

5. Windows Update Settings 10

6. Download and Install Windows Updates 10

7. Remote Desktop 10

8. Regional and Language Options 12

9. Date and Time 13

10.Log Off User 14

11.Restart Server 14

12.Shut Down Server 14

13.Exit to Command Line 14

Managing Hyper-V Server Remotely with Windows Server 2008 15

Managing Hyper-V Server Remotely with Windows Vista SP1 15

Managing Hyper-V Server Remotely with System Center Virtual Machine Manager 15

Creating Hyper-V Server Virtual Networks 16

Page 4: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

Hyper-V Installation PrerequisitesHyper-V requires specific hardware. You can identify systems that support the x64 architecture and

Hyper-V by searching the Windows Server® catalog for Hyper-V as an additional qualification. The

Windows Server catalog is available on the Microsoft Web site (http://go.microsoft.com/fwlink/?

LinkId=111228).

To install and use Hyper-V, you need the following:

An x64-based processor.

Hardware-assisted virtualization. This is available in processors that include a virtualization

option; specifically, Intel VT or AMD Virtualization (AMD-V).

Hardware Data Execution Protection (DEP) must be available and be enabled. Specifically, you

must enable the Intel XD bit (execute disable bit) or the AMD NX bit (no execute bit).

Additional considerations

The settings for hardware-assisted virtualization and hardware data execution protection are

available in the BIOS. However, the names of the settings may differ from the names identified

previously.

For more information about whether a specific processor model supports Hyper-V, check with

the manufacturer of the computer.

If you modify the settings for hardware-assisted virtualization or hardware data execution

protection, you may need to turn off the power to the computer and then turn it back on.

Restarting the computer may not apply the changes to the settings.

Page 5: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

Setting the Administrator PasswordDuring the installation of Hyper-V Server, you are prompted to enter a user name and create a password. The following instructions outline this process. Note: This process is done only during the initial installation of Hyper-V Server.

1. Click Other User.2. For user name, type Administrator, and then press ENTER. The following prompt appears: The

user’s password must be changed before logging on the first time.3. Click OK.4. Type a new password, confirm it, and then press ENTER. The following message appears: Your

password has been changed.5. Click OK.

Hyper-V Configuration ToolThe Hyper-V Configuration Tool provides a user interface with menus that are designed to help you configure Hyper-V Server. It automatically starts when the system administrator logs on. To start it manually, change to the system drive, type Windows\system32\hvconfig.cmd, and then press ENTER.

Figure 1 Hyper-V Server Configuration Tool

Page 6: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

1. Domain/WorkgroupThe current Domain/Workgroup settings are displayed in the default Hyper-V Configuration screen.

1. Type 1 and then press ENTER to configure the Hyper-V Server Domain or Workgroup Settings.a. To join a domain, type D, and then press ENTER.

i. Type the domain name and then press ENTER.Example: domain.corp.company.com

ii. Type an authorized domain\user.Example: domain\user1

iii. When prompted, type a password for the user, and then press ENTER. iv. The following prompt appears: You must restart your computer to apply these

changes. Restart now?v. Click Yes to restart the computer.

NOTE: By default, data on the virtual machines that are running is automatically saved prior to restarting Hyper-V Server.NOTE: If a domain user has not been added to the local administrators group, you cannot make system changes by using that domain user’s name (such as changing the computer name). To add a domain user to the local administrators group, allow the computer to restart. Next, log on to the computer as the local administrator, and then follow the steps in the Add Local Administrator section of this document.

b. To join a workgroup, type W, and then press ENTER.i. If you are currently joined to a workgroup, type the name of that workgroup,

and then press ENTER.1. The following prompt appears: Welcome to the workgroup:

workgroup.2. Click OK.

ii. If you are currently joined to a domain, type the name of the workgroup to join, and then press ENTER.

1. The following prompt appears: Machine currently joined to domain. Do you want to remove this computer from the current domain now?

2. Click Yes.3. Type an authorized domain\user

Example: domain\user14. When prompted, type a password for the user, and then press ENTER. 5. The following prompt appears: You must restart your computer to

apply these changes. Restart now?6. Click No.7. Type 1, and then press ENTER to configure the Hyper-V Server

Workgroup name.

Page 7: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

8. Type W, and then press ENTER.9. Type the name of the workgroup to join, and then press ENTER.10. The following prompt appears: Welcome to the workgroup: workgroup

name.11. Click OK.12. Type 11, and then press ENTER to restart Hyper-V Server.13. The following prompt appears: Are you sure you want to restart?14. Click Yes.

NOTE: By default, data on virtual machines that are running is automatically saved prior to restarting Hyper-V Server.

2. Computer NameThe current computer name is displayed in the default Hyper-V Configuration screen.

1. Type 2, and then press ENTER to change the computer name.a. If you are joined to a workgroup, type the new computer name, and then press ENTER.

i. The following prompt appears: The computer needs to be restarted in order to complete the operation. The command completed successfully.

ii. Click OK.iii. The following prompt appears: You must restart your computer to apply these

changes. Restart now?iv. Click Yes to reboot.

NOTE: By default, data on virtual machines that are running is automatically saved prior to restarting Hyper-V Server.

b. If you are joined to a domain, type the new computer name, and then press ENTER.i. When prompted, type the domain and the name of an authorized user, and

then press ENTER.ii. Type a password for the user, and then press ENTER.

iii. The following prompt appears: You must restart your computer to apply these changes. Restart now?

iv. Click Yes to restart.NOTE: By default, data on virtual machines that are running is automatically saved prior to restarting Hyper-V Server.

3. Network Settings1. Type 3, and then press ENTER to configure the Hyper-V Server network settings.2. You are presented with a list of available network adapters that are attached to Hyper-V Server.3. Type the number of the adapter that you want to configure, and then press ENTER.4. You are presented with the current configuration for the network adapter that you selected.

a. Type 1, and then press ENTER to configure the IP address for the selected network adapter.

i. Type D, and then press ENTER to allow the network adapter to receive an IP from a DHCP Server.

Page 8: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

ii. Type S, and then press ENTER to manually assign a static IP to the network adapter.

1. Type the desired static IP address, and then press ENTER.2. Type the desired subnet mask, and then press ENTER.3. Type the desired default gateway, and then press ENTER.

b. Type 2, and then press ENTER to configure DNS settings for the selected network adapter.

i. Type the IP address of the desired preferred DNS server, and then press ENTER.ii. The following prompt appears: Preferred DNS server set.

iii. Click OK.iv. Type the IP address of the desired alternate DNS server, and then press ENTER.v. The following prompt appears: Alternate DNS server set.

vi. Click OK.c. Type 3, and then press ENTER to clear the current DNS server settings.

i. The following prompt appears: DNS servers removed. DNS servers will be automatically obtained from network.

ii. Click OK.d. Type 4, and then press ENTER to return to the default configuration screen.

4. Add Local Administrator1. Type 4, and then press ENTER to add a domain or workgroup user to the local administrator

group.a. To add a domain user, type the domain name plus the user name, and then press

ENTER.Example: domain\username

i. The following prompt appears: User added to local Administrators group. domain\domain user

ii. Click OK.NOTE: To add a domain user to the local administrator group, you must be currently joined to a domain. (For more information, see Domain/Workgroup earlier in this document).

b. To add a workgroup user, type the user name, and then press ENTER.Example: user1

i. When prompted, type a password for the user, and then press ENTER. ii. When prompted, type the password a second time, and then press ENTER.

iii. The following prompt appears: User added to local Administrators group. Username.

iv. Click OK.

Page 9: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

5. Windows Update SettingsThe current Windows Update settings are displayed in the default Hyper-V Configuration Tool screen.

1. Type 5, and then press ENTER to change the Windows Update settings for Hyper-V Server.a. Type A, and then press ENTER to set the updates to Automatic (default).

i. The following prompt appears: Windows Update set to Automatic. System will check for and install updates every day at 3:00AM.

ii. Click OK.iii. You are returned to the Hyper-V Server Configuration Tool, and you will see

Automatic next to Windows Update Settings.b. Type M, and then press ENTER to set updates to manual.

i. The following prompt appears: Windows Update set to Manual. System will never check for updates.

ii. Click OK.iii. You are returned to the Hyper-V Server Configuration Tool, and you will see

Manual next to Windows Update Settings.

6. Download and Install Windows UpdatesThe current Windows Update status is displayed in the default Hyper-V Configuration Tool screen.NOTE: You must be connected to the internet to receive Hyper-V Server updates.

1. Type 6, and then press ENTER to search for updates. You are presented with a list of applicable updates.

a. Type Y, and then press ENTER to download and install all updates.i. The download and installation of updates begins. This may take some time.

ii. The following prompt may appear: A restart is required to complete Windows Updates. Restart now?

iii. Click Yes to initiate a restart.NOTE: By default, data on virtual machines that are running is automatically saved prior to restarting Hyper-V Server.

b. Type N, and then press ENTER to cancel and return to the default Hyper-V Configuration Tool screen.

2. You are returned to the Hyper-V Server Configuration Tool, and you will see the current Windows Update status next to Download and Install Updates.

7. Remote DesktopThe current Remote Desktop status is displayed in the default Hyper-V Configuration Tool screen.

1. Type 7, and then press ENTER to enable or disable Remote Desktop on Hyper-V Server.a. Type E, and then press ENTER to enable Remote Desktop.

Page 10: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

i. Type 1, and then press ENTER to allow access only to clients that are running Remote Desktop with Network Level Authentication (more secure).

1. The following prompt appears: Remote Desktop enabled for clients only running Remote Desktop with Network Level Authentication (more secure).

2. Click OK.3. You are returned to the Hyper-V Server Configuration Tool, and you will

see Enabled (more secure clients only) next to Remote Desktop.ii. Type 2, and then press ENTER to allow access for clients that are running any

version of Remote Desktop (less secure).1. The following prompt appears: Remote Desktop enabled for clients

running any version of Remote Desktop (less secure).2. Click OK.3. You are returned to the Hyper-V Server Configuration Tool, and you will

see Enabled (all clients) next to Remote Desktop.b. Type D, and then press ENTER to disable Remote Desktop.

i. The following prompt appears: Remote Desktop Disabled.ii. Click OK.

iii. You are returned to the Hyper-V Server Configuration Tool, and you will see Disabled next to Remote Desktop.

Page 11: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

8. Regional and Language Options1. Type 8, and then press ENTER to configure or modify the regional and language options for

Hyper-V Server.2. You are presented with the Regional and Language Options properties sheet for Hyper-V

Server. 3. When you are finished, click OK or Apply to confirm your changes, or click Cancel to discard

them.

Figure 2 Regional and language settings for Hyper-V

Page 12: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

9. Date and Time1. Type 9, and then press ENTER to configure or modify the date and time options.2. You are presented with the Date and Time Options properties sheet for Hyper-V Server.3. When you are finished, press OK to confirm the changes or Cancel to discard them.

Figure 3 Date and time settings for Hyper-V Server

Page 13: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

10. Log Off User1. Type 10, and then press ENTER to log off the current user.2. The following prompt appears: Are you sure you want to log off?3. Click Yes.

11. Restart Server1. Type 11, and then press ENTER to restart Hyper-V Server.2. The following prompt appears: Are you sure you want to restart?3. Click Yes.

NOTE: By default, data on virtual machines that are running is automatically saved prior to restarting Hyper-V Server.

12. Shut Down Server1. Type 12, and then press ENTER to shut down Hyper-V Server. 2. The following prompt appears: Are you sure you want to shut down?3. Click Yes.

NOTE: By default, data on virtual machines that are running is automatically saved prior to restarting Hyper-V Server.

13. Exit to Command Line1. Type 13, and then press ENTER to exit to the command line.

NOTE: To return to the Hyper-V Server Configuration Tool, type hvconfig, and then press ENTER.

Page 14: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

Hyper-V Server Remote ManagementYou can remotely manage Hyper-V Server through the following Microsoft products:

Windows Server 2008 (a full installation) with the Hyper-V Manager Windows Vista® SP1 with the Hyper-V Manager Microsoft System Center Virtual Machine Manager 2008

Choose which option is appropriate for you, and then perform the corresponding steps as follows:

Managing Hyper-V Server Remotely with Windows Server 2008To enable the Windows Server 2008 Hyper-V Manager MMC:

NOTE: The Hyper-V Manager MMC is automatically installed when the Hyper-V role is enabled on full installations of Windows Server 2008.

1. In Windows Server 2008, click Start, and then click Server Manager.2. Click Add Features.3. In Remote Server Administration Tools, click Role Administration Tools. Enable Hyper-V Tools,

and then click Next.4. Click Install.5. After the restart, click Start, click Administrative Tools, and then click Hyper-V Manager.6. In the left pane of the MMC, click Hyper-V Manager.7. In the Actions menu, click Connect to Server, click Another Computer, and then type the name

or IP address of the server that you want to connect to.

Managing Hyper-V Server Remotely with Windows Vista SP1To enable the Windows Vista® SP1 Hyper-V Manager MMC:

1. Download and install the Hyper-V MMC for Window Vista SP1 from the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=129170).

2. After the reboot, click Start, click Administrative Tools, and then click Hyper-V Manager.3. In the left pane of the MMC, click Hyper-V Manager.4. In the Actions menu, click Connect to Server, click Another Computer, and then type the name

or IP address of the server that you want to connect to.

Managing Hyper-V Server Remotely with System Center Virtual Machine ManagerSee the System Center Virtual Machine Manager documentation on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=129168).

Page 15: Hyper-V Server 2008 Setup and Configuration Tool Guide Microsoft

Set up Hyper-V Server NetworksConfigure one or more virtual networks for virtual machines to access network resources.

Creating Hyper-V Server Virtual NetworksTo start Hyper-V Manager from a system running Windows Server 2008 or Windows Vista SP1 with the Hyper-V Manager management pack loaded:

1. In the left pane of the MMC, click Hyper-V Manager.2. In the Actions menu, click Connect to Server, click Another Computer, and then type the name

or IP address of the server that you want to connect to.3. In the Actions menu click Virtual Network Manager…4. In Create virtual network, click External, and then click Add.5. Type a name for the new virtual network (for example, Corpnet) and then click OK.

NOTE: When you create a virtual network remotely, Hyper-V Server creates the new virtual switch and binds it to the physical network TCP/IP stack. If the Hyper-V Server system is configured with only one physical network adapter, this may result in a dropped network connection. This is normal when the virtual network is being created.

Additional ReferencesFor more information about Microsoft Hyper-V Server 2008, see the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=129170).

For more information about Microsoft System Center Virtual Machine Manager, see the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=129168).