Preface
Do you know this icon
[1945004?] If you HOOVER on the icon, a message will indicate that the XenClient tools are not installed in the VM. I do not want to encourage you not to install XenClient tools within the VM - these tools are great, they allow your virtual machine to work in full speed by installing the drivers and paravirtualized service to allow the USB management and more again. In a managed environment and supported these tools are a must!However, you can use an operating system that is not yet supported or version of an OS where the tools wont install ...
One of the great things about XenClient is not supported does not mean not working - HVM fashion install leave everything quite what you want. But again, there's always that little alert to remind you that.
Step by Step
Suppose you create a virtual machine with a Linux Distro that are not supported. Because Linux tools are kernel modules there are dependencies that are not always easy to resolve. In my example, I just installed BackTrack, my favorite distro of security, and I have not bothered to install XenClient tools, it will be the result:
If you installed a supported operating system, you would simply start the virtual machine and install the tools that are available by default in a virtual CDRom in the virtual machine. During installation, the system would change a few entries in the configuration of the virtual machine. I will first ask the status of the installation and configuration tool of the game without having to install the tool. All this is done on the CLI of the Dom0 - You can open a Terminal by pressing CTRL + SHIFT + T Citrix Receiver for XenClient screen or remotely using an SSH client, if the ssh-server is enabled on the XenClient (xec set openssh-server true)
Discover the UUID of the virtual machine you want to check :.
root @ XenClient-dom0: ~ # xec-vm
ID | name | UUID | State
----- + -------------------- + ---------------- ---------------------- + --------
1 | uivm | 00000000-0000-0000-0000-000000000001 | running
| Linux desktop | 5f592571-40ff-4959-a14d-dac0a636a462 | arrested
| Gaming VM | 4ede4e1b-df45-46ae-818D-a068988e8031 | arrested
| BackTrack | 19e026c-6975-4b03-85bf-6937691b8024 | arrested
root @ XenClient-dom0: ~ #
Now we can use the xec-vm to query and set the entries in the xenmanager database. The interface we are looking for is called " com.citrix.xenclient.xenmgr.vm" and the fields we need to change are "pv-addons" and " pv-addons-release "
We will question them first:
root @ XenClient-dom0: ~ # xec-vm--u 19e026c 6975-4b03-85bf -6937691b8024 ↵ - i com.citrix.xenclient.xenmgr.vm obtain false pv-addons root @ XenClient-dom0: ~ # xec-vm--u 19e026c 6975-4b03-85bf-6937691b8024 ↵ -i com.citrix.xenclient. xenmgr.vm get pv-addons release
As you see xec-vm returns false and the version string is empty.
We tweak the system, so he thinks, XenClient tools are installed (the version number used is that XenClient 2.1):
root @ XenClient-dom0: ~ # xec-vm 19e026c u-6975 -4b03-85bf-6937691b8024 ↵ - i com.citrix.xenclient.xenmgr.vm fixed pv-addons "1" root @ XenClient-dom0: ~ # xec-vm--u 19e026c 6975-4b03-85bf-6937691b8024 ↵ -i com.citrix.xenclient.xenmgr. vm set pv-addons-release "6.2.1.16500"
And now I will check the information is written to the database:
root @ XenClient-dom0: ~ # xec -vm -u 19e026c-6975-4b03-85bf-6937691b8024 ↵ -i com.citrix.xenclient.xenmgr.vm get pv-addons true root @ XenClient-dom0: ~ # xec-vm--u 19e026c 6975-4b03-85bf -6937691b8024 ↵ -i com.citrix.xenclient.xenmgr.vm get pv-addons-version 6.2.1.16500
That all seems perfect, check Citrix Receiver for XenClient screen will show you the virtual machine without any warning.
Enjoy work with XenClient! Cheers, walter.hofstetter [at] eu.citrix.com
Connect with the team XenClient online!
- Visit product page XenClient
- Follow us on Twitter
- Like us on Facebook
- Visit our XenClient Technical Forum
0 Komentar