Skip to Content
Learning MCollective
book

Learning MCollective

by Jo Rhett
August 2014
Intermediate to advanced
284 pages
5h 24m
English
O'Reilly Media, Inc.
Content preview from Learning MCollective

Chapter 25. Use Best Practices

In the final chapter of the book, I’m going to share some thoughts and recommendations for how to make the best use of MCollective.

Make Use of Configuration Management

It is certainly possible to use MCollective to maintain the configuration of software. I have used MCollective to distribute configuration files for MCollective servers. However, I prefer to use tools for what they are best at.

Configuration management is best done by tools focused on ensuring consistency across nodes. Configuration-management agents like Puppet, Chef, and others are well suited for this effort. You express the desired state of the system through the configuration management tool of your choice, and it will ensure that all nodes are synced. In particular, Puppet has modules and Chef has cookbooks intended to manage the MCollective configuration on nodes.

MCollective is best used for requests to gather information or make a change simultaneously on tens, hundreds, or thousands of nodes. None of the configuration-management systems11 are designed to make thousands of servers process a simple request in a few seconds.

It requires a lot of coding to make MCollective agents that can effectively manage configurations. Likewise, you’ll find it difficult to use configuration management to orchestrate fast action across many systems. MCollective and configuration management are two different tools that extend and enhance each other’s abilities.

Use each tool for what it is ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Russell Rules

Russell Rules

Bill Russell
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally
How You Play the Game

How You Play the Game

Jerry Colangelo, Len Sherman

Publisher Resources

ISBN: 9781491945681Errata