Puppetize It! An Introduction to Puppet Mike Seda CEO, Seda Systems, Inc.

Slides:



Advertisements
Similar presentations
About Me CTO, Individual Digital, Inc. (Startup) Author of ext/tidy, PHP 5 Unleashed, Zend Ent. PHP Patterns
Advertisements

SP Business Suite Deployment Kick-off
Premier Director Document Imaging
Virtual SharePoint Summit 2010 hosted by Rackspace Overcoming Collaboration Challenges with SharePoint Chris Samson Leslie Sistla Virtual SharePoint Summit.
Module 5: Creating and Configuring Group Policy
Module 1 Introduction to Network Operating Systems
Executive Overview. PLEASE READ (hidden slide) To deliver this presentation effectively, you need to be familiar with Windows Server 2008 R2 management.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
Installing PhpGedView A collaborative online genealogy tool.
An Introduction to DuraCloud Carissa Smith, Partner Specialist Michele Kimpton, Project Director Bill Branan, Lead Software Developer Andrew Woods, Lead.
VMware vCenter Server Module 4.
Virtual Machine Management
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
An Introduction to ASP.NET Web Pages 2 Module 1: Webmatrix Installation and Your First Web Site Tom Perkins.
Linux Operations and Administration
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
John Hartley Mark Bransby Utilizing Adobe's Publishing Solutions for Distributed Web Publishing.
Module 1: Introduction to Administering Accounts and Resources
1 SAMBA. 2 Module - SAMBA ♦ Overview The presence of diverse machines in the network environment is natural. So their interoperability is critical. This.
Linux Operations and Administration
Introduction to Group Policy
Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over the Internet. Cloud is the metaphor for.

1 IBM Software Group ® PRJ270: Essentials of Rational Unified Process Module 5: Tailoring RUP.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Session 10 Windows Platform Eng. Dina Alkhoudari.
Terry Henry IS System Manager, SharePoint SME Micron Technology Inc.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
02 | Install and Configure Team Foundation Server Anthony Borton | ALM Consultant, Enhance ALM Steven Borg | Co-founder & Strategist, Northwest Cadence.
Puppet with vSphere Workshop Install, configure and use Puppet on your laptop for vSphere DevOps Billy Lieberman August 1, 2015.
Chapter 3 – Part 1 Word Processing Writer for Linux CMPF 112 : COMPUTING SKILLS.
Introduction to Microsoft Management Console (MMC) MMC is a common console framework for management applications. MMC provides a common environment for.
Module 7 Configure User and Computer Environments By Using Group Policy.
How to create DNS rule that allow internal network clients DNS access Right click on Firewall Policy ->New- >Access Rule Right click on Firewall.
Server Performance, Scaling, Reliability and Configuration Norman White.
Introducing Software Computer Concepts Unit A. Introducing Software What is an Operating System? OS is the master controller for all the activities that.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
Module 5: Creating and Configuring Group Policies.
Module 4 Planning for Group Policy. Module Overview Planning Group Policy Application Planning Group Policy Processing Planning the Management of Group.
SMS Software Distribution. Overview  Explaining How SMS Distributes Software  Managing Distribution Points  Configuring Software Distribution and the.
March 2004 At A Glance autoProducts is an automated flight dynamics product generation system. It provides a mission flight operations team with the capability.
© 2007 OPNET Technologies, Inc. All rights reserved. OPNET and OPNET product names are trademarks of OPNET Technologies, Inc. An Open Source ARM 4 Implementation.
Cyber Security Review, April 23-24, 2002, 0 Operated by the Southeastern Universities Research Association for the U.S. Depart. Of Energy Thomas Jefferson.
Module 1: Introduction to Administering Accounts and Resources.
Module 6: Configuring User Environments Using Group Policies.
Module 14: Advanced Topics and Troubleshooting. Microsoft ® Windows ® Small Business Server (SBS) 2008 Management Console (Advanced Mode) Managing Windows.
ALL INFORMATION PRESENTED AS WELL AS ALL SESSIONS ARE MICROSOFT CONFIDENTIAL AND UNDER YOUR NON-DISCLOSURE AGREEMENT (NDA) AND\OR TECHNOLOGY PREVIEW.
IBM Software Group © 2006 IBM Corporation Confidentiality/date line: 13pt Arial Regular, white Maximum length: 1 line Information separated by vertical.
Platform & Engineering Services CERN IT Department CH-1211 Geneva 23 Switzerland t PES Agile Infrastructure Project Overview : Status and.
Introduction to Ansible
Introduction to Group Policy Lesson 7. Group Policy Group Policy is a method of controlling settings across your network. – Group Policy consists of user.
APACHE Apache is generally recognized as the world's most popular Web server (HTTP server). Originally designed for Unix servers, the Apache Web server.
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
Pre-Production Meet with the client to create a project plan:
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Module 1: Introduction to Administering Accounts and Resources
Lab 1 introduction, debrief
Chapter 6 Introduction to Network Operating Systems
Drupal VM and Docker4Drupal For Drupal Development Platform
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Drupal VM and Docker4Drupal as Consistent Drupal Development Platform
Ansible and Zabbix Rushikesh Prabhune (Software Technical Consultant)
X in [Integration, Delivery, Deployment]
Module 1: Introduction to Business Intelligence and Data Modeling
OPS235: Week 1 Installing Linux ( Lab1: Investigations 1-4)
Introduction to Group Policy
Preparing for the Windows 8. 1 MCSA Module 6: Securing Windows 8
Presentation transcript:

Puppetize It! An Introduction to Puppet Mike Seda CEO, Seda Systems, Inc.

Meet the Guru Profile, Experience, Preface Mike Seda o CEO, Seda Systems, Inc.Seda Systems, Inc. o System Administrator since 2005 o Accumulating Puppet skills since 2008 The goal of this presentation is to provide an overview of Puppet. Advanced topics are mentioned, but not explored in detail.

Introduction Puppetize It? In the past, I've been asked to perform various system and application tasks. After reviewing the requirements for many of these tasks, I found that they could often be "Puppetized" instead of being performed manually. Eventually, I found myself and others around me saying "we can just Puppetize it" or "we can just Puppetize that". Essentially, we were saying "we can use Puppet to automate this task for us."

Introduction Trends Data Center Automation and Configuration Management have become increasingly popular lately. This recent trend may be due to the increased adoption of Virtualization and Cloud Computing. This trend is definitely due to new and powerful tools that are now available to do this work. Without these tools, System Administrators would be forced to keep writing their own tools from scratch, which are often inferior and are rarely portable, sharable, or scalable.

Introduction Benefits Benefits to Puppet users include increases in: Consistency o Caused by decrease in human error. Efficiency o Caused by increase in automation. Availability o Caused by decrease downtime.

Introduction Testimonials Puppet has been called the "System Admin's best friend". Once you start using it, you'll see why. A small list of organizations currently using Puppet are provided below: Google Stanford University Fedora Twitter SANS Institute Sun Oracle

Basic Knowledge Supported Platforms Linux o Many popular flavors. Unix o Many popular flavors. Mac OS X Windows o ETA  Limited functionality currently exists as recently noted in the Puppet Labs Wiki. Puppet Labs Wiki

Basic Knowledge Installation Packages are available for the various flavors of Linux/Unix. o On CentOS/RHEL, install is as simple as the following command (once the machine has been pointed at the EPEL repository):EPEL  yum install puppet (for clients)  yum install puppet-server (for server) Mac OS X packages are available, as well. You can always install from source to get the bleeding edge version.

Basic Knowledge Configuration Open TCP/UDP 8140 on server. Edit/create the necessary files: o /etc/puppet/puppet.conf  Main Puppet daemon(s), both client and server, configuration file. o /etc/puppet/manifests/site.pp  Central manifest capable of configuring an entire site. o /etc/puppet/manifests/nodes.pp  Contains node definitions. o /etc/puppet/manifests/templates.pp (optional)  Contains template class definitions. Start the central daemon (Puppet Master): o /etc/init.d/puppetmaster start

Basic Knowledge Configuration (Cont.) puppet.conf

Basic Knowledge Configuration (Cont.) site.pp

Basic Knowledge Configuration (Cont.) nodes.pp

Basic Knowledge Configuration (Cont.) templates.pp

Basic Knowledge Configuration (Cont.) Verifying installation o On client, run:  puppetd --server myserver.domain.com --waitforcert test o On server, run:  puppetca --list  puppetca --sign myclient.domain.com

Intermediate Knowledge Puppet Language Resources o file o service o package Classes o Use once. o Support inheritance. Defines o Use many o Support arguments.

Intermediate Knowledge Puppet Language (Cont.) Modules o Contain collections of classes, definitions and resources.  Apache  Sendmail o Portable  Every module should be able to simply be dropped into any installation and just work. Nodes o The nodes concept is how we map a particular configuration to a particular machine or set of machines.

Intermediate Knowledge Best Practices - Style In organizations that have numerous System Administrators managing hundreds of Puppet manifests that contain thousands of classes, it may be necessary to adopt a formal convention for how Puppet syntax is written/edited. The organization credited with coming up with the current Puppet style guidelines is Stanford University.

Intermediate Knowledge Best Practices - Style (Cont.) When these guidelines are adhered to, all manifests have a similar look and feel, and the need for folks to refactor syntax due to readability or other issue is eliminated.

Intermediate Knowledge Best Practices - Modules Make sure to use modules. It's very much frowned upon not to.

Intermediate Knowledge Best Practices - VCS Using a VCS (Version Control System) with Puppet is highly recommended. If Puppet is to be used to manage the configurations of your entire enterprise environment, then there must be a facility in place to revert changes and view a change history.

Advanced Knowledge Templating Templates allow you to manage the content of template files. Such files are usually not yet managed directly by a built-in Puppet type. Good examples are Apache or Samba configuration files. # # Use name-based virtual hosting. # NameVirtualHost :80 NameVirtualHost :81

Advanced Knowledge Scaling Web Server o By default, the Puppet Master uses WEBrick to serve files. This method can be replaced with that of Passenger (recommended) or Mongrel (legacy) to increase performance.

Advanced Knowledge Scaling (Cont.) Delayed Check-in o By default, Puppet clients check in with the master once every 30 minutes. This could potentially bog down the server if too many clients check in at the same time. Therefore you can do the following to delay check-in:  Edit /etc/puppet/puppet.conf and add the following:  splay = true  Run puppetd out of cron at different intervals across all of your boxes. Make sure you pass the following option to puppetd:  --onetime

Advanced Knowledge External Nodes Advantages: o Removes the need for nodes.pp  The same information contained in nodes.pp could be pulled from an Asset Management and/or Provisioning system.  You can just point Puppet at this external nodes source, which will be the central location for node information.

Advanced Knowledge External Nodes (Cont.) Sources o Asset Management system o Provisioning system  Cobbler  Allows for integration with Configuration Management systems such as Puppet  Goal is to link Provisioning with Configuration Management o LDAP

Questions? Try to stump the Puppet guru

Contact Mike Seda CEO, Seda Systems, Inc. P: E: W: