Recent posts

ECS Cluster info

ECS Cluster info

A little script I wrote to print out some ECS info I usually have to use the web for, you can get it from git Sample output: ~/code/aws/ecs/ecs_cluster_info.

Run VMX on Oracle Linux

We run into a few issues running VMX on Oracle Linux and here are a few notes. Make sure KVM is installed and running The script will try to run virsh

Ansible Cheatsheet

misc notes, tips and tricks as well as reminders for ansible. Run a command ansible kafka -i hosts -m service -a "name=kafka state=started enabled=yes" kafka: group name to

Lock writes to a mongodb server

Using the mongo shell check status db.current_op() Lock db.fsyncLock() UnLock db.fsyncUnlock() Using pymongo Note: lock/unlock must be done using the same connection/session mongo_client = mongo_connect(mongo_