Here are some helpful snippets for Xen servers.

Web Interface


I have yet to find out how to disable this completely because I found another solution that is better in my opinion.

You can simply edit/delete the file /opt/xensource/www/Citrix-index.html and change it to a redirect to your home page like this:

  <meta http-equiv="refresh" content="0; URL=" />

(You really only need this line in the file as most browsers will interpret that correctly.)

If you want to go further with this (ie. remove all files in the webroot), you can also do the following:

  1. $ ssh root@your-server.your.domain
  2. # rm /opt/xensource/www/*
  3. # echo "<meta http-equiv=\"refresh\"; content=\"0; URL=\">" > /opt/xensource/www/index.html


If you ever choose/need to install XenCenter, here are the locations:

  • /opt/xensource/packages/iso/XenCenter.iso
  • /var/xen/xc-install/XenCenterSetup.exe

Software Repositories

List all available software repos

  • Command: xe sr-list

Create a local iso repo

  • Command: xe sr-create
  • Params:
    • name-label - Name
    • type - iso for iso files
    • content-type - iso for iso files
    • device-config:location - Path to the folder containing iso files
    • device-config:legacy_mode=true - Can’t find what this does just that it’s important 🙄
  • Example:
    xe sr-create name-label=isos type=iso device-config:location=/var/opt/xen/isoRepo device-config:legacy_mode=true content-type=iso