Advance network solutions
Chapter Objectives
- 9.1 Implement high-performance network solutions
- 9.2 Determine scenarios and requirements for implementing software-defined networking
Configuring NIC Teaming
NIC Teaming:
- Combines multiple network interfaces to increase available bandwidth.
- Load Balancing and Failover (LBFO):
- Distributes traffic improving overall throughput.
- Provides redundancy to recover from hardware failures.
Configuration:
- Use Server Manager or PowerShell for setup.
PowerShell Cmdlets:
Get-NetLbfoTeam- List NIC teams.New-NetLbfoTeam- Create and add adapters to a team.Remove-NetLbfoTeam- Delete a team.Rename-NetLbfoTeam- Rename a team.Set-NetLbfoTeam- Modify team properties.- To get help, use
get-help [cmdlet].
NIC Teaming Modes
Two Main Modes:
- Teaming Modes:
- Switch Independent: connects NICs to separate switches for fault tolerance.
- Static Teaming: primarily for load balancing.
- LACP: automatically identifies ports and creates teams dynamically.
Balancing Modes:
- Address Hash: hash value based on packet properties.
- Hyper-V Port: specifically for Hyper-V switches.
- Dynamic: default, balances traffic evenly among adapters.
NIC Teaming on Virtual Machines (VMs)
- Follows the same configuration process as physical machines.
- Enable NIC teaming in the Network Adapter’s Advanced Features dialog.
- Configure only on VMs connected to external switches; if configured on Hyper-V host, VMs don’t require separate configuration.
Implementing Switch Embedded Teaming (SET)
- SET:
- Allows up to 8 identical physical adapters as a team mapped to a virtual switch.
- Configuration Example:
New-VMSwitch -Name SETSwitch1 -NetAdapter Ethernet1, Ethernet2 -EnableEmbeddedTeaming $true- Supports RDMA; RDMA can be enabled via
Enable-NetAdapterRDMA.
Comparison: NIC Teaming vs. SET
- SET is bound to Hyper-V virtual switches; NIC teaming supports mixed NICs.
- SET requires identical NICs operating at the same speed; NIC teaming supports varied speeds.
- SET provides all NICs active for load balancing; NIC teaming can offer active/standby.
Configuring Data Center Bridging (DCB)
- DCB enhances correlations in enterprise data centers, improving iSCSI performance by managing network traffic efficiently.
- Configuration:
- Use
Add Roles and Features WizardorInstall-WindowsFeatureto set up. - Use commands like
Set-NetQoSDcbxSettingandEnable-NetAdapterQoSto manage settings.
- Use
Quality of Service (QoS) with DCB
- QoS: Prioritize different types of network traffic.
- Configuration Steps:
- Install DCB and enable it on NICs.
- Create QoS policies and traffic classes to define priorities.
Virtual Machine Queue (VMQ)
- Deliver packets directly to vNICs, reducing overhead and improving performance.
- Managed by enabling/disabling VMQ on each vNIC and can be fine-tuned to utilize CPU cores.
Receive Side Scaling (RSS)
- Distributes processing of incoming network traffic across CPU cores.
- Enable using
Enable-NetAdapterRSS; adjust settings withSet-NetAdapterRSS.
Software-Defined Networking (SDN)
- SDN: Centralizes management of network infrastructure (routers, switches). Key components include Hyper-V virtual switches.
- Advantages: centralized management and enhanced flexibility.
- Deployment Requirements: Windows Server 2016 Datacenter, RDMA-compatible NICs, DCB-compatible switches.
Hyper-V Network Virtualization (HNV)
- Decouples the virtual network from the physical, allowing live migration across subnets.
- Benefits: network isolation, supports cross-subnet migration, maintains existing infrastructure during moves.
Distributed Firewall Policies
- Manage firewall policies across virtual networks using Datacenter Firewall service.
- Enable tenant-defined firewall rules for flexible configuration.
Summary of Key Concepts
- NIC teaming increases bandwidth and provides failover.
- Switch Embedded Teaming (SET) integrates NICs with virtual switches for efficiency.
- Data Center Bridging (DCB) optimizes networking for enterprise scenarios.
- Quality of Service ensures priority management of network traffic.
- Software-Defined Networking enhances overall network management efficiency and security policies.