XenClient Tips and Tricks
22 Tips and Tricks for XenClient. *updated 31-03-2011
- ctrl+0, ctrl+1, ctrl+2, etc: switch to xenclient, vm1, vm2, etc…
- ctrl+shift+t: launches a terminal window – necessary for troubleshooting ip address and network
- alt-tab: rotate between xenclient and terminal windows
- status-tool: run this command from the terminal window to gather stats – including screenshots – stored in /storage/status-report
- ifconfig brbridged: run this command to show the ip address for dom0 – physical adapter
- ifconfig wlan0: run this command to show the ip address for dom0 – wireless adapter
- xentop: run this command from the terminal window to view performance data
- vhd-util: run this command from the terminal window to change/check vhd
- xec: run this command from the terminal window to control vm’s
- touch /config/ssh_enabled: run this command to enable SSH on the XC Management Console – if not already installed
- ctrl+q: refresh hypervisor
- dmesg: show debug messages
- disktovhd: use this on old pc to make a vhd of your pc or laptop. Create new VM, replace .vhd in /storage/disks. Install XenTools.
- copy .iso to /storage/iso: mount the .iso in the virtual drive that normally mounts XenTools. Or use Virtual Clone Drive
- Enable SSH on the Management Console:
Open the terminal on the console, press: ctrl+shift+t
In the terminal type: touch /config/ssh_enabled
IMPORTANT: In the RC there is NO ROOT PASSWORD… Enabling this is on your own risk!!!
Press ctrl+q to refresh hypervisor
Find the SSH Interfaces IP Address:
1) Open the console window once again
2) type ‘ifconfig | less’
3) brbridged is the console’s listening IP
- Find full or half duplex speed for network
# dmesg | grep -i duplex
- See performance data
- Copy your existing laptop or pc to XenClient
Use disktovhd to make a vhd image of your pc or laptop. Create new VM, replace .vhd in /storage/disks. After that you need to install XenTools and also the appropriate drivers.
- Mounting an ISO to VM
Copy the iso using WINSCP to /storage/iso .Push ctrl + q to refresh XenClient. Mount the .iso in the virtual drive that normally mounts the XenTools
- Soundcard not recognized in VM
Install Realtek 97 Audio Driver
- Usb devices like fingerprint, bluetooth, webcam are not mapped in VM
Go out in Dom0, edit the virtual machine. Under USB add the devices that you want to add to the VM.
- How to Install a Wifi Certificate in XenClient
Use the following steps to complete the task: Check CTX127333
Copy the certificate using a program like WinSCP from Windows machine or SCP from Linux/Unix machine.
Log on by pressing Ctrl+Shift+T within the XenClient Receiver and using the root password.
Copy the certificate from dom0 to the service virtual machine by running the following command:
scpv4v <certificate> 126.96.36.199:/root”
(Make sure you cd to the directory where you copied the certificate in step1.)
From the Network icon in the Receiver, the certificate should be available to make the connection.