How to install XenServer on VMware Player

XenServer is a commercial virtualization product built on the open-source bare-metal hypervisor Xen. While Xen itself is a standalone hypervisor, XenServer is a full virtualization suite that includes built-in console, tools and APIs. The free edition of XenServer is available at no charge with annually renewed free license. If you want to try out XenServer […]
Continue reading…

 

How to install XenCenter on Linux

XenCenter is a client software with GUI for managing XenServer/XCP hosts remotely. Using XenCenter, you can create virtual machines (VMs), access VM consoles, and configure VM storage and networking. As of this writing, Citrix only offers a Windows native client for XenCenter, and they don’t seem to plan on releasing XenCenter Linux client any time […]
Continue reading…

 

How to build a custom kernel module or device driver for XenServer

Citrix allows one to build any custom kernel module or hardware driver for XenServer, by offering Driver Development Kit (DDK). A DDK is essentially a virtual machine with all the kernel headers and development tools needed to extend the XenServer kernel. The following guide is on how to use DDK to compile a custom kernel […]
Continue reading…

 

How to set up QoS bandwidth rate limit on XenServer VM’s network interfaces

In a multi-tenant VM environment, you would need to allocate network bandwidth appropriately to all existing tenants/VMs, such that no one VM can consume available network resources by itself. Even in a single-user environment, you may want to define QoS policies for your VM (such as per-interface bandwidth caps) for various reasons. If you are […]
Continue reading…

 

How to apply XenServer update patch

Citrix distributes patches or hotfixes of XenServer on a regular basis, for fixing bugs or updating security features. A given XenServer patch may have dependency on other fixes, in which case you will fail to install the patch without applying all dependent fixes first. If you would like to apply a patch on your XenServer […]
Continue reading…

 

How to disable xsconsole autorun in XenServer

Although XenServer’s management interface (i.e., xsconsole) is a security protection against XenServer getting tampered with by an unauthenticated user, auto-running xsconsole may be cumbersome for you in certain situations. For example, if you are configuring and testing things out inside the XenServer’s local command shell, you probably are not happy with the situation where your […]
Continue reading…

 

How to change a XenServer’s local storage repository from LVM to EXT

By default, XenServer create LVM-type local storage repository (SR). The LVM-type local SR does not support VHD-formatted virtual hard disks, and hence may not be an ideal option when you are using XenServer along with OpenStack which requires access to individual VHD files for VM snapshot and migration. With EXT-type local SR, you can get […]
Continue reading…

 

How to install additional packages in XenServer

By default, XenServer enables only Citrix yum repository. For example, to examine all enabled repositories on XenServer, run the following. $ sudo yum repolist enabled Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile repo id repo name status citrix XenServer 5.6.100 updates enabled: 0 However, the default Citrix yum repository is void of any […]
Continue reading…

 

How to add an additional vif to VM in XenServer

Assume that you know the name-label of the VM. Create a network for the new interface to be attached to, and returns the network-uuid $ xe network-create name-label=”alice-network” Find out vm-uuid of the VM $ xe vm-list name-label=<vm’s name-label> Create eth1 interface for the VM, and gets the uuid of the new interface $ xe […]
Continue reading…