Professional Documents
Culture Documents
Updated: 9/15/2015
Hongjun Ma, HP DCA
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Table of contents
Introduction ............................................................................................................................................................................................... 3
Hyper-V Storage Configuration with 3PAR ........................................................................................................................................ 4
MPIO ..................................................................................................................................................................................................... 4
SCVMM 3PAR SMI-S Integration ..................................................................................................................................................... 5
Hyper-V 2012 R2 Networking Configuration with HP OneView ..................................................................................................11
Hyper-V 2012 R2 Converged Networking .................................................................................................................................11
SCVMM 2012 R2 Logical Switch ...................................................................................................................................................14
SCVMM Bare-metal Deployment with HP ProLiant Servers .........................................................................................................21
Importing PXE Server .....................................................................................................................................................................21
Configuring DHCP Scope Option ...................................................................................................................................................21
Configuring Windows Deployment Server .................................................................................................................................22
Preparing WinPE images with ProLiant Drivers ........................................................................................................................23
Configuring Physical Computer Profile .......................................................................................................................................25
Bare-Metal Hosts Deep Discovery ...............................................................................................................................................30
HP OneView for Microsoft System Center ........................................................................................................................................35
HP SCVMM 2012 Console Integration .........................................................................................................................................35
HP ProLiant SCVMM 2012 Integration ........................................................................................................................................40
HP Storage SCVMM 2012 Integration .........................................................................................................................................42
Conclusion ...............................................................................................................................................................................................44
Page 2
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Introduction
This document describes the deployment and design options for configuring Microsoft Hyper-V 2012 R2 clusters using HP
OneView, ProLiant Gen9 servers and 3PAR StoreServ storage. It also demonstrates the integration of HP OneView and 3PAR
integration with Microsoft System Center Virtual Machine Manager (SCVMM) 2012 R2.
The paper will focus on Hyper-V and SCVMM 2012R2 configuration in related to HP OneView and 3PAR storage array. The
document along with other Microsoft Hyper-V and SCVMM design and implementation papers will help customers to build HyperV and SCVMM in HP server and storage environment.
The hardware and software of components tested includes the following:
Infrastructure
Components
Products
Version
SPP 2015.06
SPP 2015.06
Server
2012 R2
Storage
3.2.1(MU2)P12
Networking
NX-OS 7.0(2)N1(1)
SAN Fabric
NX-OS 6.2(7)
Management S/W
Products
Version
Virtualization
Management
2012 R2 3.2.8071.0
Infrastructure
Management
1.20
Page 3
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
MPIO
With the configuration of FC zoning and 3PAR volume creation/export, users should also make sure MPIO feature is installed and
configured on Hyper-V hosts.
Besides Hyper-V server role pre-installed during OS setup, users should also add Windows Failover Clustering for virtual machine
high availability and Multipath IO (MPIO) features to SAN FC/iSCSI LUN redundant path access.
After MPIO feature is installed, users need to configure the new MPIO devices being discovered. This task should be implemented
after users set up 3PAR virtual volume and configured zoning on FC switches.
Without setting up MPIO, windows will see multiple presentations from a single LUN.
Page 4
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Users can use the traditional mpclaim cmdlets as below to configure MPIO devices. Windows 2012 R2 also offers the new
Powershell cmdlets including Get|New-MSDSMSupportedHW to configure MPIO devices. After the correct MPIO configuration
shown below, 3PAR volume should be presented with single entity.
Microsoft Multipath I/O (MPIO) is a framework that allows you to develop multipath solutions that contain the hardware-specific
information needed to optimize connectivity with your storage arrays. Microsoft MPIO supports different policies such as Fail Over
where the policy does not perform load balancing and Round Robin whereDevice Specific Module (DSM) will use all available paths
for MPIO in a balanced way.
HP 3PAR recommends Round Robin MPIO policy. Windows Server 2012, Windows Server 2012 R2, or Windows Server 2008 R2
servers do not need to change the multipath policy, as it defaults to Round Robin already.
The following steps highlight the procedure of adding 3PAR storage devices inside SCVMM.
Note:
Users should upgrade to latest SCVMM 2012R2 rolling update before trying to import 3PAR. As of today, the latest SCVMM
rolling update is up to patch 7. SCVMM version should be displayed as 3.2.8071.0 after the upgrade. SCVMM rolling
updates involved with applying patching to SCVMM server and console components. Some earlier patches need to apply
query scripts on the SQL server also. The detailed procedure is documented by Microsoft and out of the scope of this
white paper.
Page 5
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
In SCVMM 2012 R2 GUI Fabric view, click Add Resources to add storage devices
Page 6
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Users should provide 3PAR controller node management IP or hostname and choose the corresponding Run As account for
SCVMM to authenticate with 3PAR.
Users can create Run As Account as needed or go to SCVMM Settings section to review or create Run as accounts. The account
username and password should be one of 3PAR administrator accounts.
Page 7
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
3PAR array information will be displayed upon discovery. Users can also create SCVMM storage classification to apply for different
3PAR CPGs.
Page 8
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
With 3PAR array fully imported, Users can directly select storage pools and create logical units inside SCVMM.
Page 9
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Finally users can assign or create the logical units under SCVMM Host Group or Cluster configuration so the LUN can be formatted
as cluster shared volume.
Page 10
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Page 11
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
The enclosure virtual connect module uplink going to DC switches only have one tunnel network defined instead of many
separate host and VM VLANs. All host and VM traffic will be tunnel through this tunnel network.
Page 12
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
One single HP OneView Tunnel network below can carry all Hyper-V host and virtual machine traffic. Users dont need to spend
extra administrative time to make sure Blade I/O VLAN configuration matching TOR and host configuration.
Currently HP offers Flexfabric 650 adapter based on Emulex and Flexfabric 630 adapter based on Broadcom for 20G CNA options.
Hyper-V servers will show Ethernet adapter of 20G bps with teamed NIC of 40Gbps. Network traffic can use up to all these
bandwidth if FCOE is not consuming the physical link.
Page 13
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
To prepare creating a logical switch, users should start to define multiple Logical Networks for corresponding host MGMT, Live
migration, cluster and guest data traffic.
Page 14
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
To create a logical network, users can right click Logical Networks icon or use ribbon icon at the top left corner of the screen.
As shown in the next screen, when creating a new logical network, the option of One connected network was chosen to use
simple VLAN to segment different traffic. Leave the two options under One connected network unchecked as this is for host OS
traffic and no guest VM network virtualization (NVGRE) was planned for this demo. Also, a separate VM Network will be defined
later to map to this Logical Network.
Page 15
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Users can add a single network site to match host group and define corresponding VLAN and IP subnet for the logical network.
VLAN 0 was chosen for mgmt as its defined on TOR switch as native VLAN. Since OneView tunnel network was in use, users
need to make sure the VLAN settings on Hyper-V/SCVMM matching the ones defined on TOR switches. If OneView mapped
networks are configured in logical interconnect and server profile instead of tunnel network, then SCVMM logical network VLAN
defined below need to match OneView server profile network connection VLAN setting and TOR switch VLAN settings need to
match OneView Logical Uplink network VLAN settings.
A static IP pool can be created so SCVMM can assign the static IPs from the pool for the Hyper-V hosts attached to the network.
Page 16
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Live Migration, CSV and Guest data logical networks can also be defined. In the following example, we used VLAN 165 for Live
migration traffic.
With the logical networks and their associated network sites defined, users can create an uplink port profile to define which logical
networks will be included in a given uplink template. The default load balancing algorithm of Host Default and Teaming mode of
Switch Independent are recommended for HP OneView and Virtual Connect modules.
Page 17
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Users can pick which network site will be used for this uplink port profile
With uplink port profile defined, users can finally create the logical switch, which will be used for configuring Hyper-V hosts or bare
metal deployment.
In the logical switch, users need to select the uplink port profile to associate with the uplink definition.
Page 18
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
For virtual port classification like host MGMT, Live Migration, uses should create or select the existing template classification.
Page 19
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Finally, users should define VM Networks mapping to previous defined Logical Networks. The VM Networks will be associated with
Host virtual network adapter and guest virtual machines.
Page 20
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Page 21
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Without turning off the option, the PXE boot may fail with the error of Terminate transfer due to option negotiation in sniffer
capture.
Page 22
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
With the right WinPE driver embedded, the same network card should show as HP Flexfabric 650 card and the deep discovery
process was successfully finished.
Page 23
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
To add ProLiant drivers into the WinPE image, users can manually download drivers from HP Enterprise support portal. The
following example show HP FlexFabric 650 network driver.
Note:
Users should use OneView server profile to apply the related HP Service Pack for ProLiant (SPP) packet to the server for
corresponding firmware level support of the drivers.
Windows DISM tool is used build the new image and publish-scwindowspe Powershell cmdlet on SCVMM server to publish the
image back to WDS server deployment directory.
For complete procedure, user can refer to the Thomas Maurers blog article . The following example captured whats used in the
demo test.
$mountdir = "c:\mount"
$winpeimage = "c:\temp\boot.wim"
$winpeimagetemp = $winpeimage + ".tmp"
$path = "C:\Drivers"
mkdir "c:\mount"
copy $winpeimage $winpeimagetemp
dism /mount-wim /wimfile:$winpeimagetemp /index:1 /mountdir:$mountdir
dism /image:$mountdir /add-driver /driver:$path
Dism /Unmount-Wim /MountDir:$mountdir /Commit
publish-scwindowspe -path $winpeimagetemp
del $winpeimagetemp
Page 24
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Another Option is to leverage HP OneView SCVMM integration kit so all drivers are imported into SCVMM library and Powershell
scripts can match driver tag to import all related drivers into WinPE image. Please check the Mikael Nystroms blog article for
further details.
Note:
HP Insight Control for System Center product referred in the blog article was renamed to OneView for System Center
Page 25
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Users need to specify VHDX file will be used for system OS disk provisioning after WinPE process finished.
For converged networking configuration, the two CNA 20G ports would be teamed together using the Logical Switch and Uplink
Port Profile defined earlier.
In order for SCVMM to map Physical NIC #1 or #2 to the real hardware being discovered, users can leverage Consistent Device
Naming (CDN) if the servers support the feature (HP ProLiant BL460 Gen9 BIOS example below). Another option is to use NIC MAC
address and users should manually verify if SCVMM has mapped NIC correctly after SCVMM deep discovery if this option is chosen.
Page 26
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Three virtual network adapters on the hosts would be created on the host to map MGMT, Live Migration and Cluster network and
the host virtual network adapters will get static IP addresses assigned from the logical network pools defined earlier.
The next two screens showed MGMT virtual network adapter configuration.
Page 27
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
The next two screens showed Live Migration virtual network adapter configuration.
Page 28
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Another important component is driver options because the VHDX image is windows general OS image and users need to apply
HP drivers on top of the original windows OS image.
In order to import all related HP drivers, users should install HP ProLiant SCVMM 2012 Integration Kit into SCVMM library. The
integration kit will install all HP ProLiant windows drives along with tags so users can use driver tags available below to select the
right driver for the OS. HP ProLiant SCVMM 2012 Integration Kit will be discussed in more details in one of sections following.
Page 29
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Users need to provide a run as account for SCVMM to access HP iLO in order to issue IPMI commands for host rebooting and deep
discovery.
Page 30
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
For HP BladeSystem C7000, users can also utilize OA CLI and iLO RIBCL scripting to mass add/edit any iLO accounts. The following
OA CLI example adds an iLO user admin to all 16 blades.
HPONCFG all << end_marker
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<USER_INFO MODE="write">
<ADD_USER
USER_NAME="admin"
USER_LOGIN="admin"
PASSWORD="your password here">
<ADMIN_PRIV value ="Y"/>
<REMOTE_CONS_PRIV value ="Y"/>
<RESET_SERVER_PRIV value ="Y"/>
<VIRTUAL_MEDIA_PRIV value ="Y"/>
<CONFIG_ILO_PRIV value="Yes"/>
</ADD_USER>
</USER_INFO>
</LOGIN>
</RIBCL>
end_marker
Next step is to provide server iLO IP addresses. Its a good practice to use IP range option even though users only have one host to
discover because IP range option will give users the option to confirm the right host to be reloaded.
Page 31
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Page 32
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
If all previous DHCP, WDS and WinPE images are provisioned correctly, deep discovery should be successful and users should be
given the option to customize each host like hostname and verify network adapters mapping.
Because the server supports CDN, all NICs should have the correct mapping and SCVMM will team two physical NICs into the
logical switch configured and also created three virtual network adapters on the host for MGMT, Live Migration and Cluster.
Page 33
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Note:
Users should pay close attention to SCVMM DNS entry for the discovered host throughout the discovery and deployment
process when using converged networking with multiple NICs inside the teaming configuration. The reason is that physical
NICs may get different DHCP IPs during PXE booting and MGMT virtual adapter will be configured later from MGMT logical
network static IP. However the DNS server and SCVMM DNS cache may still have the hostname mapping to the previous
physical NIC DHCP IPs. This may cause deployment job fail. Users may choose to only select one physical NIC to be in the
team in physical computer profile or in deployment customization phase for the consistent DNS mapping.
Users can monitor status in the SCVMM job view and HP OneView Integrated iLO remote console while deployment is in the final
process of provisioning server disk and networking settings.
Page 34
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Page 35
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Users have the option to view all hosts inside C7000 enclosure and can launch server iLO directly from SCVMM.
Page 36
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Host LAN and SAN connection information are provided including MAC/WWPN and the network configured inside OneView.
End-to-End network topology from server to virtual connect to data center switches is provided using Fabric Diagram feature.
Page 37
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Working together with SCVMM bare metal deployment, OneView console integration provides a Deploy Server wizard to stream
line OneView profile and Hyper-V host deployment.
In deployment wizard, users can provision OneView server profile using server profile template and map OneView profile
connection settings with SCVMM Physical computer profile.
Page 38
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Page 39
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
The following capture showed SCVMM library was updated with the drivers and each driver also has meta-data attached like
custom tags. The drivers imported enable user to build up WinPE and system OS disks during SCVMM bare-metal host
deployment.
Page 40
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Page 41
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
The following capture shows the summary of cluster/host storage mapping information with 3PAR. The integration kit also
provides access link to HP StoreVirtual, StoreOnce and 3PAR management console.
Page 42
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Users can view individual volume details and have the option to expand the volume size.
Page 43
HP Proliant, OneView and 3PAR Deployment Guide with Microsoft Hyper-V and SCVMM 2012 R2
Conclusion
The paper demonstrates that HP OneView and 3PAR has tight integration with Microsoft SCVMM and hyper-V.
Multiple plugins are available for users with different administrative roles to configure and monitor Microsoft Hyper-V and SCVMM
environment.
Page 44