SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
MYSQL DALL’ALTA DISPONIBILITÀ AL
DISASTER RECOVERY IN POCHI PASSI
ORACLE MYSQL DAY ROMA, 28 SETTEMBRE 2022
Mirko Conte
System Architect
PARLIAMO DI HIGH AVAILABILITY
DEFINIZIONI - ARCHITETTURE
3
Alta disponibilità
Caratteristica di un’architettura progettata per ottenere un livello di operatività (uptime)
elevata
• Ridondanza su componenti e dati, no single points of failures
• Monitoraggio fallimenti e failover
Disaster tolerance
Possibilità di un’architettura di recuperare fallimenti multipli o su larga scala
• Sito di Disaster Recovery: recupero da eventi di disastro su scala data center o regionale
• Piano di Disaster Recovery: recupero rapido operatività dopo un disastro
DEFINIZIONI – REQUISITI DI BUSINESS
4
Recovery Time Objective (RTO)
«Tempo necessario per il pieno recupero dell'operatività di un sistema» (Wikipedia)
Recovery Point Objective (RPO)
«Quantità di dati prodotti ma non ancora sincronizzati, in caso di incidente o disastro»
«Misura della massima quantità di dati che il sistema potrebbe perdere a causa di guasto
improvviso» (Wikipedia)
🔥
disastro
RPO → ← RTO
tempo
HA E DR,
COME POSSIAMO OTTENERLI SU MYSQL?
REPLICA E ARCHITETTURE HA IN MYSQL
6
• Ridondanza
• Soluzioni di uso frequente: più istanze con replica dei dati
• Monitoraggio fallimenti e failover
• Varie soluzioni adottate, integrate in MySQL o esterne
🔥
SOLUZIONI LEGACY
7
• Replica asincrona
• Failover manuale
• Monitoraggio e failover con strumenti esterni
• RPO>0, RTO variabile
• Altre soluzioni
• OS cluster shared storage
• RPO=0, RTO variabile
🔥
INNODB CLUSTER
8
«MySQL InnoDB Cluster provides a complete high availability solution for MySQL»
• Complete: la tecnologia necessaria è tutta inclusa in MySQL
• High availability: elezione automatica primario, gestione automatica down/rejoin membri,
split-brain
• Semplice da configurare e gestire con AdminAPI
• RPO=0, RTO secondi
• Opzione multi-primary
• Richiede network a bassa latenza
(LAN o metro cluster)
MySQL Servers Group Replication
R R
INNODB CLUSTERSET
9
«MySQL InnoDB ClusterSet provides disaster tolerance for InnoDB Cluster deployments by linking
a primary InnoDB Cluster with one or more replicas of itself in alternate locations»
• Soluzione nativa ad alta disponibilità che può supportare disaster recovery geografico
• Include caratteristiche di InnoDB Cluster (single-primary)
• Introduce Cluster replica
• Replica asincrona: evita limitazioni su distanza geografica, RPO>0
Primary Cluster
R R
Replica Cluster
R R
S P
S S S
P
CARATTERISTICHE ED UTILIZZO
DI INNODB CLUSTERSET
CARATTERISTICHE PRINCIPALI
11
• Configurazione semplice e gestita tramite API (non necessita configurazioni «manuali»)
• Canale di replica asincrona gestita tra i primary members
• Switch e failover emergenza con semplici comandi amministrativi
• Integrazione Mysql Router (follow the primary / target cluster)
SOFTWARE E REQUISITI
12
• Componenti software come InnoDB Cluster
• MySQL Server, con Group Replication plugin
• MySQL Shell
• MySQL Router
• Release MySQL 8.0.27+ (consigliata 8.0.30)
• Prerequisito: InnoDB Cluster deployment
• single primary mode
• group_replication_view_change_uuid allineato (attenzione la modifica richiede il fermo del cluster)
• Prerequisito: istanze standalone da cui creare il/i cluster replica
• «Pulite» ovvero senza configurazioni residue di GR, canali di replica, variabili di sistema o InnoDB
metadata schema
DA INNODB CLUSTER A CLUSTERSET -
INSTALLAZIONE
DALL'ALTA DISPONIBILITÀ AL DISASTER RECOVERY
14
In pochi passi...
Dato un InnoDB Cluster di partenza
1. Configurazione nuove istanze per replica Cluster da MySQL Shell
2. Creazione di ClusterSet da MySQL Shell
3. Bootstrap MySQL Router
SETUP INNODB CLUSTER
15
• dba.createCluster(name[, options])
• <Cluster>.addInstance(instance[, options])
• dba.configureInstance([instance][, options])
• Stesso user e password dell’utente amministrativo del InnoDB Cluster di partenza
16
CONFIGURAZIONE NUOVE ISTANZE
• <Cluster>.createClusterSet(domainName[, options])
17
SETUP DI CLUSTERSET
• <ClusterSet>.createReplicaCluster(instance, clusterName[,options])
18
SETUP DI CLUSTERSET
• <Cluster>.addInstance(instance[, options])
19
SETUP DI CLUSTERSET
• mysqlrouter --bootstrap <server_url> [--user <username>] [options]
• Rieseguire il bootstrap per i Router connessi al Cluster originario
• (Opzionale) set named target cluster: <ClusterSet>.setRoutingOption([router], option,
value)
20
BOOTSTRAP MYSQL ROUTER
GESTIONE
DI INNODB CLUSTERSET
• <ClusterSet>.status([options])
22
STATO CLUSTERSET
• <ClusterSet>.setPrimaryCluster(clusterName[, options])
23
SWITCH CONTROLLATO
• <ClusterSet>.forcePrimaryCluster(clusterName[, options])
• Su cluster non raggiungibile dal ClusterSet, qualora attivo:
• <Cluster>.fenceWrites()
24
FAILOVER DI EMERGENZA
• Il Cluster precedentemente primario è posto in stato INVALIDATED dopo la precedente
forcePrimaryCluster
25
FAILOVER DI EMERGENZA
Cluster in stato INVALIDATED o dopo una manutenzione
• dba.rebootClusterFromCompleteOutage([clusterName][, options])
26
REJOIN DI UN CLUSTER
• <ClusterSet>.rejoinCluster(clusterName[, options])
27
REJOIN DI UN CLUSTER
• InnoDB Cluster: complete high availability solution
• Soluzione standard MySQL per HA
• Evita il ricorso a strumenti esterni e non direttamente supportati da MySQL
• Configurazione e gestione via AdminAPI semplice e conveniente
• InnoDB ClusterSet: soluzione per disaster tolerance
• Consente deploy «a posteriori» estendendo un ambiente Cluster esistente
• Configurazione e gestione via AdminAPI semplice e conveniente
• Semplifica anche la riattivazione del sito primario
28
MYSQL DALL’ALTA DISPONIBILITÀ AL DISASTER RECOVERY IN POCHI PASSI
www.par-tec.it info@par-tec.it Milano: +39 02 667321 Roma: +39 06 98269600
GRAZIE PER L’ATTENZIONE

Contenu connexe

Similaire à MySQL Day Roma 2022 - MySQL: dall'alta disponibilità al disaster recovery in pochi passi

Laboratorio Di Basi Di Dati 03 Il D B M S Postgre S Q L
Laboratorio Di  Basi Di  Dati 03  Il  D B M S  Postgre S Q LLaboratorio Di  Basi Di  Dati 03  Il  D B M S  Postgre S Q L
Laboratorio Di Basi Di Dati 03 Il D B M S Postgre S Q L
guestbe916c
 
Microservices webinar EMEA Aug. 2017
Microservices webinar EMEA Aug. 2017Microservices webinar EMEA Aug. 2017
Microservices webinar EMEA Aug. 2017
MongoDB
 
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e MongodbRealizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
MongoDB
 

Similaire à MySQL Day Roma 2022 - MySQL: dall'alta disponibilità al disaster recovery in pochi passi (20)

Akka.net & Actor Model
Akka.net & Actor ModelAkka.net & Actor Model
Akka.net & Actor Model
 
La nostra infrastruttura di produzione a container con Docker, Rancher e ZFS
La nostra infrastruttura di produzione a container con Docker, Rancher e ZFS La nostra infrastruttura di produzione a container con Docker, Rancher e ZFS
La nostra infrastruttura di produzione a container con Docker, Rancher e ZFS
 
La nostra infrastruttura di produzione a container con Docker, Rancher e ZFS
La nostra infrastruttura di produzione a container con Docker, Rancher e ZFSLa nostra infrastruttura di produzione a container con Docker, Rancher e ZFS
La nostra infrastruttura di produzione a container con Docker, Rancher e ZFS
 
Differenze tra Windows Server 2012 R2 su e Server 2016 Yashi Italia
Differenze tra Windows Server 2012 R2 su e Server 2016 Yashi ItaliaDifferenze tra Windows Server 2012 R2 su e Server 2016 Yashi Italia
Differenze tra Windows Server 2012 R2 su e Server 2016 Yashi Italia
 
Azure dayroma java, il lato oscuro del cloud
Azure dayroma   java, il lato oscuro del cloudAzure dayroma   java, il lato oscuro del cloud
Azure dayroma java, il lato oscuro del cloud
 
Kubernetes Core Concepts
Kubernetes Core ConceptsKubernetes Core Concepts
Kubernetes Core Concepts
 
MySQL Day Milano 2018 - MySQL e le architetture a microservizi
MySQL Day Milano 2018 - MySQL e le architetture a microserviziMySQL Day Milano 2018 - MySQL e le architetture a microservizi
MySQL Day Milano 2018 - MySQL e le architetture a microservizi
 
Laboratorio Di Basi Di Dati 03 Il D B M S Postgre S Q L
Laboratorio Di  Basi Di  Dati 03  Il  D B M S  Postgre S Q LLaboratorio Di  Basi Di  Dati 03  Il  D B M S  Postgre S Q L
Laboratorio Di Basi Di Dati 03 Il D B M S Postgre S Q L
 
Azure Day Rome Reloaded 2019 - Ingestion nel datalake passando tramite API Ma...
Azure Day Rome Reloaded 2019 - Ingestion nel datalake passando tramite API Ma...Azure Day Rome Reloaded 2019 - Ingestion nel datalake passando tramite API Ma...
Azure Day Rome Reloaded 2019 - Ingestion nel datalake passando tramite API Ma...
 
Novità di SQL Server 2017
Novità di SQL Server 2017Novità di SQL Server 2017
Novità di SQL Server 2017
 
Smau Milano 2011 Emilio Perotti
Smau Milano 2011 Emilio PerottiSmau Milano 2011 Emilio Perotti
Smau Milano 2011 Emilio Perotti
 
Architetture a Microservizi con Docker Container
Architetture a Microservizi con Docker ContainerArchitetture a Microservizi con Docker Container
Architetture a Microservizi con Docker Container
 
Microsoft SQL Server PaaS (Platform as a Service)
Microsoft SQL Server PaaS (Platform as a Service)Microsoft SQL Server PaaS (Platform as a Service)
Microsoft SQL Server PaaS (Platform as a Service)
 
Polyglot Persistance con PostgreSQL, CouchDB, MongoDB, Redis e OrientDB
Polyglot Persistance con PostgreSQL, CouchDB, MongoDB, Redis e OrientDBPolyglot Persistance con PostgreSQL, CouchDB, MongoDB, Redis e OrientDB
Polyglot Persistance con PostgreSQL, CouchDB, MongoDB, Redis e OrientDB
 
2014.11.14 Implementare e mantenere un progetto Azure SQL Database
2014.11.14 Implementare e mantenere un progetto Azure SQL Database2014.11.14 Implementare e mantenere un progetto Azure SQL Database
2014.11.14 Implementare e mantenere un progetto Azure SQL Database
 
IaaS and PaaS relational databases in the cloud
IaaS and PaaS relational databases in the cloudIaaS and PaaS relational databases in the cloud
IaaS and PaaS relational databases in the cloud
 
Come l’Open Source può essere alla base di un business di successo: il caso H...
Come l’Open Source può essere alla base di un business di successo: il caso H...Come l’Open Source può essere alla base di un business di successo: il caso H...
Come l’Open Source può essere alla base di un business di successo: il caso H...
 
Microservices webinar EMEA Aug. 2017
Microservices webinar EMEA Aug. 2017Microservices webinar EMEA Aug. 2017
Microservices webinar EMEA Aug. 2017
 
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e MongodbRealizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
Realizzazione di Microservizi con Docker, Kubernetes, Kafka e Mongodb
 
Azure PaaS databases
Azure PaaS databasesAzure PaaS databases
Azure PaaS databases
 

Plus de Par-Tec S.p.A.

Plus de Par-Tec S.p.A. (20)

RHACS: creare, distribuire ed eseguire applicazioni cloud native in modo più ...
RHACS: creare, distribuire ed eseguire applicazioni cloud native in modo più ...RHACS: creare, distribuire ed eseguire applicazioni cloud native in modo più ...
RHACS: creare, distribuire ed eseguire applicazioni cloud native in modo più ...
 
Webinar 23 giugno 2022 - Advanced Cluster Security: come si mette davvero al ...
Webinar 23 giugno 2022 - Advanced Cluster Security: come si mette davvero al ...Webinar 23 giugno 2022 - Advanced Cluster Security: come si mette davvero al ...
Webinar 23 giugno 2022 - Advanced Cluster Security: come si mette davvero al ...
 
Webinar 18 novembre 2021 - Dall’endpoint protection al servizio gestito: come...
Webinar 18 novembre 2021 - Dall’endpoint protection al servizio gestito: come...Webinar 18 novembre 2021 - Dall’endpoint protection al servizio gestito: come...
Webinar 18 novembre 2021 - Dall’endpoint protection al servizio gestito: come...
 
MySQL Day 2021 Digital Edition - Da Percona e MariaDB a MySQL: vantaggi e str...
MySQL Day 2021 Digital Edition - Da Percona e MariaDB a MySQL: vantaggi e str...MySQL Day 2021 Digital Edition - Da Percona e MariaDB a MySQL: vantaggi e str...
MySQL Day 2021 Digital Edition - Da Percona e MariaDB a MySQL: vantaggi e str...
 
Webinar 2 marzo 2021 - DevSecOps: la cybersecurity sposa lo sviluppo moderno
Webinar 2 marzo 2021 - DevSecOps: la cybersecurity sposa lo sviluppo modernoWebinar 2 marzo 2021 - DevSecOps: la cybersecurity sposa lo sviluppo moderno
Webinar 2 marzo 2021 - DevSecOps: la cybersecurity sposa lo sviluppo moderno
 
MySQL Day 2020 Digital Edition - Come proteggere al meglio un database MySQL
MySQL Day 2020 Digital Edition - Come proteggere al meglio un database MySQLMySQL Day 2020 Digital Edition - Come proteggere al meglio un database MySQL
MySQL Day 2020 Digital Edition - Come proteggere al meglio un database MySQL
 
Webinar 6 ottobre 2020 - Sicurezza e Compliance a misura di RPA
Webinar 6 ottobre 2020 - Sicurezza e Compliance a misura di RPAWebinar 6 ottobre 2020 - Sicurezza e Compliance a misura di RPA
Webinar 6 ottobre 2020 - Sicurezza e Compliance a misura di RPA
 
MySQL Day Milano 2019 - Da MySQL 5.7 a MySQL 8.0
MySQL Day Milano 2019 - Da MySQL 5.7 a MySQL 8.0MySQL Day Milano 2019 - Da MySQL 5.7 a MySQL 8.0
MySQL Day Milano 2019 - Da MySQL 5.7 a MySQL 8.0
 
MySQL Day Milano 2019 - Il backup non ammette ignoranza
MySQL Day Milano 2019 - Il backup non ammette ignoranzaMySQL Day Milano 2019 - Il backup non ammette ignoranza
MySQL Day Milano 2019 - Il backup non ammette ignoranza
 
Open Source Day 2019 - Cosa puoi fare con Ansible in 1200 secondi?
Open Source Day 2019 - Cosa puoi fare con Ansible in 1200 secondi?Open Source Day 2019 - Cosa puoi fare con Ansible in 1200 secondi?
Open Source Day 2019 - Cosa puoi fare con Ansible in 1200 secondi?
 
Forum ICT Security 2019 - L’Identity Governance come difesa dagli insider thr...
Forum ICT Security 2019 - L’Identity Governance come difesa dagli insider thr...Forum ICT Security 2019 - L’Identity Governance come difesa dagli insider thr...
Forum ICT Security 2019 - L’Identity Governance come difesa dagli insider thr...
 
MySQL Day Roma 2019 - Da MySQL 5.7 a MySQL 8.0
MySQL Day Roma 2019 - Da MySQL 5.7 a MySQL 8.0MySQL Day Roma 2019 - Da MySQL 5.7 a MySQL 8.0
MySQL Day Roma 2019 - Da MySQL 5.7 a MySQL 8.0
 
MySQL Day Roma 2019 - Le architetture a microservizi e MySQL
MySQL Day Roma 2019 - Le architetture a microservizi e MySQLMySQL Day Roma 2019 - Le architetture a microservizi e MySQL
MySQL Day Roma 2019 - Le architetture a microservizi e MySQL
 
C&CNR2019 - Containers Landscape Review
C&CNR2019 - Containers Landscape ReviewC&CNR2019 - Containers Landscape Review
C&CNR2019 - Containers Landscape Review
 
C&CNR2019 - Cloud-Native Landscape Review
C&CNR2019 - Cloud-Native Landscape ReviewC&CNR2019 - Cloud-Native Landscape Review
C&CNR2019 - Cloud-Native Landscape Review
 
Open Source Day 2018 - OpenShift accelera la digital transformation di SIAE
Open Source Day 2018 - OpenShift accelera la digital transformation di SIAEOpen Source Day 2018 - OpenShift accelera la digital transformation di SIAE
Open Source Day 2018 - OpenShift accelera la digital transformation di SIAE
 
Open Source Day 2018 - Caso Cliente INAIL: Soluzioni e competenze che abilita...
Open Source Day 2018 - Caso Cliente INAIL: Soluzioni e competenze che abilita...Open Source Day 2018 - Caso Cliente INAIL: Soluzioni e competenze che abilita...
Open Source Day 2018 - Caso Cliente INAIL: Soluzioni e competenze che abilita...
 
MySQL Day Milano 2018 - Le architetture a microservizi
MySQL Day Milano 2018 - Le architetture a microserviziMySQL Day Milano 2018 - Le architetture a microservizi
MySQL Day Milano 2018 - Le architetture a microservizi
 
Forum ICT Security 2018 - Il GDPR applicato al settore del retail: il caso di...
Forum ICT Security 2018 - Il GDPR applicato al settore del retail: il caso di...Forum ICT Security 2018 - Il GDPR applicato al settore del retail: il caso di...
Forum ICT Security 2018 - Il GDPR applicato al settore del retail: il caso di...
 
Dynatrace Perform Roma 2018 - Red Hat OpenShift: i container per il mondo ent...
Dynatrace Perform Roma 2018 - Red Hat OpenShift: i container per il mondo ent...Dynatrace Perform Roma 2018 - Red Hat OpenShift: i container per il mondo ent...
Dynatrace Perform Roma 2018 - Red Hat OpenShift: i container per il mondo ent...
 

MySQL Day Roma 2022 - MySQL: dall'alta disponibilità al disaster recovery in pochi passi

  • 1. MYSQL DALL’ALTA DISPONIBILITÀ AL DISASTER RECOVERY IN POCHI PASSI ORACLE MYSQL DAY ROMA, 28 SETTEMBRE 2022 Mirko Conte System Architect
  • 2. PARLIAMO DI HIGH AVAILABILITY
  • 3. DEFINIZIONI - ARCHITETTURE 3 Alta disponibilità Caratteristica di un’architettura progettata per ottenere un livello di operatività (uptime) elevata • Ridondanza su componenti e dati, no single points of failures • Monitoraggio fallimenti e failover Disaster tolerance Possibilità di un’architettura di recuperare fallimenti multipli o su larga scala • Sito di Disaster Recovery: recupero da eventi di disastro su scala data center o regionale • Piano di Disaster Recovery: recupero rapido operatività dopo un disastro
  • 4. DEFINIZIONI – REQUISITI DI BUSINESS 4 Recovery Time Objective (RTO) «Tempo necessario per il pieno recupero dell'operatività di un sistema» (Wikipedia) Recovery Point Objective (RPO) «Quantità di dati prodotti ma non ancora sincronizzati, in caso di incidente o disastro» «Misura della massima quantità di dati che il sistema potrebbe perdere a causa di guasto improvviso» (Wikipedia) 🔥 disastro RPO → ← RTO tempo
  • 5. HA E DR, COME POSSIAMO OTTENERLI SU MYSQL?
  • 6. REPLICA E ARCHITETTURE HA IN MYSQL 6 • Ridondanza • Soluzioni di uso frequente: più istanze con replica dei dati • Monitoraggio fallimenti e failover • Varie soluzioni adottate, integrate in MySQL o esterne 🔥
  • 7. SOLUZIONI LEGACY 7 • Replica asincrona • Failover manuale • Monitoraggio e failover con strumenti esterni • RPO>0, RTO variabile • Altre soluzioni • OS cluster shared storage • RPO=0, RTO variabile 🔥
  • 8. INNODB CLUSTER 8 «MySQL InnoDB Cluster provides a complete high availability solution for MySQL» • Complete: la tecnologia necessaria è tutta inclusa in MySQL • High availability: elezione automatica primario, gestione automatica down/rejoin membri, split-brain • Semplice da configurare e gestire con AdminAPI • RPO=0, RTO secondi • Opzione multi-primary • Richiede network a bassa latenza (LAN o metro cluster) MySQL Servers Group Replication R R
  • 9. INNODB CLUSTERSET 9 «MySQL InnoDB ClusterSet provides disaster tolerance for InnoDB Cluster deployments by linking a primary InnoDB Cluster with one or more replicas of itself in alternate locations» • Soluzione nativa ad alta disponibilità che può supportare disaster recovery geografico • Include caratteristiche di InnoDB Cluster (single-primary) • Introduce Cluster replica • Replica asincrona: evita limitazioni su distanza geografica, RPO>0 Primary Cluster R R Replica Cluster R R S P S S S P
  • 10. CARATTERISTICHE ED UTILIZZO DI INNODB CLUSTERSET
  • 11. CARATTERISTICHE PRINCIPALI 11 • Configurazione semplice e gestita tramite API (non necessita configurazioni «manuali») • Canale di replica asincrona gestita tra i primary members • Switch e failover emergenza con semplici comandi amministrativi • Integrazione Mysql Router (follow the primary / target cluster)
  • 12. SOFTWARE E REQUISITI 12 • Componenti software come InnoDB Cluster • MySQL Server, con Group Replication plugin • MySQL Shell • MySQL Router • Release MySQL 8.0.27+ (consigliata 8.0.30) • Prerequisito: InnoDB Cluster deployment • single primary mode • group_replication_view_change_uuid allineato (attenzione la modifica richiede il fermo del cluster) • Prerequisito: istanze standalone da cui creare il/i cluster replica • «Pulite» ovvero senza configurazioni residue di GR, canali di replica, variabili di sistema o InnoDB metadata schema
  • 13. DA INNODB CLUSTER A CLUSTERSET - INSTALLAZIONE
  • 14. DALL'ALTA DISPONIBILITÀ AL DISASTER RECOVERY 14 In pochi passi... Dato un InnoDB Cluster di partenza 1. Configurazione nuove istanze per replica Cluster da MySQL Shell 2. Creazione di ClusterSet da MySQL Shell 3. Bootstrap MySQL Router
  • 15. SETUP INNODB CLUSTER 15 • dba.createCluster(name[, options]) • <Cluster>.addInstance(instance[, options])
  • 16. • dba.configureInstance([instance][, options]) • Stesso user e password dell’utente amministrativo del InnoDB Cluster di partenza 16 CONFIGURAZIONE NUOVE ISTANZE
  • 20. • mysqlrouter --bootstrap <server_url> [--user <username>] [options] • Rieseguire il bootstrap per i Router connessi al Cluster originario • (Opzionale) set named target cluster: <ClusterSet>.setRoutingOption([router], option, value) 20 BOOTSTRAP MYSQL ROUTER
  • 24. • <ClusterSet>.forcePrimaryCluster(clusterName[, options]) • Su cluster non raggiungibile dal ClusterSet, qualora attivo: • <Cluster>.fenceWrites() 24 FAILOVER DI EMERGENZA
  • 25. • Il Cluster precedentemente primario è posto in stato INVALIDATED dopo la precedente forcePrimaryCluster 25 FAILOVER DI EMERGENZA
  • 26. Cluster in stato INVALIDATED o dopo una manutenzione • dba.rebootClusterFromCompleteOutage([clusterName][, options]) 26 REJOIN DI UN CLUSTER
  • 28. • InnoDB Cluster: complete high availability solution • Soluzione standard MySQL per HA • Evita il ricorso a strumenti esterni e non direttamente supportati da MySQL • Configurazione e gestione via AdminAPI semplice e conveniente • InnoDB ClusterSet: soluzione per disaster tolerance • Consente deploy «a posteriori» estendendo un ambiente Cluster esistente • Configurazione e gestione via AdminAPI semplice e conveniente • Semplifica anche la riattivazione del sito primario 28 MYSQL DALL’ALTA DISPONIBILITÀ AL DISASTER RECOVERY IN POCHI PASSI
  • 29. www.par-tec.it info@par-tec.it Milano: +39 02 667321 Roma: +39 06 98269600 GRAZIE PER L’ATTENZIONE