62 Commits

Author SHA1 Message Date
b46964dd26 Added cookie support for haproxy 2016-07-05 22:10:16 -04:00
de84ca97c9 Got code deploy working 2016-02-25 09:04:10 -05:00
0988eb95c8 More friendly placeholders for hosts file 2016-02-18 13:19:21 -05:00
edfaa06c79 Did not need to check for prod.env 2016-02-16 13:32:44 -05:00
77e787731b Ignore errors when maintenance mysql user command fails 2016-02-16 13:20:04 -05:00
0d506181b9 Ignore errors when killing docker containers 2016-02-16 13:19:03 -05:00
3858398177 Set up maintenance user for galera, root password did not work because it used symbols 2016-02-16 11:16:25 -05:00
b961418627 Trying to handle containers in a smarter way 2016-02-16 10:21:02 -05:00
2101d9e69a Still trying to fix if server.pem does not exist 2016-02-16 09:50:01 -05:00
bfae0a52a2 debian.cnf needs to be consistent across all db nodes 2016-02-16 09:48:51 -05:00
18fcad80d9 Fixing when file does not exist 2016-02-16 08:34:07 -05:00
7aebbd515b Trying to fix when file does not exist 2016-02-15 23:52:53 -05:00
430b3e0afd Fixed typo 2016-02-15 23:08:25 -05:00
b7dce43756 Made a new host group for the first db in the cluster 2016-02-12 11:10:54 -05:00
15bd0b203a Checking for all file dependencies so tasks can be re-run 2016-02-12 10:51:26 -05:00
8ea8f41d77 Only create swapfile if there isnt one already 2016-02-12 10:29:56 -05:00
68ac01cd6d Pull latest ruby docker image when deploying code 2016-02-10 09:41:38 -05:00
e39f2597a8 Code deploy is working 2016-02-04 10:59:56 -05:00
7c6ad8f93b Fixed groups for code deploy 2016-02-04 10:37:34 -05:00
cb017f9426 No host key checking for code deploy 2016-02-04 10:34:54 -05:00
e46a254c0e Trying to fix code deploy now that full site deploy works 2016-02-04 09:42:36 -05:00
5713d75dfa Fixed container hostnames 2016-02-03 21:56:44 -05:00
1cb26c9133 Run docker commands right from ansible task instead of through a shell script 2016-02-03 15:07:48 -05:00
b233143404 Fixed both worker and web launcher and also fixed the prod.env file 2016-02-03 14:11:25 -05:00
2098efe716 Moved prod.env file 2016-02-03 11:20:47 -05:00
37adf2e65b my.cnf is correctly configured for galera 2016-02-03 10:54:22 -05:00
10890f0c93 Adding galera options to my.cnf 2016-02-03 10:02:49 -05:00
89ae460cd0 Separating galera settings 2016-02-03 09:44:22 -05:00
522bd113fc Fixed haproxy and my.cnf config files. Also tried to fix mysql password variables 2016-02-03 09:40:05 -05:00
cb89787962 Add haproxy 1.5 repo and generate self signed ssl key 2016-02-03 08:55:23 -05:00
ccaf8489ae Flush privileges after editing passwords 2016-02-03 08:51:40 -05:00
89937d1321 Trying to fix mysql password change 2016-02-03 08:45:58 -05:00
90c55214fc Fixed mysql statements 2016-02-03 08:33:54 -05:00
268313f798 Ignore ssh authenticity 2016-02-03 08:16:19 -05:00
4890c8d5b0 Normal create user statement for haproxy_check 2016-02-03 08:16:01 -05:00
94a1a9ac9d Set cache pressure and swapiness for current session without rebooting 2016-02-03 07:57:04 -05:00
7ef9c68b34 Fixed hosts file and removed the is_mysql_running hook on startcluster 2016-02-03 07:54:43 -05:00
3608270adf Change root password last 2016-02-03 00:12:33 -05:00
ba765059fc A lot of changes based on dry run results 2016-02-03 00:01:26 -05:00
bf4135224c Updated users and passwords for mysql 2016-02-02 22:26:58 -05:00
d0840d63ce Setting up galera cluster, also have new strategy for internal ips 2016-02-02 15:02:08 -05:00
8a55e9f946 Re-organized all files and added a Vagrantfile 2016-02-02 11:40:47 -05:00
dd4fd53ce7 Haproxy needs to be enabled on init 2016-02-02 08:56:42 -05:00
5f0e4b24e8 Template created to install haproxy 2016-02-02 08:55:27 -05:00
d3c83613bb Template for master slave mariadb configuration 2016-02-02 08:35:34 -05:00
dbd43ecb7a Separated workers and webservers 2016-01-27 10:25:16 -05:00
df88b516b6 haproxy is going to use internal ips 2016-01-25 14:29:40 -05:00
c58a83439f Added host groups for internal ips 2016-01-25 14:16:58 -05:00
f46037540b Added swapfile to vps 2016-01-24 17:29:38 -05:00
957299ed60 Starting to create galera cluster tasks 2016-01-22 11:17:35 -05:00