缘由
公司审计要求任何对关键系统的重要变更,都需要在测试环境中经过评估后才能应用到生产环境。出于成本考虑,且生产环境的IT架构很简单,决定用两台PC上利用Windows Server 2008的Hyper-V技术,搭建出测试环境。
 
配置
Host Machine Configuration
Host 1:
Host Name: sh-Test-IT01
IP Address: 192.168.183.11 /24
Gateway: 192.168.183.1
DNS: 10.104.0.61
OS: Windows Server 2008 Enterprise
Application:
Symantec Antivirus Client, VMware/Hyper-V.

HDD Drive:
         C: - OS / 30G / NTFS
         D: - Programs / 20G / NTFS
         E: - Data / 270G / NTFS

Folder Structure of Drive E:
E:\
  |- VM Data
  |            |- BaseMachine
  |            |                 |- W2K
  |            |                 |- W2K3
  |            |                 |- W2K8
  |            |                 |- WXP
  |            |                 |- W7
  |            |- [VM1]
  |            |- [VM2]
  |            |- [VMn]
  |- ISO


Host2:
Host Name: sh-Test-IT02
IP Address: 192.168.183.12 /24
Gateway: 192.168.183.1
DNS: 10.104.0.61
OS: Windows Server 2008 Enterprise
Application: Symantec Antivirus Client, VMware/Hyper-V.


HDD Drive:
         C: - OS / 30G / NTFS
         D: - Programs / 20G / NTFS
         E: - Data / 270G / NTFS

Folder Structure of Drive E:
E:\
  |- VM Data
  |            |- BaseMachine
  |            |                 |- W2K
  |            |                 |- W2K3
  |            |                 |- W2K8
  |            |                 |- WXP
  |            |                 |- W7
  |            |- [VM1]
  |            |- [VM2]
  |            |- [VMn]
  |- ISO



Testing Environment Topology
使用Hyper-V搭建测试环境_休闲
Visual Machine Configuration
in host sh-Test-IT01:
Server Name
Configuration Items
Values
US-ISA01
Server Roles
Firewall in US Site, ××× Server
IP_WAN
192.168.183.12 /24
IP_LAN
192.168.111.1 /24
DNS
10.104.0.61
Gateway
192.168.183.1
OS
Windows Server 2003 Enterprise
 
 
 
US-DC01.sonstest.com
Server Roles
1st DC in the forest/DNS/DCHP/GC
IP Address
192.168.111.11 /24
DNS
192.168.111.11
Gateway
192.168.111.1
OS
Windows 2000 Server Standard
Domain Name
Sonstest.com
AD Function Level
Mixed Mode
 
 
 
US-EXCH01.sonstest.com
Server Roles
1st Exchange Server in the forest at US site
IP Address
192.168.111.21 /24
DNS
192.168.111.11
Gateway
192.168.111.1
OS
Windows Server 2003 Standard
Application
Exchange Server 2003 Enterprise + SP2
 
 
 
SH-DC01.sonstest.com
Server Roles
DC/DNS/DHCP in SH site
IP Address
192.168.222.11 /24
DNS
192.168.111.11, 192.168.222.11
Gateway
192.168.222.1
OS
Windows 2000 Server Standard
 
 
 
SH-Exch05.sonstest.com
Server Roles
GC/DC/DNS/DHCP/Exchange Server
IP Address
192.168.222.21 /24
DNS
192.168.222.11
Gateway
192.168.222.1
OS
Windows Server 2003 Standard
Application
Exchange Server 2003 Enterprise + SP2
 
 
 
SH-ISA05
Server Roles
Firewall in SH site, ××× Server
IP_WAN
192.168.183.13 /24
IP_LAN
192.168.222.1 /24
DNS
10.104.0.61
Gateway
192.168.183.1
OS
Windows Server 2003 Enterprise
 
 
 
 
In host sh-Test-IT02:
Server Name
Configuration Item
Values
US-DC02.sonstest.com
Server Roles
New DC in US Site / GC
IP Address
192.168.111.12 /24
DNS
192.168.111.12
Gateway
192.168.111.1
OS
Windows Server 2003 Enterprise
 
 
 
SH-DC05.sonstest.com
Server Roles
New DC in SH Site / GC
 
IP Address
192.168.222.12 /24
 
DNS
192.168.222.12
 
Gateway
192.168.222.1
 
OS
Windows Server 2003 Enterprise
 
安装过程
1,在sh-Test-IT01上安装好windows server 2008 enterprise x64 version,网卡驱动加载,一切正常。
2,打开服务器管理器,添加Hyper-V角色。
(这里犯了个小错误,没有把win2k8最新的补丁全部打上,kb950050,到最后也没打上,msu文件无法安装,至今没找到原因。)
3,创建好虚拟机。
(这里又犯了个小错误,没有预先看看虚拟网络规划--不是VLAN--的文档,配置可参考微软TechNet文档:http://technet.microsoft.com/en-us/library/cc816585%28WS.10%29.aspx
4,小提示:安装之前一定要看看规划文档,会有收获的。具体见微软的TechNet文档:Hyper-V Planning
5,安装集成服务,Integration Service。
(功课没有做足,在这里耽误了一天时间,由于Guest OS没有打上最新的补丁,总是提示无法安装集成服务。详情参见岳雷博文:Hyper-V常见问题解惑