SlideShare ist ein Scribd-Unternehmen logo
1 von 29
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
Amit Gatenyo
 
Hypervisor comparison 201212
Hypervisor comparison 201212Hypervisor comparison 201212
Hypervisor comparison 201212
Chang kil Lee
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
glbsolutions
 
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
 
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
The Linux Foundation
 

Was ist angesagt? (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
 

Ähnlich wie 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 XCP
The 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
 
Collaborate vdb performance
Collaborate vdb performanceCollaborate vdb performance
Collaborate vdb performance
Kyle Hailey
 
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 workloads
pittmantony
 
Intrack14dec tips tricks_clean
Intrack14dec tips tricks_cleanIntrack14dec tips tricks_clean
Intrack14dec tips tricks_clean
chinitooo
 

Ähnlich wie 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
 

Mehr von 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 2019
Digicomp Academy AG
 

Mehr von 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
 

Kürzlich hochgeladen

+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@
 

Kürzlich hochgeladen (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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
 
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...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
+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...
 
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
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

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