Top Banner
Documentation What are you afraid of?
47

Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Nov 06, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Documentation What are you afraid of?

Page 2: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Mat X

IT Consultant

@macvfx

Page 3: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Why document?

• Bring sanity to ourselves

• Share knowledge with others

Page 4: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Lesson # 1

Page 5: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Document for yourself.

Page 6: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

No, really?!

Page 7: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Do you want to ever go on vacation?

Page 8: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Don't get hit by a bus

Page 9: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

What are we afraid of?

Page 10: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported
Page 11: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Lesson # 2

Page 12: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Document for others

Page 13: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

SysAdmin or IT consultant?

Page 14: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

What do we document?

• Computers

• Network

• Software

• Workflow

Page 15: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

What happens if we don't ?

• If there's no documentation

• What if there is a doc but it's not good

• What if it can't be documented

Page 16: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

• The system is too complex to document

• No one can do it

• We've hired consultants for the last 6 months

• Visio is the map

Impossible!

Page 17: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Discovery

• What are the systems in place?

• What is the workflow?

Page 18: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

/usr/local/bin

/Library/Scripts/

~/bin

Page 19: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Rsync

Carbon Copy Cloner

launchd

plists

shell scripts

python

Page 20: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

How do we document all that?!

Page 21: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Bash

% history > ~/saved-cli-'date'.txt

Page 22: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

hdiutil create -srcfolder /Library/Scripts ~/m0r3-scripts-`date`.dmg

Page 23: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Notes

Page 24: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Blogs

Page 25: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

OS X + Server.app

Wiki

Page 26: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Make pretty pictures

• Omnigraffle

• Illustrator

Page 27: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

All your SAN

101010

Page 28: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Ticket systems

• Redmine

• Zen desk

• Web help desk

Page 29: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

RedmineOverview, Activity, Issues, Wiki, etc

Page 30: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

When do we document?• Continuously!

• During the planning of a new setup

• Discovering facts for an existing setup

• Automatically!

Page 31: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Lesson # 3

Page 32: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

DevOps

Page 33: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

MacDevOps • Mac IT (Ops) + Dev

• Automation

• Version control

• Repeatable

• Peer review

• Empathy

Page 34: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

GitHubWiki, issues, commit messages

Page 35: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported
Page 36: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Lesson # 4

Page 37: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Sustainability

Page 38: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Living documentation

• Inventory systems

• Asset management

• Automatic reporting

• Use the systems you have

Page 39: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

IT management systems• Munki

• Munki Report

• Absolute Manage

• Filewave

• Jamf Casper

Page 40: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Munki + MunkiReport

Page 41: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

• Watchman

• Monkeybox

Take it to the cloud!

Page 42: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported
Page 43: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Lesson # 5

Page 44: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Improve

Page 45: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

Beyond documentation• Discovery and Documentation leads to suggestions

for improvement

• Where it makes sense replace custom scripts with commercially supported software and/or properly documented config management (e.g. Puppet or Chef)

• Exit plan and ethical Sysadmins / consultants

Page 46: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

• Bring sanity and clarity to all IT systems

• Living systems lead to better documentation

• Happy clients and happy people work well together

Conclusions

Page 47: Documentation · Beyond documentation • Discovery and Documentation leads to suggestions for improvement • Where it makes sense replace custom scripts with commercially supported

More info:

• https://macvfx.wordpress.com

• https://github.com/macvfx/

• http://www.macdevops.ca