TEC118 –How Do You Manage the Configuration of Your Environments from Metal to Application

Post on 17-Jan-2015

69 views 1 download

Tags:

description

TEC118 – How Do You Manage the Configuration of Your Environments from Metal to Application

transcript

TEC118 –How Do You Manage the Configuration of Your Environments from Metal to ApplicationSAP TechEd 2013 Las VegasChris Kernaghan

2Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Who am I

Consultant Systems Admin

Facilitator

• Help IT administrate

Infrastructure and applications

• Design processes which meet

business compliance standards

• Build/Design flexible

infrastructures which are adaptable

but controlled

• Migrate customers from outdated

platforms to next generation

platforms

• Help business develop and

deploy leading edge applications

• Curate and administrate flexible

landscape

• Additional to project/chargable

work, so primarily done outside

hours

• Team members need to be highly

adaptable, flexible, autonomous,

bought into the SoPs

3Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

What is configuration management?

What does it meanConfiguration of a stack•Hardware•Virtualisation hypervisor•Operating system•Database•Application

4Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

In the beginning

Configuring your applications was easy

SCP/XCOPY – Application deployment

SSH/RDP – Configuration management

Then things got a little more complex

5Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Excel managed configurations

6Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Word based Architecture documents

Configuration Management is not easy

7Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

How do you achieve configuration management

Infrastructure as code

8Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Box huggers versus DevOps

Box Hugger (SAP Technical)

• Infrastructure is permanent

• Manual processes

• Steps are documented longhand

• SPOF are common

• Concerned with MTBF

DevOps (Web Operations)

• Infrastructure is ephemeral

• Automation is used heavily

• Operations are treated in the same way as code

• Operations are scalable

• Concerned with MTTR

9Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Why use Configuration Management

S – ScheduledC – ConsistentA – AuditableR – RepeatableS – Sharable

• 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

Ability to execute consistent process to serve multiple compliance frameworks with different documentation requirements – eg, ITIL, SOX, FDA, etc..

10Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Why we do not automate Configuration Management

11Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

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

12Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Why use Configuration Management

Scheduled Every 30 mins

Consistent Cookbook/Manifest driven

Auditable Results recorded

Repeatable Scheduled every 30 mins

Sharable Scripts exportable

Agent retrieves catalog

Agent inspects resources from catalogue and submits report

Console/Agent compares node inspections to baselines and

reports differences

Approve or reject every difference,

revert unapproved changes

Roll approves changes into node

baselines

Write code (cookbook/manifest) which defines resources to audit on which nodes

13Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Configuration Management Systems

14Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

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

15Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Puppet and Chef Flavours

Serverless Puppet

Master/Agent Puppet

Puppet Enterprise

Chef Solo

Chef Client & Server

Private ChefHosted Chef

Flavours

16Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Puppet Architecture

17Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Example Puppet script

Set up parameter file

Set the file permissions

Confirm the file source

Execute the command

Copy the install media

18Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Puppet Console

19Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Chef Architecture

20Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Example Chef Script

What packages are required

Mount a filesystem

Set the hostname

Restart service to activate

Write entry into hosts file

21Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Puppet Demo

22Copyright © Capgemini 2013. All Rights Reserved

Presentation Title | Date

Chef Demo

The information contained in this presentation is proprietary.© 2013 Capgemini. All rights reserved.

www.capgemini.com

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