Red Hat Summit 2009 | Michael Stahnke 1
Infrastructure is Development
Michael Stahnke
(stahnma)
02-SEP-2009
Red Hat Summit 2009 | Michael Stahnke
2
The ideas presented today are not representative
of my employer, business success, past jobs and
do not offer endorsement to any particular
products brands or companies. Heck, a lot of this
stuff isn't even my idea to begin with.
http://www.flickr.com/photos/sea-turtle/3049443478/
Red Hat Summit 2009 | Michael Stahnke
3
“There are only two hard
problems in Computer Science:
cache invalidation and naming
things.”
Red Hat Summit 2009 | Michael Stahnke
4
Red Hat Summit 2009 | Michael Stahnke
5
Red Hat Summit 2009 | Michael Stahnke
6
Red Hat Summit 2009 | Michael Stahnke
7
Red Hat Summit 2009 | Michael Stahnke
8
Who Am I?
Red Hat Summit 2009 | Michael Stahnke 9
Where Am I?
http://stahnma.fedorapeople.org
http://www.stahnkage.com
@stahnma on Twitter
@stahnma on identi.ca
stahnma on github
Red Hat Summit 2009 | Michael Stahnke
10
Where Am I?
Red Hat Summit 2009 | Michael Stahnke
11
Baseline
Infrastructure – the collection of all components that make
up the non-external facing IT realm. Primarily, in this
case, servers connected to storage and network. It can
include network/SAN devices in some cases.
Red Hat Summit 2009 | Michael Stahnke
12
What's Coming Up
Red Hat Summit 2009 | Michael Stahnke
13
What's Coming Up
Red Hat Summit 2009 | Michael Stahnke
14
What's Coming Up
Red Hat Summit 2009 | Michael Stahnke
15
Three Domains
Red Hat Summit 2009 | Michael Stahnke
16
Three Domains
1. Infrastructure Practices
2. People
Red Hat Summit 2009 | Michael Stahnke 17
Three Domains
1. Infrastructure Practices
2. People
3. Technology Choices
Red Hat Summit 2009 | Michael Stahnke
18
Red Hat Summit 2009 | Michael Stahnke
19
Red Hat Summit 2009 | Michael Stahnke
20
Red Hat Summit 2009 | Michael Stahnke
21
Red Hat Summit 2009 | Michael Stahnke
22
Red Hat Summit 2009 | Michael Stahnke
23
Red Hat Summit 2009 | Michael Stahnke
24
Red Hat Summit 2009 | Michael Stahnke
25
Red Hat Summit 2009 | Michael Stahnke
26
Admins fight management
Red Hat Summit 2009 | Michael Stahnke
27
Red Hat Summit 2009 | Michael Stahnke
28
Are delivered
Red Hat Summit 2009 | Michael Stahnke
29
Through Ideas
Red Hat Summit 2009 | Michael Stahnke
30
Put together by Good People
Red Hat Summit 2009 | Michael Stahnke
31
Using some awesome technologies
Red Hat Summit 2009 | Michael Stahnke
32
Topic 1
Red Hat Summit 2009 | Michael Stahnke
33
Red Hat Summit 2009 | Michael Stahnke
34
Steal Ideas
Red Hat Summit 2009 | Michael Stahnke
35
Red Hat Summit 2009 | Michael Stahnke
36
Opening your infrastructure
includes your issues
Red Hat Summit 2009 | Michael Stahnke
37
Open your infrastructure
and your solutions
Red Hat Summit 2009 | Michael Stahnke
38
Red Hat Summit 2009 | Michael Stahnke
39
To Have a High Performing Team :
You
must
know
Red Hat Summit 2009 | Michael Stahnke
40
What do you have?
Asset Database
LDAP Directory
Hardware Management Tools
Power Management Tools
Monitoring Tools
Provisioning Tools
Storage Management Tools
Backup Tools
Policy Engines
Patch Tools
Security Scanning Tools
Virtualization Management Tools
Log Management Tools
Red Hat Summit 2009 | Michael Stahnke
41
Common Example:
Asset Database – Who knows?
LDAP Directory – RHDS, 389, SunOne, AD, OpenLDAP
Hardware Management Tools – IBM Director, DRAC
Power Management Tools – APC
Monitoring Tools – Nagios, Tivoli, OpenView
Provisioning Tools – Cobbler, Vmware,
Storage Management Tools – IBM Whatever, Some Custom Stuff
Backup Tools – Netbackup, Tivoli, Networker, Tar, Gzip, Rsync, Cron
Policy Engines – Cfengine, Puppet, Scripts
Patch Tools – RHN, NIM, Custom Repos
Security Scanning Tools – Lots of stuff
Virtualization Management Tools – vCenter, Virt-Manager, Spacewalk, RHN
Log Management Tools – Syslog Server
Red Hat Summit 2009 | Michael Stahnke
Red Hat Summit 2009 | Michael Stahnke
43
What now?
Red Hat Summit 2009 | Michael Stahnke
44
What now?
A. You can cry about it
Red Hat Summit 2009 | Michael Stahnke
45
What now?
A. You can cry about it
B. You can remove data sources
C. You can integrate/federate them
Red Hat Summit 2009 | Michael Stahnke
46
What now?
A. You can cry about it
B. You can remove data sources
C. You can integrate/federate them
D. All of the Above
Red Hat Summit 2009 | Michael Stahnke
47
What now?
A. You can cry about it
B. You can remove data sources
C. You can integrate/federate them
D. All of the Above
The correct answers are both B and C; however it is very likely you
will encounter A, so the likely answer is, in fact, D.
Red Hat Summit 2009 | Michael Stahnke
48
Infrastructure is
Development
Red Hat Summit 2009 | Michael Stahnke
49
The
Infrastructure is the
Application
Red Hat Summit 2009 | Michael Stahnke
50
Red Hat Summit 2009 | Michael Stahnke
51
Infrastructure Goals
Red Hat Summit 2009 | Michael Stahnke
52
Infrastructure Goals
Deliver results to the business
Red Hat Summit 2009 | Michael Stahnke
53
Infrastructure Direction
Red Hat Summit 2009 | Michael Stahnke
54
Infrastructure Direction
Solving Problems
Automation
Red Hat Summit 2009 | Michael Stahnke
55
Infrastructure Direction
Solving Problems
Automation
Red Hat Summit 2009 | Michael Stahnke
56
Infrastructure Direction
Solving Problems
Automation
The right mix of people
Red Hat Summit 2009 | Michael Stahnke
57
Infrastructure Direction
Solving Problems
Automation
The right mix of people
The right decision processes
Vision
Red Hat Summit 2009 | Michael Stahnke
58
Infrastructure Direction
Solving Problems
Automation
The right mix of people
The right decision processes
Vision
Red Hat Summit 2009 | Michael Stahnke
59
Red Hat Summit 2009 | Michael Stahnke
60
Axiom 1
Reuse before building
or purchasing
Red Hat Summit 2009 | Michael Stahnke
61
Red Hat Summit 2009 | Michael Stahnke
62
Red Hat Summit 2009 | Michael Stahnke
63
Red Hat Summit 2009 | Michael Stahnke
64
Your Infrastructure isn't a secret
Everybody has servers, a network, some storage
Somebody has probably solved this problem
Check some common places:
IRC
Sourceforge
Ohloh.net
Amazon book selection
Red Hat Summit 2009 | Michael Stahnke
65
So when I say re-use???
Red Hat Summit 2009 | Michael Stahnke
66
So when I say re-use???
Red Hat Summit 2009 | Michael Stahnke
67
So when I say re-use???
Red Hat Summit 2009 | Michael Stahnke
68
So when I say re-use???
Find other organizations successes on an open
infrastructure
Red Hat Summit 2009 | Michael Stahnke
69
You can't reuse?
Red Hat Summit 2009 | Michael Stahnke
70
You can't reuse?
Red Hat Summit 2009 | Michael Stahnke
71
You can't reuse?
Red Hat Summit 2009 | Michael Stahnke
72
You can't reuse?
Ok, you can look at building
or purchasing...
Red Hat Summit 2009 | Michael Stahnke
73
I have/need a purchased
Red Hat Summit 2009 | Michael Stahnke
74
I have/need a purchased
proprietary solution for Problem X
So do I, and I'm sorry.
Red Hat Summit 2009 | Michael Stahnke
75
Red Hat Summit 2009 | Michael Stahnke
76
Purchased Software Selection Criteria
Red Hat Summit 2009 | Michael Stahnke
77
Purchased Software Selection Criteria
There a few things to evaluate
Price
Red Hat Summit 2009 | Michael Stahnke
78
Purchased Software Selection Criteria
There a few things to evaluate
Price
Red Hat Summit 2009 | Michael Stahnke
79
Purchased Software Selection Criteria
There a few things to evaluate
Price
Performance
Functionality
Red Hat Summit 2009 | Michael Stahnke
80
Purchased Software Selection Criteria
There a few things to evaluate
Price
Performance
Functionality
But really....
Red Hat Summit 2009 | Michael Stahnke
81
Red Hat Summit 2009 | Michael Stahnke
82
Red Hat Summit 2009 | Michael Stahnke
83
Cloud Computing is all the rage
Red Hat Summit 2009 | Michael Stahnke
84
The GUI is for what some user interface designer thought
you wanted to do. The CLI is for what you actually need
to get done.
Red Hat Summit 2009 | Michael Stahnke
85
The GUI is for what some user interface designer thought
you wanted to do. The CLI is for what you actually need
to get done.
Red Hat Summit 2009 | Michael Stahnke
86
Axiom 2
Don't Leverage the
Meatcloud
Red Hat Summit 2009 | Michael Stahnke
87
Red Hat Summit 2009 | Michael Stahnke
88
Red Hat Summit 2009 | Michael Stahnke
89
Rules for Software Evaluation
Do not implement any product that does not provide an
API.
Red Hat Summit 2009 | Michael Stahnke
90
Rules for Software Evaluation
Do not implement any product that does not provide an
API.
The provided API must have all functionality that the
application provides.
Red Hat Summit 2009 | Michael Stahnke
91
Rules for Software Evaluation
Do not implement any product that does not provide an
API.
The provided API must have all functionality that the
application provides.
The provided API must be tailored to more than one
language and platform.
Red Hat Summit 2009 | Michael Stahnke
92
Rules for Software Evaluation
Do not implement any product that does not provide an
API.
The provided API must have all functionality that the
application provides.
The provided API must be tailored to more than one
language and platform.
Source code counts as an API, and may be restricted to
one language or platform.
Red Hat Summit 2009 | Michael Stahnke
93
Rules for Software Evaluation
Do not implement any product that does not provide an
API.
The provided API must have all functionality that the
application provides.
The provided API must be tailored to more than one
language and platform.
Source code counts as an API, and may be restricted to
one language or platform.
The API must include functional examples and not require
someone to be an expert on the product to use.
Red Hat Summit 2009 | Michael Stahnke
94
Rules for Software Evaluation
Do not use any product with configurations that are not
machine parseable and machine writable
Red Hat Summit 2009 | Michael Stahnke
95
Rules for Software Evaluation
Do not use any product with configurations that are not
machine parseable and machine writable
All data stored in the product must be machine readable
and writable by applications other than the product itself.
Red Hat Summit 2009 | Michael Stahnke
96
Rules for Software Evaluation
Do not use any product with configurations that are not
machine parseable and machine writable
All data stored in the product must be machine readable
and writable by applications other than the product itself.
Writing work-arounds to cover the deficiencies in a
product should be less work than writing the product’s
designed functionality.
Red Hat Summit 2009 | Michael Stahnke
97
Red Hat Summit 2009 | Michael Stahnke
98
Red Hat Summit 2009 | Michael Stahnke
99
Red Hat Summit 2009 | Michael Stahnke
Red Hat Summit 2009 | Michael Stahnke
101
What's the difference between development and
automation?
Red Hat Summit 2009 | Michael Stahnke
102
Red Hat Summit 2009 | Michael Stahnke
103
Red Hat Summit 2009 | Michael Stahnke
104
Red Hat Summit 2009 | Michael Stahnke
105
Red Hat Summit 2009 | Michael Stahnke
106
Red Hat Summit 2009 | Michael Stahnke
107
Red Hat Summit 2009 | Michael Stahnke
108
Red Hat Summit 2009 | Michael Stahnke
109
Red Hat Summit 2009 | Michael Stahnke
110
What's the difference between development and
automation?
Red Hat Summit 2009 | Michael Stahnke
111
Developers write code for use by somebody else
Red Hat Summit 2009 | Michael Stahnke
112
System Admins write code for use by themselves,
and hopefully somebody else
Red Hat Summit 2009 | Michael Stahnke
113
People make the
Infrastructure Agile
Red Hat Summit 2009 | Michael Stahnke
114
Attract Talent
Red Hat Summit 2009 | Michael Stahnke
115
Retain Talent
Red Hat Summit 2009 | Michael Stahnke
116
People
Red Hat Summit 2009 | Michael Stahnke
117
People
Red Hat Summit 2009 | Michael Stahnke
118
People
Red Hat Summit 2009 | Michael Stahnke
119
People
“...organizations which design systems ... are constrained
to produce designs which are copies of the
communication structures of these organizations.”
Red Hat Summit 2009 | Michael Stahnke
120
People
Red Hat Summit 2009 | Michael Stahnke
121
Red Hat Summit 2009 | Michael Stahnke
122
Red Hat Summit 2009 | Michael Stahnke
123
Some helpful hiring questions
Red Hat Summit 2009 | Michael Stahnke
124
Some helpful hiring questions
Red Hat Summit 2009 | Michael Stahnke
125
Some helpful hiring questions
Red Hat Summit 2009 | Michael Stahnke
126
Some helpful hiring questions
Do you know what version control is?
Red Hat Summit 2009 | Michael Stahnke
127
Some helpful hiring questions
Red Hat Summit 2009 | Michael Stahnke
128
Some helpful hiring questions
Red Hat Summit 2009 | Michael Stahnke
129
Some helpful hiring questions
Red Hat Summit 2009 | Michael Stahnke
130
Some helpful hiring questions
Red Hat Summit 2009 | Michael Stahnke
131
Some helpful hiring questions
Red Hat Summit 2009 | Michael Stahnke
132
Two Types of People
Red Hat Summit 2009 | Michael Stahnke
133
Breadth vs Depth
Breadth
Red Hat Summit 2009 | Michael Stahnke
134
Breadth vs Depth
Breadth
Systems Automation People.
Big Picture thinkers.
Red Hat Summit 2009 | Michael Stahnke
135
Breadth vs Depth
Breadth
Systems Automation People.
Big Picture thinkers.
Red Hat Summit 2009 | Michael Stahnke
136
Breadth vs Depth
Breadth
Systems Automation People.
Big Picture thinkers.
Visionaries.
Holistic View.
Red Hat Summit 2009 | Michael Stahnke
137
Breadth vs Depth
Depth
Red Hat Summit 2009 | Michael Stahnke
138
Breadth vs Depth
Depth
Solve the problem for this exact situation.
Tune like it's going out of style.
Red Hat Summit 2009 | Michael Stahnke
139
Breadth vs Depth
Depth
Solve the problem for this exact situation.
Tune like it's going out of style.
Red Hat Summit 2009 | Michael Stahnke
140
Breadth vs Depth
Depth
Solve the problem for this exact situation.
Tune like it's going out of style.
Maximum ROI.
Red Hat Summit 2009 | Michael Stahnke
141
Breadth vs Depth
Red Hat Summit 2009 | Michael Stahnke
142
People
Red Hat Summit 2009 | Michael Stahnke
143
People
Red Hat Summit 2009 | Michael Stahnke
144
How many people is
the right amount?
Red Hat Summit 2009 | Michael Stahnke
145
Red Hat Summit 2009 | Michael Stahnke
146
Red Hat Summit 2009 | Michael Stahnke
147
Red Hat Summit 2009 | Michael Stahnke
148
Red Hat Summit 2009 | Michael Stahnke
149
Red Hat Summit 2009 | Michael Stahnke
150
Red Hat Summit 2009 | Michael Stahnke
151
Red Hat Summit 2009 | Michael Stahnke
Red Hat Summit 2009 | Michael Stahnke
153
Axiom 2
Don't Leverage the
Meatcloud
Red Hat Summit 2009 | Michael Stahnke
154
Red Hat Summit 2009 | Michael Stahnke
155
Red Hat Summit 2009 | Michael Stahnke
156
Red Hat Summit 2009 | Michael Stahnke
157
Axiom 3
Decouple your
Infrastructure.
Red Hat Summit 2009 | Michael Stahnke
158
Red Hat Summit 2009 | Michael Stahnke
159
Red Hat Summit 2009 | Michael Stahnke
160
Moving Forward
Can you implement an Open
Strategy to solve this issue?
Red Hat Summit 2009 | Michael Stahnke
161
Moving Forward
If you have to solve it yourself, can it
be Open for others?
Red Hat Summit 2009 | Michael Stahnke
162
Moving Forward
Red Hat Summit 2009 | Michael Stahnke
163
Moving Forward
Driving on hexagonal wheels isn't fun
Red Hat Summit 2009 | Michael Stahnke
164
Moving Forward
Driving on hexagonal wheels isn't fun
http://www.flickr.com:80/photos/andrewmbutler/2762480367/
Red Hat Summit 2009 | Michael Stahnke
165
Moving Forward
Driving on hexagonal wheels isn't fun
Quit reinventing the wheel...poorly
Red Hat Summit 2009 | Michael Stahnke
166
Steal it all
Practical Examples of Open
Infrastructure
Red Hat Summit 2009 | Michael Stahnke
167
Steal it all
Practical Examples
The Fedora Infrastructure Project
Red Hat Summit 2009 | Michael Stahnke
168
Steal it all
Practical Examples
The Community Services Infrastructure
Standards
http://infrastructure.fedoraproject.org/csi/free-software-policy/en-US/html-single/
Red Hat Summit 2009 | Michael Stahnke
169
De-coupled Infrastructure Benefits
Commonly accepted
solutions to problem
Red Hat Summit 2009 | Michael Stahnke
170
De-coupled Infrastructure Benefits
Commonly accepted
solutions to problem
Portability of solutions
Red Hat Summit 2009 | Michael Stahnke
171
De-coupled Infrastructure Benefits
Commonly accepted
solutions to problem
Portability of solutions
Ability to hire
knowledgeable individuals
http://www.flickr.com:80/photos/thomas-merton/255204957Red Hat Summit 2009 | Michael Stahnke
172
De-coupled Infrastructure Benefits
Commonly accepted
solutions to problem
Portability of solutions
Ability to hire
knowledgeable individuals
Able to retain rock stars
Red Hat Summit 2009 | Michael Stahnke
173
De-coupled Infrastructure Benefits
Commonly accepted
solutions to problem
Portability of solutions
Ability to hire
knowledgeable individuals
Able to retain rock stars
Community built around
tools and support
Red Hat Summit 2009 | Michael Stahnke
174
3 Axioms
1. Reuse before building or
purchasing
2. Don't leverage the meatcloud
3. Decouple your infrastructure
Red Hat Summit 2009 | Michael Stahnke
Red Hat Summit 2009 | Michael Stahnke
176
Red Hat Summit 2009 | Michael Stahnke
177
Red Hat Summit 2009 | Michael Stahnke
178
Red Hat Summit 2009 | Michael Stahnke
179
Red Hat Summit 2009 | Michael Stahnke
180
Your Time is Valuable
Identify tasks on which the team spends the most time.
Commonly
(Growth) Deployment
Account Management
Ad-Hoc File Transfer type activity
Patches
Red Hat Summit 2009 | Michael Stahnke
181
Time Evaluation
Evaluate your team's time spent on “
Displacement
Activities
”
Fund Raising
Parties/Showers
Volunteer Stuff
Charity
This is normally done because the person can't actually
meet the requirements of $DAYJOB
Red Hat Summit 2009 | Michael Stahnke
182
Pick a Task
Focus on one thing
Focus on one thing only
Seriously, this will help
Red Hat Summit 2009 | Michael Stahnke
183
Red Hat Summit 2009 | Michael Stahnke
184
Red Hat Summit 2009 | Michael Stahnke
185
Don't automate bad process.
Red Hat Summit 2009 | Michael Stahnke
186
Red Hat Summit 2009 | Michael Stahnke
187
Red Hat Summit 2009 | Michael Stahnke
188
Red Hat Summit 2009 | Michael Stahnke
Red Hat Summit 2009 | Michael Stahnke
190
Red Hat Summit 2009 | Michael Stahnke
191
Pick a Task
Let's start with system Deployment
You have some great options for tools
Do you need a tool?
Red Hat Summit 2009 | Michael Stahnke
192
Pick a Task
Let's start with system Deployment
You have some great options for tools
Do you need a tool?
Do you need it automated?
Do you need a pan-flute?
Red Hat Summit 2009 | Michael Stahnke
193
Process Evaluation
Red Hat Summit 2009 | Michael Stahnke
194
Process Evaluation
Red Hat Summit 2009 | Michael Stahnke
195
Process Evaluation
Red Hat Summit 2009 | Michael Stahnke
196
Process Evaluation
Red Hat Summit 2009 | Michael Stahnke
197
Process Evaluation
Red Hat Summit 2009 | Michael Stahnke
198
Process Evaluation
Red Hat Summit 2009 | Michael Stahnke
199
Gather Requirements
Red Hat Summit 2009 | Michael Stahnke
200