tripleo-image-elements/elements/mysql
Gregory Haynes dad3c0ccf1 Migrate to package-installs scripts
Migrating install-packages commands to package-installs-* scripts where
possible.

This patch is broken up into multiple parts to minimize impact and
review overhead.

Change-Id: Idd1be32149e7238d53d04a34170c5029dda83f1f
2014-11-05 01:38:05 -08:00
..
install.d Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00
os-refresh-config Use Percona Packages for Ubuntu and Debian 2014-10-16 12:47:38 +01:00
README.md Use Percona Packages for Ubuntu and Debian 2014-10-16 12:47:38 +01:00
element-deps Migrate to package-installs scripts 2014-11-05 01:38:05 -08:00

README.md

Installs Percona Xtradb Cluster which is a MySQL HA solution

Mysql and mariadb elements are very similar so both depend on mysql-common element which contains shared logic. See mysql-common for more details about mysql setup.

Please use the mariadb-rpm on Fedora based systems.

The Percona packages are in trusty apt repository and so trusty is a minimal requirement for this. You could use the apt-sources element to add the percona apt mirror to your image.

Heat

A list of IP addresses for nodes in the cluster, the host's IP adddress, and a cluster name must be defined in the heat metadata:

Metadata:
  mysql:
    cluster-name: 'my_cluster'
    host: 192.0.2.3
    nodes: 192.0.2.3,192.0.2.4