Create Debian Virtual Machine with XenServer (OVH)

Posted on July 23, 2013 at 10:20 am

Visit with your web browser the IP address where is installed XenServer:

download-xen-center-installer

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…:

xencenter-vm-add-new

Enter a name for your virtual machine, for example VM1 and then select the template for the operating system you want to install. In this case we are going to install Debian Squeeze 6 (64-bit):

xencenter-install-debian6-squeeze-64bit

Select the option Install from URL and write:

http://mirror.ovh.net/debian/

xencetner-install-debian-from-url

We need to assign the MAC address to this virtual machine to configure the Networking part. To do so, we need to login to the OVH Control Panel (Manager), select the server where is installed the XenServer, click on Services, scroll down until you see Manage IP and click on IP FailOver:

xencenter-manage-ip-ip-failover

Clik on Add an IP FailOver:

xencenter-add-ip-failover

After the IP FailOver has been created (it should take few minutes), go back to Services->Manage IP and select Virtual MAC for VPS:

xencetner-virtual-mac-for-vps

Click on Assign a Virtual Mac to an IP address:

xencenter-assign-virtual-mac-to-ip

Create a virtual MAC for the XenServer:

xencenter-create-virtual-mac-for-server

You should see something like this:

xencenter-virtual-mac

Write the MAC address to a file, example:

02:bc:de:bc:de:bc

Now back on the XenCenter, in the Networking page, check the option Use this MAC address and write the previously generated MAC address that you saved to a file:

xencenter-use-mac-address-networking

Continue to create the virtual machine and at the end, start it to begin the installation of the operating system Debian Squeeze 6 (64-bit). After some time, the system will try to configure the network using the DHCP protocol (default option) but it will fail. Select Continue and then select Configure network manually:

xencenter-debian-configure-network-manually

Enter the following details when requested:

IP: 94.1.2.3 -> IP FailOver
Netmask: 255.255.255.0
Gateway: 94.1.2.254 -> IP FailOver Gateway (last 3 numbers are 254)
Name Server: 213.186.33.99 -> Taken from "cat /etc/resolv.conf" from the XenServer
Hostname: 94-1-2-3.ovh.net -> Format XXX-XXX-XXX-XXX.ovh.net (replace XXX with the IP FailOver)

Follow the steps to finish the installation of Debian and enjoy!

Don’t forget to set the first partition as bootable if you manually configure the virtual disk drive with custom a partition structure, example:

bootable-flag-on-debian-partition

More information:
Configure Network Interface ClientBridge

Updated on November 19, 2016 at 12:07 pm

Receive updates via email

Other Posts

Updated Posts