Category Archives: XenServer

Create a new storage repository in XenServer

Use fdisk to know what is the disk available to create a storage repository: fdisk -lfdisk -l Find which device is your new local disk, example Disk /dev/md3: 1991.8 GB, 1991804649472 bytes 2 heads, 4 sectors/track, 486280432 cylinders Units = cylinders of 8 * 512 = 4096 bytesDisk /dev/md3: 1991.8 GB, 1991804649472 bytes 2 heads, […]

XenServer Automated Patcher (Bash)

This script will retrieve and apply all of the latest hotfixes for Citrix XenServer: xs_patcher – XenServer Automated Patcher I am copying the content of the script ( here: #!/bin/bash ## xs_patcher ## detects xenserver version and applies the appropriate patches   HOSTID=`xe host-list –minimal` HOSTNAME=`hostname`   function get_xs_version { get_version=`cat /etc/redhat-release | awk -F’-‘ […]

Detect XenServer available updates (updates.xml)

This is the URL used by the XenCenter to check for updates: You can use it to parse updates needed for your XenServer version. More information can be found here: Automatically Detecting Available Updates

Manually apply hotfixes and updates to XenServer 6.2

Go to Citrix XenServer 6.2.0 Knowledge Center URL. We will try to install this XenServer hotfix: Hotfix XS62ESP1002 – For XenServer 6.2.0 Service Pack 1Hotfix XS62ESP1002 – For XenServer 6.2.0 Service Pack 1 Go to the hotfix URL: Move with the mouse over the download button and capture the download URL: Then login […]

IpAlias XenServer OVH

When you buy new IP FailOvers (RIPE IPs divided in FailOvers) from OVH, you may need to add these IP addresses in the XenServer network as virtual interfaces (eth0:1, eth0:2, eth0:3, etc), to be able to ping them, as described in this tutorial: Login with SSH to your XenServer and then type: cd /etc/sysconfig/network-scripts […]

Install Debian Wheezy 7 Virtual Machine XenServer (OVH)

Connect with SSH to the XenServer and then type: cd /var/opt/xen/iso_importcd /var/opt/xen/iso_import Download ISO file of Debian Wheezy 7.3.0 (Multi Architecture): wget Open XenCenter, connect to the XenServer, select MyISORepository and click on Rescan. You should see the ISO file named debian-7.3.0-amd64-i386-netinst.iso present in the list. Now create a new virtual machine and […]

ClientBridge Debian Virtual Machine XenServer (OVH)

Start the virtual machine and edit the file: /etc/network/interfaces/etc/network/interfaces Make sure its content is same as this (change the needed fields): # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5).   # The loopback network interface auto lo iface lo inet loopback […]

Create Debian Virtual Machine with XenServer (OVH)

Visit with your web browser the IP address where is installed XenServer: Download and install the XenCenter installer. Open XenCenter and select Server->Add to connect to your Xen server. When you are connected with your server you can start to create virtual machines. Select the server and click on VM->New VM…: Enter a name for […]