About Releases Build & Install Configure Donate Blog
Configuration Overview Web Browsers Using Active Directory Security Issues Troubleshooting

Configuring ™

The first time you start an xvpappliance virtual machine, you will be taken through some initial configuration questions.

Make sure that you have your answers to these questions ready in advance, that you have configured the VM's network settings from XenServer/XenCenter or Xen Cloud Platform to attach it to the desired virtual network, and that you are viewing its virtual console.

During the VM's first boot, there may be a delay for a couple of minutes, displaying Determining IP information for eth0... followed by failed: this is not a problem, you will be setting the IP information manually, as described below.

See the page Install xvpappliance VM for details of the steps needed to get this far.

On completion of the initial configuration, and at any time afterwards, a simple set of menus will allow you to make further changes.

First Time Configuration

The first time your xvpappliance starts, you will need to answer a number of questions at the console. The first of these are for:

The next set of questions relate to networking. You must give the appliance a static IP address (not using DHCP), and supply:

The next questions relate to software updates. You are recommended to configure the appliance to check for these at regular intervals, and to email you when updates are available. You must specify:

You are then ready to add one or more XenServer and/or Xen Cloud Platform pools or standalone host servers to manage. For each, you will need to specify:

The final set of questions relate to the web interface and user accounts. You will need to specify:

You are then presented with the appliance's main configuration menu, as described below. If you are happy with your answers to the above questions, use the "Quit from program" option and log out.

Web users may now access the appliance by pointing their web browser at it. They will be prompted for a username and password. As you've only configured one administrative web user so far, you probably want to add more users, as described below.

Subsequent Configuration

You can perform further configuration of your appliance at any time. Log in as root (on the console, or via ssh), and run the program:

    /usr/sbin/xvpappliance

which will present you with the main configuration menu:

    1. About this program
    2. Configure timezone
    3. Configure network
    4. Configure email
    5. Configure xvp pools
    6. Configure xvp users
    7. Configure web server
    8. Manage software updates
    9. Unconfigure appliance
   10. Quit from program

Menu items 2, 3 and 4 and 7 allow you to reconfigure some of the basic settings you set initially.

Menu item 5, "Configure xvp pools", displays a submenu allowing you to list, add and remove from the set of pools (and/or standalone server hosts) that the appliance manages.

This submenu item also allows you to rediscover pool details. By default, although the state of existing VMs is tracked in quasi real time, the addition and removal of hosts and/or VMs from a pool is not tracked, so when you make such changes to your pools, the web interface does not reflect this. There are two ways to update the interface to reflect these changes: using the submenu option "Rediscover details for all pools now" to update immediately, and/or the option "Schedule regular rediscovery of pool details", to enable automatic update every hour, day, week or month.

Note: Regular rediscovery does not take place until you explicitly use the schedule option.

Menu item 6, "Configure xvp users", allows you to add and remove web users, and to reconfigure or delete existing ones. To add a user, you will need to give a username and password, and you then set whether the user should have access to all pools and VMs, or all VMs in a single pool or group, or a single VM. In addition, you will be asked whether the user should be allowed to see the server hosts, and to specify the user's rights: there are 5 possible settings (List, Read, Write, Control and All), and there is a Help option which explains exactly what these mean. If you need to configure multiple rights for a particular user, or to change the default relationships between rights users have and the operations they may perform, you cannot do this from the menu, but must edit the underlying configuration files: please read the Troubleshooting page, which has items on how to do these things.

Menu item 8, "Manage software updates", allows you to change the schedule of how often new updates are checked for, and to apply any available updates. There are 2 sorts of updates: Linux updates (which you should apply for security reasons), and xvp updates (check this website for details of these before applying).

Whenever the program presents you with a numbered menu, you can escape any Linux command by entering it prefixed with "!" instead of entering a number. When the command completes, the menu is re-displayed. For instance, you could display the current date and time by typing:

    !date

Should you wish to completely unconfigure your appliance, and return it to its initial state (apart from software updates), use menu item 9. This will throw away everything you have previously configured, and reset the root password to "xvpappliance". You can then configure again from scratch, by rebooting or running:

    /usr/sbin/xvpappliance