This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
virtualization:xenserver:xenserver_troubleshoot [2015/01/06 07:53] gcooper |
virtualization:xenserver:xenserver_troubleshoot [2019/04/30 06:34] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Citrix XenServer Troubleshooting | + | ====== Citrix XenServer Troubleshooting ====== |
+ | |||
+ | **Tools for XenServer Troubleshooting**: | ||
+ | |||
+ | **How to Collect Diagnostic Information for XenServer**: | ||
+ | |||
+ | **Helpful XenServer Commands**: http:// | ||
===== Kernel Panic (Hang on Boot) ===== | ===== Kernel Panic (Hang on Boot) ===== | ||
Line 9: | Line 15: | ||
==== RAID Metadata on Disk ==== | ==== RAID Metadata on Disk ==== | ||
- | If you are installing to disks that previously had been used in RAID configurations, | + | See also **[[computing: |
- | In the case of Intel (integrated) RAID: | + | :!: If you are installing to disks that previously had been used in RAID configurations, |
- | - Configure | + | :!: You probably won't see the kernel panic (hang on boot) until **after installing SP1** (XenServer 6.2). |
- | - Enter the RAID configuration | + | |
- | - Delete the RAID volumes | + | |
- | - If the RAID configuration | + | |
- | - Recreate a RAID volume | + | |
- | - Reboot and go back into the RAID configuration (Control-I) again | + | |
- | - Delete the RAID volume just created | + | |
- | - Reboot again | + | |
- | - Install XenServer normally | + | |
- | :!: You probably won't see the kernel panic (hang on boot) until after installing SP1 (XenServer 6.2). | + | ==== Check Disk Space ==== |
- | + | ||
- | ===== File System on Control Domain Full ===== | + | |
- | + | ||
- | http:// | + | |
- | + | ||
- | Check disk space: | + | |
< | < | ||
Line 51: | Line 43: | ||
rm -rf /root/* | rm -rf /root/* | ||
</ | </ | ||
+ | |||
+ | ===== File System on Control Domain Full ===== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | ===== Detach a VHD from the Control Domain ===== | ||
+ | |||
+ | <note important> | ||
+ | |||
+ | List out the VBD (connector object between VM and VDI) based on the VDI UUID: | ||
+ | |||
+ | < | ||
+ | xe vdi-list | grep -B1 -A5 -i " | ||
+ | |||
+ | xe vdi-list name-label="< | ||
+ | |||
+ | xe vbd-list vdi-uuid=< | ||
+ | |||
+ | </ | ||
+ | <note important> | ||
+ | </ | ||
+ | |||
+ | Once done, you want to first try to make VBD inactive (it may already be inactive), | ||
+ | |||
+ | < | ||
+ | xe vbd-unplug uuid=< | ||
+ | </ | ||
+ | |||
+ | Once done, you can then break the connection: | ||
+ | |||
+ | < | ||
+ | xe vbd-destroy uuid=< | ||
+ | </ | ||
+ | |||
+ | Check in XenCenter to verify and delete the virtual disk. | ||
+ | |||
+ | ===== Log Partition Full ===== | ||
Delete rotated log files: | Delete rotated log files: | ||
Line 56: | Line 87: | ||
< | < | ||
find /var/log/ -type f -name *.gz -exec rm -f {} \; | find /var/log/ -type f -name *.gz -exec rm -f {} \; | ||
+ | </ | ||
+ | |||
+ | Delete '' | ||
+ | |||
+ | < | ||
+ | rm -f / | ||
</ | </ | ||
Line 85: | Line 122: | ||
< | < | ||
- | umount /mnt/backup | + | umount / |
- | rm -rf / | + | |
mount -a | mount -a | ||
</ | </ | ||
+ | |||
+ | ===== XAPI Database Parsing Tools ===== | ||
+ | |||
+ | Windows Version: http:// | ||
+ | |||
+ | Linux Version: http:// | ||
+ | |||
+ | ===== XenTools ===== | ||
+ | |||
+ | FIXME Incomplete and needs verification | ||
+ | |||
+ | This is a procedure to fix XenTools networking issues: | ||
+ | |||
+ | - Remove network interface via XenCenter | ||
+ | - Uninstall all Citrix XenTools packages from Add/Remove Programs | ||
+ | - Remove Citrix from filesystem and registry | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | - Run in an admin command shell | ||
+ | * Stop all running XenTools services | ||
+ | * '' | ||
+ | * '' | ||
+ | - Reboot | ||
+ | - Check things out and remove any ' | ||
+ | - Reboot again | ||
+ | - Add network adapter in XenCenter | ||
+ | - Reconfigure the networking until it works properly again | ||
+ | - Reboot | ||
+ | - Reinstall XenTools patiently | ||
+ |