tripleo-image-elements/elements/mysql
Kiall Mac Innes 5071327336 Install lsof during Percona install
Percona's rsync SST requires lsof to be installed, it seems this does
not get installed on bare-bones debian images.

Sample error from /var/log/mysql/error.log:

    WSREP_SST: [ERROR] lsof not found in path: ....

Change-Id: I1b434f87d97cdf52b4458ab1f91b2df897530a0a
2014-05-26 15:10:50 +01:00
..
environment.d Use xtradb-cluster in place of mysql 2014-03-18 17:06:56 -07:00
install.d Install lsof during Percona install 2014-05-26 15:10:50 +01:00
os-refresh-config Merge "MySQL element - correct os-svc-restart arguments" 2014-05-21 09:47:46 +00:00
README.md Document the required mysql config values 2014-04-10 11:12:26 -07:00
element-deps The MySQL element requires the os-svc-install element 2014-03-29 13:55:53 +00:00
source-repository-mysql Use version dir, not LATEST for Percona d/l path 2014-05-08 13:12:02 -07:00

README.md

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