Difference between revisions of "OpenStack Architecture"
(→MySQL) |
|||
| Line 6: | Line 6: | ||
== MySQL == | == MySQL == | ||
| + | |||
| + | === glance === | ||
| + | |||
| + | From glance.openstack.org: | ||
| + | |||
| + | ''The Glance project provides services for discovering, registering, and retrieving virtual machine images. Glance has a RESTful API that allows querying of VM image metadata as well as retrieval of the actual image.'' | ||
| + | |||
| + | Glance uses a MySQL database called <tt>glance</tt>. | ||
| + | |||
| + | SQL connection settings might be stored in a glance configuration file located at <tt>/opt/stack/glance/etc/glance-registry.conf</tt>. In the devstack installation process, <tt>/opt/stack/glance</tt> contains a git checkout of the glance software. | ||
| + | |||
| + | The SQL connection configuration string might look something like this: | ||
| + | |||
| + | <pre> | ||
| + | sql_connection = mysql://glance:yourpassword@192.168.206.130/glance | ||
| + | </pre> | ||
| + | |||
| + | More info on glance configuration is available [http://docs.openstack.org/diablo/openstack-compute/install/content/glance-registry-conf-file.html here]. | ||
Revision as of 22:11, 25 February 2012
This page exists to document OpenStack configuration.
Note that the current approach is to use devstack, which is not a good way to learn OpenStack. So much of this document will be about doing a devstack-like configuration for Funtoo.
This document will split OpenStack configuration into each architectural component, describing configuration steps for each component separately.
MySQL
glance
From glance.openstack.org:
The Glance project provides services for discovering, registering, and retrieving virtual machine images. Glance has a RESTful API that allows querying of VM image metadata as well as retrieval of the actual image.
Glance uses a MySQL database called glance.
SQL connection settings might be stored in a glance configuration file located at /opt/stack/glance/etc/glance-registry.conf. In the devstack installation process, /opt/stack/glance contains a git checkout of the glance software.
The SQL connection configuration string might look something like this:
sql_connection = mysql://glance:yourpassword@192.168.206.130/glance
More info on glance configuration is available here.