Using Ansible to automate a MongoDB cluster
Mongo 3.0 has a lot of great new features, and particularly those that allow you to build an excellent HA sharded MongoDB cluster. Building clusters can be difficult and doing so in a way that allows you to quickly create these clusters and make them readily available for applications to use is invaluable. Ansible is the ideal IT automation tool for building just about anything you need for your infrastructure, and in the case of this talk, how to build a sharded MongoDB cluster. This talk will walk you trough the playbook developed by the speaker that does just this. In this talk, the speaker will cover information that will help enlighten the attendee on both MongoDB and Ansible knowledge including the following: * The basics of Ansible playbooks * Ansible Roles * Using tags to run specific roles and tasks * Details of how Ansible sets up both sharding and clustering for MongoDB * Setting up an inventory file for the target machines (either virtual machines or containers) * Default user creation on MongoDB with Ansible
Senior Systems Engineer, Hewlett Packard
Patrick Galbraith is a principal engineer at HP in the Advanced Technology Group. He is the author or two books: “Developing Web Applications with Apache, MySQL, memcached, and Perl” (Wiley) “Expert PHP and MySQL” (Wiley) In his “spare time”, he also maintains DBD::mysql, DBD::drizzle, FederatedX storage engine and the Memcached Functions for MySQL as well as tinkering with various other OpenSource and OpenStack projects. Patrick lives up in the sticks of New Hampshire with his wife Ruth and son Kiran, daughter Sara, lots of trees and rocks, as well as his Kubota tractor.