Marian Marinov - mm@yuhu.biz
Head of Devops - Siteground.com
SysAdminsSysAdmins
vs.vs.
DevOpsDevOps
Dev.bg 12.May.2020
Dev.bg 12.May.2020
Dev.bg 12.May.2020
Dev.bg 12.May.2020
Dev.bg 12.May.2020
6
Short assumption
Installation, configuration and maintainence of: 
> operating systems
> additional software
> company products 
> and their third­party dependencies
7
  The machines
8
   Sysadmins?
­ Local PCs and network equipment
­ Locally positioned servers 
­ Dedicated or Co­Located servers in a DC
­ VMs on physical/dedicated/co­located 
servers
9
   DevOps?
­ GCP
­ AWS
­ DigitalOcean 
­ and even on premise, private clouds
10
   DevOps tools
­ OpenStack
­ OpenShift
­ Kubernetes
­ LXD
­ Docker
­ even Proxmox ☺
11
   Sysadmin tools
­ kickstart file
­ Fully Automatic Installation (FAI)
­ Cobbler
­ Spacewalk
­ OpenQRM
­ Foreman
12
13
Sysadmin attachments
­ installing machines
­ managing configuration
­ doing routine maintenance tasks
14
DevOps attachments
­ APIs
­ complex solutions
­ infrastructure as code
15
Cloud vs. on prem
considerations
16
Configuration management
17
Syadmin ­ configuration
­ syncing files between machines with scp
­ backing up files on a separate machine
­ or tools like csync2
­ even keeping a git repo with the configs
A script that will do backups.
A script that will sync them to a new 
machine.
18
Devops ­ configuration
Using automation tools like:
­ Ansible
­ Chef
­ Puppet
­ Saltstack
Configuration in the format required by 
the tool.
Changes to the tool to meet the 
requirements.
19
Configuration updates
Sysadmins tend to use things like echo and 
sed to update configuration files
DevOps relay on what is offered by the 
tool they are using
20
Configuration updates
Example:
sed ­i 's/82.31.48.12/84.13.4.6/g'        
             /etc/apache/sites­available/*
­ hosts: all
  tasks:
  ­ name: Change the IP of the httpd
    replace:
      path: /etc/apache/sites­available/*
      regexp: '82.31.48.12'
      replace: "84.13.4.6"
21
Monitoring
22
Monitoring
Sysadmins are overly attached to:
­ shell scripts and e­mail notifications
­ Nagios
­ Cacti/Mrtg
­ RRDtool generated graphs
DevOps poeple perefer:
­ Elastic Search + LogStash + Kibana
­ Graphana
­ Prometheus
­ even InfluxDB
23
24
Debugging your infrastructure
Provisioning of a VM in AWS has failed
vs.
Provisioning of a VM in on srvX failed
(the server may be in a DataCenter somewhere)
25
DevOps Debugging
* bug in the provisioning software
* problem with the configuration
* incorrect credentials
* network issue
And this is even before checking the logs 
from your infrastructure provider
26
Sysadmin Debugging
* connect to the problematic server
* check if all required services are 
running
* check the logs for the problem
Most probably, does not have logs from the 
calls/ssh to the server :)
27
28
? ? ? ? ? ? ?
? ? ? ? ? ? ?
? ? Questions ? ?
? ? ? ? ? ? ?
? ? ? ? ? ?
? ? ? ? ? ? ?

Sysadmin vs. dev ops