Introduction to Puppet - SpringPeople

11

Click here to load reader

Transcript of Introduction to Puppet - SpringPeople

Page 1: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved. © SpringPeople Software Private Limited, All Rights Reserved.

Introduction to

Page 2: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

What is Puppet?

Puppet is a configuration management system that allows you to define the state of your IT infrastructure, then automatically enforces the correct state. Whether you're managing just a few servers or thousands of physical and virtual machines, Puppet automates tasks that sysadmins often do manually, freeing up time and mental space so sysadmins can work on the projects that deliver greater business value.

Page 3: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

How Puppet works?

Once you install Puppet, every node (physical server, device or virtual machine) in your infrastructure has a Puppet agent installed on it. You'll also have a server designated as the Puppet master. Enforcement takes place during regular Puppet runs, which follow these steps:

• Fact collection. The Puppet agent on each node sends facts about the node's configuration — detailing the hardware, operating system, package versions and other information — to the Puppet master.

• Catalog compilation. The Puppet master uses facts provided by the agents to compile detailed data about how each node should be configured — called the catalog — and sends it back to the Puppet agent.

Page 4: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

How Puppet works (cont.)?

• Enforcement. The agent makes any needed changes to enforce the node's desired state. Note: If you choose to run in no-op (simulation) mode, the agent will simply simulate the changes.

• Report. Each Puppet agent sends a report back to the Puppet master, indicating any changes that have been made to its node's configuration. (In no-op mode, reports indicate which nodes are out of compliance.)

• Report sharing. Puppet's open API can send data to third-party tools, so you can share infrastructure information with other teams.

Page 5: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

Puppet Modules

• Modules are self-contained bundles of code and data. You can write your own modules or you can download pre-built modules from the Puppet Forge.

• Nearly all Puppet manifests belong in modules. The sole exception is the main site.pp manifest, which contains site-wide and node-specific code.

Page 6: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

What is Hiera?

• Hiera is nothing, but a key value look up tool, which can be ordered and organized nicely without meddling with the actual code. Just give hiera the data that your modules need, and you are ready to go.

• Hiera makes your data separate from the module's, so that the module code remains untouched. This helps your module's to be reusable and clean, and save you from repetition.

Page 7: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

Introduction to MCollective

• The Marionette Collective AKA MCollective is a framework to build server orchestration or parallel job execution systems.

• MCollective use modern tools like Publish Subscribe Middleware and modern philosophies like real time discovery of network resources using meta data and not hostnames. Delivering a very scalable and very fast parallel execution environment.

Page 8: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

What is MCollective and what does it allow you to do?

• Interact with small to very large clusters of servers.

• Comes with simple to use command line tools to call remote agents.

• Ability to write custom reports about your infrastructure.

• A number of agents to manage packages, services and other common components are available from the community.

• Allows you to write simple RPC style agents, clients and Web UIs in an easy to understand language - Ruby

• Extremely pluggable and adaptable to local needs

Page 9: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

How you can master Puppet?

Become an expert in 2 days.

World class Puppet corporate training by the industry experts.

More Details

Page 10: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

Suggested Audience & Other Details

• Suggested Audience - This course is targeted for the budding devops professionals, experienced System administrators and enthusiasts alike who are already using puppet, or intend to use it to automate configuration management, system integration and manage scalable infrastructures with ease.

• Duration – 2 Days

• Prerequisites – Basic understanding of linux/unix system concepts

– Familiarity with Command Line Interface (CLI)

– Familiarity with a Text Editor

Syllabus

Page 11: Introduction to Puppet - SpringPeople

© SpringPeople Software Private Limited, All Rights Reserved.

For further info/assistance contact

[email protected]

+91 80 656 79700

www.springpeople.com

Our Partners