2677390f16
As a very temporary master election we are predetermining a host to be used as the 'bootstrap host'. Also changing mysql, rabbitmq, and reset-db to use this script. This requires Change-Id: I85399019c5fc448e98362ef832988abc8d9d459d Change-Id: I1369926eb428ee1e3e4af861dc76ffe82a07f629 |
||
---|---|---|
.. | ||
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