pipelines for sysadmins

17

Upload: proffalken

Post on 14-Jul-2015

2.116 views

Category:

Technology


3 download

TRANSCRIPT

Pipelines forSysAdmins

Pipelines for Systems Administrators

©DevOpsGuys 2015

Matt Wallace

● Started as a “developer”● Moved to SysAdmin● Took a break from IT● Started back in support● Back to SysAdmin● Consultancy● Back to SysAdmin● “Developer” again● “DevOps” !

@proffalken

@proffalkenwww.devopsguys.com

Pipelines for Systems Administrators

©DevOpsGuys 2015

Why “for SysAdmins”?

● Event-driven workflow● “Reactive, not Proactive”● Not always understood● Often not involved until Deploy

@proffalkenwww.devopsguys.com

Pipelines for Systems Administrators

©DevOpsGuys 2015

The story so far...

● Bash scripts● Configuration Management● Virtualisation● More configuration management● More virtualisation● More configuration management

@proffalkenwww.devopsguys.com

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

Where do we start?

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

What is a pipeline?

“The process by which code or configuration

progresses from the developer's workstation

into the production environment.”

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

When are we “done”?

● My Manager told me to work on something else...● Code has been commited to the repo...● Code has been commited to the repo with tests...● Code has been commited to the repo with tests that work...● Those tests have passed...● QA have told me that those tests have passed...● I've closed the ticket...● The code is in production...

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

When are we “done”?

“Is it being monitored?”

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

Tools available today

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

Keep it simple!

http://jess4921.deviantart.com/art/Behold-A-Rainbow-Unicorn-Ninja-89652879

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

Monitoring Driven Development

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

Why use monitoring scripts?

● Icinga/Nagios:– 0 is OK– 1 is Warning– 2 is Critical

● Jenkins:– 0 is OK– Anything else is a failure

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

Lessons learned

● Get everyone involved at the start● Including Management● And Security● And QA● And the developers● EVERYONE

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

Lessons learned

● Start small and iterate● Kanban-style “To do, Doing, Done” works well● Don't over-complicate● Automate, Automate, Automate● Use opensource● Find others who have already solved your problems● Abuse Twitter contacts heavily● Attend conferences (and the pub sessions afterwards!)

Pipelines for Systems Administrators

©DevOpsGuys 2015

@proffalkenwww.devopsguys.com

Questions?

devopsguys.com

@DevOpsGuys