• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
SAP TechEd 2013 session Tec118 managing your-environment
 

SAP TechEd 2013 session Tec118 managing your-environment

on

  • 434 views

How to use Chef or Puppet to provide automation, configuration management and change auditing on your Infrastructure, O/S and database layers

How to use Chef or Puppet to provide automation, configuration management and change auditing on your Infrastructure, O/S and database layers

Statistics

Views

Total Views
434
Views on SlideShare
434
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    SAP TechEd 2013 session Tec118 managing your-environment SAP TechEd 2013 session Tec118 managing your-environment Presentation Transcript

    • TEC118 – How Do You Manage the Configuration of Your Environments from Metal to Application SAP TechEd 2013 Las Vegas Chris Kernaghan
    • Who am I Facilitator Consultant Systems Admin • Help IT administrate • Help business develop and Infrastructure and applications deploy leading edge applications • Design processes which meet • Curate and administrate flexible business compliance standards landscape • Build/Design flexible • Additional to project/chargable infrastructures which are adaptable work, so primarily done outside but controlled hours • Migrate customers from outdated • Team members need to be highly platforms to next generation adaptable, flexible, autonomous, b platforms ought into the SoPs Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 2
    • What is configuration management? What does it mean Configuration of a stack •Hardware •Virtualisation hypervisor •Operating system •Database •Application Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 3
    • In the beginning Configuring your applications was easy SCP/XCOPY – Application deployment SSH/RDP – Configuration management Then things got a little more complex Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 4
    • Excel managed configurations Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 5
    • Word based Architecture documents Configuration Management is not easy Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 6
    • How do you achieve configuration management Infrastructure as code Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 7
    • Box huggers versus DevOps Box Hugger (SAP Technical) DevOps (Web Operations) • Infrastructure is permanent • Infrastructure is ephemeral • Manual processes • Automation is used heavily • Steps are documented longhand • Operations are treated in the same way as code • SPOF are common • Operations are scalable • Concerned with MTBF • Concerned with MTTR Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 8
    • Why use Configuration Management • Systems administration is full of boring, repetitive tasks • Evolve from thick manual run guides to smaller guides on automated processes •Create better results driven compliance processes and records • Quicker serial/parallel executions • The execution of the tasks is more controlled • There are lots of methods of automation, depending on the layer you are working within • OS – System schedulers • Database – triggers or stored procedures • Application level – scheduled batch or background jobs • Captured input session tools S – Scheduled C – Consistent A – Auditable R – Repeatable S – Sharable Ability to execute consistent process to serve multiple compliance frameworks with different documentation requirements – eg, ITIL, SOX, FDA, etc.. Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 9
    • Why we do not automate Configuration Management Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 10
    • What can be managed through code • Virtualisation hypervisor – Parameters – Creation of new hosts • Operating system – Parameters – Users – File system permissions – Software Installs • Database – Patches –Parameters Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 11
    • Why use Configuration Management  Scheduled Agent retrieves catalog  Every 30 mins  Consistent  Cookbook/Manifest driven  Auditable  Results recorded  Repeatable  Scheduled every 30 mins Agent inspects resources from catalogue and submits report Roll approves changes into node baselines Write code (cookbook/manifest) which defines resources to audit on which nodes  Sharable  Scripts exportable Approve or reject every difference, revert unapproved changes Console/Agent compares node inspections to baselines and reports differences Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 12
    • Configuration Management Systems Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 13
    • Comparison of Configuration Management Puppet Chef CFEngine Puppetlabs.com Opscode.com CFEngine.com Pull Yes Yes Yes Push No No No Idempotence Yes Yes Yes Config Language Declarative/Ruby Ruby Declarative WebUI Yes Yes No O/S Support Linux/Unix/Windows Linux/Unix/Windows Linux/Unix/Windows License GPL v2 Apache GPL Company Puppet Labs OpsCode CFEngine Cloud Yes SaaS Yes Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 14
    • Puppet and Chef Flavours Flavours Serverless Puppet Chef Solo Master/Agent Puppet Chef Client & Server Puppet Enterprise Private Chef Hosted Chef Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 15
    • Puppet Architecture Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 16
    • Example Puppet script Set up parameter file Set the file permissions Confirm the file source Execute the command Copy the install media Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 17
    • Puppet Console Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 18
    • Chef Architecture Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 19
    • Example Chef Script What packages are required Mount a filesystem Set the hostname Restart service to activate Write entry into hosts file Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 20
    • Puppet Demo Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 21
    • Chef Demo Presentation Title | Date Copyright © Capgemini 2013. All Rights Reserved 22
    • About Capgemini With more than 120,000 people in 40 countries, Capgemini is one of the world's foremost providers of consulting, technology and outsourcing services. The Group reported 2011 global revenues of EUR 9.7 billion. Together with its clients, Capgemini creates and delivers business and technology solutions that fit their needs and drive the results they want. A deeply multicultural organization, Capgemini has developed its own way of working, the Collaborative Business ExperienceTM, and draws on Rightshore ®, its worldwide delivery model. Rightshore® is a trademark belonging to Capgemini www.capgemini.com The information contained in this presentation is proprietary. © 2013 Capgemini. All rights reserved.