Vyhledávání


vytiskni pdf
Hyper-V 2008

Installation Server Roles



Install Hyper-V
via the command:ServerManagerCmd-install hyper-v
or via the Server Manager interface

Server Manager :


Right-click Roles, puis "Add roles"



Check "Hyper-V"



continue the installation by clicking "next"



Select the network card set to the public IP



Start the installation by clicking on "Install"



Follow the progress of the installation.



Once the role is installed, restart the server. (multiple reboots may be necessary)

Hyper-V Network Bridge



Requirements

Having assigned a mac to a virtual ip FailOver

Configuration

Go to the Server Manager:
Administrative Tools => Server Manager:



In Role => HyperV:
Right click on the name of your server, then New and virtual machines:




Specify the name you want for your VM:



Then set the size of the RAM you need:



Now specify the network card to use:



Whether you want a new or existing virtual hard disk:



Then specify that it will load the ISO to install your distribution:



Then confirm the creation of VM:



Now edit the Prametres of VM:



Set the virtual MAC address associated with your IP:



Now that all configuration is done, you can start your VM

For the IP configuration of your VM just follow the guide BridgeClient


Hyper-V network and NAT


Install the Network Policy and Access Role Service
via command:ServerManagerCmd-install NPAS
or via the Server Manager interface.

Server Manager:



Right-click Roles, and then "Add roles"



Check "Network Policy and Access Service"



Continue the installation by clicking "next"



box, "Routing and Remote Access Service", "Remote Access Service" and "Routing"



Start the installation by clicking "Install"



Follow the progress of the installation.



Once the role is installed, restart the server.


Hyper-V:
Open Hyper-V Manager
Start -> "Admins Tools" -> "Hyper-V manager"



Right click on the Host server, then "Virtual Network Manager"
"New Virtual Network" -> Internal -> clisk "Add"




Enter a name, for example Lan001



Once the virtual network created, change the IP settings of the card Lan001
ip : 192.168.0.1
mask : 255.255.255.0
gateway :
dns 1 : 213.186.33.99

NAT:
In the interface "Server Manager", select the Network Policy and Access Role Service



click droit sur "Routing and remote System".



Option 2 - NAT



select the network adapter for the public IP.



select the network adapter Virtual Lan001



enable basic name

In the Server Manager



right click on the public interface IP



Select the 3rd tab, Add service
name : kms
Protocol : TCP
Incoming Port : 1688
Private address : 192.168.0.0
Outgoing : 1688

3 installation and activation of a virtual machine

It can be downloaded via the Microsoft site for Windows VHD image 2008/32-64/R2 for use in Hyper-V

E.g. Windows 2008 R2 enterprise:
http://www.microsoft.com/windowsserver2008/en/us/virtual-hard-drive.aspx

In "Hyper-v Manager"
Create a new Virtual Machine



Define the name and the memory allocated



Network Configuration: select Lan001 (internal virtual network, created above)



Disk configuration: Option 2 - Use an Existing Virtual Hard Disk
Select the VHD that you downloaded above.
complete the creation.

Start the virtual machine and change the IP settings
IP : 192.168.0.2
mask : 255.255.255.0
gateway : 192.168.0.1 (Internal server IP Host)

Reset the KMS Parameters:
(In a DOS command promp)

uninstall the current key:
cscript c:\windows\system32\slmgr.vbs –upk

effacer le serveur KMS de reference actuel:
cscript c:\windows\system32\slmgr.vbs –ckms

ajouter une clef KMS:
cscript c:\windows\system32\slmgr.vbs –ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

Table of KMS client keys 2008/Vista:
http://technet.microsoft.com/en-us/library/cc303280.aspx#_Configure_KMS_Clients

Table KMS client keys windows7/2008R2:
http://technet.microsoft.com/en-us/library/dd772269.aspx#EPB

Defining the KMS for OVH:
cscript c:\windows\system32\slmgr.vbs –skms kms.ovh.net

Enable the virtual machine:
cscript c:\windows\system32\slmgr.vbs –ato


List Schedule: Image VHD + Kms key generic

2008R2 Enterprise
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a4fbe2f3-45dd-46bf-8747-16a111c04107
kms: 489J6-VHDMP-X63PK-3K798-CPX3Y

2008R2 Enterprise_Core?
http://www.microsoft.com/downloads/details.aspx?familyid=37264B32-C79F-4249-A5D4-B8696772A62A&displaylang=en
kms: 489J6-VHDMP-X63PK-3K798-CPX3Y

2008ENT x86
http://www.microsoft.com/downloads/details.aspx?familyid=764B531E-4526-4329-80B5-921FD3297883&displaylang=en
kms: 39BXF-X8Q23-P2WWT-38T2F-G3FPG

2008ENT x64
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=86fa1bda-763b-4a1b-8e88-426228ed5c81
kms: 39BXF-X8Q23-P2WWT-38T2F-G3FPG

2008ENT x86_core
http://www.microsoft.com/downloads/details.aspx?familyid=1CCDC535-9DDF-489C-BF09-5947E8CB01B5&displaylang=en
kms: 39BXF-X8Q23-P2WWT-38T2F-G3FPG

2008ENT x64_core
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=0c214219-c226-4eb8-8f33-0bc5934f9858
kms: 39BXF-X8Q23-P2WWT-38T2F-G3FPG

2008STD x86
http://www.microsoft.com/downloads/details.aspx?familyid=1343460C-F035-453D-9AD0-FD7206ACC3C0&displaylang=en
kms: W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ

2008STD x64
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=5510c750-e91e-4907-afc8-e9e50f3301ea
kms: W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ

2008STD x86_core
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=2a4609f5-943b-4a57-9f79-81e491311ad1
kms: W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ

2008STD x64_core
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=80621136-fae5-4756-86c5-ce7860edc09c
kms: W7VD6-7JFBR-RX26B-YKQ3Y-6FFFJ