diff options
| author | Steven Dake <stdake@cisco.com> | 2015-08-14 21:38:29 -0700 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2015-08-15 12:31:50 -0700 |
| commit | b6ec9334949a789ffc98c59eff5561c4dbe7fedb (patch) | |
| tree | 26d7868655ecd577338f3203370933b9d159a440 /docs/database-container-set.md | |
| parent | c790fb6c6af3bd1ecac30732f05458e01b241dee (diff) | |
| download | kolla-b6ec9334949a789ffc98c59eff5561c4dbe7fedb.tar.gz kolla-b6ec9334949a789ffc98c59eff5561c4dbe7fedb.zip | |
Remove all old config-internal documentation
Bad documentation is worse then no documentation. All this stuff
is related to config-internal and has to go.
Paritally-Implements: remove-config-internal
Change-Id: I0f83d7c2d3bbf5d1af2b8cab179d1961831158d0
Diffstat (limited to 'docs/database-container-set.md')
| -rw-r--r-- | docs/database-container-set.md | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/docs/database-container-set.md b/docs/database-container-set.md deleted file mode 100644 index b4a16388a..000000000 --- a/docs/database-container-set.md +++ /dev/null @@ -1,50 +0,0 @@ -MariaDB Container Set -===================== - -The MariaDB database application has been organized into two containers, -known as a [container-set][] within the Kolla project. One container runs -the MariaDB application and the other stores the actual data. - -Operational efficiencies and service stability is provided by -separating the application from the stored data. For example, stored data -can be backed-up or restored without touching the MariaDB application -component. - -The containers work in a cooperative fashion by using [docker-compose][] -(aka Fig) to ensure the containers are co-located on the same host. -With docker-compose, you can manage the containers collectively -as a single unit. - -Here is a sample docker-compose yaml file for using both MariaDB containers: - -``` -mariadbdata: - image: kollaglue/centos-rdo-mariadb-data - volumes: - - /var/lib/mysql:/var/lib/mysql - - /var/log/mariadb:/var/log/mariadb - net: "host" - privileged: true -mariadbapp: - image: kollaglue/centos-rdo-mariadb-app - env_file: - - openstack.env - volumes_from: - - mariadbdata - net: "host" - ports: - - "3306:3306" - privileged: true -``` - -In addition to the MariaDB application being organized across two containers, the data -container follows the [data-only container][] design pattern. In this design pattern, -a dedicated container is used to perform a host mount and separate application -container(s) mount volumes from the data-only container instead of performing the host -mount directly. In the example above, the MariaDbApp container mounts the /var/lib/mysql -and /var/log/mariadb volumes through the MariaDbData container instead of mounting -these directly to the Docker host. - -[docker-compose]: http://www.fig.sh/ -[container-set]: https://review.openstack.org/#/c/153798/ -[data-only container]: http://www.tech-d.net/2013/12/16/persistent-volumes-with-docker-container-as-volume-pattern/ |
