I tried several methods.

  1. sudo apt-get install xen-tools is installing at least two packages but cannot configure / start them for unknown reason.

    Source

  2. Using the iso provided by Xencenter (developer help page)

    mount /dev/xvdd /mnt
    

    End up this way

    mount: special device /dev/xvdd does not exist
    

    Source

  3. Using the iso provided by Xencenter (xen ochestra help page)

    mount /dev/cdrom /mnt
    

    works

    bash /mnt/Linux/install.sh
    

    returns

    bash: /mnt/Linux/install.sh: No such file or directory
    

    Source

You first need to find out the physical path to the DVD drive by running:

sudo lsblk -f

The output can look like this:

NAME                 FSTYPE      LABEL           UUID                                   MOUNTPOINT
sr0                  iso9660     XenServer Tools 2017-02-14-21-45-52-00
xvda
├─xvda1              ext2                        b874af3a-24ec-454f-a802-0fee2945e388   /boot
├─xvda2
└─xvda5              LVM2_member                 LOmK2X-RYRD-GR8s-Guzv-kXFN-e3Y8-gSVdgM
  ├─nginx--vg-root   ext4                        2dd0c496-ea05-4027-bf90-84ceb94d2f3a   /
  └─nginx--vg-swap_1 swap                        77064139-1d50-4344-ade7-dacec1e62c9b   [SWAP]

As you can see, I already "inserted" the Xen Tools disk and the drive has /dev/sr0 physical path. Then, you need to create a directory where the drive will be mounted and then mount it:

$ sudo mkdir /mnt/dvd
$ sudo mount /dev/sr0 /mnt/dvd
mount: /dev/sr0 is write-protected, mounting read-only

Then, run the installer

cd /mnt/dvd/Linux
sudo ./install.sh

You can currently install version 6.2 (Which works with XenServer 7.2) with apt:

sudo apt-get install xe-guest-utilities

Though, as this will then get upgraded (either via apt-get updgrade or unattended-upgrades), it may become unstable when a new version of XenServer is released, so it may be good to pin it to version 6.* (/etc/apt/preferences.d/xe-guest-utilities):

Package: xe-guest-utilities
Pin: version 6.*
Pin-Priority: 900

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.