XenSource
Skip navigation links
Overview Expand Overview
Products Expand Products
Solutions Expand Solutions
Support Services Expand Support Services
Partners Expand Partners
About Us Expand About Us
How to Buy

4.3. Physical-to-Virtual Installation of a Linux VM

Older Linux distributions such as Red Hat Linux Enterprise 3.6 do not support Xen directly, and are typically legacy installations which benefit from virtualization for the purposes of server consolidation or hardware upgrades. The XenServer P2V feature analyzes existing installations and converts them into VMs.

When an installation is converted into a VM using P2V (see Section 2.4, “Physical to Virtual Conversion (P2V)”), the kernel used is also automatically switched to a Xen paravirtualized kernel. XenServer contains ports of the Red Hat Enterprise Linux 3/4 and SUSE Enterprise Linux 9 kernels to support the native Xen hypervisor interface directly. These kernels are present in the built-in xs-tools.iso image in the default CD list, or via the Install XenSource Tools command in the VM menu in XenCenter.

4.3.1. Guest Installation Network

During the installation of a VM via P2V, a special network is used to assign a temporary IP address to the VM to enable the installation to proceed. It is possible that the range of IP addresses used might conflict with real IP addresses already in use in your network. The default range of IP addresses is 192.168.128.1 to 192.168.128.254, and the default netmask is 255.255.255.0.

To change the guest installer network values

  1. Open a text console on the XenServer Host or install the CLI for remote use.

  2. Find the guest installer network:

    xe network-list

    The command will return the list of networks available to the XenServer Host. The one you want has the name-label Guest installer network.

    .
  3. Examine the other-config parameters of the guest installer network:

    xe network-param-list uuid=<UUID of the guest installer network>
    

    The command will a subset of the guest installer network's parameters, including the other-config parameter. If the values are set to the default described above, you will see the line:

    other-config (MRW): is_guest_installer_network: true; ip_begin: 169.254.0.1; ip_end: 169.254.255.254; netmask: 255.255.0.0
    				
  4. To change the IP address range the guest installer network will use, edit the ip_begin, ip_end, and netmask values as follows:

    xe network-param-set uuid=<UUID of the guest installer network> other-config:ip_begin=<desired IP range beginning> other-config:ip_end=<desired IP range end> other-config:netmask=<desired netmask>
    

    Do not change the value of the parameter is_guest_installer_network.