Page tree
Skip to end of metadata
Go to start of metadata

This section contains instructions on how to install and configure the hypervisor on the FIBRE Server that is responsible for memory management and CPU scheduling of all virtual machines ("domains"), and for launching the most privileged domain ("dom0").

The FIBRE software stack uses the Xen server as the hypervisor software.

Requirements

  • GNU/Linux physical dedicated Server
    • Debian Wheezy 7.0

  • Following packages are required (Debian-based distros):

    apt-get install xen-linux-system-2.6-xen-amd64 vlan python-libvirt libvirt-dev

     

  • or according to server architecture:

    apt-get install xen-linux-system-2.6-xen-686 vlan python-libvirt libvirt-dev

     

 

Procedure

 
  1. Install packages shown in requirements. Make the following changes

     

    mv /etc/grub.d/10_linux /etc/grub.d/50_linux
    update-grub2
    reboot 
  2. Edit /etc/modules and add:

    8021q
    loop max_loop=64 
  3. Tune the maximum virtual memory to be used by XEN (e.g. 1G, 512Mb, etc.), as preferred.

    1. Edit /etc/default/grub to set it:

       

       

      # Xen boot parameters for all Xen boots
      GRUB_CMDLINE_XEN="dom0_mem=1G,max:1G" 

       

       

    2. Run update-grub to update the GRUB configuration file with the previous changes.

  4. Edit the XEN file configuration at /etc/xen/xend-config.sxp:

    1. Change the following parameter from "no" to "yes":

       

      (xend-http-server yes)
    2. Uncomment the following line:
       

      (xend-port 8000) 
    3. Set the minimum virtual memory to be used by XEN (you can take previous step as reference). For instance:

       

      (dom0-min-mem 1024) 



    4. Disable the ballooning so as to avoid undesired reboots when VM requests are attended after the host's virtual memory capacity is exceeded.

       

      (enable-dom0-ballooning no) 

      See the procedure in Xen wiki at Debian.

       

Enabling VM internet access using NAT

To enable internet access through the virtualization server, change the following configurations:

01 - Open the /etc/rc.local file and add the following line just before the exit 0 call:

 

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o [Internet enabled interface] -j MASQUERADE

 

 

Change the [Internet enabled interface] option with your network interface with internet access

 

Restart the server:

reboot

Next step: 1.2 Network configuration

  • No labels