User Tools

Site Tools


virtualization:microsoft:hyper-v-nic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
virtualization:microsoft:hyper-v-nic [2013/08/20 14:27]
gcooper
virtualization:microsoft:hyper-v-nic [2014/07/08 12:04] (current)
gcooper
Line 1: Line 1:
 ====== Configuring Hyper-V Network Interfaces for Clustering ====== ====== Configuring Hyper-V Network Interfaces for Clustering ======
 +
 +See also **[[networking:windows:network_profiles|How to Change Current Network Location Profile]]**
  
 http://www.thomasmaurer.ch/2012/05/configure-hyper-v-host-network-adapters-like-a-boss/ http://www.thomasmaurer.ch/2012/05/configure-hyper-v-host-network-adapters-like-a-boss/
  
-http://www.thomasmaurer.ch/2012/04/windows-server-8-enable-csv-cache/+===== Converged Networking ===== 
 + 
 +http://www.aidanfinn.com/?p=12588 
 + 
 +http://www.altaro.com/hyper-v/teaming-and-mpio-for-storage-in-hyper-v-2012/ 
 + 
 +In Windows Server 2008 a host with local storage would require the following NICs as a //minimum//: 
 + 
 +  Parent (Management) 
 +  VM (for the Virtual Network, prior to the Virtual Switch) 
 +  Cluster Communications/CSV 
 +  Live Migration 
 + 
 +As the number of NICs proliferate: 
 + 
 +  The number/cost of NICs go up 
 +  - The number/cost of switch ports goes up 
 +  - The wasted rack space cost goes up 
 +  - The power bill goes up 
 +  - The support cost for your network goes up 
 +  - The complexity goes up
  
 ===== Basic Steps for Identical Hardware ===== ===== Basic Steps for Identical Hardware =====
Line 14: Line 36:
  
 ===== Possible Hyper-V NIC Names ===== ===== Possible Hyper-V NIC Names =====
 +
 +With four NICs:
  
   * Management   * Management
-  * VMNet +  * GuestPublic 
-  * CSV +  * BlockStorage 
-  * LiveMigration +  * FileStorage
-  * iSCSI01 +
-  * iSCSI02+
  
 ===== Rename a NIC ===== ===== Rename a NIC =====
Line 51: Line 73:
 #endregion #endregion
    
-$adapters = Get-WMIObject Win32_PNPSignedDriver | Where-Object { $_.DeviceClass -eq NET” -and $_.HardWareID -like *PCI*” } | Sort-Object location+$adapters = Get-WMIObject Win32_PNPSignedDriver | Where-Object { $_.DeviceClass -eq "NET-and $_.HardWareID -like "*PCI*} | Sort-Object location
      
 foreach ($adapter in $adapters ) { foreach ($adapter in $adapters ) {
Line 73: Line 95:
 </file> </file>
  
-===== Set-IPAddressfromXML.ps1 =====+===== Set-IPAddressFromXML.ps1 =====
  
 <file> <file>
Line 104: Line 126:
 #region [MAIN BLOCK] #region [MAIN BLOCK]
 #Get NIC list #Get NIC list
-$Adapters = Get-WMIObject Win32_PNPSignedDriver | where { $_.DeviceClass -eq NET” -and $_.HardWareID -like *PCI*} | Sort-Object location+$Adapters = Get-WMIObject Win32_PNPSignedDriver | where { $_.DeviceClass -eq "NET-and $_.HardWareID -like "*PCI*"} | Sort-Object location
      
 foreach ($Adapter in $Adapters ) { foreach ($Adapter in $Adapters ) {
Line 144: Line 166:
 <config> <config>
   <networkadapters>   <networkadapters>
-    <nic id="1" name="Management" static="true" ip="10.10.1.5" subnet="255.255.255.0" gateway="10.10.1.1" /> +    <nic id="1" name="Management" static="true" ip="10.10.1.8" subnet="255.255.255.0" gateway="10.10.1.1" /> 
-    <nic id="2" name="LiveMigration" static="true" ip="192.168.21.1" subnet="255.255.255.0" gateway="" /> +    <nic id="2" name="GuestPublic" static="true" ip="10.10.5.8" subnet="255.255.255.0" gateway="" /> 
-    <nic id="3" name="CSV" static="true" ip="192.168.22.1" subnet="255.255.255.0" gateway="" /> +    <nic id="3" name="BlockStorage" static="true" ip="10.10.9.8" subnet="255.255.255.0" gateway="" /> 
-    <nic id="4" name="TeamedAdapter01" static="false" ip="" subnet="" gateway="" /> +    <nic id="4" name="FileStorage" static="false" ip="10.10.10.8" subnet="255.255.255.0" gateway="" />
-    <nic id="5" name="TeamedAdapter02" static="false" ip="" subnet="" gateway="" /> +
-    <nic id="6" name="TeamedAdapter03" static="false" ip="" subnet="" gateway="" /> +
-    <nic id="7" name="ISCSI01" static="true" ip="10.10.21.1" subnet="255.255.255.0" gateway="" /> +
-    <nic id="8" name="ISCSI02" static="true" ip="10.10.22.1" subnet="255.255.255.0" gateway="" />+
   </networkadapters>      </networkadapters>   
 </config> </config>
 </file> </file>
virtualization/microsoft/hyper-v-nic.1377030421.txt.gz · Last modified: 2013/08/20 14:27 by gcooper