Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UTM 9.3 on XenServer and Tools are not installed?

Hi,

i recently setup my UTM 32bit in Version 9.3 on XenServer 6.2 SP1 and all available Patches. During install i saw that relevant Parts regarding XenServer got installed. But currently XenCenter shows me that XenServer Tools are not installed . A year ago i already setup an utm (which now also runs with Version 9.3) on the same host and here the Xentools are regonized. 

Do you have any Idea why the XenTools are missing?


This thread was automatically locked due to age.
Parents
  • In case someone will face the same issue. 
    Install the 64 Bit Version and the Xen Tools will be available.
  • In case someone will face the same issue. 
    Install the 64 Bit Version and the Xen Tools will be available.


    Which version of the XenTools have to got installed, as from memory when I installed UTM on XenServer 6.5, the tools were ver 5.? , bundles in the 
    UTM distro.

    This appears to misreport the used memory to XS, so I forced the new tools
    onto the UTM VM to resolve the problem.


    Not able to confirm this at the moment as not in the office.
  • Which version of the XenTools have to got installed, as from memory when I installed UTM on XenServer 6.5, the tools were ver 5.? , bundles in the UTM distro.
    This appears to misreport the used memory to XS, so I forced the new tools
    onto the UTM VM to resolve the problem.


    Hi, I'm encouraged to hear you have Sophos running on XenServer as I can't get the VM to boot due to an eliloader error when I use the recommended SUSE 11 linux template. What linux template did you base your Sophos VM on?

    Also, how do you force install the XenTools once the VM's up and running?
Reply
  • Which version of the XenTools have to got installed, as from memory when I installed UTM on XenServer 6.5, the tools were ver 5.? , bundles in the UTM distro.
    This appears to misreport the used memory to XS, so I forced the new tools
    onto the UTM VM to resolve the problem.


    Hi, I'm encouraged to hear you have Sophos running on XenServer as I can't get the VM to boot due to an eliloader error when I use the recommended SUSE 11 linux template. What linux template did you base your Sophos VM on?

    Also, how do you force install the XenTools once the VM's up and running?
Children
  • Hi, I'm encouraged to hear you have Sophos running on XenServer as I can't get the VM to boot due to an eliloader error when I use the recommended SUSE 11 linux template. What linux template did you base your Sophos VM on?

    Also, how do you force install the XenTools once the VM's up and running?

    Hi

    I didn't use a template, just installed the iso using the windows (yuk) interface. This was the standard iso
    from the site, not the vm version. I gave the vm about 512G and 2G memory, and two virtual cpu's

    Regarding the xentools, which were at 5.6 if i remember, I ran the install script, it didn't work, said that the tools were already installed, so I ran each
    script individually and it seemed to work. 

    You have to mount the xen tools via the windows interface, then go down /mnt/can't remember/Linux.

    You need to do this as root observing the dire warning from sophos about being root. [:O]

    Sorry can't be more helpful but I am away from the office for a while longer.

    Aimee
  • I didn't use a template, just installed the iso using the windows (yuk) interface. This was the standard iso
    from the site, not the vm version. I gave the vm about 512G and 2G memory, and two virtual cpu's

    Thanks for this info. I don't understand what you mean by you "installed using the windows (yuk) interface". The only way I know of creating a new VM is through the XenCenter Windows client - is that what you mean? That forces you to select a template (it lists all sorts of different versions of Windows, RHEL, SUSE, Oracle Linux, CentOS etc). I thought you have to select one of these. I selected SUSE 11 because that's what's recommended in the Sophos UTM docs. If there's another way of installing the ISO I'd be keen to know what it is.
  • Thanks for this info. I don't understand what you mean by you "installed using the windows (yuk) interface". The only way I know of creating a new VM is through the XenCenter Windows client - is that what you mean? That forces you to select a template (it lists all sorts of different versions of Windows, RHEL, SUSE, Oracle Linux, CentOS etc). I thought you have to select one of these. I selected SUSE 11 because that's what's recommended in the Sophos UTM docs. If there's another way of installing the ISO I'd be keen to know what it is.


    Yuk was meant as a facetious comment!!

    To install an iso without a template you can in the wonderful windows client, create a link using xencentre , i think its the cif option,to the directory where your iso's are placed,. then you can select the iso, install it via the xencenter and hopefully all is well. the option to do this is at the bottom of the list of templates i think.

    For info, I tried to install debian using the template, wouldn't install, so I used the same procedure, then afterwards, mounted xentools and installed via the command line , as root in the new vm. now all the vm's show as version 6.5 in the vm list.

    you can also install a vswitch and other stuff, there are lots of papers on all of this on the citrix site, also the XenServer Adminstrator Guide which if i recall describes the cifs mounting procedure
  • To install an iso without a template you can in the wonderful windows client, create a link using xencentre , i think its the cif option,to the directory where your iso's are placed,. then you can select the iso, install it via the xencenter and hopefully all is well. the option to do this is at the bottom of the list of templates i think.

    Thanks for this explanation - really appreciating your help here! I have created a new VM with this method and it booted OK.

    ...then afterwards, mounted xentools and installed via the command line , as root in the new vm. now all the vm's show as version 6.5 in the vm list.

    I'm struggling with this Xentools part. Xentools are installed but the Virtualization state field says "Optimized (version 5.6 installed)" As I'm running XenServer 6.5 these tools won't work, will they, so I'm going to need to somehow install the 6.5 Xentools? I don't understand how to do that. Install XenServer Tools is greyed out in the VM menu. If I mount xs-tools.iso via the console tab, and try to run install.sh I get an error:

    [FONT="Courier New"]"Unable to install guest packages for distribution Sophos UTM 9.312800 (astaro). 
    Unknown Linux distribution 'astaro'.
    You should manually install a version of xe-guest-utilities which is suitable for you distribution".[/FONT]

    Could you please explain how I can force install Xentools 6.5?
  • Thanks for this explanation - really appreciating your help here! I have created a new VM with this method and it booted OK.


    I'm struggling with this Xentools part. Xentools are installed but the Virtualization state field says "Optimized (version 5.6 installed)" As I'm running XenServer 6.5 these tools won't work, will they, so I'm going to need to somehow install the 6.5 Xentools? I don't understand how to do that. Install XenServer Tools is greyed out in the VM menu. If I mount xs-tools.iso via the console tab, and try to run install.sh I get an error:

    [FONT="Courier New"]"Unable to install guest packages for distribution Sophos UTM 9.312800 (astaro). 
    Unknown Linux distribution 'astaro'.
    You should manually install a version of xe-guest-utilities which is suitable for you distribution".[/FONT]

    Could you please explain how I can force install Xentools 6.5?


    Hi

    glad you are getting somewhere!!

    don't run the install.sh, it checks for linux version, and astaro  is not on its list,. there should be a couple of 64bit scripts (i.e. foo64.sh  , doing this from memory, so please bear with me.

    run both of these, reboot vm and then check if the tools versions are 6.5.

    you way want to backup/snapshot you vm prior to doing this, so you can revert without having to do a full restore.


    Aimee
  • don't run the install.sh, it checks for linux version, and astaro  is not on its list,. there should be a couple of 64bit scripts (i.e. foo64.sh  , doing this from memory, so please bear with me.

    run both of these, reboot vm and then check if the tools versions are 6.5.

    Thanks again for your continued help on this! Sorry to keep asking, but I can't find the scripts you mentioned. Here are all the files under the tools mount:

    [FONT="Courier New"][SIZE="2"]sop:/tmp # ls -lR
    .:
    total 57199
    -r--r--r-- 1 root root       65 Dec 10  2014 AUTORUN.INF
    -r--r--r-- 1 root root   790528 Dec 10  2014 citrixguestagentx64.msi
    -r--r--r-- 1 root root   790528 Dec 10  2014 citrixguestagentx86.msi
    -r--r--r-- 1 root root   270336 Dec 10  2014 citrixvssx64.msi
    -r--r--r-- 1 root root   249856 Dec 10  2014 citrixvssx86.msi
    -r--r--r-- 1 root root  1912832 Dec 10  2014 citrixxendriversx64.msi
    -r--r--r-- 1 root root  1474560 Dec 10  2014 citrixxendriversx86.msi
    -r--r--r-- 1 root root       26 Dec 10  2014 copyright.txt
    -r-xr-xr-x 1 root root 50449456 Dec 10  2014 dotNetFx40_Full_x86_x64.exe
    -r-xr-xr-x 1 root root     1945 Dec 10  2014 EULA_DRIVERS
    -r--r--r-- 1 root root   831488 Dec 10  2014 installwizard.msi
    dr-xr-xr-x 4 root root     2048 Dec 10  2014 Linux
    -r--r--r-- 1 root root     1180 Dec 10  2014 README.txt
    -r-xr-xr-x 1 root root  1654826 Dec 10  2014 xenlegacy.exe
    -r-xr-xr-x 1 root root   139541 Dec 10  2014 xluninstallerfix.exe

    ./Linux:
    total 265
    dr-xr-xr-x 2 root root  2048 Nov 28  2014 debian-lenny
    -r-xr-xr-x 1 root root 16433 Dec 10  2014 install.sh
    dr-xr-xr-x 2 root root  2048 Dec  3  2014 rhel4x
    -r--r--r-- 1 root root   150 Dec  9  2014 versions.deb
    -r--r--r-- 1 root root   250 Dec  9  2014 versions.rpm
    -r--r--r-- 1 root root 54758 Dec  9  2014 xe-guest-utilities_6.5.0-1393_amd64.deb
    -r--r--r-- 1 root root 54752 Dec  9  2014 xe-guest-utilities_6.5.0-1393_i386.deb
    -r--r--r-- 1 root root 15737 Dec  9  2014 xe-guest-utilities-6.5.0-1393.i386.rpm
    -r--r--r-- 1 root root 15701 Dec  9  2014 xe-guest-utilities-6.5.0-1393.x86_64.rpm
    -r--r--r-- 1 root root 49349 Dec  9  2014 xe-guest-utilities-xenstore-6.5.0-1393.i386.rpm
    -r--r--r-- 1 root root 49318 Dec  9  2014 xe-guest-utilities-xenstore-6.5.0-1393.x86_64.rpm
    -r-xr-xr-x 1 root root  8201 Dec 10  2014 xe-linux-distribution

    ./Linux/debian-lenny:
    total 55354
    -r--r--r-- 1 root root 27855952 Nov 28  2014 linux-image-2.6.32-5-686-bigmem_2.6.32-43.xs6.5.0.299_i386.deb
    -r--r--r-- 1 root root 28821518 Nov 28  2014 linux-image-2.6.32-5-amd64_2.6.32-43.xs6.5.0.299_amd64.deb
    -r--r--r-- 1 root root     1200 Nov 28  2014 linux-image-2.6-xen_2.6.32+0.xs299_amd64.deb
    -r--r--r-- 1 root root     1204 Nov 28  2014 linux-image-2.6-xen_2.6.32+0.xs299_i386.deb
    -r--r--r-- 1 root root      368 Nov 28  2014 versions

    ./Linux/rhel4x:
    total 3868
    -r--r--r-- 1 root root 3862820 Nov 28  2014 kernel-xenU-2.6.9-103.EL.xs6.5.0.68.i686.rpm
    -r--r--r-- 1 root root   97039 Apr  4  2007 mkinitrd-4.2.1.10-1.1.i386.rpm
    -r--r--r-- 1 root root     113 Dec  3  2014 versions[/SIZE][/FONT]

    Were the scripts part of this list?
  • Thanks again for your continued help on this! Sorry to keep asking, but I can't find the scripts you mentioned. Here are all the files under the tools mount:

    [FONT="Courier New"][SIZE="2"]sop:/tmp # ls -lR
    .:
    total 57199
    -r--r--r-- 1 root root       65 Dec 10  2014 AUTORUN.INF
    -r--r--r-- 1 root root   790528 Dec 10  2014 citrixguestagentx64.msi
    -r--r--r-- 1 root root   790528 Dec 10  2014 citrixguestagentx86.msi
    -r--r--r-- 1 root root   270336 Dec 10  2014 citrixvssx64.msi
    -r--r--r-- 1 root root   249856 Dec 10  2014 citrixvssx86.msi
    -r--r--r-- 1 root root  1912832 Dec 10  2014 citrixxendriversx64.msi
    -r--r--r-- 1 root root  1474560 Dec 10  2014 citrixxendriversx86.msi
    -r--r--r-- 1 root root       26 Dec 10  2014 copyright.txt
    -r-xr-xr-x 1 root root 50449456 Dec 10  2014 dotNetFx40_Full_x86_x64.exe
    -r-xr-xr-x 1 root root     1945 Dec 10  2014 EULA_DRIVERS
    -r--r--r-- 1 root root   831488 Dec 10  2014 installwizard.msi
    dr-xr-xr-x 4 root root     2048 Dec 10  2014 Linux
    -r--r--r-- 1 root root     1180 Dec 10  2014 README.txt
    -r-xr-xr-x 1 root root  1654826 Dec 10  2014 xenlegacy.exe
    -r-xr-xr-x 1 root root   139541 Dec 10  2014 xluninstallerfix.exe

    ./Linux:
    total 265
    dr-xr-xr-x 2 root root  2048 Nov 28  2014 debian-lenny
    -r-xr-xr-x 1 root root 16433 Dec 10  2014 install.sh
    dr-xr-xr-x 2 root root  2048 Dec  3  2014 rhel4x
    -r--r--r-- 1 root root   150 Dec  9  2014 versions.deb
    -r--r--r-- 1 root root   250 Dec  9  2014 versions.rpm
    -r--r--r-- 1 root root 54758 Dec  9  2014 xe-guest-utilities_6.5.0-1393_amd64.deb
    -r--r--r-- 1 root root 54752 Dec  9  2014 xe-guest-utilities_6.5.0-1393_i386.deb
    -r--r--r-- 1 root root 15737 Dec  9  2014 xe-guest-utilities-6.5.0-1393.i386.rpm
    -r--r--r-- 1 root root 15701 Dec  9  2014 xe-guest-utilities-6.5.0-1393.x86_64.rpm
    -r--r--r-- 1 root root 49349 Dec  9  2014 xe-guest-utilities-xenstore-6.5.0-1393.i386.rpm
    -r--r--r-- 1 root root 49318 Dec  9  2014 xe-guest-utilities-xenstore-6.5.0-1393.x86_64.rpm
    -r-xr-xr-x 1 root root  8201 Dec 10  2014 xe-linux-distribution

    ./Linux/debian-lenny:
    total 55354
    -r--r--r-- 1 root root 27855952 Nov 28  2014 linux-image-2.6.32-5-686-bigmem_2.6.32-43.xs6.5.0.299_i386.deb
    -r--r--r-- 1 root root 28821518 Nov 28  2014 linux-image-2.6.32-5-amd64_2.6.32-43.xs6.5.0.299_amd64.deb
    -r--r--r-- 1 root root     1200 Nov 28  2014 linux-image-2.6-xen_2.6.32+0.xs299_amd64.deb
    -r--r--r-- 1 root root     1204 Nov 28  2014 linux-image-2.6-xen_2.6.32+0.xs299_i386.deb
    -r--r--r-- 1 root root      368 Nov 28  2014 versions

    ./Linux/rhel4x:
    total 3868
    -r--r--r-- 1 root root 3862820 Nov 28  2014 kernel-xenU-2.6.9-103.EL.xs6.5.0.68.i686.rpm
    -r--r--r-- 1 root root   97039 Apr  4  2007 mkinitrd-4.2.1.10-1.1.i386.rpm
    -r--r--r-- 1 root root     113 Dec  3  2014 versions[/SIZE][/FONT]

    Were the scripts part of this list?


    hi

    oops, rpm -i the rpm's applicable to your system, you may get errors but it worked for me. Fraid I am doing this from memory. backup vm first!!

    r--r--r-- 1 root root 54758 Dec  9  2014 xe-guest-utilities_6.5.0-1393_amd64.deb
    -r--r--r-- 1 root root 54752 Dec  9  2014 xe-guest-utilities_6.5.0-1393_i386.deb
    -r--r--r-- 1 root root 15737 Dec  9  2014 xe-guest-utilities-6.5.0-1393.i386.rpm
    -r--r--r-- 1 root root 15701 Dec  9  2014 xe-guest-utilities-6.5.0-1393.x86_64.rpm
    -r--r--r-- 1 root root 49349 Dec  9  2014 xe-guest-utilities-xenstore-6.5.0-1393.i386.rpm
    -r--r--r-- 1 root root 49318 Dec  9  2014 xe-guest-utilities-xenstore-6.5.0-1393.x86_64.rpm
  • oops, rpm -i the rpm's applicable to your system, you may get errors but it worked for me. 
    r--r--r-- 1 root root 54758 Dec  9  2014 xe-guest-utilities_6.5.0-1393_amd64.deb
    -r--r--r-- 1 root root 54752 Dec  9  2014 xe-guest-utilities_6.5.0-1393_i386.deb
    -r--r--r-- 1 root root 15737 Dec  9  2014 xe-guest-utilities-6.5.0-1393.i386.rpm
    -r--r--r-- 1 root root 15701 Dec  9  2014 xe-guest-utilities-6.5.0-1393.x86_64.rpm
    -r--r--r-- 1 root root 49349 Dec  9  2014 xe-guest-utilities-xenstore-6.5.0-1393.i386.rpm
    -r--r--r-- 1 root root 49318 Dec  9  2014 xe-guest-utilities-xenstore-6.5.0-1393.x86_64.rpm


    Thanks again. I've tried a number of things this time which I'll go through here. Unfortunately none of them end up with XenServer Tools installed [:(].

    First tried installing the 2 rpms but there was a conflict:
    [FONT="Courier New"][SIZE="2"]# rpm -ivh xe-guest-utilities-6.5.0-1393.x86_64.rpm xe-guest-utilities-xenstore-6.5.0-1393.x86_64.rpm
    Preparing...                ########################################### [100%]
            file /usr/bin/xenstore from install of xe-guest-utilities-xenstore-6.5.0-1393.x86_64 conflicts with file from package xen-tools-4.0.1-1.3.g797c456.i686
            file /usr/bin/xenstore-chmod from install of xe-guest-utilities-xenstore-6.5.0-1393.x86_64 conflicts with file from package xen-tools-4.0.1-1.3.g797c456.i686
            file /usr/bin/xenstore-exists from install of xe-guest-utilities-xenstore-6.5.0-1393.x86_64 conflicts with file from package xen-tools-4.0.1-1.3.g797c456.i686
            file /usr/bin/xenstore-list from install of xe-guest-utilities-xenstore-6.5.0-1393.x86_64 conflicts with file from package xen-tools-4.0.1-1.3.g797c456.i686
            file /usr/bin/xenstore-ls from install of xe-guest-utilities-xenstore-6.5.0-1393.x86_64 conflicts with file from package xen-tools-4.0.1-1.3.g797c456.i686
            file /usr/bin/xenstore-read from install of xe-guest-utilities-xenstore-6.5.0-1393.x86_64 conflicts with file from package xen-tools-4.0.1-1.3.g797c456.i686
            file /usr/bin/xenstore-rm from install of xe-guest-utilities-xenstore-6.5.0-1393.x86_64 conflicts with file from package xen-tools-4.0.1-1.3.g797c456.i686
            file /usr/bin/xenstore-write from install of xe-guest-utilities-xenstore-6.5.0-1393.x86_64 conflicts with file from package xen-tools-4.0.1-1.3.g797c456.i686
            file /etc/init.d/xe-linux-distribution from install of xe-guest-utilities-6.5.0-1393.x86_64 conflicts with file from package xe-guest-utilities-5.6.0-578.4.g2e5bb2e.i686
            file /usr/sbin/xe-linux-distribution from install of xe-guest-utilities-6.5.0-1393.x86_64 conflicts with file from package xe-guest-utilities-5.6.0-578.4.g2e5bb2e.i686
            file /usr/sbin/xe-update-guest-attrs from install of xe-guest-utilities-6.5.0-1393.x86_64 conflicts with file from package xe-guest-utilities-5.6.0-578.4.g2e5bb2e.i686[/SIZE][/FONT]

    So then I removed those packages and tried again:
    [FONT="Courier New"][SIZE="2"]# rpm -e xen-tools xe-guest-utilities
    # rpm -ivh xe-guest-utilities-6.5.0-1393.x86_64.rpm xe-guest-utilities-xenstore-6.5.0-1393.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:xe-guest-utilities-xens########################################### [ 50%]
       2:xe-guest-utilities     ########################################### [100%]
    /sbin/insserv: No such file or directory[/SIZE][/FONT]

    So I then tried fooling the install.sh script to force it to think this is a SUSE Linux 11 VM:
    [FONT="Courier New"][SIZE="2"]# ./install.sh -d "suse linux" -m 11

    Distribution `sles' version `11' given on command line.

    The following changes will be made to this Virtual Machine:
      * update arp_notify sysctl.conf.
      * packages to be installed/upgraded:
        - xe-guest-utilities-6.5.0-1393.x86_64.rpm
        - xe-guest-utilities-xenstore-6.5.0-1393.x86_64.rpm

    Continue? [y/n] y

    Preparing...                ########################################### [100%]
       1:xe-guest-utilities-xens########################################### [ 50%]
       2:xe-guest-utilities     ########################################### [100%]
    /sbin/insserv: No such file or directory

    You should now reboot this Virtual Machine.[/SIZE][/FONT]

    Unfortunately XenServer Tools is still showing as Not Installed. Perhaps the missing /sbin/insserv error is a clue. Could it be that at the end of the install it's trying to set up some sort of XenTools service to run automatically but as that's failing it looks like XenTools isn't installed (in other words, perhaps they're installed but not running)?
  • Hi

    ok, the best I can suggest at the moment is to restore the utm vm, or reinstall from scratch, you should see xentools  5.6? installed. Run with that (I used that version for over two months with no problems other than the memory usage reported by the utm web admin differed from that reported by xenserver, and also some other reports were not available).

    I won't be available to do any detailed assistance as I am away until 14 july.

    Aimee