SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
XenServer
Advanced
Christian Ferber
Systems Engineer Datacenter & Cloud
Server Virtualization
Architecture
Architecture            Control Domain/Dom 0                                DomU/DomID                        DomU/DomID
                             Centos 5.5 User space
 SSH Client

                          SSHD                  SHELL
  SHELL



                           VNC                  QEMU
 XenCenter

                           XAPI
  Console

                          Plugins                                                     Xen Tools                                 Xen Tools


                         State.db           Net        BLK                                                                     Net    BLK
                                                                                     Performance
                                           Back        Back                                                                   Front   Front

                Based on                                           Linux Kernel               Xen     Windows Kernel
                                          Manu.       Manu.                          Xen
                SUSE SP1 Kernel                                                               PV
                                           NIC        Disk                         PV NIC                                     NIC      Disk
                                                                                             Disk
                                          Driver      Driver                        Driver
                                                                                             Driver


                                                                             Hypervisor
               64 Bit




                         Intel-VT
                          AMD-V
                                          Intel NIC
                                                        Disk
                                                      Controller              Hardware                        System Memory



                                    Citrix use only - Do Not Distribute
Command Line Interface
(CLI)
xe Command

• Runs CLI binary
 • Local in Dom0
 • Remote on Linux and Windows
 • Syntax: xe help or xe help command or xe help –all

• Network Communication
 • SSL, TCP 443

• Objects such as a VM or Server Addressed by
 • Name e.g. WindowsAppServer
 • unique UUID e.g. 79372186-1db3-4928-ac1f-5ae7feb5fd19
CLI

• Filtering
 • vm-list HVM-boot-policy="BIOS order" power-state=halted

• Parameterization
 • xe vm-list params=name-label

• Parameterization and filtering can be combined
 • xe vm-list HVM-boot-policy="BIOS order" power-state=halted
   params=name-label

• Minimal Output
 • xe vm-list HVM-boot-policy="BIOS order" power-state=halted
   params=name-label --minimal
VM
Objects
            VIF            VBD



                           VDI



          Network          SR



            PIF            PBD


                    Host

                                 Pool
XenServer Log Files

• XenServer XAPI Agent
 • /var/log/messages - system
 • /var/log/xensource.log – XenServer only
 • /var/log/xha.log – HA logging
 *Logs can be sent to remote syslog daemon

• Domain 0
 • Hypervisor boot messages: xe host-dmesg
 • Domain 0 boot messages: dmesg
XenServer logging

• Log files are rotated on a daily
  base
• Rotated log files can be seen
  as .<number> files
• Max of 20 log files is saved
  by default
• Create specific log files volume
  http://support.citrix.com/article/CTX130245
• Change logging options
  http://support.citrix.com/article/CTX130327
XenServer
Networking
Networking: single host

                                             VMs are connected to virtual interfaces
       VM 1      VM 2                VM 3
                                             Virtual interfaces are also connected to
                                             the Network

       VIF 1     VIF 2               VIF 3
                                             PIFs connected to Network
     Network 1           Network 2
                                             Each NIC has a “PIF” object
       PIF 1     PIF 2
                                             Host is connected to 2 NICs
                 Host 1
Networking: two hosts, not pooled

     VM 1         VM 1             VM 2


     VIF 1        VIF 1            VIF 2
   Network 1    Network 1 Network 2        Normal IP networking rules, dependant
                                           on how PIFs are configured
     PIF 1        PIF 1            PIF 2

    Host 1                Host 2
Networking: two hosts, pooled

                                                  Pooled NIC require same MTU size
    VM 1                 VM 2             VM 1


                                                  Normal IP networking rules, dependant
    VIF 1                VIF 2            VIF 1
                                                  on how PIFs are configured
             Network 1
    PIF 1                PIF 2
                                                  Network shared across pool
    Host 1                       Host 2
Network objects: PIF

• XAPI view:
 • xe pif-list params=all

• Dom0 view:
 • ifconfig

 • eth0
 • eth0.33 (VLAN)
 • Bond0
 • __tmp56347856
Bonding

• SLB (Source Load Balancing)
• Load-balancing of VM and MGMT traffic
• Fail-over support for storage traffic
• Dynamic rebalancing (10 sec)
• Note: etherchannel or 802.3ad (LACP) not required
Bonding
                                   Seamless failover if interface goes down

  VM 1

                                   Traffic through one PIF at any one time
  VIF 1                            (SLB)

      Network 1
                                   Bond joins network, instead of the
                                   underlying PIF devices
      BOND 1

  PIF 1       PIF2   PIF3   PIF4
                                   PIF0/PIF1: Form a NIC bond
XenServer
Storage
XenServer Disk Layouts (Shared)
       Native iSCSI &                          NFS-Based                            StorageLink
       Fiber Channel                            Storage                              Based SR
   Virtual Machine    Virtual Machine     Virtual Machine    Virtual Machine   Virtual Machine     Virtual Machine



                                                                                                                     StorageLink




           Storage Repository                   Storage Repository                   Storage Repository




                                         xxx.vhd      yyy.vhd        zzz.vhd

   LVHD Logical Volumes (Thick)
                                                                                  LUN        LUN       LUN
          LVM Volume Group         LUN              NFS Share

                Volume                                 NAS                                  Volume
                                                   SAN “Raw” Disk
LVM

• Host storage virtualized using LVM
• Volume Group named “VG_XenStorage_<UUID>”
• Common commands
 • vgs - List of volume groups
 • lvs, lvdisplay - List of logical volumes
 • pvs, pvdisplay - List of physical volumes
 • man lvm - Other commands

• Mount guest disk in dom0
 • mount /dev/VG_XenStorage_<uuid>/<VM_uuid>.<disk>
   /path/to/mount/point
Common Issues

• Is the disk detected?
 • fdisk –l to show disks and partitions

• Is the module loaded?
 • lsmod – lists loaded modules
 • insmod/modprobe – inserts modules
 • rmmod – removes loaded modules

• Confirm device info?
 • lspci
Performance Analysis
Check Network Performance

• Iperf
 • https://nocweboldcst.ucf.edu/files/iperf.exe

• Important: Use right parameters!!!!
 • e.g. Iperf ... –w 64k

• Check VM performance (Windows /
  Linux) + Dom-0
• Check interrupts
 • Command: top
 • Type: z
 • Type: 1
 • See interrupts as „si“
VM Networking Performance Improvement

• Task Offload is enabled by default
• Keep defaults, change when experiencing
  performance issues
• May require modification in specific situations
• Disable Task Offload
 • XenServer <= 5.5
   • http://support.microsoft.com/kb/888750
   • HKEY_LOCAL_MACHINESystemCurrentControlSetServicesTcpipParameters
   DWORD DisableTaskOffload=1
 • Since XenServer 5.6 this can be done in the device properties
   of the network card under the „Advanced“-Tab
Server Networking Performance improvement

• Task Offload could be set on server level as well
• Check setting
 • ethtool –k <ethernet device e.g. eth0>

• Enabling / disabling settings during operation (non-
  persistent)
 • ethtool –K <ethernet device> rx off
 • (example, K is case sensitive!!!)

• Enabling / disabling settings during operation (persistent)
 • xe host-list
 • xe pif-list host-uuid=<host-uuid von oben> device=<nic device z.B. eth4>
   VLAN=-1
 • xe pif-param-set uuid=<pif-uuid> other-config:ethtool-rx=“off“
Performance optimation NFS/iSCSI

• Check large-receive-offload and enable it (ethtool –k), gain
  80%
• Disable IOMMU in BIOS, gain up to 10%
• Enable JumboFrames (DVS)
Enabling IRQ Rebalancing on XS 5.6 SP2 and older

• http://blog.benpiper.com/2011/08/improving-network-
  throughput-in-xenserver-using-irqbalance/
• yum install irqbalance --enablerepo base
• Service irqbalance start
• Check interrupts
 • Cat /proc/interrupts

• Default in XenServer 6.0
Check storage performance

• Read performance: hdparm –t /dev/sdb (example)
• Tools like
 • IOMeter
 • Crystal Disk benchmark

• iostat –x
• XenServer performance VM
 • http://support.citrix.com/article/CTX127065
Multipath Configuration
                        DMP                          DMP RDAC                                   MPP RDAC                    MPP RDAC
Default                                   Yes                                                         No                          No
XenServer
                                         >= 5.0                                                >= 5.0 Update 2                >=5.6 FP1
version
Management
                                          Yes                                                         No                          No
via XenCenter
                                             Only LSI controller based                     Only LSI controller based   Only LSI controller based
Support          Wide range of storage
                                                         storage                                   storage                     storage
Driver /
                                    multipathd                                                 mppVhba driver              mppVhba driver
Daemon
CLI path check                mpathutil status                                                 mppUtil –g 0                mppUtil –g 0
                                                                                                                        opt/xensource/lib
                                                                                              /etc/mpp.conf             exec/mpp-rdac –
                                                  /etc/multipath-
                                                                                                                        enable
                 /etc/multipath-                    enabled.conf                            (requires execution of
Configuration
                   enabled.conf                   Hardware_handler „1                      /opt/xensource/bin           opt/xensource/lib
                                                        rdac“
                                                                                             /update-initrd)            exec/mpp-rdac –
                                                     Citrix use only - Do Not Distribute                                disable
12 christian ferber xen_server_advanced

Contenu connexe

Tendances

Citrix XenServer 5.5 Troubleshooting
Citrix XenServer 5.5 TroubleshootingCitrix XenServer 5.5 Troubleshooting
Citrix XenServer 5.5 TroubleshootingThomas Krampe
 
Virtual Deep-Dive: Citrix Xen Server
Virtual Deep-Dive: Citrix Xen ServerVirtual Deep-Dive: Citrix Xen Server
Virtual Deep-Dive: Citrix Xen ServerDigicomp Academy AG
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksAmit Gatenyo
 
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding
XenServer, Hyper-V, and ESXi -  Architecture, API, and CodingXenServer, Hyper-V, and ESXi -  Architecture, API, and Coding
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding_Humair_Ahmed_
 
Секреты виртуализации - Windows Server 2012 Hyper-V
Секреты виртуализации - Windows Server 2012 Hyper-VСекреты виртуализации - Windows Server 2012 Hyper-V
Секреты виртуализации - Windows Server 2012 Hyper-VВиталий Стародубцев
 
Introducing Xen Server
Introducing Xen ServerIntroducing Xen Server
Introducing Xen ServerStephenRice86
 
VMware Advance Troubleshooting Workshop - Day 4
VMware Advance Troubleshooting Workshop - Day 4VMware Advance Troubleshooting Workshop - Day 4
VMware Advance Troubleshooting Workshop - Day 4Vepsun Technologies
 
Hypervisor comparison 201212
Hypervisor comparison 201212Hypervisor comparison 201212
Hypervisor comparison 201212Chang kil Lee
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshootingglbsolutions
 
Xen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization OpportunitiesXen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization OpportunitiesThe Linux Foundation
 
VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5Vepsun Technologies
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshootingOvi Chis
 
Cloud Computing Hypervisors and Comparison Xen KVM
Cloud Computing Hypervisors and Comparison Xen KVM Cloud Computing Hypervisors and Comparison Xen KVM
Cloud Computing Hypervisors and Comparison Xen KVM cloudresearcher
 
How to Optimize Microsoft Hyper-V Failover Cluster and Double Performance
How to Optimize Microsoft Hyper-V Failover Cluster and Double PerformanceHow to Optimize Microsoft Hyper-V Failover Cluster and Double Performance
How to Optimize Microsoft Hyper-V Failover Cluster and Double PerformanceStarWind Software
 
Windows Server "10": что нового в кластеризации
Windows Server "10": что нового в кластеризацииWindows Server "10": что нового в кластеризации
Windows Server "10": что нового в кластеризацииВиталий Стародубцев
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingDan Brinkmann
 
Building a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on XenBuilding a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on XenThe Linux Foundation
 

Tendances (20)

Citrix XenServer 5.5 Troubleshooting
Citrix XenServer 5.5 TroubleshootingCitrix XenServer 5.5 Troubleshooting
Citrix XenServer 5.5 Troubleshooting
 
Virtual Deep-Dive: Citrix Xen Server
Virtual Deep-Dive: Citrix Xen ServerVirtual Deep-Dive: Citrix Xen Server
Virtual Deep-Dive: Citrix Xen Server
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and Tricks
 
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding
XenServer, Hyper-V, and ESXi -  Architecture, API, and CodingXenServer, Hyper-V, and ESXi -  Architecture, API, and Coding
XenServer, Hyper-V, and ESXi - Architecture, API, and Coding
 
Секреты виртуализации - Windows Server 2012 Hyper-V
Секреты виртуализации - Windows Server 2012 Hyper-VСекреты виртуализации - Windows Server 2012 Hyper-V
Секреты виртуализации - Windows Server 2012 Hyper-V
 
Introducing Xen Server
Introducing Xen ServerIntroducing Xen Server
Introducing Xen Server
 
VMware Advance Troubleshooting Workshop - Day 4
VMware Advance Troubleshooting Workshop - Day 4VMware Advance Troubleshooting Workshop - Day 4
VMware Advance Troubleshooting Workshop - Day 4
 
Hypervisor comparison 201212
Hypervisor comparison 201212Hypervisor comparison 201212
Hypervisor comparison 201212
 
Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008
 
Improvements in Failover Clustering in Windows Server 2012
Improvements in Failover Clustering in Windows Server 2012Improvements in Failover Clustering in Windows Server 2012
Improvements in Failover Clustering in Windows Server 2012
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
 
Xen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization OpportunitiesXen PV Performance Status and Optimization Opportunities
Xen PV Performance Status and Optimization Opportunities
 
VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5VMware Advance Troubleshooting Workshop - Day 5
VMware Advance Troubleshooting Workshop - Day 5
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshooting
 
Cloud Computing Hypervisors and Comparison Xen KVM
Cloud Computing Hypervisors and Comparison Xen KVM Cloud Computing Hypervisors and Comparison Xen KVM
Cloud Computing Hypervisors and Comparison Xen KVM
 
How to Optimize Microsoft Hyper-V Failover Cluster and Double Performance
How to Optimize Microsoft Hyper-V Failover Cluster and Double PerformanceHow to Optimize Microsoft Hyper-V Failover Cluster and Double Performance
How to Optimize Microsoft Hyper-V Failover Cluster and Double Performance
 
Why xen slides
Why xen slidesWhy xen slides
Why xen slides
 
Windows Server "10": что нового в кластеризации
Windows Server "10": что нового в кластеризацииWindows Server "10": что нового в кластеризации
Windows Server "10": что нового в кластеризации
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance Troubleshooting
 
Building a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on XenBuilding a Distributed Block Storage System on Xen
Building a Distributed Block Storage System on Xen
 

Similaire à 12 christian ferber xen_server_advanced

Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCPThe Linux Foundation
 
Windows server 8 hyper v & storage (hans vredevoort)
Windows server 8 hyper v & storage (hans vredevoort)Windows server 8 hyper v & storage (hans vredevoort)
Windows server 8 hyper v & storage (hans vredevoort)hypervnu
 
Hyper V And Scvmm Best Practis
Hyper V And Scvmm Best PractisHyper V And Scvmm Best Practis
Hyper V And Scvmm Best PractisBlauge
 
Windows server 8 and hyper v
Windows server 8 and hyper vWindows server 8 and hyper v
Windows server 8 and hyper vSusantha Silva
 
Virtualization Primer for Java Developers
Virtualization Primer for Java DevelopersVirtualization Primer for Java Developers
Virtualization Primer for Java DevelopersRichard McDougall
 
Implementing SR-IOv failover for Windows guests during live migration
Implementing SR-IOv failover for Windows guests during live migrationImplementing SR-IOv failover for Windows guests during live migration
Implementing SR-IOv failover for Windows guests during live migrationYan Vugenfirer
 
Porting Xen Paravirtualization to MIPS Architecture
Porting Xen Paravirtualization to MIPS ArchitecturePorting Xen Paravirtualization to MIPS Architecture
Porting Xen Paravirtualization to MIPS ArchitectureThe Linux Foundation
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Novell
 
RHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdfRHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdfPaul Yang
 
Collaborate vdb performance
Collaborate vdb performanceCollaborate vdb performance
Collaborate vdb performanceKyle Hailey
 
Xen Virtualization 2008
Xen Virtualization 2008Xen Virtualization 2008
Xen Virtualization 2008mwlang88
 
Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)hypervnu
 
Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloadspittmantony
 
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...The Linux Foundation
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to VirtualizationMuhammadRizkyFaza
 
Intrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanIntrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanchinitooo
 
Windows server 2012 failover clustering improvements
Windows server 2012   failover clustering improvementsWindows server 2012   failover clustering improvements
Windows server 2012 failover clustering improvementsSusantha Silva
 

Similaire à 12 christian ferber xen_server_advanced (20)

Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
 
Windows server 8 hyper v & storage (hans vredevoort)
Windows server 8 hyper v & storage (hans vredevoort)Windows server 8 hyper v & storage (hans vredevoort)
Windows server 8 hyper v & storage (hans vredevoort)
 
Hyper V And Scvmm Best Practis
Hyper V And Scvmm Best PractisHyper V And Scvmm Best Practis
Hyper V And Scvmm Best Practis
 
Windows server 8 and hyper v
Windows server 8 and hyper vWindows server 8 and hyper v
Windows server 8 and hyper v
 
Virtualization Primer for Java Developers
Virtualization Primer for Java DevelopersVirtualization Primer for Java Developers
Virtualization Primer for Java Developers
 
Windows 8 Hyper-V: Availability
Windows 8 Hyper-V: AvailabilityWindows 8 Hyper-V: Availability
Windows 8 Hyper-V: Availability
 
Implementing SR-IOv failover for Windows guests during live migration
Implementing SR-IOv failover for Windows guests during live migrationImplementing SR-IOv failover for Windows guests during live migration
Implementing SR-IOv failover for Windows guests during live migration
 
Porting Xen Paravirtualization to MIPS Architecture
Porting Xen Paravirtualization to MIPS ArchitecturePorting Xen Paravirtualization to MIPS Architecture
Porting Xen Paravirtualization to MIPS Architecture
 
1212312232
12123122321212312232
1212312232
 
Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)Virtualization with KVM (Kernel-based Virtual Machine)
Virtualization with KVM (Kernel-based Virtual Machine)
 
RHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdfRHEL5 XEN HandOnTraining_v0.4.pdf
RHEL5 XEN HandOnTraining_v0.4.pdf
 
Collaborate vdb performance
Collaborate vdb performanceCollaborate vdb performance
Collaborate vdb performance
 
Xen Virtualization 2008
Xen Virtualization 2008Xen Virtualization 2008
Xen Virtualization 2008
 
Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)Windows server 8 hyper v networking (aidan finn)
Windows server 8 hyper v networking (aidan finn)
 
Vm13 vnx mixed workloads
Vm13 vnx mixed workloadsVm13 vnx mixed workloads
Vm13 vnx mixed workloads
 
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
Dealing with Hardware Heterogeneity Using EmbeddedXEN, a Virtualization Frame...
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
Intrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanIntrack14dec tips tricks_clean
Intrack14dec tips tricks_clean
 
Windows server 2012 failover clustering improvements
Windows server 2012   failover clustering improvementsWindows server 2012   failover clustering improvements
Windows server 2012 failover clustering improvements
 
RMLL / LSM 2009
RMLL / LSM 2009RMLL / LSM 2009
RMLL / LSM 2009
 

Plus de Digicomp Academy AG

Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019
Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019
Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019Digicomp Academy AG
 
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...Digicomp Academy AG
 
Innovation durch kollaboration gennex 2018
Innovation durch kollaboration gennex 2018Innovation durch kollaboration gennex 2018
Innovation durch kollaboration gennex 2018Digicomp Academy AG
 
Roger basler meetup_digitale-geschaeftsmodelle-entwickeln_handout
Roger basler meetup_digitale-geschaeftsmodelle-entwickeln_handoutRoger basler meetup_digitale-geschaeftsmodelle-entwickeln_handout
Roger basler meetup_digitale-geschaeftsmodelle-entwickeln_handoutDigicomp Academy AG
 
Roger basler meetup_21082018_work-smarter-not-harder_handout
Roger basler meetup_21082018_work-smarter-not-harder_handoutRoger basler meetup_21082018_work-smarter-not-harder_handout
Roger basler meetup_21082018_work-smarter-not-harder_handoutDigicomp Academy AG
 
Xing expertendialog zu nudge unit x
Xing expertendialog zu nudge unit xXing expertendialog zu nudge unit x
Xing expertendialog zu nudge unit xDigicomp Academy AG
 
Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?
Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?
Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?Digicomp Academy AG
 
IPv6 Security Talk mit Joe Klein
IPv6 Security Talk mit Joe KleinIPv6 Security Talk mit Joe Klein
IPv6 Security Talk mit Joe KleinDigicomp Academy AG
 
Agiles Management - Wie geht das?
Agiles Management - Wie geht das?Agiles Management - Wie geht das?
Agiles Management - Wie geht das?Digicomp Academy AG
 
Gewinnen Sie Menschen und Ziele - Referat von Andi Odermatt
Gewinnen Sie Menschen und Ziele - Referat von Andi OdermattGewinnen Sie Menschen und Ziele - Referat von Andi Odermatt
Gewinnen Sie Menschen und Ziele - Referat von Andi OdermattDigicomp Academy AG
 
Querdenken mit Kreativitätsmethoden – XING Expertendialog
Querdenken mit Kreativitätsmethoden – XING ExpertendialogQuerdenken mit Kreativitätsmethoden – XING Expertendialog
Querdenken mit Kreativitätsmethoden – XING ExpertendialogDigicomp Academy AG
 
Xing LearningZ: Digitale Geschäftsmodelle entwickeln
Xing LearningZ: Digitale Geschäftsmodelle entwickelnXing LearningZ: Digitale Geschäftsmodelle entwickeln
Xing LearningZ: Digitale Geschäftsmodelle entwickelnDigicomp Academy AG
 
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only BuildingSwiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only BuildingDigicomp Academy AG
 
UX – Schlüssel zum Erfolg im Digital Business
UX – Schlüssel zum Erfolg im Digital BusinessUX – Schlüssel zum Erfolg im Digital Business
UX – Schlüssel zum Erfolg im Digital BusinessDigicomp Academy AG
 
Die IPv6 Journey der ETH Zürich
Die IPv6 Journey der ETH Zürich Die IPv6 Journey der ETH Zürich
Die IPv6 Journey der ETH Zürich Digicomp Academy AG
 
Xing LearningZ: Die 10 + 1 Trends im (E-)Commerce
Xing LearningZ: Die 10 + 1 Trends im (E-)CommerceXing LearningZ: Die 10 + 1 Trends im (E-)Commerce
Xing LearningZ: Die 10 + 1 Trends im (E-)CommerceDigicomp Academy AG
 
Zahlen Battle: klassische werbung vs.online-werbung-somexcloud
Zahlen Battle: klassische werbung vs.online-werbung-somexcloudZahlen Battle: klassische werbung vs.online-werbung-somexcloud
Zahlen Battle: klassische werbung vs.online-werbung-somexcloudDigicomp Academy AG
 
General data protection regulation-slides
General data protection regulation-slidesGeneral data protection regulation-slides
General data protection regulation-slidesDigicomp Academy AG
 

Plus de Digicomp Academy AG (20)

Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019
Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019
Becoming Agile von Christian Botta – Personal Swiss Vortrag 2019
 
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...
Swiss IPv6 Council – Case Study - Deployment von IPv6 in einer Container Plat...
 
Innovation durch kollaboration gennex 2018
Innovation durch kollaboration gennex 2018Innovation durch kollaboration gennex 2018
Innovation durch kollaboration gennex 2018
 
Roger basler meetup_digitale-geschaeftsmodelle-entwickeln_handout
Roger basler meetup_digitale-geschaeftsmodelle-entwickeln_handoutRoger basler meetup_digitale-geschaeftsmodelle-entwickeln_handout
Roger basler meetup_digitale-geschaeftsmodelle-entwickeln_handout
 
Roger basler meetup_21082018_work-smarter-not-harder_handout
Roger basler meetup_21082018_work-smarter-not-harder_handoutRoger basler meetup_21082018_work-smarter-not-harder_handout
Roger basler meetup_21082018_work-smarter-not-harder_handout
 
Xing expertendialog zu nudge unit x
Xing expertendialog zu nudge unit xXing expertendialog zu nudge unit x
Xing expertendialog zu nudge unit x
 
Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?
Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?
Responsive Organisation auf Basis der Holacracy – nur ein Hype oder die Zukunft?
 
IPv6 Security Talk mit Joe Klein
IPv6 Security Talk mit Joe KleinIPv6 Security Talk mit Joe Klein
IPv6 Security Talk mit Joe Klein
 
Agiles Management - Wie geht das?
Agiles Management - Wie geht das?Agiles Management - Wie geht das?
Agiles Management - Wie geht das?
 
Gewinnen Sie Menschen und Ziele - Referat von Andi Odermatt
Gewinnen Sie Menschen und Ziele - Referat von Andi OdermattGewinnen Sie Menschen und Ziele - Referat von Andi Odermatt
Gewinnen Sie Menschen und Ziele - Referat von Andi Odermatt
 
Querdenken mit Kreativitätsmethoden – XING Expertendialog
Querdenken mit Kreativitätsmethoden – XING ExpertendialogQuerdenken mit Kreativitätsmethoden – XING Expertendialog
Querdenken mit Kreativitätsmethoden – XING Expertendialog
 
Xing LearningZ: Digitale Geschäftsmodelle entwickeln
Xing LearningZ: Digitale Geschäftsmodelle entwickelnXing LearningZ: Digitale Geschäftsmodelle entwickeln
Xing LearningZ: Digitale Geschäftsmodelle entwickeln
 
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only BuildingSwiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
Swiss IPv6 Council: The Cisco-Journey to an IPv6-only Building
 
UX – Schlüssel zum Erfolg im Digital Business
UX – Schlüssel zum Erfolg im Digital BusinessUX – Schlüssel zum Erfolg im Digital Business
UX – Schlüssel zum Erfolg im Digital Business
 
Minenfeld IPv6
Minenfeld IPv6Minenfeld IPv6
Minenfeld IPv6
 
Was ist design thinking
Was ist design thinkingWas ist design thinking
Was ist design thinking
 
Die IPv6 Journey der ETH Zürich
Die IPv6 Journey der ETH Zürich Die IPv6 Journey der ETH Zürich
Die IPv6 Journey der ETH Zürich
 
Xing LearningZ: Die 10 + 1 Trends im (E-)Commerce
Xing LearningZ: Die 10 + 1 Trends im (E-)CommerceXing LearningZ: Die 10 + 1 Trends im (E-)Commerce
Xing LearningZ: Die 10 + 1 Trends im (E-)Commerce
 
Zahlen Battle: klassische werbung vs.online-werbung-somexcloud
Zahlen Battle: klassische werbung vs.online-werbung-somexcloudZahlen Battle: klassische werbung vs.online-werbung-somexcloud
Zahlen Battle: klassische werbung vs.online-werbung-somexcloud
 
General data protection regulation-slides
General data protection regulation-slidesGeneral data protection regulation-slides
General data protection regulation-slides
 

Dernier

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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.pdfsudhanshuwaghmare1
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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 WorkerThousandEyes
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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...Martijn de Jong
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 

Dernier (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

12 christian ferber xen_server_advanced

  • 1. XenServer Advanced Christian Ferber Systems Engineer Datacenter & Cloud Server Virtualization
  • 3. Architecture Control Domain/Dom 0 DomU/DomID DomU/DomID Centos 5.5 User space SSH Client SSHD SHELL SHELL VNC QEMU XenCenter XAPI Console Plugins Xen Tools Xen Tools State.db Net BLK Net BLK Performance Back Back Front Front Based on Linux Kernel Xen Windows Kernel Manu. Manu. Xen SUSE SP1 Kernel PV NIC Disk PV NIC NIC Disk Disk Driver Driver Driver Driver Hypervisor 64 Bit Intel-VT AMD-V Intel NIC Disk Controller Hardware System Memory Citrix use only - Do Not Distribute
  • 5. xe Command • Runs CLI binary • Local in Dom0 • Remote on Linux and Windows • Syntax: xe help or xe help command or xe help –all • Network Communication • SSL, TCP 443 • Objects such as a VM or Server Addressed by • Name e.g. WindowsAppServer • unique UUID e.g. 79372186-1db3-4928-ac1f-5ae7feb5fd19
  • 6. CLI • Filtering • vm-list HVM-boot-policy="BIOS order" power-state=halted • Parameterization • xe vm-list params=name-label • Parameterization and filtering can be combined • xe vm-list HVM-boot-policy="BIOS order" power-state=halted params=name-label • Minimal Output • xe vm-list HVM-boot-policy="BIOS order" power-state=halted params=name-label --minimal
  • 7. VM Objects VIF VBD VDI Network SR PIF PBD Host Pool
  • 8. XenServer Log Files • XenServer XAPI Agent • /var/log/messages - system • /var/log/xensource.log – XenServer only • /var/log/xha.log – HA logging *Logs can be sent to remote syslog daemon • Domain 0 • Hypervisor boot messages: xe host-dmesg • Domain 0 boot messages: dmesg
  • 9. XenServer logging • Log files are rotated on a daily base • Rotated log files can be seen as .<number> files • Max of 20 log files is saved by default • Create specific log files volume http://support.citrix.com/article/CTX130245 • Change logging options http://support.citrix.com/article/CTX130327
  • 11. Networking: single host VMs are connected to virtual interfaces VM 1 VM 2 VM 3 Virtual interfaces are also connected to the Network VIF 1 VIF 2 VIF 3 PIFs connected to Network Network 1 Network 2 Each NIC has a “PIF” object PIF 1 PIF 2 Host is connected to 2 NICs Host 1
  • 12. Networking: two hosts, not pooled VM 1 VM 1 VM 2 VIF 1 VIF 1 VIF 2 Network 1 Network 1 Network 2 Normal IP networking rules, dependant on how PIFs are configured PIF 1 PIF 1 PIF 2 Host 1 Host 2
  • 13. Networking: two hosts, pooled Pooled NIC require same MTU size VM 1 VM 2 VM 1 Normal IP networking rules, dependant VIF 1 VIF 2 VIF 1 on how PIFs are configured Network 1 PIF 1 PIF 2 Network shared across pool Host 1 Host 2
  • 14. Network objects: PIF • XAPI view: • xe pif-list params=all • Dom0 view: • ifconfig • eth0 • eth0.33 (VLAN) • Bond0 • __tmp56347856
  • 15. Bonding • SLB (Source Load Balancing) • Load-balancing of VM and MGMT traffic • Fail-over support for storage traffic • Dynamic rebalancing (10 sec) • Note: etherchannel or 802.3ad (LACP) not required
  • 16. Bonding Seamless failover if interface goes down VM 1 Traffic through one PIF at any one time VIF 1 (SLB) Network 1 Bond joins network, instead of the underlying PIF devices BOND 1 PIF 1 PIF2 PIF3 PIF4 PIF0/PIF1: Form a NIC bond
  • 18. XenServer Disk Layouts (Shared) Native iSCSI & NFS-Based StorageLink Fiber Channel Storage Based SR Virtual Machine Virtual Machine Virtual Machine Virtual Machine Virtual Machine Virtual Machine StorageLink Storage Repository Storage Repository Storage Repository xxx.vhd yyy.vhd zzz.vhd LVHD Logical Volumes (Thick) LUN LUN LUN LVM Volume Group LUN NFS Share Volume NAS Volume SAN “Raw” Disk
  • 19. LVM • Host storage virtualized using LVM • Volume Group named “VG_XenStorage_<UUID>” • Common commands • vgs - List of volume groups • lvs, lvdisplay - List of logical volumes • pvs, pvdisplay - List of physical volumes • man lvm - Other commands • Mount guest disk in dom0 • mount /dev/VG_XenStorage_<uuid>/<VM_uuid>.<disk> /path/to/mount/point
  • 20. Common Issues • Is the disk detected? • fdisk –l to show disks and partitions • Is the module loaded? • lsmod – lists loaded modules • insmod/modprobe – inserts modules • rmmod – removes loaded modules • Confirm device info? • lspci
  • 22. Check Network Performance • Iperf • https://nocweboldcst.ucf.edu/files/iperf.exe • Important: Use right parameters!!!! • e.g. Iperf ... –w 64k • Check VM performance (Windows / Linux) + Dom-0 • Check interrupts • Command: top • Type: z • Type: 1 • See interrupts as „si“
  • 23. VM Networking Performance Improvement • Task Offload is enabled by default • Keep defaults, change when experiencing performance issues • May require modification in specific situations • Disable Task Offload • XenServer <= 5.5 • http://support.microsoft.com/kb/888750 • HKEY_LOCAL_MACHINESystemCurrentControlSetServicesTcpipParameters DWORD DisableTaskOffload=1 • Since XenServer 5.6 this can be done in the device properties of the network card under the „Advanced“-Tab
  • 24. Server Networking Performance improvement • Task Offload could be set on server level as well • Check setting • ethtool –k <ethernet device e.g. eth0> • Enabling / disabling settings during operation (non- persistent) • ethtool –K <ethernet device> rx off • (example, K is case sensitive!!!) • Enabling / disabling settings during operation (persistent) • xe host-list • xe pif-list host-uuid=<host-uuid von oben> device=<nic device z.B. eth4> VLAN=-1 • xe pif-param-set uuid=<pif-uuid> other-config:ethtool-rx=“off“
  • 25. Performance optimation NFS/iSCSI • Check large-receive-offload and enable it (ethtool –k), gain 80% • Disable IOMMU in BIOS, gain up to 10% • Enable JumboFrames (DVS)
  • 26. Enabling IRQ Rebalancing on XS 5.6 SP2 and older • http://blog.benpiper.com/2011/08/improving-network- throughput-in-xenserver-using-irqbalance/ • yum install irqbalance --enablerepo base • Service irqbalance start • Check interrupts • Cat /proc/interrupts • Default in XenServer 6.0
  • 27. Check storage performance • Read performance: hdparm –t /dev/sdb (example) • Tools like • IOMeter • Crystal Disk benchmark • iostat –x • XenServer performance VM • http://support.citrix.com/article/CTX127065
  • 28. Multipath Configuration DMP DMP RDAC MPP RDAC MPP RDAC Default Yes No No XenServer >= 5.0 >= 5.0 Update 2 >=5.6 FP1 version Management Yes No No via XenCenter Only LSI controller based Only LSI controller based Only LSI controller based Support Wide range of storage storage storage storage Driver / multipathd mppVhba driver mppVhba driver Daemon CLI path check mpathutil status mppUtil –g 0 mppUtil –g 0 opt/xensource/lib /etc/mpp.conf exec/mpp-rdac – /etc/multipath- enable /etc/multipath- enabled.conf (requires execution of Configuration enabled.conf Hardware_handler „1 /opt/xensource/bin opt/xensource/lib rdac“ /update-initrd) exec/mpp-rdac – Citrix use only - Do Not Distribute disable