OpenStack ComputeThe OpenStack Compute service is a cloud computing
fabric controller, the main part of an IaaS system. It can
be used for hosting and manging cloud computing systems.
This section provides detail on all of the configuration
options involved in Openstack Compute.Post-Installation ConfigurationConfiguring your Compute installation involves many
configuration files: the nova.conf file,
the api-paste.ini file, and related Image
and Identity management configuration files. This section
contains the basics for a simple multi-node installation, but
Compute can be configured many ways. You can find networking
options and hypervisor options described in separate
chapters.Setting Configuration Options in the
nova.conf FileThe configuration file nova.conf is
installed in /etc/nova by default. A
default set of options are already configured in
nova.conf when you install
manually.Create a nova group, so you can set
permissions on the configuration file:$sudo addgroup novaThe nova.conf file should have its
owner set to root:nova, and mode set to
0640, since the file could contain your
MySQL server’s username and password. You also want to ensure
that the nova user belongs to the
nova group.$sudo usermod -g nova nova$chown -R :nova /etc/nova$chmod 640 /etc/nova/nova.confConfiguring LoggingYou can use nova.conf file to configure where Compute logs events, the level of
logging, and log formats.To customize log formats for OpenStack Compute, use these
configuration option settings.Configuring HypervisorsSee for details.Configuring Authentication and AuthorizationThere are different methods of authentication for the
OpenStack Compute project, including no authentication. The
preferred system is the OpenStack Identity Service, code-named
Keystone.To customize authorization settings for Compute, see these
configuration settings in nova.conf.To customize certificate authority settings for Compute, see
these configuration settings in
nova.conf.To customize Compute and the Identity service to use LDAP as
a backend, refer to these configuration settings in
nova.conf.Configuring ResizeResize (or Server resize) is the ability to change the
flavor of a server, thus allowing it to upscale or downscale
according to user needs. For this feature to work
properly, some underlying virt layers may need further
configuration; this section describes the required configuration
steps for each hypervisor layer provided by OpenStack.XenServerTo get resize to work with XenServer (and XCP), please
refer to the Dom0 Modifications for Resize/Migration Support
section in the OpenStack Compute Administration Guide.Components Configuration