dad3c0ccf1
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 |
||
---|---|---|
.. | ||
install.d | ||
os-refresh-config | ||
element-deps | ||
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