Simon Pasquier
a36aca68d5
Add 'datasource: influxdb' to Grafana meta
Change-Id: I9daada1cf87873d602d415642bbc4bd32d8e2d52
7 years ago
Dmitry Stremkovskiy
954ef6f3fd
Fixing galera bootstrap hang caused by incorrect mysql shutdown
command called by service.dead state:
systemd-run --scope systemctl stop mysql.service
More common way is to shut down service using known credentials
Change-Id: I2abe7eeea850333139587347039b1de8a6ea486f
7 years ago
Martin Polreich
cad6ed4421
Optimize 'noservices' condition
7 years ago
Simon Pasquier
e90dd8540d
Add Prometheus alerts
Change-Id: Ia6873c44f4e5b179a6c4a545fbf4b45c978812ea
7 years ago
Simon Pasquier
feaf851c83
Exclude 'server' tag from metrics
The tag is equal to the address of the server which is quite useless
when using a Unix socket address.
Change-Id: Ia87c30f8ff2176f923982d70b712b10ec6e97f56
Depends-On: I538dbb24602a8ad4aece0a74445db47810099bb9
7 years ago
Simon Pasquier
98558f6cb3
Add Grafana dashboard for Prometheus
Change-Id: I34d6d8146489bab30e5ee621e3b8d01fe7ff819b
7 years ago
Simon Pasquier
b4595b9602
Add support for Telegraf
Change-Id: Iec2d27cc4fdab9ba7772e9c26be66ba54f5aadfc
Depends-On: Ice4f38abfb0d870c56763dfeda2140032fa752a1
7 years ago
Petr Michalec
89c8c3fc5b
add clustercheck script (avoid splitbrain)
7 years ago
Thom Gerdes
8cce8e7d65
Fix case of systemd [Service] unit
7 years ago
Petr Michalec
e8d39b6576
Tunne bootstrap scripts
7 years ago
Petr Michalec
bca6ffa727
Additional users
7 years ago
Martin Polreich
8933a6c7e2
Added Kitchen tests and travis
7 years ago
Jan Cach
36c3a68c20
Raise open_files_limit for mysql
Change-Id: I6047d632a2bfeb6525ac60092436ccd5334671e4
7 years ago
Jiri Broulik
3ac6df7b9d
restore fix
Change-Id: I9638c66d1a204a54e25144c4dfe43d5cf5ba135c
7 years ago
teoyaomiqui
4042321107
PROD-10495 Fixing file match for correct targeting
7 years ago
Marek Celoud
83883123f4
Change mysql-wsrep package
Change-Id: I2856f50977b1959801d66e7bc73fe54d24d43801
7 years ago
Jakub Pavlik
325665beef
Remove libmysqlclient18 from package requirements
It comes as dependency from main wsrep packages and it differs
between versions of OS.
Change-Id: I2b50edaa19e52009766bca9fa31c566f59ff9319
7 years ago
Simon Pasquier
2b501f112d
Increase sleep interval in the bootstrap script
Because the current timeout interval is too short in some environments.
The change also adds information messages to bootstrap scripts
Change-Id: I295da792349f5864a484e3eb318342dcc31fffab
7 years ago
Jakub Pavlik
6fc8bd4078
[WIP] Fixes for MCP1.0 galera
Change-Id: I91f55d599f5291f34bfa81f55dafd6734606e1cc
7 years ago
Jakub Pavlik
8d1060a83f
Galera master installation hangs
Galera master installation hangs on installation
mysql-server-wsrep-5.6. It seems that log_error is not working,
because of next message: "mysqld_safe Can't log to error log and
syslog at the same time. Remove all --log-error configuration
options for --syslog to take effect." Using "syslog = yes" instead
of log_error makes it works without any other changes.
Change-Id: I39a8a87ed048557c19f3843b97c75469385e4978
Closes-bug: PROD-9065
7 years ago
Guillaume Thouvenin
489a660a1f
Provide grains for building the main dashboard
7 years ago
Éric Lemoine
fa4430f9f0
Split the mysql alarm cluster
8 years ago
Jakub Pavlik
e06a318c6f
Fix mysql with adding ulimit -n 102400
Bug: After deployment of linux formulas and salt states
/etc/security/limits.conf are not applying, as result connections
to mysql failed with error (pymysql.err.OperationalError)
(1040, u'Too many connections')
Solution: create mysql.overide, where ulimit is set to 102400
Closed-bug: PROD-8427
8 years ago
Simon Pasquier
a3fc756709
Change cluster policy to availability_of_members
Because the cluster isn't managed by Pacemaker, using
majority_of_members is misleading.
8 years ago
Guillaume Thouvenin
9c6aa92549
Put Grafana dashboards into their own directory
8 years ago
Éric Lemoine
75fab14b83
Add alarms and alarm clusters
8 years ago
Guillaume Thouvenin
789cfe7aed
Add missing JSON format for dashboard
8 years ago
Simon Pasquier
07f0942f2c
Add support for log_collector
8 years ago
Guillaume Thouvenin
38ffa2adc8
Fix the name of the Grafana dashboard
8 years ago
Guillaume Thouvenin
4fd1ae8e48
Add support for Grafana
This patch enables support for Grafana and provides a new dashboard.
8 years ago
Adam Tengler
12e9b907a0
Orchestration metadata and states
8 years ago
Simon Pasquier
a9c7114c34
Add collectd support
This also installs 2 additional packages (libdbd-mysql and
python-pymysql) that are required for running the collectd plugins.
8 years ago
Ales Komarek
5d5e734cd3
MOS packages fix
8 years ago
Jakub Pavlik
0647d43b22
galera configmap support
8 years ago
Pavel Cizinsky
03a0ddc197
new major release compatible with Mirantis galera
8 years ago
Adam Tengler
44b680caea
Orchestration files
8 years ago
Filip Pytloun
5a79ed1034
Fix non-bootstrap run
8 years ago
Filip Pytloun
9ba63ff9d2
Fix cmd.script and template support in old salt
8 years ago
Filip Pytloun
52d29b5290
Fix non-bootstrap run
Conflicts:
galera/master.sls
galera/slave.sls
9 years ago
Jakub Pavlik
4e4575f775
galera bootstrap improvements
Conflicts:
galera/master.sls
galera/slave.sls
9 years ago
marco
b47411da1f
Configurable max connections
9 years ago
Filip Pytloun
a22a355a0d
Ensure correct permissions on /var/run/mysqld
9 years ago
Filip Pytloun
5a5324d910
Fix escaping
8 years ago
Filip Pytloun
05b3e6d484
Workaround bug in RHEL installation of percona
8 years ago
Filip Pytloun
430a0df785
Fix typo
8 years ago
Filip Pytloun
d20f740ae6
Fix package name
8 years ago
Filip Pytloun
da67965594
Add xtrabackup repo on RHEL
8 years ago
Filip Pytloun
9d2d1845fe
Correct service name for redhat
8 years ago
Filip Pytloun
ca245cc1a7
Use /var/run/mariadb on redhat
8 years ago
Filip Pytloun
a3567b8faa
Fix wsrep_provider for redhat
8 years ago