XenAPI configuration reference
The following section discusses some commonly changed options when
using the XenAPI driver. The table below provides a complete reference
of all configuration options available for configuring XAPI with
OpenStack.
The recommended way to use XAPI with OpenStack is through the XenAPI
driver. To enable the XenAPI driver, add the following configuration
options to /etc/nova/nova.conf and restart
OpenStack Compute:
compute_driver = xenapi.XenAPIDriver
[xenserver]
connection_url = http://your_xenapi_management_ip_address
connection_username = root
connection_password = your_password
These connection details are used by OpenStack Compute service to
contact your hypervisor and are the same details you use to connect
XenCenter, the XenServer management console, to your XenServer node.
The connection_url is generally the
management network IP address of the XenServer.
Agent
The agent is a piece of software that runs on the instances, and
communicates with OpenStack. In case of the XenAPI driver, the
agent communicates with OpenStack through XenStore (see
the Xen Project Wiki
for more information on XenStore).
If you don't have the guest agent on your VMs, it takes a long time
for OpenStack Compute to detect that the VM has successfully
started. Generally a large timeout is required for Windows
instances, but you may want to adjust:
agent_version_timeout within the
[xenserver] section.
VNC proxy address
Assuming you are talking to XAPI through a management network, and
XenServer is on the address: 10.10.1.34 specify the same address
for the vnc proxy address:
vncserver_proxyclient_address=10.10.1.34Storage
You can specify which Storage Repository to use with nova by
editing the following flag. To use the local-storage setup by the
default installer:
sr_matching_filter = "other-config:i18n-key=local-storage"
Another alternative is to use the "default" storage (for example if
you have attached NFS or any other shared storage):
sr_matching_filter = "default-sr:true"XenAPI configuration reference
To customize the XenAPI driver, use the configuration option
settings documented in .