b417259465
Partial-Bug: #1250515 author: diane fleming Change-Id: I92c9ad25ee5bbd2c9334c4860637faa1b358718b backport: havana
30 lines
1.5 KiB
XML
30 lines
1.5 KiB
XML
<section xml:id="section_configuring-database-connections"
|
|
xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:ns5="http://www.w3.org/1999/xhtml"
|
|
xmlns:ns4="http://www.w3.org/2000/svg"
|
|
xmlns:ns3="http://www.w3.org/1998/Math/MathML"
|
|
xmlns:ns="http://docbook.org/ns/docbook" version="5.0">
|
|
<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 the services need to be able to update
|
|
entries in the database.
|
|
</para>
|
|
<para>In either case, use these settings to configure the connection
|
|
string for the nova database.</para>
|
|
<xi:include href="../../common/tables/nova-db.xml"/>
|
|
</section>
|