About Releases Build & Install Configure Blog
Build & Install Overview Install xvpappliance VM Build from Tarball Build from Source RPM Install from Binary RPM Build an xvpappliance

Installing the Pre-Built xvpappliance Virtual Machine

These instructions assume you have already downloaded the current xvpappliance XVA file, in ZIP format, and have unzipped it. Note that if you previously downloaded an earlier version of xvpappliance, you can usually upgrade it to the current version in situ, without having to throw it away and start again.

Having downloaded and unzipped the XVA file, the appliance needs to be imported into one of your XenServer or Xen Cloud Platform pools. Instructions are provided below for doing this using XenCenter with XenServer, and at the command line with Xen Cloud Platform.

Importing into XenServer

These instructions apply to XenServer 5.5. The procedure in XenServer 5.6 is similar, but not identical: in particular the Import... option in 5.6 is in the File pulldown menu (use this option, not Appliance Import...). If you prefer to import from the XenServer command line rather than using XenCenter, follow the Xen Cloud Platform instructions below instead.

  1. in XenCenter, use the Import... option in the VM pulldown menu, to run the VM Import wizard.

  2. Browse for the downloaded XVA file.

  3. For Import type, select Exported VM.

  4. Continue to the Configure virtual network interfaces for the new VM page, and make sure there you change the setting in the Network column to reflect an appropriate existing network you want the appliance to be connected to.

  5. On the Complete the import page, tick the box Start VM after import.

  6. Click on the Pool and select the Logs tab to monitor progress.

Once imported, view the appliance's console in XenCenter: you will be asked a number of questions to perform initial configuration of the appliance: see the page Configuring xvpappliance for guidance on answering these questions.

Importing may have created an additional virtual network named xvpsource network 0, in which case you should delete this from XenCenter.

Importing into Xen Cloud Platform

  1. Pick a host server in your XCP pool to initially run xvpappliance. Log into this host as root (using ssh), and either copy the appliance XVA file to somewhere visible, or mount the directory containing it from elsewhere using NFS.

  2. Import the appliance by running:

        # xe vm-import filename=/path/filename.xva
    

    specifying the appropriate path and filename.

  3. To connect the appliance to the right virtual network, run:

        # xe vif-list vm-name-label=xvpappliance --minimal
        # xe vif-destroy uuid=<uuid-of-vif>
        # xe network-list
    

    From the last command, identify network to use, and note the network UUID. The import may have created an extra virtual network, named xvpsource network 0: if so, you can destroy this using:

        # xe network-destroy uuid=<uuid-of-unwanted-network>
    

    But make sure you destroy the right one: if in doubt, leave alone.

  4. Next, find and note the UUID of the appliance VM:

        # xe vm-list name-label=xvpappliance --minimal
    

    and connect the VM to your chosen network using:

        # xe vif-create vm-uuid=<uuid-of-vm> network-uuid=<uuid-of-network> device=0
    
  5. Now, find the UUID of the host server you're logged into:

        # xe host-list
    

    and start the appliance on this host, without VNC console using:

        # xe vm-param-set uuid=<uuid-of-vm> other-config:disable_pv_vnc=1
        # xe vm-start uuid=<uuid-of-vm> on=<uuid-of-host>
    
  6. To display the appliance's console from your login session on this host server, run:

        # xe vm-list params=dom-id uuid=<uuid-of-vm> --minimal
        # /usr/lib/xen/bin/xenconsole <dom-id>
    

    (the dom-id will be a small number).

  7. When the appliance has finished booting, you will be asked a number of questions to perform initial configuration. See the page Configuring xvpappliance for guidance in answering these questions.

  8. Once you have finished answering the configuration questions, type Control-] to detach from the appliance console and return to the host prompt.

  9. Finally, re-enable the appliance's VNC console, and reboot it, using:

        # xe vm-param-remove uuid=<uuid-of-vm> param-name=other-config param-key=disable_pv_vnc
        # xe vm-reboot uuid=<uuid-of-vm>
    

    Note: You won't be able to access the appliance's console from the web interface until you complete this last step..