SlideShare une entreprise Scribd logo
1  sur  69
Télécharger pour lire hors ligne
vSphere Networking and vCloud Networking Suite
Best Practices and Troubleshooting
Richard Cockett, VMware
Umesh Goyal, VMware Software India Pvt ltd
VSVC5103
#VSVC5103
22
Agenda – vSphere Networking
 Anatomy of Virtual Network
 Basics of Virtual Networking
 Teaming - Redundancy and Load Balancing
 VLAN Implementation
 Distributed Virtual Network
 Network IO Control
 Configuration Best Practices
33
Anatomy of Virtual Networking
Service
Console
Physical
Network
VM0 VM1 VM2 VM3
ESX/ESXi Host
vmkernel
Port Group
Virtual NIC (vnic)
Physical NIC
(vmnic or pnic)
Physical switch
Service Console
(vswif)
Vmkernel
(vmknic)
Uplinks
vSwitch
NIC Teams
44
vNetwork Concepts
 Virtual Network Adapters
• vNic – VM’s interface to the network
• vmknic – vSphere hypervisor’s interface to network (nfs, iSCSI, vMotion, FT,
Management)
• vswif – Interface for Service Console (not present on ESXi)
 Physical Network Adapter
• pNic – for communicating with entities outside ESX/ESXi host
 Virtual Switch
• vSwitch – forwards packets between vNics, vmknics, and pNics
 Port Group
• Group of ports sharing the same configuration (e.g. vlan)
 Uplinks: connections to physical switches
 NIC Team: a group of pNics connected to the same physical
network
55
Three Types of Virtual Switches
 vNetwork Standard Switch (vSS)
• Created and managed on a per-host basis
• Support basic features such as VLAN, NIC teaming, port security
 vNetwork Distributed Switch (vDS)
• Created and managed at vSphere vCenter
• Supports all vSS features and more (PVLAN, traffic management, etc.)
• NOTE: vSS/vDS share same etherswitch module, only control path differ
 Cisco Nexus 1000v (N1K)
• Created and managed by VSM (either VM or hardware/Nexus 1010)
• Supports features typically available in Cisco hardware switches
66
ESX/ESXi Network Traffic - Classification
 Virtual Machine Traffic
• Traffic sourced and received from virtual machine(s)
• Isolated from each other
 VMotion Traffic
• Traffic sent when moving a virtual machine from one ESX/ESXi host to another
• Must be dedicated and isolated
 Management Traffic
• Should be isolated from VM traffic
• If VMware HA is enabled, includes heartbeats
 IP Storage Traffic—NFS, iSCSI
• If using the software iSCSI initiator
• FT Traffic
• Should be isolated completely
• Generally heavy I/O’s and low latency (< 1 ms)
77
NIC Teaming
88
Load Balancing - Originating Virtual Port ID Based
Default mode, distributes load on a per vnic basis
Physical switches not aware/involved
Virtual
NICs
VM ports
uplink ports
Teamed
physical
NICs
99
Load Balancing - MAC Based Teaming
Distributes load on a source MAC hash basis
Physical switches not aware/involved
VM ports
uplink ports
Virtual
NICs
Teamed
physical
NICs
1010
Load Balancing - IP Hash Based
Distributes load on a per SRC IP/DST IP basis (hash)
Requires Portchannel/Etherchannel on physical switches
VM ports
uplink ports
Virtual
NICs
Teamed
physical
NICs
PM0 PM2PM1
SRC IP “A”
DST IP “D” DST IP “E” DST IP “F”
SRC IP “B” SRC IP “C”
1111
Load Based Teaming
 Introduced in vSphere 4.1
 Only traffic-load-aware teaming policy
 Supported only with the vNetwork Distributed Switch (vDS)
 Reshuffles the port binding dynamically
 Only move a flow when the mean send or receive utilization on an
uplink exceeds 75% of capacity
 Default Change over time is 30 Seconds
 In combination with VMware Network IO Control (NetIOC), LBT
offers a powerful solution
Refer:
http://blogs.vmware.com/performance/2010/12/vmware-load-based-
teaming-lbt-performance.html
11
1212
VLAN Implementation
1313
VLAN Tagging Options
vnic
vnic
vnic
vSwitch
Physical Switch
vnic
vnic
vnic
vSwitch
Physical Switch
vnic
vnic
vnic
vSwitch
Physical Switch
VST – Virtual Switch Tagging VGT – Virtual Guest Tagging EST – External Switch Tagging
VLAN Tags
applied in
vSwitch
VLAN Tags
applied in
Guest
PortGroup
set to VLAN
“4095”
External Physical
switch applies
VLAN tagsVST is the preferred and
most common method
Port
Groups
assigned
to a VLAN
1414
vNetwork Distributed Switch
1515
Distributed Virtual Network (vNetwork)
vCentervCenter
Standard vSwitch vNetwork & dvSwitch
1616
vDistributed Switch Architecture
 Control Plane (CP) and Data Plane, or IP Plane are separated.
• CP, responsible for configuring dvSwitches,dvPortgroups, dvPorts, Uplinks,
NICTeaming and so on, and for coordinating the migration of the ports, runs on
vCenter
• DP, responsible for performing the forwarding, runs inside the VMKernel of the
ESX/ESXi (vSwitch).
vCenter
ESX ESX ESX
Distributed vSwitch
vSwitch vSwitch vSwitch
Distributed vSwitch
vSwitch
Control Plane
I/O Plane
1717
vSwitch vs DVSwitch Vs Cisco N1K
17
Capabilities vSwitch dvSwitch Cisco N1K
L2 Switch Yes Yes Yes
VLAN Segmentation Yes Yes Yes
802.1Q Tagging Yes Yes Yes
Link Aggregation Static Static & LACP Static & LACP
TX Rate Limiting Yes Yes Yes
RX Rate Limiting No Yes Yes
Unified Management
Interface
vSphere Client
@Host
vSphere Client
@Vcenter
Cisco CLI
PVLAN No Yes Yes
Network I/O Control No Yes Yes
Port Mirroring No Yes Yes
SNMP, Netflow, etc. No Yes Yes
Load Based Teaming No Yes No
1818
Network IO Control
1919
Introduction
vSphere Network IO Control prioritize network access by continuously
monitoring I/O load over the network and dynamically allocating available I/O
resources according to specific business needs
2020
NIOC at a Glance
Improve and meet service levels for business-critical applications
 Reduces the amount of active performance management required
 Bridge virtual and physical infrastructure quality of service with per resource
802.1 tagging
 Set, view and monitor network resource shares and limits
Optimize your workloads
 Virtualize more types of workloads, including I/O-intensive business-critical
applications
 Ensure that each cloud tenant gets their assigned share of I/O resources
 Set and enforce network priorities (per VM) across a cluster
Increase flexibility and agility of your infrastructure
 Reduce your need for network interfaces dedicated to a single virtual machine or
application
 Enable multi-tenancy deployments
2121
Features
 Isolation
 Shares
 Limits
 Load-Based Teaming
 IEEE 802.1p tagging
2222
Network Traffic Classifications
 vMotion
 iSCSI
 FT logging
 Management
 NFS (Network File System)
 Virtual machine traffic
 vSphere Replication traffic
 User Defined
2323
Configuration Best Practices
2424
Choosing the Type of Switch
 Size of your deployment
• If you have a small deployment and need basic network connectivity, vSS
should be sufficient
• If you have a large deployment, consider vDS/N1K
 Organizational
• If you have a group which controls both VM deployment and network
provisioning, then choose vSS/vDS (integrated control via vSphere Client UI)
• If you have a separate network admin group, trained on Cisco IOS CLI, and
wishes to maintain control over virtual and physical networking, then
choose N1K
 Other factors
• Budget – vDS/N1K requires Enterprise+ License
• Features – vSS features are frozen, vDS features are evolving (ask Cisco
about N1K)
2525
Configuration Best Practices: #1
 Enable on Physical Switch Ports
• Spanning Tree Protocol- Loop avoidance mechanism
• PortFast- Fast convergence after failure
• Link State tracking-Detection of upstream ports(on Cisco switches)
• Enable BPDU Guard
 Validate
• Duplex settings
• NIC Hardware status
• Link status
• Switch Port status
• Switch Port Configuration
• “Jumbo Frames Configuration”
 Ensure adequate CPU resources are available
• Heavy gigabit networking loads are CPU-intensive
• Both native and virtualized
2626
Enabling Jumbo Frame
 Physical Switches
• Set MTU to desired value on all switches in the network
 Virtual Switch
• For vDS set MTU on UI
• For vSS, run esxcfg-vswitch –m
 Physical Adapter
• MTU set automatically as part of vSwitch setting. Check for errors!
 Virtual Adapter
• Change vNic MTU inside the guest
• Run esxcfg-vmknic –m to set MTU of vmknic
 Ping Test
• Make sure you specify don’t fragment
2727
Configuration Best Practices: #2
 Use separate Networks to avoid contention
• For Console OS (host management traffic), VMKernel (VMotion, iSCSI, NFS
traffic), and VM
• For VMs running heavy networking workloads
• Enable BPDU Guard?
• With explicit failover, Set Failback = ‘No’ to avoid the flapping of traffic between
two network adapters
 Tune VM-to-VM networking on same host
• Use same virtual switch to connect communicating VMs
• Avoid buffer overflow in guest driver: Tune receive/transmit buffers (Refer KB:
1428)
 Use vmxnet3 virtual device in guest
• Default 32-bit guest vNIC is vlance, but vmxnet3 performs better
• For vmxnet3 driver install tools
• e1000 is the default for 64-bit guests
• Enhanced vmxnet3 is available for several guest OSes
2828
Configuration Best Practices: #3
Converge Network and Storage I/O onto 10GE
• Reduce cabling requirements
• Simplify management and reduce cost
Tools for Traffic Management
1. Traffic Shaping
• Limit the amount of traffic a vNic may send / receive
2. Network I/O Control (vDS + vSphere 4.1)
• Isolate different traffic class from each other
• Each type of traffic is guaranteed a shared of the pNic bandwidth
• Unused bandwidth are automatically distributed to other traffic types
2929
vCloud Networking and Security –
Best practices and Troubleshooting
Global Support Services
3030
Agenda
 Best Practices for vCloud Networking and Security ( vCNS )
 VXLAN
 When to use App vs Edge or both
 Troubleshooting vCNS
3131
Best Practices for vCNS Manager . . .
 Install on dedicated management cluster
 Run on ESX host unaffected by downtime
 Network interfaces placed in common network
 Backup regularly
 Ensure NTP is setup and working
31
3232
. . . Best Practices for vCNS Manager
 Change Admin password after install
 Create new admin account for CLI
 Prior to upgrade backup DB and clone / snapshot manager
32
3333
Best Practice for vCNS App FW Deployments
 Migrate vCenter server / database VMs to alternate ESX server
 Set unique IP for the management port of each vShield App
 Install VMware Tools on each VM
 Use System Status screen to monitor health of a App FW
33
3434
App FW Policy Management . . .
 Use vCenter containers and security groups for enforcement
 Use service groups to reduce rules
 Know when to use General / Ethernet rules
 Set the Fail Safe Mode to Block
 Utilize Flow Monitoring
34
3535
. . . App FW Policy Management
 Create firewall rules allowing access to default services
 Use different syslog servers for different log levels
 Use the comments fields
 Use the Load History option to revert configuration
 Exclude machines when necessary
35
3636
Virtual eXtensible LAN
3737
VXLAN Setup - Physical Requirements
 DHCP available on VXLAN transport VLANs
 Increased MTU needed to accommodate VXLAN encapsulation
overhead
 Leverage 5-tuple hash distribution for uplink and interswitch LACP
 Multicast routing enabled if traffic is traversing a router
3838
VXLAN Setup - Virtual Requirements
 vSphere 5 .1
 vShield Manager 5 .1
 vSphere Distributed Switch 5 .1 .0
 Virtual Tunnel End Point (VTEP)
38
3939
VXLAN Implementation
39
4040
 When to use vShield Edge or vShield App or both?
40
DMZ Development Finance
4141
vShield App
4242
vShield Edge
4343
vShield App and Edge
4444
Use Case - Securing Business Critical Applications
DMZ
FinanceDevelopment
FinanceDevelopment
Solution - vShield App + Edge
• Protect data and applications with hypervisor level
firewall
• Create and enforce security policies with virtual
machine migration
• Facilitate compliance by monitoring all application traffic
• Improve performance and scalability with load balancer
and software based solution
Requirements
• Deploy production and development applications in a
shared infrastructure with:
• Traffic segmentation between applications
• Authorized access to applications
• Strict monitoring and enforcement of rules on inter-
VM communications
• Ability to maintain security policies with VM
movement
• Compliance to various audit requirements
VMware
vShield App
4545
 Multiple sizes (Compact, Large, X-Large)
 Up to 10 interfaces per vShield Edge
 DHCP, NAT, and DNS relay
 Firewall support
 Load Balancing
 IPsec and SSL VPN-Plus
 VXLAN Gateway
 Routing (static routes)
 High Availability
 Flexible IP address management
 Intuitive deployment workflow
 CLI
vShield Edge
Secure the Edge of the Virtual Data Center
Tenant A Tenant X
Highlights
Load balancer
firewall
VPN
4646
Edge Scalability
46
4747
vShield App
Application Protection for Network Based Threats
DMZ PCI HIPAA
Features
• Hypervisor-level firewall
• Inbound, outbound connection control applied at
vNIC level
• Elastic security groups - “stretch” as virtual machines
migrate to new hosts
• Robust flow monitoring
• Policy Management
• Simple and business-relevant policies
• Managed through UI or REST APIs
• Logging and auditing based on industry standard
syslog format
4848
Troubleshooting –
vCloud Networking and Security
4949
VXLAN Issue #1 – “Not Ready” Shown in vCNS UI
49
BypassVUMenabled is not set to “false” in EAM
Managed IP is not set in vCenter
5050
Verify VXLAN Agency Settings . . .
 Access the EAM managed object browser
 Verify the VXLAN agency has the bypassVumEnabled set to FALSE
50
5151
. . . Verify VXLAN Agency . . .
 Access vCenter EAM Managed Object Browser
http://vcenter51.vmware.local/eam/mob/
5252
. . . Verify VXLAN Agency Settings . . .
5353
. . . Verify VXLAN Agency Settings . . .
5454
. . . Verify VXLAN Agency Settings
5555
Alter the bypassVumEnabled Setting . . .
55
5656
. . . Alter the bypassVumEnabled Setting . . .
• Visit the following URL: https://<VC-IP>/eam/mob/?moid=agency-
0&method=Update
• The value will be set to the desired setting “true” or “false”
• Once the XML data is filled in, click the “Invoke Method” link.
56
5757
. . . Alter the bypassVumEnabled Setting
57
5858
Managed IP not set in vCenter . . .
• In eam.log you see a smilar error:
 <msg>('http://vCenter1.vmware.com:80/eam/vib?id=8e840536-1855-
4c7e-81bd-8814b43f8ee0-0', '/tmp/tmpjzGgUU', '[Errno 4] IOError:
&lt;urlopen error [Errno -2] Name or service not known&gt;')</msg>
• vCenter FQDN is being used which does not work to install VXLAN agent
on ESX host
58
5959
. . . Managed IP Not Set in vCenter . . .
6060
. . . Managed IP Not Set in vCenter . . .
6161
. . . Managed IP Not Set in vCenter . . .
6262
. . . Managed IP Not Set in vCenter
62
6363
VXLAN issue #2 – “class domain-cX already has been configured with
mapping
• Download the curl command if needed from the internet
 Run the following command on command line
• curl -i -k -H "Content-type: application/xml" -u admin:default -X
DELETE https://<vsm-ip>/api/2.0/vdn/map/cluster/<domain-
cXXX>/switches/dvs
63
6464
Edge/App debug packet
 Enable debug packet mode though the App/Edge CLI
debug packet display interface (interface) [Expression]
Example
vShield# debug packet display interface mgmt
host_10.10.11.11_and_port_80
64
6565
Questions ??
6666
Other VMware Activities Related to This Session
 HOL:
HOL-SDC-1302
vSphere Distributed Switch from A to Z
 Group Discussions:
VSVC1004-GD
Top 10 Customer Support Issues with Josh Gray
THANK YOU
vSphere Networking and vCloud Networking Suite
Best Practices and Troubleshooting
Richard Cockett, VMware
Umesh Goyal, VMware Software India Pvt ltd
VSVC5103
#VSVC5103

Contenu connexe

Tendances

NET4933_vDS_Best_Practices_For_NSX_Francois_Tallet_Shahzad_Ali
NET4933_vDS_Best_Practices_For_NSX_Francois_Tallet_Shahzad_AliNET4933_vDS_Best_Practices_For_NSX_Francois_Tallet_Shahzad_Ali
NET4933_vDS_Best_Practices_For_NSX_Francois_Tallet_Shahzad_Ali
shezy22
 
SEC8022_Securing_SDDC_NSX_Hammad_Shahzad
SEC8022_Securing_SDDC_NSX_Hammad_ShahzadSEC8022_Securing_SDDC_NSX_Hammad_Shahzad
SEC8022_Securing_SDDC_NSX_Hammad_Shahzad
shezy22
 
NSX Reference Design version 3.0
NSX Reference Design version 3.0NSX Reference Design version 3.0
NSX Reference Design version 3.0
Doddi Priyambodo
 
VSAN-VMWorld2015-Rev08
VSAN-VMWorld2015-Rev08VSAN-VMWorld2015-Rev08
VSAN-VMWorld2015-Rev08
Nelson Fonseca
 

Tendances (20)

vVMworld 2013: Deploying, Troubleshooting, and Monitoring VMware NSX Distribu...
vVMworld 2013: Deploying, Troubleshooting, and Monitoring VMware NSX Distribu...vVMworld 2013: Deploying, Troubleshooting, and Monitoring VMware NSX Distribu...
vVMworld 2013: Deploying, Troubleshooting, and Monitoring VMware NSX Distribu...
 
NET4933_vDS_Best_Practices_For_NSX_Francois_Tallet_Shahzad_Ali
NET4933_vDS_Best_Practices_For_NSX_Francois_Tallet_Shahzad_AliNET4933_vDS_Best_Practices_For_NSX_Francois_Tallet_Shahzad_Ali
NET4933_vDS_Best_Practices_For_NSX_Francois_Tallet_Shahzad_Ali
 
SEC8022_Securing_SDDC_NSX_Hammad_Shahzad
SEC8022_Securing_SDDC_NSX_Hammad_ShahzadSEC8022_Securing_SDDC_NSX_Hammad_Shahzad
SEC8022_Securing_SDDC_NSX_Hammad_Shahzad
 
VMworld 2017 Core Storage
VMworld 2017 Core StorageVMworld 2017 Core Storage
VMworld 2017 Core Storage
 
NSX-MH
NSX-MHNSX-MH
NSX-MH
 
#NET5488 - Troubleshooting Methodology for VMware NSX - VMworld 2015
#NET5488 - Troubleshooting Methodology for VMware NSX - VMworld 2015#NET5488 - Troubleshooting Methodology for VMware NSX - VMworld 2015
#NET5488 - Troubleshooting Methodology for VMware NSX - VMworld 2015
 
VMware NSX + Cumulus Networks: Software Defined Networking
VMware NSX + Cumulus Networks: Software Defined NetworkingVMware NSX + Cumulus Networks: Software Defined Networking
VMware NSX + Cumulus Networks: Software Defined Networking
 
VMworld 2017 - Top 10 things to know about vSAN
VMworld 2017 - Top 10 things to know about vSANVMworld 2017 - Top 10 things to know about vSAN
VMworld 2017 - Top 10 things to know about vSAN
 
VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design VMworld 2017 vSAN Network Design
VMworld 2017 vSAN Network Design
 
VMware NSX and Arista L2 Hardware VTEP Gateway Integration
VMware NSX and Arista L2 Hardware VTEP Gateway IntegrationVMware NSX and Arista L2 Hardware VTEP Gateway Integration
VMware NSX and Arista L2 Hardware VTEP Gateway Integration
 
Network and Service Virtualization tutorial at ONUG Spring 2015
Network and Service Virtualization tutorial at ONUG Spring 2015Network and Service Virtualization tutorial at ONUG Spring 2015
Network and Service Virtualization tutorial at ONUG Spring 2015
 
NSX Reference Design version 3.0
NSX Reference Design version 3.0NSX Reference Design version 3.0
NSX Reference Design version 3.0
 
VMworld 2013: Designing Network Virtualization for Data-Centers: Greenfield D...
VMworld 2013: Designing Network Virtualization for Data-Centers: Greenfield D...VMworld 2013: Designing Network Virtualization for Data-Centers: Greenfield D...
VMworld 2013: Designing Network Virtualization for Data-Centers: Greenfield D...
 
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
VMworld 2016: Advances in Remote Display Protocol Technology with VMware Blas...
 
VMworld 2013: Extreme Performance Series: Network Speed Ahead
VMworld 2013: Extreme Performance Series: Network Speed Ahead VMworld 2013: Extreme Performance Series: Network Speed Ahead
VMworld 2013: Extreme Performance Series: Network Speed Ahead
 
VSAN-VMWorld2015-Rev08
VSAN-VMWorld2015-Rev08VSAN-VMWorld2015-Rev08
VSAN-VMWorld2015-Rev08
 
Understanding network and service virtualization
Understanding network and service virtualizationUnderstanding network and service virtualization
Understanding network and service virtualization
 
NSX, API, Automation and Unicorns
NSX, API, Automation and UnicornsNSX, API, Automation and Unicorns
NSX, API, Automation and Unicorns
 
VMware vSAN - Novosco, June 2017
VMware vSAN - Novosco, June 2017VMware vSAN - Novosco, June 2017
VMware vSAN - Novosco, June 2017
 
2017 VMUG Storage Policy Based Management
2017 VMUG Storage Policy Based Management2017 VMUG Storage Policy Based Management
2017 VMUG Storage Policy Based Management
 

En vedette

The Architecture Of V Mware Es Xi
The Architecture Of V Mware Es XiThe Architecture Of V Mware Es Xi
The Architecture Of V Mware Es Xi
Rishi Sharma
 
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark TestingVMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
Symantec
 
SQL Server Clustering for Dummies
SQL Server Clustering for DummiesSQL Server Clustering for Dummies
SQL Server Clustering for Dummies
Mark Broadbent
 

En vedette (9)

The Architecture Of V Mware Es Xi
The Architecture Of V Mware Es XiThe Architecture Of V Mware Es Xi
The Architecture Of V Mware Es Xi
 
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark TestingVMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
 
Alcatel-Lucent Webinar Pod & Mesh für Data Center mit OmniSwitch
Alcatel-Lucent Webinar Pod & Mesh für Data Center mit OmniSwitchAlcatel-Lucent Webinar Pod & Mesh für Data Center mit OmniSwitch
Alcatel-Lucent Webinar Pod & Mesh für Data Center mit OmniSwitch
 
Default and On demand routing - Advance Computer Networks
Default and On demand routing - Advance Computer NetworksDefault and On demand routing - Advance Computer Networks
Default and On demand routing - Advance Computer Networks
 
SQL Server Clustering for Dummies
SQL Server Clustering for DummiesSQL Server Clustering for Dummies
SQL Server Clustering for Dummies
 
Chapter 06 - Static Routing
Chapter 06 - Static RoutingChapter 06 - Static Routing
Chapter 06 - Static Routing
 
Alcatel-Lucent Enterprise Hospitality Solutions
Alcatel-Lucent Enterprise Hospitality SolutionsAlcatel-Lucent Enterprise Hospitality Solutions
Alcatel-Lucent Enterprise Hospitality Solutions
 
Virtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMwareVirtualization 101: Everything You Need To Know To Get Started With VMware
Virtualization 101: Everything You Need To Know To Get Started With VMware
 
IP Routing Tutorial
IP Routing TutorialIP Routing Tutorial
IP Routing Tutorial
 

Similaire à VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices and Troubleshooting

Atf 3 q15-4 - scaling the the software driven cloud network
Atf 3 q15-4 - scaling the the software driven cloud networkAtf 3 q15-4 - scaling the the software driven cloud network
Atf 3 q15-4 - scaling the the software driven cloud network
Mason Mei
 
vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01
vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01
vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01
Chrysostomos Christofi
 
Net1674 final emea
Net1674 final emeaNet1674 final emea
Net1674 final emea
VMworld
 

Similaire à VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices and Troubleshooting (20)

VMworld 2013: Advanced VMware NSX Architecture
VMworld 2013: Advanced VMware NSX Architecture VMworld 2013: Advanced VMware NSX Architecture
VMworld 2013: Advanced VMware NSX Architecture
 
VXLAN Practice Guide
VXLAN Practice GuideVXLAN Practice Guide
VXLAN Practice Guide
 
Network policies
Network policiesNetwork policies
Network policies
 
Inf net2227 heath
Inf net2227 heathInf net2227 heath
Inf net2227 heath
 
PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...
PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...
PLNOG16: VXLAN Gateway, efektywny sposób połączenia świata wirtualnego z fizy...
 
VMworld 2013: Operational Best Practices for NSX in VMware Environments
VMworld 2013: Operational Best Practices for NSX in VMware Environments VMworld 2013: Operational Best Practices for NSX in VMware Environments
VMworld 2013: Operational Best Practices for NSX in VMware Environments
 
VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2
 
VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2VMware vSphere 6.0 - Troubleshooting Training - Day 2
VMware vSphere 6.0 - Troubleshooting Training - Day 2
 
Atf 3 q15-4 - scaling the the software driven cloud network
Atf 3 q15-4 - scaling the the software driven cloud networkAtf 3 q15-4 - scaling the the software driven cloud network
Atf 3 q15-4 - scaling the the software driven cloud network
 
Nexus 1000_ver 1.1
Nexus 1000_ver 1.1Nexus 1000_ver 1.1
Nexus 1000_ver 1.1
 
VMworld 2013: An Introduction to Network Virtualization
VMworld 2013: An Introduction to Network Virtualization VMworld 2013: An Introduction to Network Virtualization
VMworld 2013: An Introduction to Network Virtualization
 
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
VMworld 2014: Advanced Topics & Future Directions in Network Virtualization w...
 
VMworld 2015: VMware NSX Deep Dive
VMworld 2015: VMware NSX Deep DiveVMworld 2015: VMware NSX Deep Dive
VMworld 2015: VMware NSX Deep Dive
 
vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01
vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01
vmwarenetworkingnexus1000vm-fex-v2-140125071045-phpapp01
 
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della SicurezzaNSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
NSX: La Virtualizzazione di Rete e il Futuro della Sicurezza
 
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
 
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco InfrastructureVMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
VMworld 2016: How to Deploy VMware NSX with Cisco Infrastructure
 
VMworld 2013: Bringing Network Virtualization to VMware Environments with NSX
VMworld 2013: Bringing Network Virtualization to VMware Environments with NSX VMworld 2013: Bringing Network Virtualization to VMware Environments with NSX
VMworld 2013: Bringing Network Virtualization to VMware Environments with NSX
 
Net1674 final emea
Net1674 final emeaNet1674 final emea
Net1674 final emea
 
VMware vSphere 6.0 - Troubleshooting Training - Day 3
VMware vSphere 6.0 - Troubleshooting Training - Day 3 VMware vSphere 6.0 - Troubleshooting Training - Day 3
VMware vSphere 6.0 - Troubleshooting Training - Day 3
 

Plus de VMworld

Plus de VMworld (20)

VMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep DiveVMworld 2016: vSphere 6.x Host Resource Deep Dive
VMworld 2016: vSphere 6.x Host Resource Deep Dive
 
VMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for HorizonVMworld 2016: Troubleshooting 101 for Horizon
VMworld 2016: Troubleshooting 101 for Horizon
 
VMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSXVMworld 2016: Advanced Network Services with NSX
VMworld 2016: Advanced Network Services with NSX
 
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI AutomationVMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
 
VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7VMworld 2016: What's New with Horizon 7
VMworld 2016: What's New with Horizon 7
 
VMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep DiveVMworld 2016: Virtual Volumes Technical Deep Dive
VMworld 2016: Virtual Volumes Technical Deep Dive
 
VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations! VMworld 2016: The KISS of vRealize Operations!
VMworld 2016: The KISS of vRealize Operations!
 
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
VMworld 2016: Getting Started with PowerShell and PowerCLI for Your VMware En...
 
VMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts PanelVMworld 2016: Ask the vCenter Server Exerts Panel
VMworld 2016: Ask the vCenter Server Exerts Panel
 
VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way! VMworld 2016: Virtualize Active Directory, the Right Way!
VMworld 2016: Virtualize Active Directory, the Right Way!
 
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
VMworld 2016: Migrating from a hardware based firewall to NSX to improve perf...
 
VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6VMworld 2015: Troubleshooting for vSphere 6
VMworld 2015: Troubleshooting for vSphere 6
 
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
VMworld 2015: Monitoring and Managing Applications with vRealize Operations 6...
 
VMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphere
 
VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!VMworld 2015: Virtualize Active Directory, the Right Way!
VMworld 2015: Virtualize Active Directory, the Right Way!
 
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
VMworld 2015: Site Recovery Manager and Policy Based DR Deep Dive with Engine...
 
VMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SANVMworld 2015: Building a Business Case for Virtual SAN
VMworld 2015: Building a Business Case for Virtual SAN
 
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes ConfigurationsVMworld 2015: Explaining Advanced Virtual Volumes Configurations
VMworld 2015: Explaining Advanced Virtual Volumes Configurations
 
VMworld 2015: Virtual Volumes Technical Deep Dive
VMworld 2015: Virtual Volumes Technical Deep DiveVMworld 2015: Virtual Volumes Technical Deep Dive
VMworld 2015: Virtual Volumes Technical Deep Dive
 
VMworld 2015: Networking Virtual SAN's Backbone
VMworld 2015: Networking Virtual SAN's BackboneVMworld 2015: Networking Virtual SAN's Backbone
VMworld 2015: Networking Virtual SAN's Backbone
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Dernier (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

VMworld 2013: vSphere Networking and vCloud Networking Suite Best Practices and Troubleshooting

  • 1. vSphere Networking and vCloud Networking Suite Best Practices and Troubleshooting Richard Cockett, VMware Umesh Goyal, VMware Software India Pvt ltd VSVC5103 #VSVC5103
  • 2. 22 Agenda – vSphere Networking  Anatomy of Virtual Network  Basics of Virtual Networking  Teaming - Redundancy and Load Balancing  VLAN Implementation  Distributed Virtual Network  Network IO Control  Configuration Best Practices
  • 3. 33 Anatomy of Virtual Networking Service Console Physical Network VM0 VM1 VM2 VM3 ESX/ESXi Host vmkernel Port Group Virtual NIC (vnic) Physical NIC (vmnic or pnic) Physical switch Service Console (vswif) Vmkernel (vmknic) Uplinks vSwitch NIC Teams
  • 4. 44 vNetwork Concepts  Virtual Network Adapters • vNic – VM’s interface to the network • vmknic – vSphere hypervisor’s interface to network (nfs, iSCSI, vMotion, FT, Management) • vswif – Interface for Service Console (not present on ESXi)  Physical Network Adapter • pNic – for communicating with entities outside ESX/ESXi host  Virtual Switch • vSwitch – forwards packets between vNics, vmknics, and pNics  Port Group • Group of ports sharing the same configuration (e.g. vlan)  Uplinks: connections to physical switches  NIC Team: a group of pNics connected to the same physical network
  • 5. 55 Three Types of Virtual Switches  vNetwork Standard Switch (vSS) • Created and managed on a per-host basis • Support basic features such as VLAN, NIC teaming, port security  vNetwork Distributed Switch (vDS) • Created and managed at vSphere vCenter • Supports all vSS features and more (PVLAN, traffic management, etc.) • NOTE: vSS/vDS share same etherswitch module, only control path differ  Cisco Nexus 1000v (N1K) • Created and managed by VSM (either VM or hardware/Nexus 1010) • Supports features typically available in Cisco hardware switches
  • 6. 66 ESX/ESXi Network Traffic - Classification  Virtual Machine Traffic • Traffic sourced and received from virtual machine(s) • Isolated from each other  VMotion Traffic • Traffic sent when moving a virtual machine from one ESX/ESXi host to another • Must be dedicated and isolated  Management Traffic • Should be isolated from VM traffic • If VMware HA is enabled, includes heartbeats  IP Storage Traffic—NFS, iSCSI • If using the software iSCSI initiator • FT Traffic • Should be isolated completely • Generally heavy I/O’s and low latency (< 1 ms)
  • 8. 88 Load Balancing - Originating Virtual Port ID Based Default mode, distributes load on a per vnic basis Physical switches not aware/involved Virtual NICs VM ports uplink ports Teamed physical NICs
  • 9. 99 Load Balancing - MAC Based Teaming Distributes load on a source MAC hash basis Physical switches not aware/involved VM ports uplink ports Virtual NICs Teamed physical NICs
  • 10. 1010 Load Balancing - IP Hash Based Distributes load on a per SRC IP/DST IP basis (hash) Requires Portchannel/Etherchannel on physical switches VM ports uplink ports Virtual NICs Teamed physical NICs PM0 PM2PM1 SRC IP “A” DST IP “D” DST IP “E” DST IP “F” SRC IP “B” SRC IP “C”
  • 11. 1111 Load Based Teaming  Introduced in vSphere 4.1  Only traffic-load-aware teaming policy  Supported only with the vNetwork Distributed Switch (vDS)  Reshuffles the port binding dynamically  Only move a flow when the mean send or receive utilization on an uplink exceeds 75% of capacity  Default Change over time is 30 Seconds  In combination with VMware Network IO Control (NetIOC), LBT offers a powerful solution Refer: http://blogs.vmware.com/performance/2010/12/vmware-load-based- teaming-lbt-performance.html 11
  • 13. 1313 VLAN Tagging Options vnic vnic vnic vSwitch Physical Switch vnic vnic vnic vSwitch Physical Switch vnic vnic vnic vSwitch Physical Switch VST – Virtual Switch Tagging VGT – Virtual Guest Tagging EST – External Switch Tagging VLAN Tags applied in vSwitch VLAN Tags applied in Guest PortGroup set to VLAN “4095” External Physical switch applies VLAN tagsVST is the preferred and most common method Port Groups assigned to a VLAN
  • 15. 1515 Distributed Virtual Network (vNetwork) vCentervCenter Standard vSwitch vNetwork & dvSwitch
  • 16. 1616 vDistributed Switch Architecture  Control Plane (CP) and Data Plane, or IP Plane are separated. • CP, responsible for configuring dvSwitches,dvPortgroups, dvPorts, Uplinks, NICTeaming and so on, and for coordinating the migration of the ports, runs on vCenter • DP, responsible for performing the forwarding, runs inside the VMKernel of the ESX/ESXi (vSwitch). vCenter ESX ESX ESX Distributed vSwitch vSwitch vSwitch vSwitch Distributed vSwitch vSwitch Control Plane I/O Plane
  • 17. 1717 vSwitch vs DVSwitch Vs Cisco N1K 17 Capabilities vSwitch dvSwitch Cisco N1K L2 Switch Yes Yes Yes VLAN Segmentation Yes Yes Yes 802.1Q Tagging Yes Yes Yes Link Aggregation Static Static & LACP Static & LACP TX Rate Limiting Yes Yes Yes RX Rate Limiting No Yes Yes Unified Management Interface vSphere Client @Host vSphere Client @Vcenter Cisco CLI PVLAN No Yes Yes Network I/O Control No Yes Yes Port Mirroring No Yes Yes SNMP, Netflow, etc. No Yes Yes Load Based Teaming No Yes No
  • 19. 1919 Introduction vSphere Network IO Control prioritize network access by continuously monitoring I/O load over the network and dynamically allocating available I/O resources according to specific business needs
  • 20. 2020 NIOC at a Glance Improve and meet service levels for business-critical applications  Reduces the amount of active performance management required  Bridge virtual and physical infrastructure quality of service with per resource 802.1 tagging  Set, view and monitor network resource shares and limits Optimize your workloads  Virtualize more types of workloads, including I/O-intensive business-critical applications  Ensure that each cloud tenant gets their assigned share of I/O resources  Set and enforce network priorities (per VM) across a cluster Increase flexibility and agility of your infrastructure  Reduce your need for network interfaces dedicated to a single virtual machine or application  Enable multi-tenancy deployments
  • 21. 2121 Features  Isolation  Shares  Limits  Load-Based Teaming  IEEE 802.1p tagging
  • 22. 2222 Network Traffic Classifications  vMotion  iSCSI  FT logging  Management  NFS (Network File System)  Virtual machine traffic  vSphere Replication traffic  User Defined
  • 24. 2424 Choosing the Type of Switch  Size of your deployment • If you have a small deployment and need basic network connectivity, vSS should be sufficient • If you have a large deployment, consider vDS/N1K  Organizational • If you have a group which controls both VM deployment and network provisioning, then choose vSS/vDS (integrated control via vSphere Client UI) • If you have a separate network admin group, trained on Cisco IOS CLI, and wishes to maintain control over virtual and physical networking, then choose N1K  Other factors • Budget – vDS/N1K requires Enterprise+ License • Features – vSS features are frozen, vDS features are evolving (ask Cisco about N1K)
  • 25. 2525 Configuration Best Practices: #1  Enable on Physical Switch Ports • Spanning Tree Protocol- Loop avoidance mechanism • PortFast- Fast convergence after failure • Link State tracking-Detection of upstream ports(on Cisco switches) • Enable BPDU Guard  Validate • Duplex settings • NIC Hardware status • Link status • Switch Port status • Switch Port Configuration • “Jumbo Frames Configuration”  Ensure adequate CPU resources are available • Heavy gigabit networking loads are CPU-intensive • Both native and virtualized
  • 26. 2626 Enabling Jumbo Frame  Physical Switches • Set MTU to desired value on all switches in the network  Virtual Switch • For vDS set MTU on UI • For vSS, run esxcfg-vswitch –m  Physical Adapter • MTU set automatically as part of vSwitch setting. Check for errors!  Virtual Adapter • Change vNic MTU inside the guest • Run esxcfg-vmknic –m to set MTU of vmknic  Ping Test • Make sure you specify don’t fragment
  • 27. 2727 Configuration Best Practices: #2  Use separate Networks to avoid contention • For Console OS (host management traffic), VMKernel (VMotion, iSCSI, NFS traffic), and VM • For VMs running heavy networking workloads • Enable BPDU Guard? • With explicit failover, Set Failback = ‘No’ to avoid the flapping of traffic between two network adapters  Tune VM-to-VM networking on same host • Use same virtual switch to connect communicating VMs • Avoid buffer overflow in guest driver: Tune receive/transmit buffers (Refer KB: 1428)  Use vmxnet3 virtual device in guest • Default 32-bit guest vNIC is vlance, but vmxnet3 performs better • For vmxnet3 driver install tools • e1000 is the default for 64-bit guests • Enhanced vmxnet3 is available for several guest OSes
  • 28. 2828 Configuration Best Practices: #3 Converge Network and Storage I/O onto 10GE • Reduce cabling requirements • Simplify management and reduce cost Tools for Traffic Management 1. Traffic Shaping • Limit the amount of traffic a vNic may send / receive 2. Network I/O Control (vDS + vSphere 4.1) • Isolate different traffic class from each other • Each type of traffic is guaranteed a shared of the pNic bandwidth • Unused bandwidth are automatically distributed to other traffic types
  • 29. 2929 vCloud Networking and Security – Best practices and Troubleshooting Global Support Services
  • 30. 3030 Agenda  Best Practices for vCloud Networking and Security ( vCNS )  VXLAN  When to use App vs Edge or both  Troubleshooting vCNS
  • 31. 3131 Best Practices for vCNS Manager . . .  Install on dedicated management cluster  Run on ESX host unaffected by downtime  Network interfaces placed in common network  Backup regularly  Ensure NTP is setup and working 31
  • 32. 3232 . . . Best Practices for vCNS Manager  Change Admin password after install  Create new admin account for CLI  Prior to upgrade backup DB and clone / snapshot manager 32
  • 33. 3333 Best Practice for vCNS App FW Deployments  Migrate vCenter server / database VMs to alternate ESX server  Set unique IP for the management port of each vShield App  Install VMware Tools on each VM  Use System Status screen to monitor health of a App FW 33
  • 34. 3434 App FW Policy Management . . .  Use vCenter containers and security groups for enforcement  Use service groups to reduce rules  Know when to use General / Ethernet rules  Set the Fail Safe Mode to Block  Utilize Flow Monitoring 34
  • 35. 3535 . . . App FW Policy Management  Create firewall rules allowing access to default services  Use different syslog servers for different log levels  Use the comments fields  Use the Load History option to revert configuration  Exclude machines when necessary 35
  • 37. 3737 VXLAN Setup - Physical Requirements  DHCP available on VXLAN transport VLANs  Increased MTU needed to accommodate VXLAN encapsulation overhead  Leverage 5-tuple hash distribution for uplink and interswitch LACP  Multicast routing enabled if traffic is traversing a router
  • 38. 3838 VXLAN Setup - Virtual Requirements  vSphere 5 .1  vShield Manager 5 .1  vSphere Distributed Switch 5 .1 .0  Virtual Tunnel End Point (VTEP) 38
  • 40. 4040  When to use vShield Edge or vShield App or both? 40 DMZ Development Finance
  • 44. 4444 Use Case - Securing Business Critical Applications DMZ FinanceDevelopment FinanceDevelopment Solution - vShield App + Edge • Protect data and applications with hypervisor level firewall • Create and enforce security policies with virtual machine migration • Facilitate compliance by monitoring all application traffic • Improve performance and scalability with load balancer and software based solution Requirements • Deploy production and development applications in a shared infrastructure with: • Traffic segmentation between applications • Authorized access to applications • Strict monitoring and enforcement of rules on inter- VM communications • Ability to maintain security policies with VM movement • Compliance to various audit requirements VMware vShield App
  • 45. 4545  Multiple sizes (Compact, Large, X-Large)  Up to 10 interfaces per vShield Edge  DHCP, NAT, and DNS relay  Firewall support  Load Balancing  IPsec and SSL VPN-Plus  VXLAN Gateway  Routing (static routes)  High Availability  Flexible IP address management  Intuitive deployment workflow  CLI vShield Edge Secure the Edge of the Virtual Data Center Tenant A Tenant X Highlights Load balancer firewall VPN
  • 47. 4747 vShield App Application Protection for Network Based Threats DMZ PCI HIPAA Features • Hypervisor-level firewall • Inbound, outbound connection control applied at vNIC level • Elastic security groups - “stretch” as virtual machines migrate to new hosts • Robust flow monitoring • Policy Management • Simple and business-relevant policies • Managed through UI or REST APIs • Logging and auditing based on industry standard syslog format
  • 49. 4949 VXLAN Issue #1 – “Not Ready” Shown in vCNS UI 49 BypassVUMenabled is not set to “false” in EAM Managed IP is not set in vCenter
  • 50. 5050 Verify VXLAN Agency Settings . . .  Access the EAM managed object browser  Verify the VXLAN agency has the bypassVumEnabled set to FALSE 50
  • 51. 5151 . . . Verify VXLAN Agency . . .  Access vCenter EAM Managed Object Browser http://vcenter51.vmware.local/eam/mob/
  • 52. 5252 . . . Verify VXLAN Agency Settings . . .
  • 53. 5353 . . . Verify VXLAN Agency Settings . . .
  • 54. 5454 . . . Verify VXLAN Agency Settings
  • 56. 5656 . . . Alter the bypassVumEnabled Setting . . . • Visit the following URL: https://<VC-IP>/eam/mob/?moid=agency- 0&method=Update • The value will be set to the desired setting “true” or “false” • Once the XML data is filled in, click the “Invoke Method” link. 56
  • 57. 5757 . . . Alter the bypassVumEnabled Setting 57
  • 58. 5858 Managed IP not set in vCenter . . . • In eam.log you see a smilar error:  <msg>('http://vCenter1.vmware.com:80/eam/vib?id=8e840536-1855- 4c7e-81bd-8814b43f8ee0-0', '/tmp/tmpjzGgUU', '[Errno 4] IOError: &lt;urlopen error [Errno -2] Name or service not known&gt;')</msg> • vCenter FQDN is being used which does not work to install VXLAN agent on ESX host 58
  • 59. 5959 . . . Managed IP Not Set in vCenter . . .
  • 60. 6060 . . . Managed IP Not Set in vCenter . . .
  • 61. 6161 . . . Managed IP Not Set in vCenter . . .
  • 62. 6262 . . . Managed IP Not Set in vCenter 62
  • 63. 6363 VXLAN issue #2 – “class domain-cX already has been configured with mapping • Download the curl command if needed from the internet  Run the following command on command line • curl -i -k -H "Content-type: application/xml" -u admin:default -X DELETE https://<vsm-ip>/api/2.0/vdn/map/cluster/<domain- cXXX>/switches/dvs 63
  • 64. 6464 Edge/App debug packet  Enable debug packet mode though the App/Edge CLI debug packet display interface (interface) [Expression] Example vShield# debug packet display interface mgmt host_10.10.11.11_and_port_80 64
  • 66. 6666 Other VMware Activities Related to This Session  HOL: HOL-SDC-1302 vSphere Distributed Switch from A to Z  Group Discussions: VSVC1004-GD Top 10 Customer Support Issues with Josh Gray
  • 68.
  • 69. vSphere Networking and vCloud Networking Suite Best Practices and Troubleshooting Richard Cockett, VMware Umesh Goyal, VMware Software India Pvt ltd VSVC5103 #VSVC5103