Hyper-V setup问题

Issue:

以前在本地的测试的server上Hyper-V总是跑不起来,知道是BIOS里要设置一下。

Workaround / Solution:

本地的server是HP Compaq 8100 Elite的 开机F10进BIOS 。

“Virtualization Technology” and “Execute Disable” are both need to set to Enabled.

Note: 设置BIOS的时候 要 shut down 机器 ,不要选restart.

Hyper-V Installation Prerequisites
Hyper-V requires specific hardware. You will need the following:
  • An x64-based processor. Hyper-V is available only in the x64-based versions of Windows Server 2008—specifically, the x64-based versions of Windows Server 2008 Standard, Windows Server 2008 Enterprise, and Windows Server 2008 Datacenter.
  • Hardware-assisted virtualization must be available and be enabled in the BIOS. This is available in processors that include a virtualization option; specifically, Intel VT or AMD Virtualization.
  • Hardware Data Execution Protection (DEP) must be available and be enabled in the BIOS. You must enable Intel XD bit (execute disable bit) or AMD NX bit (no execute bit).
  • Hyper-V does NOT support Itanium (IA-64) processors.
BIOS Settings
You must enter the BIOS setup of the server and make sure that “Virtualization Technology” and “Execute Disable” are both set to Enabled. Otherwise, even after installing the Hyper-V role, you will not be able to start using it and might get one of the following errors:
Hyper-V launch failed; Either VMX not present or not enabled in BIOS.
Or
Hyper-V launch failed; at least one of the processors in the system does not appear to provide a virtualization platform supported by Hyper-V.
In most cases, the required BIOS settings can be found in these BIOS sections (actual names may differ, based upon your server's BIOS settings):
  • Security > Execute Disable (set to On)
  • Performance > Virtualization (set to On)
  • Performance > VT for Direct I/O Access (set to On)
  • Performance > Trusted Execution (set to Off)

Installation procedure

Below is the step-by-step on installing Hyper-V on Windows Server 2008.
Note: Hyper-V can also be installed on Windows Server 2008 Server Core. Please read my Installing Hyper-V on Windows Server 2008 Server Core article.
1. Make sure Windows Server 2008 is fully patched and properly configured, including with the BIOS settings mentioned above. Configuration settings to the server include:
  • Setting the administrative password.
  • Configuring the server's computer name.
  • Setting a static IP address on all relevant NICs.
  • Activating the server.
  • Joining the server to a domain (if required).
  • Configure the firewall for remote administration.
  • Enable Remote Desktop for Administration if you want to manage the server running a Server Core installation remotely.
 All the above tasks can be accomplished by using either the Initial Configuration Tasks wizard, the Server Manager, Command Prompt tools and script.

2. Open Server Manager, click Add Roles.

3. Choose Hyper-V role. Click Next.

Untitled.png

On the Create Virtual Networks page, click one or more network adapters if you want to make their connection to a physical network available to virtual machines.
Important note: It is very important that you understand the logic behind using virtual networks. I strongly recommend that you have at least 2 network adapters on the server, use ONE for the virtual networks, and use the SECOND for the server's management tasks.

4. On the Confirm Installation Selections page, click Install.

5. The computer must be restarted to complete the installation. Click Close to finish the wizard, and then click Yes to restart the computer.

6. After you restart the computer, log on with the same account you used to install the role. After the Resume Configuration Wizard completes the installation, click Close to finish the wizard.

Now can manage Hyper-V role either from Server Manager or from the Hyper-V management console found in the Administrative tools folder. 

转载于:https://www.cnblogs.com/ChunLiangZhang/archive/2012/07/17/2595169.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值