openstack-manuals/doc/config-reference/compute/section_compute-configure-db.xml
Christian Berendt a6bce01980 Unified the syntax of the XML root element (config-reference)
The XML root element of Docbook XML files should match the following
format:

<ELEMENT xmlns="http://docbook.org/ns/docbook"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  version="5.0"
  xml:id="THE_XML_ID_OF_THE_ELEMENT">

Change-Id: I02a75b63d0fb3ea4a7d015794b9229a94ddad279
2014-07-10 14:11:19 +02:00

25 lines
1.3 KiB
XML

<section xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="5.0"
xml:id="section_configuring-database-connections">
<title>Database configuration</title>
<para>You can configure OpenStack Compute to use any
SQLAlchemy-compatible database. The database name is
<literal>nova</literal>. The <systemitem
class="service">nova-conductor</systemitem> service is the
only service that writes to the database. The other Compute
services access the database through the <systemitem
class="service">nova-conductor</systemitem> service.</para>
<para>To ensure that the database schema is current, run the following command:</para>
<screen><prompt>#</prompt> <userinput>nova-manage db sync</userinput></screen>
<para>If <systemitem class="service">nova-conductor</systemitem>
is not used, entries to the database are mostly written by the
<systemitem class="service">nova-scheduler</systemitem>
service, although all services must be able to update
entries in the database.</para>
<para>In either case, use the configuration option settings documented in
<xref linkend="config_table_nova_database"/> to configure the connection
string for the nova database.</para>
</section>