fuel-library/deployment/puppet
Bogdan Dobrelya 24c87cd7bb Tune mysql and galera backend settings on scale
- Tune MySQL config settings to be more clouds-specific (reads much
  more common, reads:writes rate is 10(100):1)
  * Limit innodb_buffer_pool_size to 10G and set is as 30% of RAM
  * Update innodb_log_file_size as:
    * If mysql ib_logfiles do not match 25% of innodb_buffer_pool_size (max 2G),
      delete them and update innodb_log_file_size in the config appropriately;
    * Otherwise, use existing ib_logfile0 size to re-evaluate the
      innodb_buffer_pool_size config value to match its real size.
  * Reduce innodb_write_io_threads to 2/2 from 2/8
  * Use innodb_flush_log_at_trx_commit=2 for HA (was 1)
  * Raise FD imits to 102400/102400 from 22058/22058,
  * Raise max connections to 3000/4096 from 2048/2048,
  * Raise open tables limits 10000/10000 from 10000/400.
  * Lower wait_timeout to 3600/3600 (1h) from 28800/28800 (8h)
  * Adjust myisam_sort_buffer_size to 64M from 8388608 bytes
  * Adjust key_buffer_size to 64M from 16777216 bytes
- Sync Puppet galera module params for MySQL module as well
Note: doubled values should be treated as simple/HA case
CI retest

Partial blueprint: optimize-db-performance-at-scale
Change-Id: Ie341da55711e70e38116389a54bda3b4357dafe7
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2014-03-19 14:36:03 +02:00
..
anacron Separate logrotate config for (ana)cron-hourly, fix (min)size mess 2013-07-12 19:44:05 +03:00
apt add ability to set custom release pin to apt module 2013-05-07 17:11:57 +04:00
astute switch docs 2013-07-24 17:41:34 +04:00
ceilometer Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
ceph enable 100-continue for RadosGW 2014-02-20 14:43:07 -08:00
cinder Add read_timeout and infinite retries to MySQL conns 2014-03-03 23:44:46 -08:00
cluster Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
cobbler Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
common Add project files 2013-01-10 18:37:05 +04:00
concat Cleanup for file modes 2013-12-19 02:50:19 +04:00
corosync Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
firewall Fixed issue with improper firewall configuration (PRD-2216) 2013-10-16 21:26:11 +04:00
galera Tune mysql and galera backend settings on scale 2014-03-19 14:36:03 +02:00
git Delete metadata.json from repo 2013-01-11 14:03:43 +04:00
glance Revert "Add Sheepdog package to dependency chain of Glance." 2014-02-21 12:23:05 -08:00
haproxy Finish configuring a service before adding it to HAProxy 2014-02-12 11:54:23 -08:00
heat Add read_timeout and infinite retries to MySQL conns 2014-03-03 23:44:46 -08:00
horizon Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
inifile update seperator regex in inifille 2013-10-07 09:55:04 -07:00
keepalived Ignore metadata.json 2013-01-11 14:09:25 +04:00
keystone Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
l23network Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
lvm Ignore metadata.json 2013-01-11 14:09:25 +04:00
mcollective Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
memcached Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
mmm Remove stolen examples 2013-03-04 15:32:25 +04:00
murano Add read_timeout and infinite retries to MySQL conns 2014-03-03 23:44:46 -08:00
mysql Tune mysql and galera backend settings on scale 2014-03-19 14:36:03 +02:00
nagios correct puppet function directory 2013-05-27 15:17:16 +04:00
nailgun Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
neutron Merge "Make Neutron L3/DHCP agents OCF script more tolerant to mysql and keystone temporary fails." 2014-03-13 09:50:25 +00:00
nova Add read_timeout and infinite retries to MySQL conns 2014-03-03 23:44:46 -08:00
ntp Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
openstack Merge "Send mcollective logs to syslog as well" 2014-03-13 09:05:30 +00:00
operatingsystem Revert "add Limits module for Puppet" 2013-07-18 14:32:12 +04:00
osnailyfacter Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
postgresql Cleanup for file modes 2013-12-19 02:50:19 +04:00
puppet Add puppet-pull helper script 2014-01-16 13:07:59 +04:00
puppet-network Fix eclipse build 2013-03-04 15:32:25 +04:00
puppetdb fix puppetdb ssl bootstrap 2013-07-22 19:18:41 +04:00
puppetmaster havana syntax fix 2013-11-11 15:37:58 +04:00
qpid Cleanup for file modes 2013-12-19 02:50:19 +04:00
rabbitmq Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
rpmcache Add gdisk to RHOS Deployment 2014-01-29 19:21:09 +04:00
rsync Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
rsyslog Merge "Fix local logs for puppet 3.4" 2014-03-13 09:53:23 +00:00
savanna Add read_timeout and infinite retries to MySQL conns 2014-03-03 23:44:46 -08:00
selinux no autorelabel 2013-05-23 20:12:06 +04:00
squid Cleanup for file modes 2013-12-19 02:50:19 +04:00
ssh Cleanup for file modes 2013-12-19 02:50:19 +04:00
stdlib Create swift operator keystone roles 2013-12-17 16:57:35 +04:00
swift Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
sysctl Add puppet-3.4 support 2014-03-06 11:46:33 +02:00
tweaks/manifests Add tweaks module with Ubuntu service override 2014-02-20 12:53:41 +04:00
vcsrepo Ignore metadata.json 2013-01-11 14:09:25 +04:00
xinetd Add puppet-3.4 support 2014-03-06 11:46:33 +02:00