SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Citrix® XenServer ,[object Object],Advanced Troubleshooting Thomas Krampe Citrix Technology Professional
Agenda 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Architecture 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XenServer Architecture 04/19/10 (c) 2009 Thomas Krampe SM Virtualized Hardware Hardware VT/AMD-V XAPI Drivers Storage CLI NFS iSCSI FC
Xen Domain0 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Guest OS internals 04/19/10 (c) 2009 Thomas Krampe PV Guest  ,[object Object],[object Object],[object Object],[object Object],HVM Guest (Windows)  ,[object Object],[object Object],[object Object],[object Object]
XAPI 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Storage Manager 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
CLI 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object]
GUI 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object]
Troubleshooting 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Install 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Useful Linux Commands 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Useful Linux Commands 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object]
Server Diagnostics and Inventory 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Diagnostics and Inventory 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Server Diagnostics and Inventory 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object]
Saving System State 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XS Server Log Files 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Debug Logging for XAPI Agent 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
XenSource Agent 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object]
XenCenter Logging 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Summary 04/19/10 (c) 2009 Thomas Krampe xen-bugtool generates XE Server diagnostic file for submission to Technical Support Representative. xe host-bugreport-upload runs xen-bugtool and uploads the result to XenSource support. xe host-bugtool can be used to save Domain 0 state, to assist during emergency recovery Use Linux commands (network, storage, modules) to troubleshoot server install.
Birth and Death of a VM 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object]
VM Installation Internals 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Behind the Scenes 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Debugging Windows VMs 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Object Model and CLI  04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Object Model 04/19/10 (c) 2009 Thomas Krampe
CLI Command Format 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Maps 04/19/10 (c) 2009 Thomas Krampe Setting Map values [root@localhost] xe vm-param-set uuid=VM uuid other-config:foo=baa Getting Map values [root@localhost] xe vm-param-get uuid=VM-uuid param-name=other-config mac_seed: 6fjafhahffhadfbadfad [root@localhost] xe vm-param-get uuid=VM-uuid param-name=other-config param-key=mac_seed 6fjafhahffhadfbadfad
Constraining Information 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Interesting Commands 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Looking inside a log file 04/19/10 (c) 2009 Thomas Krampe Each Entry looks like [timestamp][hostname][level] [ref-1] [(num-1) unix_rpc] text-1 text2 text3…. [timestamp] Timestamp of log entry [hostname] Host name (in a pool) [level]  Debug level [ref-1] ID of the task on whose behalf this is created num-1 Thread ID, local to the current process unix_rpc Unix Domain Socket (as opposed to inet_rpc=TCP) text-1  Subsystem text2/text3 more information on action performed
Looking inside a log file 04/19/10 (c) 2009 Thomas Krampe xensource.log [20100209 16:58:28.688|debug|localhost|3078703|SR scanner D:dfd9ef0b708d|helpers] login done [20100209 16:58:28.921|debug|localhost|3078706 unix-RPC|SR.scan R:1ac783270499|taskhelper] task destroyed [root@localhost log]# Xenstored-access.log [20100209 16:49:05.381] D35  write  data/meminfo_free 551040 [20100209 16:49:05.381] D35  write  data/meminfo_total 1035760 [20100209 16:49:05.381] D35  write  data/updated 1 messages Feb  9 17:04:58 fragmgrid2001 xapi: [ info|localhost|3078916|SR scanner D:dfd9ef0b708d|dispatcher] spawning a new thread to handle the current task Feb  9 17:04:58 fragmgrid2001 xapi: [ info|localhost|3078917 unix-RPC|session.slave_login D:58b671575b1e|xapi] Session.create trackid=ea252f3e59cc6f0d2d3de1345967d54b pool=true uname= is_local_superuser=true auth_user_sid= Feb  9 17:04:58 fragmgrid2001 xapi: [ info|localhost|3078919 unix-RPC|dispatch:SR.scan D:64e76e160ebc|taskhelper] task SR.scan R:98637b78c34f (uuid:6e8469dc-724d-0260-a584-44d36bca2953) created (trackid=ea252f3e59cc6f0d2d3de1345967d54b) by task D:dfd9ef0b708d
Unattend Installation 04/19/10 (c) 2009 Thomas Krampe ,[object Object],[object Object],http://wiki.xenmaster.de/doku.php/xenserver/xspxeunattend
Questions & Answers 04/19/10 (c) 2009 Thomas Krampe

Weitere ähnliche Inhalte

Was ist angesagt?

VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
glbsolutions
 
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
 
LinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and BeyondLinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and Beyond
The Linux Foundation
 
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
 

Was ist angesagt? (20)

Why xen slides
Why xen slidesWhy xen slides
Why xen slides
 
Xen server 6.1 technical sales presentation
Xen server 6.1 technical sales presentationXen server 6.1 technical sales presentation
Xen server 6.1 technical sales presentation
 
Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008Ian Pratt Nsdi Keynote Apr2008
Ian Pratt Nsdi Keynote Apr2008
 
VMware Advance Troubleshooting Workshop - Day 4
VMware Advance Troubleshooting Workshop - Day 4VMware Advance Troubleshooting Workshop - Day 4
VMware Advance Troubleshooting Workshop - Day 4
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
 
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
 
Top Troubleshooting Tips and Techniques for Citrix XenServer Deployments
Top Troubleshooting Tips and Techniques for Citrix XenServer DeploymentsTop Troubleshooting Tips and Techniques for Citrix XenServer Deployments
Top Troubleshooting Tips and Techniques for Citrix XenServer Deployments
 
Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)Xen and the art of embedded virtualization (ELC 2017)
Xen and the art of embedded virtualization (ELC 2017)
 
LinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and BeyondLinuxCon Japan 13 : 10 years of Xen and Beyond
LinuxCon Japan 13 : 10 years of Xen and Beyond
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshooting
 
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,PavlicekXen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
 
Xen Project Hypervisor for the Cloud
Xen Project Hypervisor for the CloudXen Project Hypervisor for the Cloud
Xen Project Hypervisor for the Cloud
 
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
 
VMware vSphere Performance Troubleshooting
VMware vSphere Performance TroubleshootingVMware vSphere Performance Troubleshooting
VMware vSphere Performance Troubleshooting
 
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
 
Aplura virtualization slides
Aplura virtualization slidesAplura virtualization slides
Aplura virtualization slides
 
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
XPDS16: Xen Orchestra: building a Cloud on top of Xen - Olivier Lambert & Jul...
 
vSphere
vSpherevSphere
vSphere
 
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
Diretrizes para Implementação do Citrix XenServer 6.2.0 em Servidores HP Prol...
 
VMware vSphere Networking deep dive
VMware vSphere Networking deep diveVMware vSphere Networking deep dive
VMware vSphere Networking deep dive
 

Ähnlich wie Citrix XenServer 5.5 Troubleshooting

Step by step_linux_guide
Step by step_linux_guideStep by step_linux_guide
Step by step_linux_guide
vinod31dec
 
xen_summit_asia2009_gplhost_dtc-xen_en.ppt - VPS hosting and ...
xen_summit_asia2009_gplhost_dtc-xen_en.ppt - VPS hosting and ...xen_summit_asia2009_gplhost_dtc-xen_en.ppt - VPS hosting and ...
xen_summit_asia2009_gplhost_dtc-xen_en.ppt - VPS hosting and ...
webhostingguy
 
Dns configuration on rhel 5
Dns configuration on rhel 5Dns configuration on rhel 5
Dns configuration on rhel 5
Subin Selvaraj
 
V Mwarev Storage Intregration
V Mwarev Storage IntregrationV Mwarev Storage Intregration
V Mwarev Storage Intregration
mikhail.mikheev
 
Vmware Command Line
Vmware   Command LineVmware   Command Line
Vmware Command Line
lifeit
 
Tech X Virtualization Tips
Tech X Virtualization TipsTech X Virtualization Tips
Tech X Virtualization Tips
Youssef EL HADJ
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
badamisri
 

Ähnlich wie Citrix XenServer 5.5 Troubleshooting (20)

Cloud RPI4 tomcat ARM64
Cloud RPI4 tomcat ARM64Cloud RPI4 tomcat ARM64
Cloud RPI4 tomcat ARM64
 
Drupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on WindowsDrupal, Memcache and Solr on Windows
Drupal, Memcache and Solr on Windows
 
Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)Advanced Level Training on Koha / TLS (ToT)
Advanced Level Training on Koha / TLS (ToT)
 
Step by step_linux_guide
Step by step_linux_guideStep by step_linux_guide
Step by step_linux_guide
 
Hopping in clouds: a tale of migration from one cloud provider to another
Hopping in clouds: a tale of migration from one cloud provider to anotherHopping in clouds: a tale of migration from one cloud provider to another
Hopping in clouds: a tale of migration from one cloud provider to another
 
Linux clustering solution
Linux clustering solutionLinux clustering solution
Linux clustering solution
 
xen_summit_asia2009_gplhost_dtc-xen_en.ppt - VPS hosting and ...
xen_summit_asia2009_gplhost_dtc-xen_en.ppt - VPS hosting and ...xen_summit_asia2009_gplhost_dtc-xen_en.ppt - VPS hosting and ...
xen_summit_asia2009_gplhost_dtc-xen_en.ppt - VPS hosting and ...
 
Dns configuration on rhel 5
Dns configuration on rhel 5Dns configuration on rhel 5
Dns configuration on rhel 5
 
V Mwarev Storage Intregration
V Mwarev Storage IntregrationV Mwarev Storage Intregration
V Mwarev Storage Intregration
 
Xenalyze
XenalyzeXenalyze
Xenalyze
 
XPDDS18: Design and Implementation of Automotive: Virtualization Based on Xen...
XPDDS18: Design and Implementation of Automotive: Virtualization Based on Xen...XPDDS18: Design and Implementation of Automotive: Virtualization Based on Xen...
XPDDS18: Design and Implementation of Automotive: Virtualization Based on Xen...
 
Vmware Command Line
Vmware   Command LineVmware   Command Line
Vmware Command Line
 
AIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge ShareAIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge Share
 
Deep inside TOMOYO Linux
Deep inside TOMOYO LinuxDeep inside TOMOYO Linux
Deep inside TOMOYO Linux
 
CCNA CHAPTER 4 BY jetarvind kumar madhukar
CCNA CHAPTER 4 BY jetarvind kumar madhukarCCNA CHAPTER 4 BY jetarvind kumar madhukar
CCNA CHAPTER 4 BY jetarvind kumar madhukar
 
Tech X Virtualization Tips
Tech X Virtualization TipsTech X Virtualization Tips
Tech X Virtualization Tips
 
Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...
Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...
Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
Linux conf-admin
Linux conf-adminLinux conf-admin
Linux conf-admin
 
Linux Conf Admin
Linux Conf AdminLinux Conf Admin
Linux Conf Admin
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
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
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
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...
 
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
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Citrix XenServer 5.5 Troubleshooting

  • 1.
  • 2.
  • 3.
  • 4. XenServer Architecture 04/19/10 (c) 2009 Thomas Krampe SM Virtualized Hardware Hardware VT/AMD-V XAPI Drivers Storage CLI NFS iSCSI FC
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23. Summary 04/19/10 (c) 2009 Thomas Krampe xen-bugtool generates XE Server diagnostic file for submission to Technical Support Representative. xe host-bugreport-upload runs xen-bugtool and uploads the result to XenSource support. xe host-bugtool can be used to save Domain 0 state, to assist during emergency recovery Use Linux commands (network, storage, modules) to troubleshoot server install.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. Object Model 04/19/10 (c) 2009 Thomas Krampe
  • 30.
  • 31. Maps 04/19/10 (c) 2009 Thomas Krampe Setting Map values [root@localhost] xe vm-param-set uuid=VM uuid other-config:foo=baa Getting Map values [root@localhost] xe vm-param-get uuid=VM-uuid param-name=other-config mac_seed: 6fjafhahffhadfbadfad [root@localhost] xe vm-param-get uuid=VM-uuid param-name=other-config param-key=mac_seed 6fjafhahffhadfbadfad
  • 32.
  • 33.
  • 34. Looking inside a log file 04/19/10 (c) 2009 Thomas Krampe Each Entry looks like [timestamp][hostname][level] [ref-1] [(num-1) unix_rpc] text-1 text2 text3…. [timestamp] Timestamp of log entry [hostname] Host name (in a pool) [level] Debug level [ref-1] ID of the task on whose behalf this is created num-1 Thread ID, local to the current process unix_rpc Unix Domain Socket (as opposed to inet_rpc=TCP) text-1 Subsystem text2/text3 more information on action performed
  • 35. Looking inside a log file 04/19/10 (c) 2009 Thomas Krampe xensource.log [20100209 16:58:28.688|debug|localhost|3078703|SR scanner D:dfd9ef0b708d|helpers] login done [20100209 16:58:28.921|debug|localhost|3078706 unix-RPC|SR.scan R:1ac783270499|taskhelper] task destroyed [root@localhost log]# Xenstored-access.log [20100209 16:49:05.381] D35 write data/meminfo_free 551040 [20100209 16:49:05.381] D35 write data/meminfo_total 1035760 [20100209 16:49:05.381] D35 write data/updated 1 messages Feb 9 17:04:58 fragmgrid2001 xapi: [ info|localhost|3078916|SR scanner D:dfd9ef0b708d|dispatcher] spawning a new thread to handle the current task Feb 9 17:04:58 fragmgrid2001 xapi: [ info|localhost|3078917 unix-RPC|session.slave_login D:58b671575b1e|xapi] Session.create trackid=ea252f3e59cc6f0d2d3de1345967d54b pool=true uname= is_local_superuser=true auth_user_sid= Feb 9 17:04:58 fragmgrid2001 xapi: [ info|localhost|3078919 unix-RPC|dispatch:SR.scan D:64e76e160ebc|taskhelper] task SR.scan R:98637b78c34f (uuid:6e8469dc-724d-0260-a584-44d36bca2953) created (trackid=ea252f3e59cc6f0d2d3de1345967d54b) by task D:dfd9ef0b708d
  • 36.
  • 37. Questions & Answers 04/19/10 (c) 2009 Thomas Krampe

Hinweis der Redaktion

  1. The XS installation CD runs a minimal Linux environment, so most standard Linux commands can be used to diagnose install problems. There are three “virtual terminals” available during installation, which display the install program, an interactive console and a detail event log. Use ALT + Function Keys to switch between the virtual terminals. Login to the interactive console with userid ‘root’. Technical Support may request that the command “support.sh” be run to create a diagnostic tarball to be submitted when filing a new case about an installation problem.
  2. After logging into the interactive virtual terminal (Alt-F2), here are some example of standard Linux commands that provide information about devices. Fdisk will list all disks that can be seen as a result of the loaded storage device drivers. If a particular device driver did not load (e.g. for a RAID card), then the disks attached to that card will not be visible to “fdisk”. Ifconfig will show the network configuration of physical NICs, e.g. IP address and gateway. By default, the XE Install CD assumes the presence of a DHCP server on the local network. If no DHCP server is present, a static IP address can be configured with the command “ifconfig eth0 ip.ad.dr.es” (replacing ip.ad.dr.es with a valid static IP address on your local network). Ping can be used to verify network connectivity from the XE Server to a remote IP address.
  3. Xen-bugtool: This is the most important command when submitting an XE Server problem report to Technical Support. It captures static and runtime state on a XenEnterprise Server, for use in diagnosing a reported problem. The compressed file can be unpacked on a Linux system and manually inspected. The support file may contain sensitive information about the customer’s operational environment and should not be posted to public mailing lists. We have also included a command line option that will run xen-bugtool remotely package up the results and upload them to an incoming support server at XenSource. This removes the need for a user to transfer the xen-bugtool output to another computer and then e-mail in. This command can be run on the XenSource server or run remotely from an administrator system.
  4. While xen-bugtool is first and foremost a technical support diagnostic tool, the state that it records can be useful in manual emergency recovery of a critical system failure. Such a manual procedure is beyond the scope of this document or field technical staff, but it is recommended that copies of the xen-bugtool tarball be backed up to a safe location off-host from the XE Server.
  5. XE proprietary agent uses syslog for all log messages. Can edit /etc/syslog.conf to send messages to central log server. For diagnosis of specific failures that are not easy to reproduce, Technical Support Representative may request an increase in log level, which is performed using the XE CLI (local or remote). xend.log and xend-debug.log contain messages from the Xen OSS tool stack, which does not use syslog (local logs only). All server log files are captured by the xen-bugtool inventory command (see later slide), for filing a case with Technical Support.
  6. Administrator Console log files are used to diagnose: connection problem to XE Servers crash of the admin console Java application functional failure of admin console Java application File locations (logs, log property file, client property file) are different in Windows and Linux. For diagnosis of specific failures that are not easy to reproduce, Technical Support Representative may request an increase in log level, which is performed by editing a text file. Windows XE 3.1 clients have a per-user log file. Windows XE 3.0 clients have a central log file. Linux XE 3.0 and 3.1 clients have a per-user log file. When there is a per-user log file and that user needs to run multiple XE console instances (e.g. 3.0 and 3.1 in parallel), the startup script (Linux) or shortcut (Windows) must be manually edited to specify a per-instance log file, instead of the default per-user log file.
  7. http://wiki.xenmaster.de/doku.php/xenserver/xspxeunattend