SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
AUTOMATED PATCH MANAGEMENT
WITH ANSIBLE AND RUNDECK
Schwarz IT KG - @crsp & @shakalandy
ABOUT US
2
Andreas Lehr
@shakalandy
Rico Spiesberger
@crsp
“Hosting and Domain Services” department
- lidl.de
- lidl-reisen.de/.at/.ch/...
- lidl-shop.nl/.be/.cz/.pl/...
- mobile app backend (30 countries)
ABOUT SCHWARZ IT
➔ Central IT of the Schwarz Group (Lidl, Kaufland, PreZero,
GreenCycle,...)
➔ ~ 3000 employees
➔ HQ in Weinsberg/Heilbronn - Location in Berlin
➔ We have Jobs - https://jobs.schwarz
3
WHAT’S WRONG HERE?
4
WTF?
AUTOMATED PATCHING
5
WHY WE’VE DONE IT
HOW WE’VE DONE IT
LIVE-DEMO (sort of)
WHY AUTOMATED PATCHING?
6
manual patching takes too
much valuable time
WHY AUTOMATED PATCHING?
7
Make security and auditors
happy
WHY AUTOMATED PATCHING?
8
Have a mature and reliable
process
HOW WE’VE DONE IT
c 9
Ansible and Rundeck
• 1 week cycle for DEV/TEST/QA
• 4 week cycle for PROD
• Emergency stuff can be patched
without prior information
• Target: no manual process, but fully
automated
PATCHING WORKFLOW
10
Set Monitoring Downtime
PATCHING WORKFLOW
11
Create VMWare Snapshot
PATCHING WORKFLOW
12
Send Notifications
PATCHING WORKFLOW
13
Host Preparation
PATCHING WORKFLOW
14
finally: upgrade time
PATCHING WORKFLOW
15
reboot if needs-restarting
PATCHING WORKFLOW
c 16
● remove old kernels
● patching date > /etc/last_patching (Monitoring, motd, ansible
CMDB)
● activate Loadbalancer health checks
● clean up (yum clean up, etc)
● update “patchlist” documentation (For auditors and POs)
● remove downtime
● remove snapshot (3 days later)
after reboot tasks
IMPEDIMENTS AND RECOMMENDATIONS ON AUTOMATED PATCHING
17
have fixed timeslots
IMPEDIMENTS AND RECOMMENDATIONS ON AUTOMATED PATCHING
18
Delete Snapshots
automatically
IMPEDIMENTS AND RECOMMENDATIONS ON AUTOMATED PATCHING
19
Rebooting HW servers
takes some time…..
IMPEDIMENTS AND RECOMMENDATIONS ON AUTOMATED PATCHING
20
preload packages
IMPEDIMENTS AND RECOMMENDATIONS ON AUTOMATED PATCHING
21
have enough space in
/var/yum and /tmp
IMPEDIMENTS AND RECOMMENDATIONS ON AUTOMATED PATCHING
22
parallel patching:
ansible forks=20+ and strategy: free
LIVE-DEMO!?!?
QUESTIONS?
Thanks. Don’t forget - https://jobs.schwarz
25

Weitere ähnliche Inhalte

Ähnlich wie OSDC 2019 | Automated patch management with Ansible and Rundeck by Andreas Lehr and Rico Spießberger

AGILOS GmbH - Custom Made SAP Outsourcing and Hosting
AGILOS GmbH -  Custom Made SAP Outsourcing and HostingAGILOS GmbH -  Custom Made SAP Outsourcing and Hosting
AGILOS GmbH - Custom Made SAP Outsourcing and HostingWinfried Seeger
 
DTIM 2016 - Post Event Report
DTIM 2016 - Post Event ReportDTIM 2016 - Post Event Report
DTIM 2016 - Post Event ReportRamona Kohrs
 
Debunking serverless myths
Debunking serverless mythsDebunking serverless myths
Debunking serverless mythsYan Cui
 
ECS News Letter Issue #3
ECS News Letter Issue #3ECS News Letter Issue #3
ECS News Letter Issue #3ECS Singapore
 
NA Adabas & Natural User Group Meeting April 2023
NA Adabas & Natural User Group Meeting April 2023NA Adabas & Natural User Group Meeting April 2023
NA Adabas & Natural User Group Meeting April 2023Software AG
 
S504 mainframe and cloud (and cics) arnold
S504   mainframe and cloud (and cics) arnoldS504   mainframe and cloud (and cics) arnold
S504 mainframe and cloud (and cics) arnoldnick_garrod
 
Peak Hosting Corporate brochure
Peak Hosting Corporate brochurePeak Hosting Corporate brochure
Peak Hosting Corporate brochurePeak Hosting
 
Trivadis TechEvent 2016 Office 365 and Therefore Online by Eberhard Lösch, Cl...
Trivadis TechEvent 2016 Office 365 and Therefore Online by Eberhard Lösch, Cl...Trivadis TechEvent 2016 Office 365 and Therefore Online by Eberhard Lösch, Cl...
Trivadis TechEvent 2016 Office 365 and Therefore Online by Eberhard Lösch, Cl...Trivadis
 
DIGITAL TRANSFORMATION IN MINING
DIGITAL TRANSFORMATION IN MININGDIGITAL TRANSFORMATION IN MINING
DIGITAL TRANSFORMATION IN MININGJOULEHUB GMBH
 
PowerBI: Real Time streaming information from Sensors
PowerBI: Real Time streaming information from SensorsPowerBI: Real Time streaming information from Sensors
PowerBI: Real Time streaming information from SensorsJOULEHUB GMBH
 
How Autodesk Leverages Splunk as an Assurance Platform on AWS
How Autodesk Leverages Splunk as an Assurance Platform on AWSHow Autodesk Leverages Splunk as an Assurance Platform on AWS
How Autodesk Leverages Splunk as an Assurance Platform on AWSAlan Williams
 
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo SchapiroCompliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo SchapiroSchlomo Schapiro
 
Building powerful apps with ArangoDB & KeyLines
Building powerful apps with ArangoDB & KeyLinesBuilding powerful apps with ArangoDB & KeyLines
Building powerful apps with ArangoDB & KeyLinesCambridge Intelligence
 
Business Data Lake Best Practices
Business Data Lake Best PracticesBusiness Data Lake Best Practices
Business Data Lake Best PracticesCapgemini
 
Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm Amazon Web Services
 
MarvelClient for iOS - Client Management for Domino Mobile App
MarvelClient for iOS - Client Management for Domino Mobile AppMarvelClient for iOS - Client Management for Domino Mobile App
MarvelClient for iOS - Client Management for Domino Mobile Apppanagenda
 

Ähnlich wie OSDC 2019 | Automated patch management with Ansible and Rundeck by Andreas Lehr and Rico Spießberger (20)

AWSome Day Helsinki Intro
AWSome Day Helsinki IntroAWSome Day Helsinki Intro
AWSome Day Helsinki Intro
 
AGILOS GmbH - Custom Made SAP Outsourcing and Hosting
AGILOS GmbH -  Custom Made SAP Outsourcing and HostingAGILOS GmbH -  Custom Made SAP Outsourcing and Hosting
AGILOS GmbH - Custom Made SAP Outsourcing and Hosting
 
DTIM 2016 - Post Event Report
DTIM 2016 - Post Event ReportDTIM 2016 - Post Event Report
DTIM 2016 - Post Event Report
 
Debunking serverless myths
Debunking serverless mythsDebunking serverless myths
Debunking serverless myths
 
ECS News Letter Issue #3
ECS News Letter Issue #3ECS News Letter Issue #3
ECS News Letter Issue #3
 
NA Adabas & Natural User Group Meeting April 2023
NA Adabas & Natural User Group Meeting April 2023NA Adabas & Natural User Group Meeting April 2023
NA Adabas & Natural User Group Meeting April 2023
 
CloudCamp
CloudCampCloudCamp
CloudCamp
 
S504 mainframe and cloud (and cics) arnold
S504   mainframe and cloud (and cics) arnoldS504   mainframe and cloud (and cics) arnold
S504 mainframe and cloud (and cics) arnold
 
Seeberger
Seeberger Seeberger
Seeberger
 
Peak Hosting Corporate brochure
Peak Hosting Corporate brochurePeak Hosting Corporate brochure
Peak Hosting Corporate brochure
 
Bauer
Bauer Bauer
Bauer
 
Trivadis TechEvent 2016 Office 365 and Therefore Online by Eberhard Lösch, Cl...
Trivadis TechEvent 2016 Office 365 and Therefore Online by Eberhard Lösch, Cl...Trivadis TechEvent 2016 Office 365 and Therefore Online by Eberhard Lösch, Cl...
Trivadis TechEvent 2016 Office 365 and Therefore Online by Eberhard Lösch, Cl...
 
DIGITAL TRANSFORMATION IN MINING
DIGITAL TRANSFORMATION IN MININGDIGITAL TRANSFORMATION IN MINING
DIGITAL TRANSFORMATION IN MINING
 
PowerBI: Real Time streaming information from Sensors
PowerBI: Real Time streaming information from SensorsPowerBI: Real Time streaming information from Sensors
PowerBI: Real Time streaming information from Sensors
 
How Autodesk Leverages Splunk as an Assurance Platform on AWS
How Autodesk Leverages Splunk as an Assurance Platform on AWSHow Autodesk Leverages Splunk as an Assurance Platform on AWS
How Autodesk Leverages Splunk as an Assurance Platform on AWS
 
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo SchapiroCompliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
Compliant by Default - Digitaler Wandel - 14.08.2019 - Schlomo Schapiro
 
Building powerful apps with ArangoDB & KeyLines
Building powerful apps with ArangoDB & KeyLinesBuilding powerful apps with ArangoDB & KeyLines
Building powerful apps with ArangoDB & KeyLines
 
Business Data Lake Best Practices
Business Data Lake Best PracticesBusiness Data Lake Best Practices
Business Data Lake Best Practices
 
Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm Welcome Keynote - AWS Summit Stockholm
Welcome Keynote - AWS Summit Stockholm
 
MarvelClient for iOS - Client Management for Domino Mobile App
MarvelClient for iOS - Client Management for Domino Mobile AppMarvelClient for iOS - Client Management for Domino Mobile App
MarvelClient for iOS - Client Management for Domino Mobile App
 

Kürzlich hochgeladen

Understanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM ArchitectureUnderstanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM Architecturerahul_net
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesVictoriaMetrics
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorTier1 app
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesKrzysztofKkol1
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptxVinzoCenzo
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldRoberto Pérez Alcolea
 
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...kalichargn70th171
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolsosttopstonverter
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...OnePlan Solutions
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdfAndrey Devyatkin
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdfSteve Caron
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...OnePlan Solutions
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfRTS corp
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITmanoharjgpsolutions
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slidesvaideheekore1
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonApplitools
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfkalichargn70th171
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?Alexandre Beguel
 
Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxRTS corp
 

Kürzlich hochgeladen (20)

Understanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM ArchitectureUnderstanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM Architecture
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
What’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 UpdatesWhat’s New in VictoriaMetrics: Q1 2024 Updates
What’s New in VictoriaMetrics: Q1 2024 Updates
 
Effectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryErrorEffectively Troubleshoot 9 Types of OutOfMemoryError
Effectively Troubleshoot 9 Types of OutOfMemoryError
 
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilitiesAmazon Bedrock in Action - presentation of the Bedrock's capabilities
Amazon Bedrock in Action - presentation of the Bedrock's capabilities
 
Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptx
 
Keeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository worldKeeping your build tool updated in a multi repository world
Keeping your build tool updated in a multi repository world
 
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
The Ultimate Guide to Performance Testing in Low-Code, No-Code Environments (...
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration tools
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
 
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
2024-04-09 - From Complexity to Clarity - AWS Summit AMS.pdf
 
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
[ CNCF Q1 2024 ] Intro to Continuous Profiling and Grafana Pyroscope.pdf
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
 
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdfEnhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
Enhancing Supply Chain Visibility with Cargo Cloud Solutions.pdf
 
Best Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh ITBest Angular 17 Classroom & Online training - Naresh IT
Best Angular 17 Classroom & Online training - Naresh IT
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slides
 
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
 
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdfPros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
Pros and Cons of Selenium In Automation Testing_ A Comprehensive Assessment.pdf
 
SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?SAM Training Session - How to use EXCEL ?
SAM Training Session - How to use EXCEL ?
 
Advantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptxAdvantages of Cargo Cloud Solutions.pptx
Advantages of Cargo Cloud Solutions.pptx
 

OSDC 2019 | Automated patch management with Ansible and Rundeck by Andreas Lehr and Rico Spießberger