The Xen Team……
XenServer Master Class Networking
24th November 2010 Lee Bushen – XenServer Technical Steve Benton – XenServer Sales Development Citrix Systems
The webinar will start at 3:00pm (European Time)
Important – Webinar Audio
The audio for this webinar
is available over VoIP. Just select the „Use Mic & Speakers‟ option to listen to the webinar through your computers speakers.
To listen using your
telephone select the „Use Telephone‟ option. For local numbers click the „additional numbers‟ link.
You will need to use
the Access Code and Audio PIN.
The Xen Team……
Steve Benton – Citrix Sales &
Development EMEA
The Xen Team
XenServer 5.6 Master Class
Lee Bushen – SE Team Leader
Server Virtualisation UK
The Xen Team…… Terminology
SERVERS BRIDGE
SWITCH
BONDING
TRUNK PORT
The Xen Team……
Welcome & Agenda
• Overview of XenServer Networking Architecture • Networking terminology
• Under the hood demos
• New Distributed vSwitch • Functionality
• Demos
• XenServer 5.6 FP1 • New feature demos
• Master Class Extra • Simon Crosby, Ian Pratt, Your questions
The Xen Team……
XenServer Networking
Xen Hypervisor
Control Domain
(Dom 0)
Hardware
Virtual Machine
Network Card
Linux
Driver
PIF vNIC
Bridge VIF
Netback Netfront
The Xen Team……
XenServer Networking Configurations
Linux NIC
Drivers
Linux
Config
Files
XenServer Pool
DB
Network
Card
XAPI
Command Line
XenCenter
The Xen Team……
Virtual Switches
PIF (eth0)
VIF
VIF
VIF
Virtual Machine
Virtual Machine
XenServer Network Terminology
Network 0
(xenbr0)
Private
(xapi1)
Network
Card
The Xen Team……
Virtual Switches
PIF (eth1)
PIF (eth0)
VIF
VIF
VIF
Virtual Machine
Virtual Machine
XenServer Network Terminology
Network 1
(xenbr1)
Network 0
(xenbr0)
Network
Card
Network
Card
The Xen Team……
PIF (bond0)
PIF
VIF
VIF
Virtual Machine
Virtual Machine
XenServer Network Terminology
Network
Card
Network
Card
VIF
Bond 0+1
(xapi2)
PIF (eth0)
PIF (eth1)
The Xen Team……
VLAN 55
Virtual Switches
PIF
PIF
VIF
VIF
VIF
Virtual Machine
Virtual Machine
XenServer Network Terminology
Network 1
Network 0
VLAN 25
Network
Card
Network
Card
The Xen Team……
PIFs
VIF
VIF
VIF
Virtual Machine
Virtual Machine
XenServer Network Terminology
VLAN 25
Network
Card
Network
Card
VLAN 55
Bond
0+1
The Xen Team…… Bonding Type (Balance SLB)
Virtual Machine
Network
Card
Network
Card
Virtual Machine
Bond
0:00 SEC 0:10 SEC 0:20 SEC 0:30 SEC
Stacked
Switches
Virtual Machine
The Xen Team…… What about faster iSCSI/NFS?
Virtual Machine
Network
Card
Network
Card
Virtual Machine
Dom0 with iSCSI or
NFS software
Bond
0:00 SEC 0:10 SEC 0:20 SEC 0:30 SEC
iSCSI/NFS
iSCSI/NFS
The Xen Team…… SAP’s XenApp Storage Infrastructure
XenServer Platinum
led to a reduction
from 750 servers to
150 physical
servers
•Provisioning
•XenServer
•NetApp Storage
The Xen Team……
• Bonding
• TCP offload
• Adding new hosts
• Driver and firmware issues
Top Issues
Hotfix 2 - http://support.citrix.com/article/CTX126365
Disable task offload - http://support.citrix.com/article/CTX117374
Duplicate Networks - http://support.citrix.com/article/CTX126165
The Xen Team……
Distributed vSwitch
The Xen Team…… Open Virtual Switch for XenServer
VM
Hypervisor
VM VM VM VM
Hypervisor
VM VM VM VM
Hypervisor
Visibility· Resource control · Isolation · Security
VM VM
• Open Source Virtual Switch maintained at www.openvswitch.org
• Rich layer 2 feature set (in contrast to others on the market)
• Ships with XenServer 5.6 FP1 as a post-install configuration option
The Xen Team……
Hypervisor
Distributed Virtual Switch Controller
Hypervisor Hypervisor Hypervisor
DVS
VM VM VM VM VM VM VM VM VM VM VM
DVS Controller is a XenServer
Virtual Appliance that controls
multiple Open vSwitches
The Xen Team…… Distributed Virtual Switch
Hypervisor Hypervisor Hypervisor
Built-in policy-based ACLs move with VMs
DVS
VM VM VM VM VM VM VM VM VM VM VM
Virtual Interface (VIF) {MAC, IP} ACLs
permit tcp 10.0.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit tcp 192.168.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit tcp 172.16.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit udp 10.0.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit udp 192.168.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit udp 172.16.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit tcp 10.0.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq 123
Virtual Interface (VIF) {MAC, IP} ACLs
permit tcp 10.0.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit tcp 192.168.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit tcp 172.16.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit udp 10.0.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit udp 192.168.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit udp 172.16.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq domain
permit tcp 10.0.0.0 0.0.0.255 10.20.0.0 0.0.0.255 eq 123
The Xen Team……
Demo
The Xen Team…… DVS- Cross-host Internal Networks
XenServer Pool
Virtual Machines
Virtual Machines
Virtual Machines
Virtual Router (e.g. Vyatta)
The Xen Team……
How to Enable the vSwitch
[root@xenserver-demo2 network-scripts]# xe-switch-network-backend openvswitch
Cleaning up old ifcfg files
Remove... ifcfg-eth0
Remove... ifcfg-eth0.5
Remove... ifcfg-eth1
Remove... ifcfg-eth1.5
Remove... ifcfg-eth1.500
Remove... ifcfg-eth1.501
Remove... ifcfg-xapi1
Remove... ifcfg-xapi2
Remove... ifcfg-xapi3
Remove... ifcfg-xapi4
Remove... ifcfg-xenbr0
Remove... ifcfg-xenbr1
Enabling openvswitch daemon
Configure system for openvswitch networking
You *MUST* now reboot your system
[root@xenserver-demo2 network-scripts]#
The Xen Team…… Jumbo Frames
VS.
The Xen Team……
• Overview of XenServer Architecture • Terminology
• Under the hood demos
• Distributed vSwitch • Functionality
• Demos
• XenServer 5.6 FP1 • New features
• Master Class Extra • Simon Crosby, Ian Pratt, Your questions
Agenda
The Xen Team……
XenServer 5.6 FP1
The Xen Team……
• Distributed Virtual Switch
• Web Self-Service
• VM Protection & Recovery
• Intellicache – Great for XD
• Networking and Storage Enhancements
• New Guest Support
XenServer 5.6 Feature Pack 1
Cowley
The Xen Team……
Demo Time … again…
The Xen Team……
The Xen Team……
• Enhanced scalability and testing
• GPU Passthrough
• Local Storage caching to offload SAN
XenDesktop Optimizations
The Xen Team……
• 512 GB RAM support
• Multi-CPU Dom0 increases
responsiveness and scale
• Enhanced focus on pool scalability
and XD/XS best practices in 5,000+
desktop blocks
XenDesktop Optimizations – Enhanced Scalability
The Xen Team……
• Experimental GPU Passthrough - Ability to assign
power user VMs 1:1 to Graphics Cards
• Works with nVIDIA FX3800, 4800,
5800 GPUs
XenDesktop Optimizations – Graphics Enhancements
The Xen Team……
• Local host caching of
XenDesktop images
• Reduces IOPS on shared
storage, lowering storage
TCO
• Technology preview in
XD5, fully supported early
2011
XenDesktop Optimizations – IntelliCache
The Xen Team……
1. Master Image created through XenDesktop MCS
2. VM is configured to use Master Image
3. VM using Master Image is started
4. XenServer creates read cache object on local storage
5. Reads in VM being done from local cache
6. Additional Reads done from SAN when required
7. Writes will happen in VHD child per VM
8. Additional VMs will use same read cache
9. Local “write” cache is deleted when VM is shutdown/restarted
IntelliCache - Concept XenDesktop
NFS Based Storage
Master Image Cache 0011
0101
0011
0101
011
001
0011
0101
The Xen Team……
XenServer Community
Twitter: http://www.twitter.com/xenserverarmy
Facebook: http://www.facebook.com/CitrixXenServer
Linked In: http://www.linkedin.com/groups?mostPopular=&gid=3231138
Blogs: http://community.citrix.com/p/cdn-datacenters
The Xen Team……
The Xen Team……
Live From Hawaii Simon Crosby
CTO, Citrix Systems
The Xen Team…… Live Interview
Ian Pratt
VP, Advanced Products
Citrix Systems
The Xen Team……
Master Class Hall of Fame
Mark P
Peter D Jan P
Thijs R
The Xen Team……
What Networking technology is this?
Competition – $50 Amazon Vouchers!!
ING
The Xen Team……
XenServer 5.6 FP1 Versions
64 bit Hypervisor
Linux and Windows Workloads
XenCenter/Pools
Shared Storage
Live Migration
Intellicache (VDI Optimisation) New
Open Virtual Switch New
Fully Supported
Disk Snapshot
AD Integration
XenConvert
Free
64 bit Hypervisor
Linux and Windows Workloads
XenCenter/Pools
Shared Storage
Live Migration
Intellicache (VDI Optimisation) New
Open Virtual Switch New
Fully Supported
Disk Snapshot
AD Integration
XenConvert
Advanced - $1000
High Availability
Virtual Switch Controller New
Dynamic Memory Control
Mixed CPU Pools
Historical Trending
v6 Licensing
64 bit Hypervisor
Linux and Windows Workloads
XenCenter/Pools
Shared Storage
Live Migration
Intellicache (VDI Optimisation) New
Open Virtual Switch New
Fully Supported
Disk Snapshot
AD Integration
XenConvert
Web-Based Management New
StorageLink
Live Memory Snapshot
Dynamic WLB / Power Mgmt
Roles-Based Administration
Provisioning Server (Virtual)
Enterprise - $2500
High Availability
Virtual Switch Controller New
Dynamic Memory Control
Mixed CPU Pools
Historical Trending
v6 Licensing
64 bit Hypervisor
Linux and Windows Workloads
XenCenter/Pools
Shared Storage
Live Migration
Intellicache (VDI Optimisation) New
Open Virtual Switch New
Fully Supported
Disk Snapshot
AD Integration
XenConvert
Web-Based Management New
StorageLink
Live Memory Snapshot
Dynamic WLB / Power Mgmt
Roles-Based Administration
Provisioning Server (Virtual)
Platinum - $5000
StorageLink Site Recovery
VM Protection+ Recovery New
Lab Manager
Provisioning Server (P+V)
High Availability
Virtual Switch Controller New
Dynamic Memory Control
Mixed CPU Pools
Historical Trending
v6 Licensing
The Xen Team…… Feature XenServer XenServer
Advanced
XenServer
Enterprise
XenServer
Platinum
64-bit Xen Hypervisor a a a a
VM Disk Snapshot & Revert a a a a
Live Migration with XenMotion™ a a a a
Multi-Server Management with XenCenter a a a a
Active Directory Integration a a a a
Conversion Utility (P2V, V2V & OVF) a a a a
IntelliCache™ for VDI Storage Optimization a a a a
Integrated Open Virtual Switch a a a a
Distributed Virtual Switch Controller a a a
Dynamic Memory Control a a a
High Availability a a a
Mixed Resource Pools with CPU Masking a a a
Web Management Console with Delegated Admin a a
StorageLink™ Advanced Storage Management a a
Dynamic Workload Balancing & Power Management a a
Live Memory Snapshots a a
Provisioning Services for Virtual Servers a a
Full Role Based Administration & Audit Trail a a
StorageLink™ Site Recovery a
Lifecycle Management with Self-Service Portal a
Provisioning Services for Physical Servers a
Automated VM Protection and Recovery a
Free $1000/server $2500/server $5000/server
XenServer 5.6 FP1 Features
The Xen Team……
Project Cowley Enhancements and Improvements • Supportability improvements:
• SR-IOV support for Provisioning Server
• Improved boot from SAN with multi-pathing support
• Online snapshot space reclamation
• MPP RDAC multi-pathing improvements (LSI multi-pathing)
• Utilization reports for chargeback & billing
• Guest Support updates
• RHEL 6.0 (including CentOS and OEL 6.0)
• SLES 11 SP1
• Debian Squeeze (32 and 64-bit)
• Windows 7 SP1, Windows Server 2008 R2 SP1
The Xen Team……
• Support for leveraging SR-IOV with Intel Niantic NICs for PVS VMs
• Backwards compatible with XenServer 5.6
• http://support.citrix.com/article/CTX126624
PVS: SR-IOV support for Windows
The Xen Team……
• Boot from SAN with multipathing support • FC HBA
• iSCSI HBA (experimental)
• Online snapshot space reclamation • Fully automated
• Leaf coalesce used to be a CLI operation
• MPP RDAC multipathing improvements • Path alerting
• Multipathing status on/off controls
• Path health reporting in XenCenter
Storage Improvements
The Xen Team……
• New level in HA settings for most important VMs • StorageLink Gateway
• DVS Controller
New VM Restart Priority
The Xen Team…… Utilization Report for Chargeback/Billing
The Xen Team……
• Windows 7 SP1, Windows Server 2008 R2 SP1
• RHEL 6.0 (including CentOS and OEL 6.0)
• SLES 11 SP1
• Debian Squeeze (32 and 64-bit)
Guest Support Updates
The Xen Team……
• Inbox drivers for Brocade HBAs
• Brocade Command Line Utility in Dom0 (bcu)
• Supported* HBAs • FC: 815, 825, 415 and 425
• CNA: 1010 and 1020
Brocade HBA support
The Xen Team…… XenServer 5.6 FP1 – Further Info
• Q&A from the FP1 beta webinar:
http://community.citrix.com/display/ocb/2010/10/12/Co
mmon+Questions+%28and+answers%29+from+the+X
enServer+Beta+Webinar
• How to find VIFs/PIFs:
http://www.citrix.com/tv/#videos/1877
• Future and past Master Classes
• http://www.citrix.com/xsmasterclass
The Xen Team……