openstack-manuals/doc/src/docbkx/openstack-install/compute-db-sync.xml

29 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<section xml:id="compute-db-sync"
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"><title>Configuring the Database for Compute</title>
<para>Create the tables in your backend data store by running
the following command:</para>
<literallayout class="monospaced">sudo nova-manage db sync</literallayout>
<para>If you see any response, you can look in
/var/log/nova/nova-manage.log to see the problem. No
response means the command completed correctly and your
nova database is now populated.</para>
<para>On both nodes, restart all services in total, just to cover the entire
spectrum: </para>
<para>
<literallayout class="monospaced">sudo restart nova-api
sudo restart nova-compute
sudo restart nova-network
sudo restart nova-scheduler
sudo restart nova-vncproxy
sudo restart libvirt-bin
sudo /etc/init.d/rabbitmq-server restart </literallayout>
</para>
<para>All nova services are now installed and started. If the
"restart" command doesn't work, your services may not be
running correctly (or not at all). Review the logs in
/var/log/nova.</para></section>