configuration management isn't everything

40
Configuration Management Isn’t Everything Julian Dunn Senior Consultant, Chef Software, Inc. [email protected]

Upload: julian-dunn

Post on 10-May-2015

1.150 views

Category:

Education


1 download

DESCRIPTION

Main track talk at CfgMgmtCamp2014.

TRANSCRIPT

Page 1: Configuration Management Isn't Everything

Configuration Management Isn’t Everything

Julian DunnSenior Consultant, Chef Software, [email protected]

Page 2: Configuration Management Isn't Everything

What Cred Do I Have?• 15 years experience in IT

• Consulting Engineer at Chef

• “Consultants are called when things are really screwed up”

Page 3: Configuration Management Isn't Everything

As if.

Page 4: Configuration Management Isn't Everything

Revolutionizing IT in a company takes a lot more than just usingconfiguration management.

Page 5: Configuration Management Isn't Everything

How Configuration Management Projects Get Started

Page 6: Configuration Management Isn't Everything

Executives: Speed is New Currency

Page 7: Configuration Management Isn't Everything

Executives / Managers• “It takes forever to do anything around here”

• “Our site/apps are down too often”

• “Why can’t we be like Amazon.com?”

• “I have an iPad with all these apps”

Page 8: Configuration Management Isn't Everything

System Administrators / Engineers• Configuration drift leading to failures/outages

• Handcrafted systems with unknown state

• Janky & error-prone one-off scripts

• Developers spend too much time “setting up environment”

• Constant firefighting and reactivity

Page 9: Configuration Management Isn't Everything

Commonalities• Frustration with speed of IT

• Frustration with bureaucracy

• Poor working conditions for staff

• Along comes automation...

Page 10: Configuration Management Isn't Everything
Page 11: Configuration Management Isn't Everything

The Real End Goal• IT velocity

• IT as a core competency

• Successful companies will be IT companies

Page 12: Configuration Management Isn't Everything

When Do CM Projects Fail?When Do They Succeed?

Page 13: Configuration Management Isn't Everything

Failure: Unrealistic Expectations• Timelines

• Effort

• Scope of change

• “Magic”

Page 14: Configuration Management Isn't Everything

“They see the demo, don't understand what was done, and think it shits miracles.”

Page 15: Configuration Management Isn't Everything

Success: Correct Expectations• Investment

• People

• Code

• Time

• Open to changing almost anything

Page 16: Configuration Management Isn't Everything

Fail: Not dedicating resources• “DevOps Team”

• Reliance on consultants

• Reliance on contractors

• Not their “real job”

Page 17: Configuration Management Isn't Everything

Success: Own the CM• Engineers with domain expertise writing code

• Part of their “real job”

• Own the changes

Page 18: Configuration Management Isn't Everything

“Why do we do things this way?”

Page 19: Configuration Management Isn't Everything

Success: Candid Process Assessment• Value-stream mapping

• Origins of ITIL & safety gates

• Loosen controls in proportion to consistency guarantees

Page 20: Configuration Management Isn't Everything

Fail: Big Bang Approach• Hardest problem

• Biggest problem

• All at once

Page 21: Configuration Management Isn't Everything

• Pick a small project

• Make change incrementally

• Choose a route that will minimize likelihood of failure

Success: Incremental Change

Page 22: Configuration Management Isn't Everything

Fail: Lack of Advance Planning• You can’t automate what you don’t understand

• What do you even have?

Page 23: Configuration Management Isn't Everything

Success: Advance Planning• Spend time up front building the model

• Writing CM code on day 1 is ineffective

• Workflow is as important as the work

Page 24: Configuration Management Isn't Everything

Fail: Doing It By Force• Arbitrary deadlines with no business reason

• Panic

• “Failure is not an option”

Page 25: Configuration Management Isn't Everything

Failure is always an option.

Page 26: Configuration Management Isn't Everything

“When bad things happened, we just calmly laid out all the options, and failure was not one of them. We never panicked, and we never gave up on finding a solution.”

- Gene Krantz

Page 27: Configuration Management Isn't Everything

Toolbox for Successful CM

Page 28: Configuration Management Isn't Everything

All that said...• Certain tools are complementary with CM

• Primary: Tools that improve team communication, collaboration and experimentation

• Secondary: Tools that complement CM’s consistency guarantees

Page 29: Configuration Management Isn't Everything

Source Control• Why is Git so popular?

• Easy experimentation

• Full control offline

• Collaboration & communication

• Use whatever source control system lets you have these features

Page 30: Configuration Management Isn't Everything
Page 31: Configuration Management Isn't Everything

Artifact Consistency• Artifact server

• Consistency

• Reproducibility

• Immutability

• Complementary to CM system

Page 32: Configuration Management Isn't Everything

Control Flow of Vendor Patches• “Artifact server” for patches

coming from upstream vendor

• RedHat Satellite

• Spacewalk/Katello

• WSUS

• Ubuntu Landscape

• others?

Page 33: Configuration Management Isn't Everything

Wrap-Up

Page 34: Configuration Management Isn't Everything

The Three P’s• People

• Process

• Product

Page 35: Configuration Management Isn't Everything

People• Own the skills

• Develop internal resources

• Jez Humble: “Stop Hiring ‘Devops Experts’ And Start Growing Them”

Page 36: Configuration Management Isn't Everything

Process• Using a CM tool to capture bad process doesn’t get you very far

• Understand current value-stream map

Page 37: Configuration Management Isn't Everything

Product• CM system is the “star”

• “Supporting cast”

Page 38: Configuration Management Isn't Everything
Page 39: Configuration Management Isn't Everything

Thank You!• Jez Humble: http://www.slideshare.net/jezhumble/stop-hiring-devops-experts-and-start-growing-them

• Mark Imbriaco, ChatOps: https://www.youtube.com/watch?v=pCVvYCjvoZI

Page 40: Configuration Management Isn't Everything