Commit graph

46 commits

Author SHA1 Message Date
Samuel Clay
dc59b019a3 Moving to new redis ports. 2024-02-25 13:54:14 -05:00
Samuel Clay
41bf125467 Last minute changes to migration strategy. 2024-02-25 12:30:42 -05:00
Samuel Clay
015d922cb2 Redis replica migration. 2024-02-19 17:43:45 -05:00
Samuel Clay
bef8b73b79 Splitting redis roles. 2024-02-18 17:16:56 -05:00
Samuel Clay
c0363c1349 All redis secondaries on the same machine. Unbinding dnsmasq so it works for all interfaces as they come up. 2024-02-11 09:44:24 -05:00
Samuel Clay
ded1bec96e Secondary redis is now port separated. 2024-02-11 08:46:09 -05:00
Samuel Clay
7a5ef1a26c Getting postgres working on hetzner. 2024-01-31 17:28:34 -05:00
Samuel Clay
96016e82e6 Adding hetzner mongo servers. 2024-01-22 18:59:58 -05:00
Samuel Clay
2167805856 Redis replica 2023-06-08 07:10:01 -04:00
Samuel Clay
489a07ecba Upgrading to redis 7 2022-09-12 02:13:45 -04:00
Samuel Clay
0bf9994e63 Adding disable transparent huge pages on redis. 2022-07-11 17:40:44 -04:00
Samuel Clay
108d88b785 Attempting to reduce redis db size by deleting unread stories list when no longer needed. 2022-06-27 12:24:49 -04:00
Samuel Clay
b1e6e17426 Fixing redis permissions 2022-05-25 14:55:04 -04:00
Samuel Clay
656479a876 Upgrading redis story server. Also updating monitor requirements. 2022-05-25 11:02:17 -04:00
Samuel Clay
089161b20f Solving docker networking container issues by turning iptables back on but using ufw after.rules that allow ufw to retain blocking ability. Works on Redis, now to move to mongo. 2021-12-15 13:34:01 -05:00
Samuel Clay
5b0ef4dbd6 Prepping redis for moving back to primary. 2021-12-13 15:31:21 -05:00
Samuel Clay
8bceaada80 Updating redis backup to include percentage progress and access to the correct data dump. 2021-12-13 14:26:20 -05:00
Samuel Clay
be3237cdc3 Updating to boto3 syntax. 2021-12-13 12:45:47 -05:00
Samuel Clay
bf70f2aaf7 Redis replica user 2021-10-25 21:24:00 -04:00
Samuel Clay
db5cb4bd94 Moving redis conf to template to distinguish servers. 2021-10-20 17:27:20 -04:00
Samuel Clay
e0af49022e Adjusting redis conf dirs. 2021-10-20 17:12:24 -04:00
Samuel Clay
5734225d6f Updating Redis to v6, adding redis servers. 2021-10-20 16:46:19 -04:00
Samuel Clay
b4e9a56041 Making the docker network is now a docker role task. 2021-09-16 11:55:20 -04:00
Samuel Clay
02b2546825 Adding hostnames to docker containers, changing mongo to just use host network mode dammit, and adding possibility for logging to dnsmasq. 2021-07-23 18:13:19 -04:00
Jonathan Math
a78dec3ed9 fix syntax for backup_redis and duse socket for getting hostname instead of passing in as an argument 2021-06-27 14:36:24 -06:00
Jonathan Math
5cbe285888 run command to get redis log path in cronjob for redis bgsave. This way if the container id changes for any reason, the change will be picked up when the cronjob starts instead of being evaluated only when the cronjob is deployed with ansible 2021-06-25 11:49:38 -06:00
Samuel Clay
cea069d842 Fixing redis sanity checker. 2021-06-24 13:21:25 -04:00
Samuel Clay
57c2713029 Fixing redis bgsave and disk checker monitors. 2021-06-24 11:54:56 -04:00
Jonathan Math
309155faeb fix docker commands for backups 2021-06-19 13:01:38 -06:00
Jonathan Math
4cea718d40 add redis backup and remove redundant redis backup scripts. Use one script and pass in hostname argument instead 2021-06-19 12:52:04 -06:00
Jonathan Math
8d6a9732b3 use argv instead of env vars for redis log path 2021-06-19 10:03:02 -06:00
Jonathan Math
bf140f1aea fix disk usage sanity checker to check host machine and pass the data into the container to evaluate the disk usage and send an email 2021-06-18 14:57:29 -06:00
Jonathan Math
7394517a40 try to make redis bgsave monitor work in docker 2021-06-16 11:58:57 -06:00
Jonathan Math
7b9555560f fix docker commands for redis role 2021-06-16 10:56:08 -06:00
Jonathan Math
b89fb9de3a fix sanity checkers in redis role 2021-06-16 10:44:47 -06:00
Jonathan Math
56b44213b9 fix redis sanity checker 'when' directive 2021-06-16 10:26:13 -06:00
Jonathan Math
debafdc9ad fix ansible sanity checkers 2021-06-16 10:12:41 -06:00
Jonathan Math
5bea910d46 keep sanity checkers alive, fix ln directive in ansible 2021-06-07 16:30:51 -04:00
Jonathan Math
adf7955df5 add the rest of the sanity checkers to ansible 2021-06-07 15:57:01 -04:00
Jonathan Math
17c64e4acc add disk usage sanity checker 2021-06-07 15:44:59 -04:00
Samuel Clay
a900a46b68 Attempting to fix resolve issues. 2021-03-10 16:54:18 -05:00
Samuel Clay
c12b2493ed Finishing up db-mongo-analytics. Redis also now works. 2021-02-24 11:57:26 -05:00
Samuel Clay
e6d6667099 Adding consul tags for easy installation on services. 2021-02-23 19:30:28 -05:00
Jonathan Math
54a742915c registering redis services in consul 2021-02-15 19:23:14 -05:00
Jonathan Math
71de3a27b9 fix redis role. It was previously trying to set up four containers in each of the redis machines. 2021-02-08 14:24:33 -05:00
Jonathan Math
711d6ee175 add redis role 2021-02-02 23:04:46 -05:00