hyper v 3 0 build document

7
Hyper-V 3.0 on HP DL360 Gen8 Build Document November 21, 2012 Version 1.0 FLEXECOM By Dennis Suhanovs MCITP (EA & EMA), MCSE x3, MCTS x9, PMP, CISSP

Upload: paul-fuyane

Post on 26-Oct-2015

33 views

Category:

Documents


3 download

DESCRIPTION

WIndows 2012 Hyper-V Deployment Guide.

TRANSCRIPT

Page 1: Hyper v 3 0 Build Document

Hyper-V 3.0 on HP DL360 Gen8

Build Document

November 21, 2012

Version 1.0

FLEXECOM By Dennis Suhanovs MCITP (EA & EMA), MCSE x3, MCTS x9, PMP, CISSP

Page 2: Hyper v 3 0 Build Document

Physical Server Setup Phase 1. Check RAM configuration to conform to HP’s best practices

(http://h18004.www1.hp.com/products/quickspecs/14211_div/14211_div.html#Memory)

2. Install 146GB SAS 15K drives into drive cage bays 1 and 2

3. Boot the server into HP Array Configuration Utility (F5 when prompted during POST, HP

SmartArray P420i Controller phase)

4. In ACU

a. Create a new array on the two SAS drives installed in step 2 above

b. Create a new RAID1 volume on the new array, using 100% of the array capacity, leaving

all settings as set by default (256KB stripe size, acceleration options, etc)

c. Enable write caching at the controller level

5. Boot the server into BIOS setup (F9 during POST)

a. Processor Options

i. Ensure that Hardware Virtualization is enabled

ii. Ensure that VT-d is enabled

iii. Ensure that No Execute (DEP) option is enabled

iv. Disable Hyperthreading

b. Power Options

i. Set HP Power Profile Mode = Maximum Performance

ii. Set Power Regulator Mode = Static High Performance

6. Power the server down, disconnect power cords for a minute

OSE Setup Phase 1. Reboot the server and boot normally from Windows Server 2012 Datacenter media

2. Follow prompts to install Windows Server 2012 x64 Datacenter Edition with GUI

3. When prompted, do not partition the drive and install the OS on “unallocated” disk. OS will

partition the drive automatically, creating 100MB reserved partition in the process

4. The server will reboot 3 times and eventually ask to set local Administrator password

5. HP DL360 Gen8 comes with 4 built-in NIC ports. Connect network cable to each port one at a

time and label NICs in OS with the corresponding NIC numbers as marked on the server

(example: LAN1, LAN2, LAN3, LAN4). Leave the network cable plugged into LAN1 (first port)

6. Enable remote desktop for administration purposes

7. Change the server name as applicable (example, TOR-HV-01)

8. Assign a static IP address to LAN1

9. Reboot the server

Page 3: Hyper v 3 0 Build Document

OSE Configuration Phase The remaining steps can be performed remotely using RDP. (BIOS configuration and OS installation steps

above could also be done remotely with an IP KVM switch or HP ILO 4 Advanced license).

1. In PowerShell

a. Install-WindowsFeature Hyper-V,RSAT-Hyper-V-Tools

b. Shutdown -r -t 0

2. Enable Windows Update and patch the server fully, reboot as many times as prompted (as of

November 21, 2012, 7 patches need to be installed, totaling 484 MB)

3. Activate the OSE using MAK key (VND2X-*****-*****-*****-M96DM)

4. Adjust the timezone to UTC-5:00 Eastern Standard Time and verify that the time is correct

5. Disable MSIE ESC (Internet Explorer Enhanced Security Configuration)

6. Control Panel – System – Advanced System Settings – Performance Settings – Adjust for best

performance, and click Apply

7. Install HP drivers and tools (note, at the time of this writing there are no Support Pack CDs

available for Gen8 servers, so this step needs to be done manually)

a. Install ILO 3/4 Channel Interface Driver (version 3.7.0.0, dated 26 October 2012) from

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=e

n&cc=us&prodTypeId=15351&prodSeriesId=5177961&prodNameId=5177962&swEnvOI

D=4024&swLang=8&mode=2&taskId=135&swItem=MTX-

726fe11863e54687805718a0db

b. Download the remaining required executables from

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=

us&prodNameId=5177954&prodTypeId=15351&prodSeriesId=5177953&swLang=8&tas

kId=135&swEnvOID=4138

i. Install HP Proliant SmarArray SAS/SATA Controller Driver for Windows Server

2012 x64 Edition (version 62.24.2.64, dated 26 October 2012)

Page 4: Hyper v 3 0 Build Document

ii. Install HP Proliant ILO 3/4 Management Controller Driver Package for Windows

Server 2008/2012 x64 (version 3.7.0.0, dated 26 October 2012)

iii. Online ROM Flash component for Windows – Smart Array P220i, P222, P420i,

P420, P421, P721m, and P822 (version 3.22, dated 26 October 2012)

iv. HP Proliant Smart Array SAS/SATA Event Notification Service for Windows

Server 2008 x64 Editions and Windows Server 2012 (version 6.30.0.64, dated 26

October 2012)

v. HP Proliant Array Configuration Utility for Windows 64-bit (version 9.30.15.0,

dated 26 October 2012)

vi. Install HP Lights-Out Online Configuration Utility for Windows 2003/2008 x64

(2012 version is not available yet) from

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp

?lang=en&cc=us&prodTypeId=15351&prodSeriesId=5177953&prodNameId=517

7954&swEnvOID=4064&swLang=8&mode=2&taskId=135&swItem=MTX-

5cccd1d4a39d40f9acedac5b1e

c. Reboot the server (shutdown -r -t 0)

d. Update Firmware / BIOS

i. http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=

en&cc=us&prodNameId=5177954&prodTypeId=15351&prodSeriesId=5177953

&swLang=8&taskId=135&swEnvOID=54

ii. Update BIOS to version 2012.08.20(A), dated 26 October 2012

e. Install Integrated Management Log Viewer -

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=e

n&cc=us&prodTypeId=15351&prodSeriesId=5177953&prodNameId=5177954&swEnvOI

D=4138&swLang=8&mode=2&taskId=135&swItem=MTX-

21a2bce3406b46558e982e6055

f. Install Insight Management WBEM Providers -

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=e

n&cc=us&prodTypeId=15351&prodSeriesId=5177953&prodNameId=5177954&swEnvOI

D=4138&swLang=8&mode=2&taskId=135&swItem=MTX-

29734f415a4e47008211c48e5c

g. (PowerShell) Install-WindowsFeature SNMP-Service

h. Install HP Insight Management Agents -

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=e

n&cc=us&prodTypeId=15351&prodSeriesId=5177953&prodNameId=5177954&swEnvOI

D=4138&swLang=8&mode=2&taskId=135&swItem=MTX-

8b6235702ddb4625a043ad7712

Configure ILO Use HP Lights-Out Online Configuration Utility to configure a static IP address and gateway on the

server.

Page 5: Hyper v 3 0 Build Document

- ILO IP Address: 10.1.250.x

- ILO subnet mask: 255.255.255.0

- ILO default gateway: 10.1.250.1

- ILO DNS name: leave as serial number of the server

- Speed/duplex: set to 100 Mbit Full (manual)

Scroll to the bottom and click Apply.

Do not configure advanced network settings (such as DNS integration) or directory integration at this

time. This will be done later when the new AD/DNS environment is established.

Configure Storage for Virtual Machines 1. Install a pair of 900 GB SAS 10K drives into drive cage bays 3 and 4 and create a new array and

RAID1 logical drive using ACU utility (in Windows).

2. Use Disk Management MMC or diskpart to create a new simple volume (GPT partition); assign E:

drive letter.

Page 6: Hyper v 3 0 Build Document

3. Using Hyper-V Manager

a. Hyper-V Settings

i. Virtual Hard Disks path = E:\Hyper-V\Virtual Hard Disks

ii. Virtual Machines path = E:\Hyper-V

b. Click OK

Configure Networking for Virtual Machines 1. If network teaming is used, configure LACP or EtherChannel on the switch side first, then create

a new network team using Windows Server 2012 built-in network teaming management tool.

Do not team more than 2 NICs on a 4 NIC stand-alone hypervisor. Steps below assume that

teaming is not used.

2. Configure or verify LAN1 interface:

a. IP address = 10.1.0.x

b. Subnet mask = 255.255.248.0

c. Default gateway = 10.1.0.1

d. DNS = 8.8.8.8, 8.8.4.4 (temporary setting until the new AD/DNS environment is up)

e. Rename the interface to “LAN1 – 10.1.0.x” (substitute X with the last IP address octet as

assigned)

f. Disable NetBIOS over TCP/IP

g. Disable LMHOSTS lookup

h. Leave DNS tab configuration as configured by default

3. Obtain another static IP address and configure LAN2 interface for Hyper-V replication

a. See step 2 for details

b. Do not set default gateway

c. Do not set DNS settings

d. Set Automatic metric = unchecked, 256

e. DNS tab, uncheck “Register this connection’s addresses in DNS”

4. In Advanced Network Settings, ensure that LAN1 interface is ordered at the top of the bindings

list, and that both IPv4 and IPv6 are enabled – bind IPv4 higher than IPv6

5. In Hyper-V Manager

a. Virtual Switch Manager

i. Create a new Virtual Switch

ii. Name = LAN4 – External Network

iii. Connection type = External Network

iv. External network = select the physical NIC that maps to LAN4 logical interface

v. Uncheck “Allow management operating system to share this network adapter”

b. OK

c. Repeat steps i-v and create another virtual switch, LAN3 – External Network

6. Rename LAN3 and LAN4 to “LAN3 – virtual switch” and “LAN4 – virtual switch”, respectively

7. All interfaces, Properties

a. Power Management = disable power savings

Page 7: Hyper v 3 0 Build Document

b. Speed and Duplex = 1 Gbps Full, if driver has this option. Otherwise Auto

c. On the Virtual Switch interfaces

i. Virtual Machine Queues = enabled

ii. VMQ Lookahead Split = enabled

d. OK

8. When racking this server, connect all NICs to the switch and set switch ports as follows:

a. NIC1 = portfast (stp off), 1 gbps, full duplex, main production VLAN

b. NIC2 = portfast (stp off), 1 gbps, full duplex, main production VLAN

c. NIC3 = portfast (stp off), 1 gbps, full duplex, main production VLAN

d. NIC4 = portfast (stp off), 1 gbps, full duplex, main production VLAN

e. (no iSCSI storage is used in this setup, so no jumbo frame settings and no iSCSI-related

optimizations need to be set)

f. ILO1 = portfast (stp off), 100 mbps, full duplex, ILO/management VLAN