60eba01502
* Switch from /etc/init.d/mysql bootstrap-pxc to /etc/init.d/mysql restart-bootstrap when bootstrapping a new cluster. This ensures that, even when Percona starts at boot, that new config is loaded and the cluster is bootstrapped. * If percona fails to bootstrap or restart, ensure we do not touch the initialized file, allowing os-refresh-config to try again on the next iteration. Co-Authored-By: Gregory Haynes <greg@greghaynes.net> Change-Id: Ia720e40329a1d39db2e25fc917fbf5b5ea85dedc |
||
---|---|---|
.. | ||
environment.d | ||
install.d | ||
os-refresh-config | ||
element-deps | ||
README.md | ||
source-repository-mysql |
Installs Percona Xtradb Cluster which is 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.
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