Openstack nova database schema software

Openstack is a free open standard cloud computing platform, mostly deployed as infrastructureasaservice iaas in both public and private clouds where virtual servers and other resources are made available to users. Each additional compute node requires a unique ip address. Currently nova has 2 types of database upgrades that are in use. In nova, instances, users, groups, and networks are tracked using a relational database that you can query to get information. It was initially forked from the nova baremetal driver and has evolved into a. The attached documents describe the database schema including the relationships between the tables, the available indexes and primary keys, and the identifiers tracked by the database. The ironic compute driver will do this online and as necessary if run normally. The new expandcontract workflow will not utilize any migration scripts, instead it will dynamically compare the running schema against the database model defined in nova. The final major tenet in nova s upgrade strategy is decoupling the actual database schema changes from the process of upgrading the nodes that access that schema directly i.

Openstack nova essex mysql database schema diagram and. You can configure openstack compute to use any sqlalchemycompatible database. As mentioned in the release notes of the mitaka release version. In the default section, enable only the compute and metadata apis. Certain options may be reloaded by sending sighup to the correct process. Stores current version of the database schema as well as other migrationrelated info.

When you create a database instance, you must specify a nova flavor. Unless required by applicable law or agreed to in writing, software. Openstack uses a database to store data for all openstack services such. Ddl statements will be generated, and optionally executed, to make the running schema match the model. Clustering mysql backend in openstack severalnines. Understanding nova deploying openstack book oreilly. The software platform consists of interrelated components that control diverse. The api servers process rest requests, which typically involve database reads writes, optionally sending rpc messages to other nova.

Im in the process of setting up an openstack essex installation on a. The flavor indicates various characteristics of the instance, such as ram, root volume size, and so on. Understanding nova nova seeks to provide a framework for the largescale. Openstack nova essex mysql database schema diagram and sql. The other compute services access the database through the nova conductor service to ensure that the database schema is current, run the following command. This command should be called after upgrading database schema and nova. If you want to configure additional compute nodes, prepare them in a similar fashion to the first compute node in the example architectures section.

This specification discusses the issue of database schema migrations which may proceed while allowing both the previous and the updated version of the neutron database api to run against that schema at the same time. Create and access a database determine which flavor to use for your database. To ensure that the database schema is current, run the following command. Create database schema for nova, keystone and glance as well as. Hence, in case of upgrade failure, restoring database from backup is the only choice. Understanding nova nova seeks to provide a framework for the large scale. Returns exit code 0 if the database schema was synced successfully, or 1 if.

1427 894 583 1164 1409 347 86 175 1373 734 1258 1346 1295 429 38 1223 589 892 252 541 1476 1278 239 765 757 491 93 893 487 1024 183 142 413 1237 213 420 90 256 842