SlideShare a Scribd company logo
1 of 29
Download to read offline
SUSE Manager with Salt
Deploy and Config Management for MariaDB
Torsten Hallmann
Sales Engineering Manager Central Europe
torsten.hallmann@suse.com
2
MariaDB & SUSE
3
SUSE Linux Enterprise Server ships MariaDB
4
SUSE Software Catalog: MariaDB
● MariaDB is listed in SUSE's
Software Catalog
www.suse.com/isvcatalog
● MariaDB 10 is certified for
SLES 11 and 12
5
MariaDB on Open Build Service
● Find projects that already
build newer versions of
MariaDB for SLES 12
● Build bleeding edge
versions for SLES
● OBS Packages are
without support!
● build.opensuse.org
6
MariaDB on SUSE Studio
● Creating Software
Appliances
● Use OBS repositories
● Several Formats
available:
● Preload (usb, iso)
● Live CD
● VM (vmdk, ovf, img, qcow2)
● Cloud (ami, vhd)
7
MariaDB & SUSE Manager
8
Manage the Full Life-Cycle with SUSE Manager
9
Deploy & Manage MariaDB with SUSE Manager
● Provisioning new machines with autoinstallation
● Centralize Packages Management incl. MariaDB
● Build and Manage software stagings for controlled operations of
Development, Testing & Production landscapes
● Rollout configuration of MariaDB settings
● Monitor configuration changes
10
Provision New Machines
Different Levels of Automation
● Without PXE
● Kickoff installation with boot iso
● Select autoinstall profile
● Answer individualization questions during installation
● (Move new system after installation to MariaDB group)
● With PXE
● Kickoff PXE boot
● Select autoinstall
● Answer individualization questions during installation
● (Move new system after installation to MariaDB group)
11
Provision New Machines
Different Levels of Automation
● With PXE and SUSE Manager Discovery
● Kickoff PXE boot
● Select System in SUSE Manager for Deployment
● Provide all required individualization by variables
● Start Machine
12
Installation Example – Step 1
● Prerequisits:
● Distribution
● Installation Profile
● Task:
● Boot via PXE
● Select Profile to Install
13
Installation Example – Step 2
● Prerequisits
● Ask Section in Autoprofile
● Default values (script or listing)
● Task
● Fill in or select required values
14
Installation Example – Step 3
● Prerequisits
● None if setup is fine :)
● Task
● Waiting :)
15
Installation Example – Finish
● Complete Automation
● Keys, Roles, Grains,
States made your system
ready to go
● Best Effort Automation
● General OS deployed
● Roles, Grains, States
manually assigned by
moving system into a
group
16
17
SUSE Manager 3
States
Description of how a system configuration
• YAML
• Jinja2 Templating
• Uses Salt State Modules
Salt States Catalog
• SUSE Manager provides an integrated, central store for own states definitions
– Assignable to SUSE Manager Organization, Group, Systems
• Optional you can store an own structure of states within /srv/salt for
using non-integrated Salt Features
18
SUSE Manager 3 – Salt Basics
Typical Statefile Structure
19
SUSE Manager 3 – Salt Basics
Example State
install_mariadb:
pkg.installed:
- name: mariadb
service_mariadb:
service.running:
- name: mysql
- enable: True
config_files_mycnf:
file.managed:
- name: /etc/my.cnf
- source: salt://my.cnf
- user: root
- group: root
- mode: 640
20
SUSE Manager 3 – Salt Basics
State Dependencies
Requisit declarations define dependency/order of single state statements:
● Require
● Watch
● Onchanges
● Prereq
● Onfail
● Use
21
SUSE Manager 3 – Salt Basics
Example State
[...]
service_mariadb:
service.running:
- name: mysql
- enable: True
- watch:
- pkg: mariadb
- file: /etc/my.cnf
[...]
22
SUSE Manager 3 – Salt Basics
SUSE Manager States Catalog
23
SUSE Manager 3 – Salt Basics
SUSE Manager States assigned to Group
24
SUSE Manager 3
Salt Elements Beyond States
Beacons
• Monitor for changes/thresholds and send events in case
Reactors
• Execute “run books” on specific events
Orchestration
• Manage relations/actions between servers up to firing complete setups in private
or public clouds
Proxy
• Use minioncontroller to manage devices that are not capable to host agent
(python etc.)
25
Use Case: Monitor Configfile for Changes
Change Event Received
salt/beacon/mymariadb.bo2go.home/inotify//etc/my.cnf {
"_stamp": "2016-11-28T19:37:15.317124",
"data": {
"change": "IN_IGNORED",
"id": "mymariadb.bo2go.home",
"path": "/etc/my.cnf"
},
"tag": "salt/beacon/mymariadb.bo2go.home/inotify//etc/my.cnf"
}
Restore /etc/my.cnf
salt/job/20161128203715445906/new {
"_stamp": "2016-11-28T19:37:15.446371",
"arg": [
"salt-call state.sls_id config_files_mycnf manager_org_1.server_role_mariadb"
],
"fun": "cmd.run",
"jid": "20161128203715445906",
"minions": [
"mymariadb.bo2go.home"
],
"tgt": "mymariadb.bo2go.home",
"tgt_type": "glob",
"user": "salt"
}
26
MariaDB in Docker with SUSE
27
Deliver MariaDB in Docker Containers
SLES12 supports docker:
● Images from trusted source (repository)
● Full control over your data: on-premise registry,
authentication
● Pre-built SLES Docker images
SUSE provides built-in tools:
● YaST interface
● sle2docker, zypper-docker
● Portus
29

More Related Content

What's hot

A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
Insight Technology, Inc.
 
MHA (MySQL High Availability): Getting started & moving past quirks
MHA (MySQL High Availability): Getting started & moving past quirksMHA (MySQL High Availability): Getting started & moving past quirks
MHA (MySQL High Availability): Getting started & moving past quirks
Colin Charles
 

What's hot (18)

PostgreSQL9.3 Switchover/Switchback
PostgreSQL9.3 Switchover/SwitchbackPostgreSQL9.3 Switchover/Switchback
PostgreSQL9.3 Switchover/Switchback
 
Automated MySQL failover with MHA: Getting started & moving past its quirks
Automated MySQL failover with MHA: Getting started & moving past its quirksAutomated MySQL failover with MHA: Getting started & moving past its quirks
Automated MySQL failover with MHA: Getting started & moving past its quirks
 
MariaDB High Availability
MariaDB High AvailabilityMariaDB High Availability
MariaDB High Availability
 
MaxScale for Effective MySQL Meetup NYC - 14.01.21
MaxScale for Effective MySQL Meetup NYC - 14.01.21MaxScale for Effective MySQL Meetup NYC - 14.01.21
MaxScale for Effective MySQL Meetup NYC - 14.01.21
 
What's new in MySQL 5.5? FOSDEM 2011
What's new in MySQL 5.5? FOSDEM 2011What's new in MySQL 5.5? FOSDEM 2011
What's new in MySQL 5.5? FOSDEM 2011
 
Galera webinar migration to galera cluster from my sql async replication
Galera webinar migration to galera cluster from my sql async replicationGalera webinar migration to galera cluster from my sql async replication
Galera webinar migration to galera cluster from my sql async replication
 
Introducing Galera 3.0
Introducing Galera 3.0Introducing Galera 3.0
Introducing Galera 3.0
 
Apache Performance Tuning: Scaling Out
Apache Performance Tuning: Scaling OutApache Performance Tuning: Scaling Out
Apache Performance Tuning: Scaling Out
 
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in BerlinHigh Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
 
Codership's galera cluster installation and quickstart webinar march 2016
Codership's galera cluster installation and quickstart webinar march 2016Codership's galera cluster installation and quickstart webinar march 2016
Codership's galera cluster installation and quickstart webinar march 2016
 
Galera Cluster Best Practices for DBA's and DevOps Part 1
Galera Cluster Best Practices for DBA's and DevOps Part 1Galera Cluster Best Practices for DBA's and DevOps Part 1
Galera Cluster Best Practices for DBA's and DevOps Part 1
 
Introduction to Galera
Introduction to GaleraIntroduction to Galera
Introduction to Galera
 
Galera cluster for MySQL - Introduction Slides
Galera cluster for MySQL - Introduction SlidesGalera cluster for MySQL - Introduction Slides
Galera cluster for MySQL - Introduction Slides
 
Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )
 
MySQL High Availability Solutions
MySQL High Availability SolutionsMySQL High Availability Solutions
MySQL High Availability Solutions
 
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
Webinar Slides : Migrating to MySQL, MariaDB Galera and/or Percona XtraDB Clu...
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
 
MHA (MySQL High Availability): Getting started & moving past quirks
MHA (MySQL High Availability): Getting started & moving past quirksMHA (MySQL High Availability): Getting started & moving past quirks
MHA (MySQL High Availability): Getting started & moving past quirks
 

Viewers also liked

Running SAP on SUSE Cloud 2.0
Running SAP on SUSE Cloud 2.0Running SAP on SUSE Cloud 2.0
Running SAP on SUSE Cloud 2.0
Dirk Oppenkowski
 

Viewers also liked (9)

SLES for ARM et IoT
SLES for ARM et IoTSLES for ARM et IoT
SLES for ARM et IoT
 
SLE12 SP2 : High Availability et Geo Cluster
SLE12 SP2 : High Availability et Geo ClusterSLE12 SP2 : High Availability et Geo Cluster
SLE12 SP2 : High Availability et Geo Cluster
 
SUSE OpenStack Cloud 7
SUSE OpenStack Cloud 7SUSE OpenStack Cloud 7
SUSE OpenStack Cloud 7
 
SAP HANA System Replication - Setup, Operations and HANA Monitoring
SAP HANA System Replication - Setup, Operations and HANA MonitoringSAP HANA System Replication - Setup, Operations and HANA Monitoring
SAP HANA System Replication - Setup, Operations and HANA Monitoring
 
Running SAP on SUSE Cloud 2.0
Running SAP on SUSE Cloud 2.0Running SAP on SUSE Cloud 2.0
Running SAP on SUSE Cloud 2.0
 
SAP S/4 HANA Disaster Recovery Confidence
SAP S/4 HANA Disaster Recovery ConfidenceSAP S/4 HANA Disaster Recovery Confidence
SAP S/4 HANA Disaster Recovery Confidence
 
SAP HANA System Replication with SLES for SAP
SAP HANA System Replication with SLES for SAPSAP HANA System Replication with SLES for SAP
SAP HANA System Replication with SLES for SAP
 
SUSE Linux Enterprise: The Open Platform for SAP
SUSE Linux Enterprise: The Open Platform for SAPSUSE Linux Enterprise: The Open Platform for SAP
SUSE Linux Enterprise: The Open Platform for SAP
 
SAP HANA Enterprise Cloud on SUSE Linux
SAP HANA Enterprise Cloud on SUSE LinuxSAP HANA Enterprise Cloud on SUSE Linux
SAP HANA Enterprise Cloud on SUSE Linux
 

Similar to SUSE Manager with Salt - Deploy and Config Management for MariaDB

My sql introduction for Bestcom
My sql introduction for BestcomMy sql introduction for Bestcom
My sql introduction for Bestcom
Ivan Tu
 
My S Q L Introduction for 1 day training
My S Q L  Introduction for 1 day trainingMy S Q L  Introduction for 1 day training
My S Q L Introduction for 1 day training
Ivan Tu
 
A3Sec Advanced Deployment System
A3Sec Advanced Deployment SystemA3Sec Advanced Deployment System
A3Sec Advanced Deployment System
a3sec
 
Openstack devops challenges
Openstack devops challenges Openstack devops challenges
Openstack devops challenges
openstackindia
 
CodeFest 2013. Mosesohn M. — Automating environments with Cobbler
CodeFest 2013. Mosesohn M. — Automating environments with CobblerCodeFest 2013. Mosesohn M. — Automating environments with Cobbler
CodeFest 2013. Mosesohn M. — Automating environments with Cobbler
CodeFest
 

Similar to SUSE Manager with Salt - Deploy and Config Management for MariaDB (20)

My sql introduction for Bestcom
My sql introduction for BestcomMy sql introduction for Bestcom
My sql introduction for Bestcom
 
My S Q L Introduction for 1 day training
My S Q L  Introduction for 1 day trainingMy S Q L  Introduction for 1 day training
My S Q L Introduction for 1 day training
 
A3Sec Advanced Deployment System
A3Sec Advanced Deployment SystemA3Sec Advanced Deployment System
A3Sec Advanced Deployment System
 
MySQL Utilities -- PyTexas 2015
MySQL Utilities -- PyTexas 2015MySQL Utilities -- PyTexas 2015
MySQL Utilities -- PyTexas 2015
 
MySQL Workbench for DFW Unix Users Group
MySQL Workbench for DFW Unix Users GroupMySQL Workbench for DFW Unix Users Group
MySQL Workbench for DFW Unix Users Group
 
Ansible is Our Wishbone(Automate DBA Tasks With Ansible)
Ansible is Our Wishbone(Automate DBA Tasks With Ansible)Ansible is Our Wishbone(Automate DBA Tasks With Ansible)
Ansible is Our Wishbone(Automate DBA Tasks With Ansible)
 
Ansible is Our Wishbone
Ansible is Our WishboneAnsible is Our Wishbone
Ansible is Our Wishbone
 
EM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RACEM12C High Availability without SLB and RAC
EM12C High Availability without SLB and RAC
 
Ansible Automation to Rule Them All
Ansible Automation to Rule Them AllAnsible Automation to Rule Them All
Ansible Automation to Rule Them All
 
MySQL Live Migration - Common Scenarios
MySQL Live Migration - Common ScenariosMySQL Live Migration - Common Scenarios
MySQL Live Migration - Common Scenarios
 
Configuration Management and Salt
Configuration Management and SaltConfiguration Management and Salt
Configuration Management and Salt
 
MySQL Webinar 2/4 Performance tuning, hardware, optimisation
MySQL Webinar 2/4 Performance tuning, hardware, optimisationMySQL Webinar 2/4 Performance tuning, hardware, optimisation
MySQL Webinar 2/4 Performance tuning, hardware, optimisation
 
Red Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with PuppetRed Hat Satellite 6 - Automation with Puppet
Red Hat Satellite 6 - Automation with Puppet
 
MySQL database replication
MySQL database replicationMySQL database replication
MySQL database replication
 
SkySQL MariaDB 云数据组件
SkySQL MariaDB 云数据组件SkySQL MariaDB 云数据组件
SkySQL MariaDB 云数据组件
 
SUSE Container as a Service Platform
SUSE Container as a Service PlatformSUSE Container as a Service Platform
SUSE Container as a Service Platform
 
How to deploy a MariaDB Galera cluster on Ubuntu 14.04
How to deploy a MariaDB Galera cluster on Ubuntu 14.04How to deploy a MariaDB Galera cluster on Ubuntu 14.04
How to deploy a MariaDB Galera cluster on Ubuntu 14.04
 
Upgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtimeUpgrade to MySQL 5.6 without downtime
Upgrade to MySQL 5.6 without downtime
 
Openstack devops challenges
Openstack devops challenges Openstack devops challenges
Openstack devops challenges
 
CodeFest 2013. Mosesohn M. — Automating environments with Cobbler
CodeFest 2013. Mosesohn M. — Automating environments with CobblerCodeFest 2013. Mosesohn M. — Automating environments with Cobbler
CodeFest 2013. Mosesohn M. — Automating environments with Cobbler
 

More from MariaDB plc

More from MariaDB plc (20)

MariaDB Paris Workshop 2023 - MaxScale 23.02.x
MariaDB Paris Workshop 2023 - MaxScale 23.02.xMariaDB Paris Workshop 2023 - MaxScale 23.02.x
MariaDB Paris Workshop 2023 - MaxScale 23.02.x
 
MariaDB Paris Workshop 2023 - Newpharma
MariaDB Paris Workshop 2023 - NewpharmaMariaDB Paris Workshop 2023 - Newpharma
MariaDB Paris Workshop 2023 - Newpharma
 
MariaDB Paris Workshop 2023 - Cloud
MariaDB Paris Workshop 2023 - CloudMariaDB Paris Workshop 2023 - Cloud
MariaDB Paris Workshop 2023 - Cloud
 
MariaDB Paris Workshop 2023 - MariaDB Enterprise
MariaDB Paris Workshop 2023 - MariaDB EnterpriseMariaDB Paris Workshop 2023 - MariaDB Enterprise
MariaDB Paris Workshop 2023 - MariaDB Enterprise
 
MariaDB Paris Workshop 2023 - Performance Optimization
MariaDB Paris Workshop 2023 - Performance OptimizationMariaDB Paris Workshop 2023 - Performance Optimization
MariaDB Paris Workshop 2023 - Performance Optimization
 
MariaDB Paris Workshop 2023 - MaxScale
MariaDB Paris Workshop 2023 - MaxScale MariaDB Paris Workshop 2023 - MaxScale
MariaDB Paris Workshop 2023 - MaxScale
 
MariaDB Paris Workshop 2023 - novadys presentation
MariaDB Paris Workshop 2023 - novadys presentationMariaDB Paris Workshop 2023 - novadys presentation
MariaDB Paris Workshop 2023 - novadys presentation
 
MariaDB Paris Workshop 2023 - DARVA presentation
MariaDB Paris Workshop 2023 - DARVA presentationMariaDB Paris Workshop 2023 - DARVA presentation
MariaDB Paris Workshop 2023 - DARVA presentation
 
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
MariaDB Tech und Business Update Hamburg 2023 - MariaDB Enterprise Server
 
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-BackupMariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
MariaDB SkySQL Autonome Skalierung, Observability, Cloud-Backup
 
Einführung : MariaDB Tech und Business Update Hamburg 2023
Einführung : MariaDB Tech und Business Update Hamburg 2023Einführung : MariaDB Tech und Business Update Hamburg 2023
Einführung : MariaDB Tech und Business Update Hamburg 2023
 
Hochverfügbarkeitslösungen mit MariaDB
Hochverfügbarkeitslösungen mit MariaDBHochverfügbarkeitslösungen mit MariaDB
Hochverfügbarkeitslösungen mit MariaDB
 
Die Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise ServerDie Neuheiten in MariaDB Enterprise Server
Die Neuheiten in MariaDB Enterprise Server
 
Global Data Replication with Galera for Ansell Guardian®
Global Data Replication with Galera for Ansell Guardian®Global Data Replication with Galera for Ansell Guardian®
Global Data Replication with Galera for Ansell Guardian®
 
Introducing workload analysis
Introducing workload analysisIntroducing workload analysis
Introducing workload analysis
 
Under the hood: SkySQL monitoring
Under the hood: SkySQL monitoringUnder the hood: SkySQL monitoring
Under the hood: SkySQL monitoring
 
Introducing the R2DBC async Java connector
Introducing the R2DBC async Java connectorIntroducing the R2DBC async Java connector
Introducing the R2DBC async Java connector
 
MariaDB Enterprise Tools introduction
MariaDB Enterprise Tools introductionMariaDB Enterprise Tools introduction
MariaDB Enterprise Tools introduction
 
Faster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDBFaster, better, stronger: The new InnoDB
Faster, better, stronger: The new InnoDB
 
The architecture of SkySQL
The architecture of SkySQLThe architecture of SkySQL
The architecture of SkySQL
 

Recently uploaded

Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Lisi Hocke
 

Recently uploaded (20)

Test Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdfTest Automation Design Patterns_ A Comprehensive Guide.pdf
Test Automation Design Patterns_ A Comprehensive Guide.pdf
 
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
Abortion Clinic In Pretoria ](+27832195400*)[ 🏥 Safe Abortion Pills in Pretor...
 
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit MilanWorkshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
Workshop: Enabling GenAI Breakthroughs with Knowledge Graphs - GraphSummit Milan
 
Navigation in flutter – how to add stack, tab, and drawer navigators to your ...
Navigation in flutter – how to add stack, tab, and drawer navigators to your ...Navigation in flutter – how to add stack, tab, and drawer navigators to your ...
Navigation in flutter – how to add stack, tab, and drawer navigators to your ...
 
A Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdfA Deep Dive into Secure Product Development Frameworks.pdf
A Deep Dive into Secure Product Development Frameworks.pdf
 
Community is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea GouletCommunity is Just as Important as Code by Andrea Goulet
Community is Just as Important as Code by Andrea Goulet
 
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
Abortion Pill Prices Turfloop ](+27832195400*)[ 🏥 Women's Abortion Clinic in ...
 
Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?Prompt Engineering - an Art, a Science, or your next Job Title?
Prompt Engineering - an Art, a Science, or your next Job Title?
 
Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024Modern binary build systems - PyCon 2024
Modern binary build systems - PyCon 2024
 
Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...
Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...
Abortion Pill Prices Jozini ](+27832195400*)[ 🏥 Women's Abortion Clinic in Jo...
 
Evolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI EraEvolving Data Governance for the Real-time Streaming and AI Era
Evolving Data Governance for the Real-time Streaming and AI Era
 
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
Team Transformation Tactics for Holistic Testing and Quality (NewCrafts Paris...
 
Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...
Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...
Abortion Clinic In Pongola ](+27832195400*)[ 🏥 Safe Abortion Pills In Pongola...
 
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-CloudAlluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
Alluxio Monthly Webinar | Simplify Data Access for AI in Multi-Cloud
 
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
Abortion Clinic Pretoria ](+27832195400*)[ Abortion Clinic Near Me ● Abortion...
 
Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024Food Delivery Business App Development Guide 2024
Food Delivery Business App Development Guide 2024
 
BusinessGPT - Security and Governance for Generative AI
BusinessGPT  - Security and Governance for Generative AIBusinessGPT  - Security and Governance for Generative AI
BusinessGPT - Security and Governance for Generative AI
 
Abortion Clinic In Stanger ](+27832195400*)[ 🏥 Safe Abortion Pills In Stanger...
Abortion Clinic In Stanger ](+27832195400*)[ 🏥 Safe Abortion Pills In Stanger...Abortion Clinic In Stanger ](+27832195400*)[ 🏥 Safe Abortion Pills In Stanger...
Abortion Clinic In Stanger ](+27832195400*)[ 🏥 Safe Abortion Pills In Stanger...
 
Transformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with LinksTransformer Neural Network Use Cases with Links
Transformer Neural Network Use Cases with Links
 
Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...
Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...
Abortion Pill Prices Mthatha (@](+27832195400*)[ 🏥 Women's Abortion Clinic In...
 

SUSE Manager with Salt - Deploy and Config Management for MariaDB

  • 1. SUSE Manager with Salt Deploy and Config Management for MariaDB Torsten Hallmann Sales Engineering Manager Central Europe torsten.hallmann@suse.com
  • 3. 3 SUSE Linux Enterprise Server ships MariaDB
  • 4. 4 SUSE Software Catalog: MariaDB ● MariaDB is listed in SUSE's Software Catalog www.suse.com/isvcatalog ● MariaDB 10 is certified for SLES 11 and 12
  • 5. 5 MariaDB on Open Build Service ● Find projects that already build newer versions of MariaDB for SLES 12 ● Build bleeding edge versions for SLES ● OBS Packages are without support! ● build.opensuse.org
  • 6. 6 MariaDB on SUSE Studio ● Creating Software Appliances ● Use OBS repositories ● Several Formats available: ● Preload (usb, iso) ● Live CD ● VM (vmdk, ovf, img, qcow2) ● Cloud (ami, vhd)
  • 8. 8 Manage the Full Life-Cycle with SUSE Manager
  • 9. 9 Deploy & Manage MariaDB with SUSE Manager ● Provisioning new machines with autoinstallation ● Centralize Packages Management incl. MariaDB ● Build and Manage software stagings for controlled operations of Development, Testing & Production landscapes ● Rollout configuration of MariaDB settings ● Monitor configuration changes
  • 10. 10 Provision New Machines Different Levels of Automation ● Without PXE ● Kickoff installation with boot iso ● Select autoinstall profile ● Answer individualization questions during installation ● (Move new system after installation to MariaDB group) ● With PXE ● Kickoff PXE boot ● Select autoinstall ● Answer individualization questions during installation ● (Move new system after installation to MariaDB group)
  • 11. 11 Provision New Machines Different Levels of Automation ● With PXE and SUSE Manager Discovery ● Kickoff PXE boot ● Select System in SUSE Manager for Deployment ● Provide all required individualization by variables ● Start Machine
  • 12. 12 Installation Example – Step 1 ● Prerequisits: ● Distribution ● Installation Profile ● Task: ● Boot via PXE ● Select Profile to Install
  • 13. 13 Installation Example – Step 2 ● Prerequisits ● Ask Section in Autoprofile ● Default values (script or listing) ● Task ● Fill in or select required values
  • 14. 14 Installation Example – Step 3 ● Prerequisits ● None if setup is fine :) ● Task ● Waiting :)
  • 15. 15 Installation Example – Finish ● Complete Automation ● Keys, Roles, Grains, States made your system ready to go ● Best Effort Automation ● General OS deployed ● Roles, Grains, States manually assigned by moving system into a group
  • 16. 16
  • 17. 17 SUSE Manager 3 States Description of how a system configuration • YAML • Jinja2 Templating • Uses Salt State Modules Salt States Catalog • SUSE Manager provides an integrated, central store for own states definitions – Assignable to SUSE Manager Organization, Group, Systems • Optional you can store an own structure of states within /srv/salt for using non-integrated Salt Features
  • 18. 18 SUSE Manager 3 – Salt Basics Typical Statefile Structure
  • 19. 19 SUSE Manager 3 – Salt Basics Example State install_mariadb: pkg.installed: - name: mariadb service_mariadb: service.running: - name: mysql - enable: True config_files_mycnf: file.managed: - name: /etc/my.cnf - source: salt://my.cnf - user: root - group: root - mode: 640
  • 20. 20 SUSE Manager 3 – Salt Basics State Dependencies Requisit declarations define dependency/order of single state statements: ● Require ● Watch ● Onchanges ● Prereq ● Onfail ● Use
  • 21. 21 SUSE Manager 3 – Salt Basics Example State [...] service_mariadb: service.running: - name: mysql - enable: True - watch: - pkg: mariadb - file: /etc/my.cnf [...]
  • 22. 22 SUSE Manager 3 – Salt Basics SUSE Manager States Catalog
  • 23. 23 SUSE Manager 3 – Salt Basics SUSE Manager States assigned to Group
  • 24. 24 SUSE Manager 3 Salt Elements Beyond States Beacons • Monitor for changes/thresholds and send events in case Reactors • Execute “run books” on specific events Orchestration • Manage relations/actions between servers up to firing complete setups in private or public clouds Proxy • Use minioncontroller to manage devices that are not capable to host agent (python etc.)
  • 25. 25 Use Case: Monitor Configfile for Changes Change Event Received salt/beacon/mymariadb.bo2go.home/inotify//etc/my.cnf { "_stamp": "2016-11-28T19:37:15.317124", "data": { "change": "IN_IGNORED", "id": "mymariadb.bo2go.home", "path": "/etc/my.cnf" }, "tag": "salt/beacon/mymariadb.bo2go.home/inotify//etc/my.cnf" } Restore /etc/my.cnf salt/job/20161128203715445906/new { "_stamp": "2016-11-28T19:37:15.446371", "arg": [ "salt-call state.sls_id config_files_mycnf manager_org_1.server_role_mariadb" ], "fun": "cmd.run", "jid": "20161128203715445906", "minions": [ "mymariadb.bo2go.home" ], "tgt": "mymariadb.bo2go.home", "tgt_type": "glob", "user": "salt" }
  • 26. 26 MariaDB in Docker with SUSE
  • 27. 27 Deliver MariaDB in Docker Containers SLES12 supports docker: ● Images from trusted source (repository) ● Full control over your data: on-premise registry, authentication ● Pre-built SLES Docker images SUSE provides built-in tools: ● YaST interface ● sle2docker, zypper-docker ● Portus
  • 28.
  • 29. 29