Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Module 5
Course Introduction
Introduction to Virtualization Creating Virtual Machines VMware vCenter Server Configuring and Managing Virtual Networks Configuring and Managing vSphere Storage Virtual Machine Management
Data Protection Access and Authentication Control Resource Management and Monitoring High Availability and Fault Tolerance Host Scalability Patch Management Installing VMware vSphere Components
5-2
2012 VMware Inc. All rights reserved
Importance
VMware vSphere ESXi networking features allow the following: Virtual machines to communicate with other virtual and physical machines Management of the ESXi host The VMkernel to access IP-based storage and perform VMware vSphere vMotion migrations Failure to properly configure ESXi networking can negatively affect virtual machine management and storage operations.
5-3
2012 VMware Inc. All rights reserved
Module Lessons
Lesson 1: Lesson 2:
5-4
2012 VMware Inc. All rights reserved
5-5
2012 VMware Inc. All rights reserved
Learner Objectives
After this lesson, you should be able to do the following: Define a virtual network. Describe a virtual switch. Describe the virtual switch connection types. Describe the components of a vNetwork standard switch. Create a vNetwork standard switch.
5-6
2012 VMware Inc. All rights reserved
A virtual network provides networking for hosts and virtual machines. A virtual switch:
Directs network traffic between virtual machines and links to external networks. Combines the bandwidth of multiple network adapters and balances traffic among them. It can also handle physical network interface card (NIC) failover. Models a physical Ethernet switch:
Virtual NIC
Virtual NIC
Virtual NIC
Physical NIC
vmnic0 vmnic1
A virtual machines NIC can connect to a port. Each uplink adapter uses one port.
5-7
2012 VMware Inc. All rights reserved
A virtual switch allows the following connection types: One or more virtual machine port groups VMkernel port:
For IP storage, vMotion migration, VMware vSphere Fault Tolerance For the ESXi management network
Production
Test Dev
DMZ
vMotion Management
5-8
2012 VMware Inc. All rights reserved
More than one network can coexist on the same virtual switch, or networks can exist on separate virtual switches.
5-9
2012 VMware Inc. All rights reserved
A virtual network supports two types of virtual switches: vNetwork standard switches:
Virtual switch configuration for a single host Discussed in this module Virtual switches that provide a consistent network configuration for virtual machines as they migrate across multiple hosts
5-10
2012 VMware Inc. All rights reserved
5-11
2012 VMware Inc. All rights reserved
5-12
2012 VMware Inc. All rights reserved
5-13
2012 VMware Inc. All rights reserved
For each physical adapter, speed and duplex can be changed. You might need to set the speed and duplex for certain NIC and switch combinations.
5-14
2012 VMware Inc. All rights reserved
VLANs
ESXi supports 802.1Q VLAN tagging. Virtual switch tagging is one of three tagging policies supported. Packets from a virtual machine are tagged as they exit the virtual switch. Packets are untagged as they return to the virtual machine. Affect on performance is minimal.
5-15
2012 VMware Inc. All rights reserved
Discuss VMware vSphere networking needs with your network administration team. Discuss the following issues: Number of physical switches Network bandwidth required Physical switch support for 802.3AD (for NIC teaming) Physical switch support for 802.1Q (for VLAN trunking) Network port security Cisco Discovery Protocol (CDP) and its operational modes: listen, broadcast, listen and broadcast, and disabled.
5-16
2012 VMware Inc. All rights reserved
Lab 5
In this lab, you will create a standard virtual switch and port group. 1. View the current standard virtual switch configuration. 2. Create a standard virtual switch with a virtual machine port group. 3. Attach your virtual machine to a virtual switch port group.
5-17
2012 VMware Inc. All rights reserved
You should be able to do the following: Define a virtual network. Describe a virtual switch. Describe the virtual switch connection types. Describe the components of a vNetwork standard switch. Create a vNetwork standard switch.
5-18
2012 VMware Inc. All rights reserved
5-19
2012 VMware Inc. All rights reserved
Learner Objectives
After this lesson, you should be able to describe the security properties of a standard virtual switch port group: Security Traffic shaping NIC teaming policies
5-20
2012 VMware Inc. All rights reserved
Network Policies
Three network policies: Security Traffic shaping NIC teaming Policies are defined: At the standard virtual switch level:
Default policies for all the ports on the standard virtual switch Effective policies: Policies defined at this level override the default policies set at the standard virtual switch level.
5-21
2012 VMware Inc. All rights reserved
Security Policy
Administrators can configure layer 2 Ethernet security options at the standard virtual switch and at the port groups.
5-22
2012 VMware Inc. All rights reserved
Traffic-Shaping Policy
Network traffic shaping is a mechanism for controlling a virtual machines network bandwidth. Average rate, peak rate, and burst size are configurable.
5-23
2012 VMware Inc. All rights reserved
Traffic shaping is disabled by default. Parameters apply to each virtual NIC in the standard virtual switch. On a standard switch, traffic shaping controls outbound traffic only.
5-24
2012 VMware Inc. All rights reserved
NIC Teaming settings: Load Balancing (outbound only) Network Failure Detection Notify Switches Failback Failover Order
5-25
2012 VMware Inc. All rights reserved
virtual switch
physical switch
virtual NICs
VMware vSphere: Install, Configure, Manage Revision A
physical NICs
5-26
2012 VMware Inc. All rights reserved
Internet
virtual switch
physical switch
virtual NICs
physical NICs
5-27
2012 VMware Inc. All rights reserved
Internet
virtual switch
physical switch
virtual NICs
physical NICs
5-28
2012 VMware Inc. All rights reserved
Network failure is detected by the VMkernel, which monitors: Link state only Link state, plus beaconing Switches can be notified whenever: A failover event occurs A new virtual NIC is connected to the virtual switch Failover implemented by the VMkernel based on configurable parameters: Failback:
How physical adapter is returned to active duty after recovering from failure
Load-balancing option:
Use explicit failover order. Always use the highest order uplink from the list of active adapters that pass failover detection criteria.
5-29
2012 VMware Inc. All rights reserved
You should be able to describe the security properties of a standard virtual switch port group: Security Traffic shaping NIC teaming policies
5-30
2012 VMware Inc. All rights reserved
Key Points
There are two connection types on a virtual switch: virtual machine and VMkernel. A standard virtual switch is a virtual switch configuration for a single host. Network policies set at the standard virtual switch level can be overridden at the port group level.
Questions?
5-31
2012 VMware Inc. All rights reserved