by ricktbaker | Dec 10, 2018 | Ansible, DevOps
Have a few processes that we run with Forever that I have been working on automating. Needed to be able to start them if they are not running and restart them if they are. The restart was a bit tricky. Usually you can just restart the process name, but since some...
by ricktbaker | Dec 4, 2018 | AWS, DevOps
Been on a new job for a few months now. One of the first things I noticed is we were getting a huge bill for AmazonCloudWatch PutLogEvents and we weren’t quite sure what was the primary culprit. So, ended up creating a small tool to tag all of our log groups and...
by ricktbaker | Dec 4, 2018 | AWS, DevOps, Kubernetes
Recently started setting up an AWS EKS cluster. Everything working fine, but decided to look at the kubelet logs on one of the nodes and saw a bunch of errors like these: Dec 01 09:42:52 ip-172-26-0-213.ec2.internal kubelet[4226]: E1009 09:42:52.335445 4226...
by ricktbaker | Dec 9, 2017 | Bash, DevOps, MySQL
So, this has been an interesting one to work out with a bunch of trial and error. The mysqldump command has a very useful –where option that allows you to only dump out specific rows that match your where clause. Say you want to mysqldump all rows where...
by ricktbaker | Dec 8, 2017 | DevOps, Ubuntu
In a previous post I wrote about how to use Realmd and SSSD to join Ubuntu 16.04 to active directory. This has been working fine, but I noticed my root mailbox had a bunch of repeated entries with the following: root : problem with defaults entries ; TTY=pts/2 ;...
by ricktbaker | Nov 27, 2017 | AWS, DevOps, Lamda
If you’re using AWS for a critical application then you probably have a disaster recovery region setup. If it’s automated well, then everything you need to spin up the disaster recovery region should be quick and easy. One thing that can be a bit of a...