Percona Live: Data Performance Conference 2016 Logo

April 18-21, 2016

Santa Clara, California

Using Ansible to automate a MongoDB cluster

Using Ansible to automate a MongoDB cluster

 20 April 01:00 PM - 01:50 PM @ Ballroom B
Experience level: 
Intermediate
Duration: 
50 minutes conference
Tracks:
Operations and Management
Topics:
Ansible
NoSQL

Description

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

Speakers

Patrick Galbraith's picture

Patrick Galbraith

Senior Systems Engineer, Hewlett Packard

Biography:

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.

Share this talk


Slides