SlideShare una empresa de Scribd logo
1 de 44
Descargar para leer sin conexión
Migrer 3 millions de sites sans maitriser
leur code source ?
Impossible mais vrai !
Vincent Cassé / @vcasse
Engineering manager webhosting
Sysadmin day / 18 novembre 2019
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
“On vous héberge”
2
Webhosting
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
3
- 1er hébergeur européen
- 6 millions de sites web
- 60 Gb/s
- 6 Millards de requêtes HTTP/jour (hors CDN)
- 15 000 serveurs
Webhosting chez OVHcloud : histoire
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
4
- Hébergement à P19 (Paris) depuis 2003
- Le web a changé depuis 1999
- Ouverture du Gravelines en 2016
C’est quoi le métier d’hébergeur ?
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
5
apt-get install apache2 php7 mysql-server?
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
6
- Stocker des données
- Exécuter du code
Pourquoi partir de Paris ?
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
7
- Fin de vie des équipements
- Décroissance naturelle du datacentre trop lente
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
8
Pourquoi c’était la merde ?
Gestion de risque
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
9
- Probabilités par ordre de grandeur
- 0,1% pour 1 site : 1 chance sur 1000
- 0,1% pour 100 sites : 1 chance sur 10
- 0,1% pour 3 millions : 3 000 fois
Gestion de risque
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
10
- Probabilités en absolu
- 0,1% pour 1 site : 1 chance sur 1000
- 0,1% pour 100 sites : 1 chance sur 10
- 0,1% pour 3 millions : 3 000 fois
- Risque = Impact * Probabilité
Le split brain
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
11
Split-brain is a computer term, based on an analogy with the medical Split-brain
syndrome. It indicates data or availability inconsistencies originating from the
maintenance of two separate data sets with overlap in scope, either because of
servers in a network design, or a failure condition based on servers not
communicating and synchronizing their data to each other.
https://en.wikipedia.org/wiki/Split-brain_(computing)
Vu d’un site web
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
12
Répartition de charge et tolérance aux pannes
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
13
Domaines de panne
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
14
Différence P19 / Gravelines
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
15
Contrainte des fichiers
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
16
- Dépendant des clients : code source / images/ javascripts…
- Limites de rsync
- Copie en mode bloc impose de migrer tous les clients d’un filerz
Contrainte des clusters
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
17
- Infra coûteuses mutualisées par cluster (load balancer, IP…)
- Changement des zones DNS difficile
- Migrer les IP implique de migrer tous les clients d’un cluster
Contrainte des bases de données
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
18
- Bases de données référencées avec les hébergement mais …
- Connaissance exhaustive = maîtrise exhaustive des code source
- Casser aucun site nécessite de migrer en même temps tous les sites
Contrainte des bases de données (au carré)
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
19
- Accès aux bases de données par sous domaine
- Mais fonctionnalité récente (4 ans)
- Anciens usages incompatible avec Gravelines
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
20
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
Alors, comment migrer ?
21
Casser les contraintes
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
22
En prenant en compte toutes les contraintes :
- Soit migrer les sites 1 par 1 en comprenant leur code source
- Soit migrer tout d’un coup (TCP over Trucks ?)
Nommage des bases de données : proxy SQL
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
23
db 1
db 2
….
db 2500
mysql55-XXX.plan
XXX
db 2
….
db 2500
db 1
….
db 250
mysql55-XXX.plan-service dbXXX.plan
P19 Gravelines
Bases de données non référencées
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
24
- Tunnel réseau entre les deux datacentres
- Impact : + 10ms de latence
- « Best effort »
Latence et SQL proxy
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
25
db 1
db 2
….
db 2500
mysql55-XXX.plan
XXX
db 2
….
db 2500
db 1
….
db 250
mysql55-XXX.plan-service dbXXX.plan
P19 Gravelines
db 1
db 2
….
db 2500
mysql55-XXX.plan
+10 ms
Contrainte des IP mutualisées
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
26
P19 GRA
127.0.0.1
::1
À migrer Déjà migré
Contrainte des IP mutualisées
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
27
P19 GRA
127.0.0.1
::1À migrer
Web Web Web Web Web
Filerz Filerz
Web Web Web Web Web
Filerz Filerz
Gestion des fichiers
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
28
Est-ce que cela pose un problème de migrer tous les clients d’un filer en même
temps ?
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
Let’s migrate the party!
29
Switch des IP
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
30
- Adaptation de notre système d’information
- Patch du load balancer
- Tunnel réseau
- Outillage et monitoring
Proxy SQL
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
31
- Automatisation des configurations
- Déploiement 1 / 10 / 100 / 1000
- Quelques surprises :
- Format de stockage des mots de passe dans MySQL
- Table ARP
- Gestion d’anciennes versions
Découpage de la migration
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
32
- Migration filerz par filerz.
- Bases de données associées migrées en même temps
- 1 switch d’IP à la fois, donc 1 cluster à la fois
- Choix des clusters par niveau de risque. Du moins au plus risqué
Frise chronologique
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
33
Commande
du matériel
J-60 :
Construction du
cluster
J-30 :
Copie des
filerz
J-40 :
Installation
des filerz
J-30 :
Installation
des bases
J-30 :
Communication
J-15 :
Communication
J-10 :
Test cluster
J-7 :
Switch IP
J-1 :
Accélération
copie filerz
Nuit 1 :
Migration
X filerz
Nuit N :
Migration
dernier filerz
J + 1 :
Fermeture
cluster P19
Dé-provisionning
Switch IP (J-7)
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
34
1. Test du cluster de destination et tunnel réseau
2. Informer clients et support
3. Rediriger les opérations SSL
4. Configurer tous les certificats
5. Pour chaque adresse IPv4 / v6 !
• Basculer l’adresse IP
• Tester les sites à Paris et Gravelines
6. Rediriger le CDN
Migration d’un filerz : nuit
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
35
1. Tester des sites du cluster
2. Couper le monitoring des machines impactées
3. Lancer un incrémental
4. Passer les sites web en maintenance
5. Attendre le timeout PHP
6. Fermer l’accès aux fichiers sur le filerz
7. Lancer un dernier incrémental
8. Une fois que les données sont à Gravelines : migration des bases de données
9. Modification des configurations des comptes migrés (SI, infrastructure…)
10. Réouverture des hébergements
11. Attendre la fin de la migration des bases de données
12. Re-tester les sites web et vérifier le bon fonctionnement de la migration
13. Réactiver le monitoring
14. Prévenir les clients de la fin des opérations
15. Dormir
Migration d’un filerz : et les bases
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
36
Pour chaque base de données :
1. Passage de la base en lecture seule (select uniquement)
2. Dump de la base de données
3. Import de la base de données à la destination et ouverture en lecture/écriture
4. Redirection du nom DNS de la base vers le nouveau serveur
5. Configuration du SQL proxy vers le nouveau serveur
6. Fermeture de la base à Paris
Migration d’un filerz : et les bases
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
37
- Répartition des opérations sur tous les serveurs
- Orchestration : stockage sur une base de données centrale
Migration d’un filerz : et les bases
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
38
- Répartition des opérations sur tous les serveurs
- Orchestration : stockage sur une base de données centrale
- Record : 13 502 bases migrées en 1h13:31
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
Causons orga
39
Les défis
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
40
- Technique. Mais on en a bien parlé
- Infrastructure découpée en équipes spécialisées (bases de données, web,
stockage, datacentres, production, support, load balancers, cdn, réseau…)
- Legacy
- Migration longue
Organisation de la migration
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
41
1. Établir un scénario de migration
2. Implémenter et tester le scénario
3. Migrer et améliorer après chaque nuit
Change management
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
42
Plus de détails ?
D at e
F o o t er can b e p er so n alized as
fo llo w : In ser t / H ead er an d fo o t er
43
• Why we decided to migrate three million websites?
https://www.ovh.com/blog/web-hosting-why-we-decided-to-migrate-three-million-websites/
• How to host 3 million websites?
https://www.ovh.com/blog/web-hosting-how-to-host-3-million-websites/
• How to migrate 3 Million web sites?
https://www.ovh.com/blog/web-hosting-how-to-migrate-3-million-web-sites/
• How do our databases work?
https://www.ovh.com/blog/web-hosting-how-do-our-databases-work/
• More soon on https://ovh.com/blog
Des questions ?
Merci !
Vincent Cassé
@vcasse

Más contenido relacionado

La actualidad más candente

Storage Performance Indicators - Powered by StorPerf and QTIP
Storage Performance Indicators - Powered by StorPerf and QTIPStorage Performance Indicators - Powered by StorPerf and QTIP
Storage Performance Indicators - Powered by StorPerf and QTIPOPNFV
 
[FR] OVH Webinar : 10 questions à poser à votre Cloud Service Provider
[FR] OVH Webinar : 10 questions à poser à votre Cloud Service Provider[FR] OVH Webinar : 10 questions à poser à votre Cloud Service Provider
[FR] OVH Webinar : 10 questions à poser à votre Cloud Service ProviderOVHcloud
 
Nouveautés de zabbix 3.0 par Alain Ganuchaud
Nouveautés de zabbix 3.0 par Alain GanuchaudNouveautés de zabbix 3.0 par Alain Ganuchaud
Nouveautés de zabbix 3.0 par Alain GanuchaudAlain Ganuchaud
 
Les Nouveautés de zabbix 2.2 par Alain Ganuchaud
Les Nouveautés de zabbix 2.2 par Alain GanuchaudLes Nouveautés de zabbix 2.2 par Alain Ganuchaud
Les Nouveautés de zabbix 2.2 par Alain GanuchaudAlain Ganuchaud
 
Big Data Paris 2015 - Cassandra chez Chronopost
Big Data Paris 2015 - Cassandra chez ChronopostBig Data Paris 2015 - Cassandra chez Chronopost
Big Data Paris 2015 - Cassandra chez ChronopostAlexander DEJANOVSKI
 
Apache Cassandra - Concepts et fonctionnalités
Apache Cassandra - Concepts et fonctionnalitésApache Cassandra - Concepts et fonctionnalités
Apache Cassandra - Concepts et fonctionnalitésRomain Hardouin
 
Meetup #13 osfr - ops - hubiC - pulbic
Meetup #13 osfr - ops - hubiC - pulbicMeetup #13 osfr - ops - hubiC - pulbic
Meetup #13 osfr - ops - hubiC - pulbicJean-Daniel Bonnetot
 
Optimisation de la plateforme de Supervision Zabbix
Optimisation de la plateforme de Supervision ZabbixOptimisation de la plateforme de Supervision Zabbix
Optimisation de la plateforme de Supervision ZabbixAlain Ganuchaud
 
[Café Techno] Les évolutions de TSM v6.3.4 et bientôt 7.1
[Café Techno] Les évolutions de TSM v6.3.4 et bientôt 7.1[Café Techno] Les évolutions de TSM v6.3.4 et bientôt 7.1
[Café Techno] Les évolutions de TSM v6.3.4 et bientôt 7.1Groupe D.FI
 
SQLSaturday Paris 2014 - SQL Server AlwaysOn et les groupes de disponibilités...
SQLSaturday Paris 2014 - SQL Server AlwaysOn et les groupes de disponibilités...SQLSaturday Paris 2014 - SQL Server AlwaysOn et les groupes de disponibilités...
SQLSaturday Paris 2014 - SQL Server AlwaysOn et les groupes de disponibilités...GUSS
 
Flowspec contre les attaques DDoS : l'expérience danoise
Flowspec contre les attaques DDoS : l'expérience danoiseFlowspec contre les attaques DDoS : l'expérience danoise
Flowspec contre les attaques DDoS : l'expérience danoisePavel Odintsov
 
Introduction à Cassandra
Introduction à CassandraIntroduction à Cassandra
Introduction à CassandraVMware Tanzu
 
Pourquoi Terraform n'est pas le bon outil pour les déploiements automatisés d...
Pourquoi Terraform n'est pas le bon outil pour les déploiements automatisés d...Pourquoi Terraform n'est pas le bon outil pour les déploiements automatisés d...
Pourquoi Terraform n'est pas le bon outil pour les déploiements automatisés d...Duyhai Doan
 
Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...
Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...
Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...OpenNebula Project
 
Petit potam slides-rtfm-ossir
Petit potam slides-rtfm-ossirPetit potam slides-rtfm-ossir
Petit potam slides-rtfm-ossirLionelTopotam
 

La actualidad más candente (20)

Storage Performance Indicators - Powered by StorPerf and QTIP
Storage Performance Indicators - Powered by StorPerf and QTIPStorage Performance Indicators - Powered by StorPerf and QTIP
Storage Performance Indicators - Powered by StorPerf and QTIP
 
[FR] OVH Webinar : 10 questions à poser à votre Cloud Service Provider
[FR] OVH Webinar : 10 questions à poser à votre Cloud Service Provider[FR] OVH Webinar : 10 questions à poser à votre Cloud Service Provider
[FR] OVH Webinar : 10 questions à poser à votre Cloud Service Provider
 
Nouveautés de zabbix 3.0 par Alain Ganuchaud
Nouveautés de zabbix 3.0 par Alain GanuchaudNouveautés de zabbix 3.0 par Alain Ganuchaud
Nouveautés de zabbix 3.0 par Alain Ganuchaud
 
Les Nouveautés de zabbix 2.2 par Alain Ganuchaud
Les Nouveautés de zabbix 2.2 par Alain GanuchaudLes Nouveautés de zabbix 2.2 par Alain Ganuchaud
Les Nouveautés de zabbix 2.2 par Alain Ganuchaud
 
Big Data Paris 2015 - Cassandra chez Chronopost
Big Data Paris 2015 - Cassandra chez ChronopostBig Data Paris 2015 - Cassandra chez Chronopost
Big Data Paris 2015 - Cassandra chez Chronopost
 
Windows server2016 presentation
Windows server2016 presentation Windows server2016 presentation
Windows server2016 presentation
 
Apache Cassandra - Concepts et fonctionnalités
Apache Cassandra - Concepts et fonctionnalitésApache Cassandra - Concepts et fonctionnalités
Apache Cassandra - Concepts et fonctionnalités
 
Meetup #13 osfr - ops - hubiC - pulbic
Meetup #13 osfr - ops - hubiC - pulbicMeetup #13 osfr - ops - hubiC - pulbic
Meetup #13 osfr - ops - hubiC - pulbic
 
Optimisation de la plateforme de Supervision Zabbix
Optimisation de la plateforme de Supervision ZabbixOptimisation de la plateforme de Supervision Zabbix
Optimisation de la plateforme de Supervision Zabbix
 
[Café Techno] Les évolutions de TSM v6.3.4 et bientôt 7.1
[Café Techno] Les évolutions de TSM v6.3.4 et bientôt 7.1[Café Techno] Les évolutions de TSM v6.3.4 et bientôt 7.1
[Café Techno] Les évolutions de TSM v6.3.4 et bientôt 7.1
 
Webinar Degetel DataStax
Webinar Degetel DataStaxWebinar Degetel DataStax
Webinar Degetel DataStax
 
SQLSaturday Paris 2014 - SQL Server AlwaysOn et les groupes de disponibilités...
SQLSaturday Paris 2014 - SQL Server AlwaysOn et les groupes de disponibilités...SQLSaturday Paris 2014 - SQL Server AlwaysOn et les groupes de disponibilités...
SQLSaturday Paris 2014 - SQL Server AlwaysOn et les groupes de disponibilités...
 
Flowspec contre les attaques DDoS : l'expérience danoise
Flowspec contre les attaques DDoS : l'expérience danoiseFlowspec contre les attaques DDoS : l'expérience danoise
Flowspec contre les attaques DDoS : l'expérience danoise
 
Fusion io
Fusion ioFusion io
Fusion io
 
Devoxx France - Où sont passés mes serveurs ?
Devoxx France - Où sont passés mes serveurs ?Devoxx France - Où sont passés mes serveurs ?
Devoxx France - Où sont passés mes serveurs ?
 
Introduction à Cassandra
Introduction à CassandraIntroduction à Cassandra
Introduction à Cassandra
 
Pourquoi Terraform n'est pas le bon outil pour les déploiements automatisés d...
Pourquoi Terraform n'est pas le bon outil pour les déploiements automatisés d...Pourquoi Terraform n'est pas le bon outil pour les déploiements automatisés d...
Pourquoi Terraform n'est pas le bon outil pour les déploiements automatisés d...
 
Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...
Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...
Déploiement pour l’hébergement d’architecture cliente et mise en place du Sel...
 
Petit potam slides-rtfm-ossir
Petit potam slides-rtfm-ossirPetit potam slides-rtfm-ossir
Petit potam slides-rtfm-ossir
 
Devoxx fr 2015 HAProxy
Devoxx fr 2015 HAProxyDevoxx fr 2015 HAProxy
Devoxx fr 2015 HAProxy
 

Similar a Migrer 3 millions de sites sans maitriser leur code source ? Impossible mais vrai !

NFS, MPI, Programmation Sérial & Parallèle avec Condor Scénarios et Simulatio...
NFS, MPI, Programmation Sérial & Parallèle avec Condor Scénarios et Simulatio...NFS, MPI, Programmation Sérial & Parallèle avec Condor Scénarios et Simulatio...
NFS, MPI, Programmation Sérial & Parallèle avec Condor Scénarios et Simulatio...Ayoub Rouzi
 
Des solutions de synchronisation de données
Des solutions de synchronisation de donnéesDes solutions de synchronisation de données
Des solutions de synchronisation de donnéespprem
 
formation-administration-reseau-linux.pdf
formation-administration-reseau-linux.pdfformation-administration-reseau-linux.pdf
formation-administration-reseau-linux.pdfssusere8c939
 
1 pourquoi le big data aujourdhui
1 pourquoi le big data aujourdhui1 pourquoi le big data aujourdhui
1 pourquoi le big data aujourdhuiRomain Jouin
 
Apache server configuration & sécurisation -
Apache server configuration & sécurisation  -Apache server configuration & sécurisation  -
Apache server configuration & sécurisation -achraf_ing
 
Conséquences du filtrage Internet par le DNS
Conséquences du filtrage Internet par le DNSConséquences du filtrage Internet par le DNS
Conséquences du filtrage Internet par le DNSAfnic
 
Communications Réseaux et HTTP avec PHP
Communications Réseaux et HTTP avec PHPCommunications Réseaux et HTTP avec PHP
Communications Réseaux et HTTP avec PHPjulien pauli
 
IPv6 news-fr-20121009
IPv6 news-fr-20121009IPv6 news-fr-20121009
IPv6 news-fr-20121009Bart Hanssens
 
Quelles architectures matérielles pour Hadoop ?
Quelles architectures matérielles pour Hadoop ?Quelles architectures matérielles pour Hadoop ?
Quelles architectures matérielles pour Hadoop ?Modern Data Stack France
 
Hug france - Administration Hadoop et retour d’expérience BI avec Impala, lim...
Hug france - Administration Hadoop et retour d’expérience BI avec Impala, lim...Hug france - Administration Hadoop et retour d’expérience BI avec Impala, lim...
Hug france - Administration Hadoop et retour d’expérience BI avec Impala, lim...Modern Data Stack France
 
Modern DevOps - kill the bottleneck (part 2/2)
Modern DevOps - kill the bottleneck (part 2/2)Modern DevOps - kill the bottleneck (part 2/2)
Modern DevOps - kill the bottleneck (part 2/2)Loic Ortola
 
Projet IPv6 Matrix / Version française intégrale
Projet IPv6 Matrix / Version française intégraleProjet IPv6 Matrix / Version française intégrale
Projet IPv6 Matrix / Version française intégraleOlivier MJ Crépin-Leblond
 
Présentation CoreOS
Présentation CoreOSPrésentation CoreOS
Présentation CoreOSgcatt
 
Docker : quels enjeux pour le stockage et réseau ? Paris Open Source Summit ...
Docker : quels enjeux pour le stockage et réseau ? Paris Open Source Summit ...Docker : quels enjeux pour le stockage et réseau ? Paris Open Source Summit ...
Docker : quels enjeux pour le stockage et réseau ? Paris Open Source Summit ...Jérôme Petazzoni
 
Case Cloud-Windows -ver 41a
Case Cloud-Windows -ver 41aCase Cloud-Windows -ver 41a
Case Cloud-Windows -ver 41aJulien Genon
 
S2-01-PHP.pptx
S2-01-PHP.pptxS2-01-PHP.pptx
S2-01-PHP.pptxkohay75604
 

Similar a Migrer 3 millions de sites sans maitriser leur code source ? Impossible mais vrai ! (20)

NFS, MPI, Programmation Sérial & Parallèle avec Condor Scénarios et Simulatio...
NFS, MPI, Programmation Sérial & Parallèle avec Condor Scénarios et Simulatio...NFS, MPI, Programmation Sérial & Parallèle avec Condor Scénarios et Simulatio...
NFS, MPI, Programmation Sérial & Parallèle avec Condor Scénarios et Simulatio...
 
Propostion un Iaas
Propostion un IaasPropostion un Iaas
Propostion un Iaas
 
Des solutions de synchronisation de données
Des solutions de synchronisation de donnéesDes solutions de synchronisation de données
Des solutions de synchronisation de données
 
formation-administration-reseau-linux.pdf
formation-administration-reseau-linux.pdfformation-administration-reseau-linux.pdf
formation-administration-reseau-linux.pdf
 
1 pourquoi le big data aujourdhui
1 pourquoi le big data aujourdhui1 pourquoi le big data aujourdhui
1 pourquoi le big data aujourdhui
 
Apache server configuration & sécurisation -
Apache server configuration & sécurisation  -Apache server configuration & sécurisation  -
Apache server configuration & sécurisation -
 
Afterwork hadoop
Afterwork hadoopAfterwork hadoop
Afterwork hadoop
 
Conséquences du filtrage Internet par le DNS
Conséquences du filtrage Internet par le DNSConséquences du filtrage Internet par le DNS
Conséquences du filtrage Internet par le DNS
 
Communications Réseaux et HTTP avec PHP
Communications Réseaux et HTTP avec PHPCommunications Réseaux et HTTP avec PHP
Communications Réseaux et HTTP avec PHP
 
Introduction à HDFS
Introduction à HDFSIntroduction à HDFS
Introduction à HDFS
 
IPv6 news-fr-20121009
IPv6 news-fr-20121009IPv6 news-fr-20121009
IPv6 news-fr-20121009
 
Quelles architectures matérielles pour Hadoop ?
Quelles architectures matérielles pour Hadoop ?Quelles architectures matérielles pour Hadoop ?
Quelles architectures matérielles pour Hadoop ?
 
Hug france - Administration Hadoop et retour d’expérience BI avec Impala, lim...
Hug france - Administration Hadoop et retour d’expérience BI avec Impala, lim...Hug france - Administration Hadoop et retour d’expérience BI avec Impala, lim...
Hug france - Administration Hadoop et retour d’expérience BI avec Impala, lim...
 
Réseau MiNET
Réseau MiNETRéseau MiNET
Réseau MiNET
 
Modern DevOps - kill the bottleneck (part 2/2)
Modern DevOps - kill the bottleneck (part 2/2)Modern DevOps - kill the bottleneck (part 2/2)
Modern DevOps - kill the bottleneck (part 2/2)
 
Projet IPv6 Matrix / Version française intégrale
Projet IPv6 Matrix / Version française intégraleProjet IPv6 Matrix / Version française intégrale
Projet IPv6 Matrix / Version française intégrale
 
Présentation CoreOS
Présentation CoreOSPrésentation CoreOS
Présentation CoreOS
 
Docker : quels enjeux pour le stockage et réseau ? Paris Open Source Summit ...
Docker : quels enjeux pour le stockage et réseau ? Paris Open Source Summit ...Docker : quels enjeux pour le stockage et réseau ? Paris Open Source Summit ...
Docker : quels enjeux pour le stockage et réseau ? Paris Open Source Summit ...
 
Case Cloud-Windows -ver 41a
Case Cloud-Windows -ver 41aCase Cloud-Windows -ver 41a
Case Cloud-Windows -ver 41a
 
S2-01-PHP.pptx
S2-01-PHP.pptxS2-01-PHP.pptx
S2-01-PHP.pptx
 

Más de OVHcloud

OVHcloud Startup Program : Découvrir l'écosystème au service des startups
OVHcloud Startup Program : Découvrir l'écosystème au service des startups OVHcloud Startup Program : Découvrir l'écosystème au service des startups
OVHcloud Startup Program : Découvrir l'écosystème au service des startups OVHcloud
 
Fine tune and deploy Hugging Face NLP models
Fine tune and deploy Hugging Face NLP modelsFine tune and deploy Hugging Face NLP models
Fine tune and deploy Hugging Face NLP modelsOVHcloud
 
How can you successfully migrate to hosted private cloud 2020
How can you successfully migrate to hosted private cloud 2020How can you successfully migrate to hosted private cloud 2020
How can you successfully migrate to hosted private cloud 2020OVHcloud
 
OVHcloud Partner Webinar - Data Processing
OVHcloud Partner Webinar - Data ProcessingOVHcloud Partner Webinar - Data Processing
OVHcloud Partner Webinar - Data ProcessingOVHcloud
 
OVHcloud Tech Talks S01E09 - OVHcloud Data Processing : Le nouveau service po...
OVHcloud Tech Talks S01E09 - OVHcloud Data Processing : Le nouveau service po...OVHcloud Tech Talks S01E09 - OVHcloud Data Processing : Le nouveau service po...
OVHcloud Tech Talks S01E09 - OVHcloud Data Processing : Le nouveau service po...OVHcloud
 
Webinar - VPS New Range
Webinar - VPS New RangeWebinar - VPS New Range
Webinar - VPS New RangeOVHcloud
 
OVHcloud Tech Talks S01E08 - GAIA-X pour les techs : OVHcloud & Scaleway vous...
OVHcloud Tech Talks S01E08 - GAIA-X pour les techs : OVHcloud & Scaleway vous...OVHcloud Tech Talks S01E08 - GAIA-X pour les techs : OVHcloud & Scaleway vous...
OVHcloud Tech Talks S01E08 - GAIA-X pour les techs : OVHcloud & Scaleway vous...OVHcloud
 
OVHcloud Tech Talks S01E07 – Introduction à l’intelligence artificielle pour ...
OVHcloud Tech Talks S01E07 – Introduction à l’intelligence artificielle pour ...OVHcloud Tech Talks S01E07 – Introduction à l’intelligence artificielle pour ...
OVHcloud Tech Talks S01E07 – Introduction à l’intelligence artificielle pour ...OVHcloud
 
OVHcloud Tech Talks Fr S01E06 – BeeGFS, un filesystem orienté performance, ma...
OVHcloud Tech Talks Fr S01E06 – BeeGFS, un filesystem orienté performance, ma...OVHcloud Tech Talks Fr S01E06 – BeeGFS, un filesystem orienté performance, ma...
OVHcloud Tech Talks Fr S01E06 – BeeGFS, un filesystem orienté performance, ma...OVHcloud
 
OVHcloud Tech Talks Fr S01E05 – L’opérateur Harbor, une nécessité pour certai...
OVHcloud Tech Talks Fr S01E05 – L’opérateur Harbor, une nécessité pour certai...OVHcloud Tech Talks Fr S01E05 – L’opérateur Harbor, une nécessité pour certai...
OVHcloud Tech Talks Fr S01E05 – L’opérateur Harbor, une nécessité pour certai...OVHcloud
 
OVHcloud Tech-Talk S01E04 - La télémétrie au service de l'agilité
OVHcloud Tech-Talk S01E04 - La télémétrie au service de l'agilitéOVHcloud Tech-Talk S01E04 - La télémétrie au service de l'agilité
OVHcloud Tech-Talk S01E04 - La télémétrie au service de l'agilitéOVHcloud
 
OVHcloud TechTalks - ML serving
OVHcloud TechTalks - ML servingOVHcloud TechTalks - ML serving
OVHcloud TechTalks - ML servingOVHcloud
 
Logs @ OVHcloud
Logs @ OVHcloudLogs @ OVHcloud
Logs @ OVHcloudOVHcloud
 
Les APIs OpenStack
Les APIs OpenStackLes APIs OpenStack
Les APIs OpenStackOVHcloud
 
1 sysadmin vs 250 clusters de stockage
1 sysadmin vs 250 clusters de stockage1 sysadmin vs 250 clusters de stockage
1 sysadmin vs 250 clusters de stockageOVHcloud
 
Industrialize Machine Learning
Industrialize Machine Learning Industrialize Machine Learning
Industrialize Machine Learning OVHcloud
 
OVHcloud – Enterprise Cloud Databases
OVHcloud – Enterprise Cloud DatabasesOVHcloud – Enterprise Cloud Databases
OVHcloud – Enterprise Cloud DatabasesOVHcloud
 
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud
 
Online passwords – understanding "credential stuffing" cyberattack
Online passwords – understanding "credential stuffing" cyberattackOnline passwords – understanding "credential stuffing" cyberattack
Online passwords – understanding "credential stuffing" cyberattackOVHcloud
 
OVHcloud and Microsoft for the public sector
OVHcloud and Microsoft for the public sectorOVHcloud and Microsoft for the public sector
OVHcloud and Microsoft for the public sectorOVHcloud
 

Más de OVHcloud (20)

OVHcloud Startup Program : Découvrir l'écosystème au service des startups
OVHcloud Startup Program : Découvrir l'écosystème au service des startups OVHcloud Startup Program : Découvrir l'écosystème au service des startups
OVHcloud Startup Program : Découvrir l'écosystème au service des startups
 
Fine tune and deploy Hugging Face NLP models
Fine tune and deploy Hugging Face NLP modelsFine tune and deploy Hugging Face NLP models
Fine tune and deploy Hugging Face NLP models
 
How can you successfully migrate to hosted private cloud 2020
How can you successfully migrate to hosted private cloud 2020How can you successfully migrate to hosted private cloud 2020
How can you successfully migrate to hosted private cloud 2020
 
OVHcloud Partner Webinar - Data Processing
OVHcloud Partner Webinar - Data ProcessingOVHcloud Partner Webinar - Data Processing
OVHcloud Partner Webinar - Data Processing
 
OVHcloud Tech Talks S01E09 - OVHcloud Data Processing : Le nouveau service po...
OVHcloud Tech Talks S01E09 - OVHcloud Data Processing : Le nouveau service po...OVHcloud Tech Talks S01E09 - OVHcloud Data Processing : Le nouveau service po...
OVHcloud Tech Talks S01E09 - OVHcloud Data Processing : Le nouveau service po...
 
Webinar - VPS New Range
Webinar - VPS New RangeWebinar - VPS New Range
Webinar - VPS New Range
 
OVHcloud Tech Talks S01E08 - GAIA-X pour les techs : OVHcloud & Scaleway vous...
OVHcloud Tech Talks S01E08 - GAIA-X pour les techs : OVHcloud & Scaleway vous...OVHcloud Tech Talks S01E08 - GAIA-X pour les techs : OVHcloud & Scaleway vous...
OVHcloud Tech Talks S01E08 - GAIA-X pour les techs : OVHcloud & Scaleway vous...
 
OVHcloud Tech Talks S01E07 – Introduction à l’intelligence artificielle pour ...
OVHcloud Tech Talks S01E07 – Introduction à l’intelligence artificielle pour ...OVHcloud Tech Talks S01E07 – Introduction à l’intelligence artificielle pour ...
OVHcloud Tech Talks S01E07 – Introduction à l’intelligence artificielle pour ...
 
OVHcloud Tech Talks Fr S01E06 – BeeGFS, un filesystem orienté performance, ma...
OVHcloud Tech Talks Fr S01E06 – BeeGFS, un filesystem orienté performance, ma...OVHcloud Tech Talks Fr S01E06 – BeeGFS, un filesystem orienté performance, ma...
OVHcloud Tech Talks Fr S01E06 – BeeGFS, un filesystem orienté performance, ma...
 
OVHcloud Tech Talks Fr S01E05 – L’opérateur Harbor, une nécessité pour certai...
OVHcloud Tech Talks Fr S01E05 – L’opérateur Harbor, une nécessité pour certai...OVHcloud Tech Talks Fr S01E05 – L’opérateur Harbor, une nécessité pour certai...
OVHcloud Tech Talks Fr S01E05 – L’opérateur Harbor, une nécessité pour certai...
 
OVHcloud Tech-Talk S01E04 - La télémétrie au service de l'agilité
OVHcloud Tech-Talk S01E04 - La télémétrie au service de l'agilitéOVHcloud Tech-Talk S01E04 - La télémétrie au service de l'agilité
OVHcloud Tech-Talk S01E04 - La télémétrie au service de l'agilité
 
OVHcloud TechTalks - ML serving
OVHcloud TechTalks - ML servingOVHcloud TechTalks - ML serving
OVHcloud TechTalks - ML serving
 
Logs @ OVHcloud
Logs @ OVHcloudLogs @ OVHcloud
Logs @ OVHcloud
 
Les APIs OpenStack
Les APIs OpenStackLes APIs OpenStack
Les APIs OpenStack
 
1 sysadmin vs 250 clusters de stockage
1 sysadmin vs 250 clusters de stockage1 sysadmin vs 250 clusters de stockage
1 sysadmin vs 250 clusters de stockage
 
Industrialize Machine Learning
Industrialize Machine Learning Industrialize Machine Learning
Industrialize Machine Learning
 
OVHcloud – Enterprise Cloud Databases
OVHcloud – Enterprise Cloud DatabasesOVHcloud – Enterprise Cloud Databases
OVHcloud – Enterprise Cloud Databases
 
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
 
Online passwords – understanding "credential stuffing" cyberattack
Online passwords – understanding "credential stuffing" cyberattackOnline passwords – understanding "credential stuffing" cyberattack
Online passwords – understanding "credential stuffing" cyberattack
 
OVHcloud and Microsoft for the public sector
OVHcloud and Microsoft for the public sectorOVHcloud and Microsoft for the public sector
OVHcloud and Microsoft for the public sector
 

Migrer 3 millions de sites sans maitriser leur code source ? Impossible mais vrai !

  • 1. Migrer 3 millions de sites sans maitriser leur code source ? Impossible mais vrai ! Vincent Cassé / @vcasse Engineering manager webhosting Sysadmin day / 18 novembre 2019
  • 2. D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er “On vous héberge” 2
  • 3. Webhosting D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 3 - 1er hébergeur européen - 6 millions de sites web - 60 Gb/s - 6 Millards de requêtes HTTP/jour (hors CDN) - 15 000 serveurs
  • 4. Webhosting chez OVHcloud : histoire D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 4 - Hébergement à P19 (Paris) depuis 2003 - Le web a changé depuis 1999 - Ouverture du Gravelines en 2016
  • 5. C’est quoi le métier d’hébergeur ? D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 5
  • 6. apt-get install apache2 php7 mysql-server? D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 6 - Stocker des données - Exécuter du code
  • 7. Pourquoi partir de Paris ? D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 7 - Fin de vie des équipements - Décroissance naturelle du datacentre trop lente
  • 8. D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 8 Pourquoi c’était la merde ?
  • 9. Gestion de risque D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 9 - Probabilités par ordre de grandeur - 0,1% pour 1 site : 1 chance sur 1000 - 0,1% pour 100 sites : 1 chance sur 10 - 0,1% pour 3 millions : 3 000 fois
  • 10. Gestion de risque D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 10 - Probabilités en absolu - 0,1% pour 1 site : 1 chance sur 1000 - 0,1% pour 100 sites : 1 chance sur 10 - 0,1% pour 3 millions : 3 000 fois - Risque = Impact * Probabilité
  • 11. Le split brain D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 11 Split-brain is a computer term, based on an analogy with the medical Split-brain syndrome. It indicates data or availability inconsistencies originating from the maintenance of two separate data sets with overlap in scope, either because of servers in a network design, or a failure condition based on servers not communicating and synchronizing their data to each other. https://en.wikipedia.org/wiki/Split-brain_(computing)
  • 12. Vu d’un site web D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 12
  • 13. Répartition de charge et tolérance aux pannes D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 13
  • 14. Domaines de panne D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 14
  • 15. Différence P19 / Gravelines D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 15
  • 16. Contrainte des fichiers D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 16 - Dépendant des clients : code source / images/ javascripts… - Limites de rsync - Copie en mode bloc impose de migrer tous les clients d’un filerz
  • 17. Contrainte des clusters D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 17 - Infra coûteuses mutualisées par cluster (load balancer, IP…) - Changement des zones DNS difficile - Migrer les IP implique de migrer tous les clients d’un cluster
  • 18. Contrainte des bases de données D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 18 - Bases de données référencées avec les hébergement mais … - Connaissance exhaustive = maîtrise exhaustive des code source - Casser aucun site nécessite de migrer en même temps tous les sites
  • 19. Contrainte des bases de données (au carré) D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 19 - Accès aux bases de données par sous domaine - Mais fonctionnalité récente (4 ans) - Anciens usages incompatible avec Gravelines
  • 20. D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 20
  • 21. D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er Alors, comment migrer ? 21
  • 22. Casser les contraintes D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 22 En prenant en compte toutes les contraintes : - Soit migrer les sites 1 par 1 en comprenant leur code source - Soit migrer tout d’un coup (TCP over Trucks ?)
  • 23. Nommage des bases de données : proxy SQL D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 23 db 1 db 2 …. db 2500 mysql55-XXX.plan XXX db 2 …. db 2500 db 1 …. db 250 mysql55-XXX.plan-service dbXXX.plan P19 Gravelines
  • 24. Bases de données non référencées D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 24 - Tunnel réseau entre les deux datacentres - Impact : + 10ms de latence - « Best effort »
  • 25. Latence et SQL proxy D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 25 db 1 db 2 …. db 2500 mysql55-XXX.plan XXX db 2 …. db 2500 db 1 …. db 250 mysql55-XXX.plan-service dbXXX.plan P19 Gravelines db 1 db 2 …. db 2500 mysql55-XXX.plan +10 ms
  • 26. Contrainte des IP mutualisées D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 26 P19 GRA 127.0.0.1 ::1 À migrer Déjà migré
  • 27. Contrainte des IP mutualisées D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 27 P19 GRA 127.0.0.1 ::1À migrer Web Web Web Web Web Filerz Filerz Web Web Web Web Web Filerz Filerz
  • 28. Gestion des fichiers D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 28 Est-ce que cela pose un problème de migrer tous les clients d’un filer en même temps ?
  • 29. D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er Let’s migrate the party! 29
  • 30. Switch des IP D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 30 - Adaptation de notre système d’information - Patch du load balancer - Tunnel réseau - Outillage et monitoring
  • 31. Proxy SQL D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 31 - Automatisation des configurations - Déploiement 1 / 10 / 100 / 1000 - Quelques surprises : - Format de stockage des mots de passe dans MySQL - Table ARP - Gestion d’anciennes versions
  • 32. Découpage de la migration D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 32 - Migration filerz par filerz. - Bases de données associées migrées en même temps - 1 switch d’IP à la fois, donc 1 cluster à la fois - Choix des clusters par niveau de risque. Du moins au plus risqué
  • 33. Frise chronologique D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 33 Commande du matériel J-60 : Construction du cluster J-30 : Copie des filerz J-40 : Installation des filerz J-30 : Installation des bases J-30 : Communication J-15 : Communication J-10 : Test cluster J-7 : Switch IP J-1 : Accélération copie filerz Nuit 1 : Migration X filerz Nuit N : Migration dernier filerz J + 1 : Fermeture cluster P19 Dé-provisionning
  • 34. Switch IP (J-7) D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 34 1. Test du cluster de destination et tunnel réseau 2. Informer clients et support 3. Rediriger les opérations SSL 4. Configurer tous les certificats 5. Pour chaque adresse IPv4 / v6 ! • Basculer l’adresse IP • Tester les sites à Paris et Gravelines 6. Rediriger le CDN
  • 35. Migration d’un filerz : nuit D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 35 1. Tester des sites du cluster 2. Couper le monitoring des machines impactées 3. Lancer un incrémental 4. Passer les sites web en maintenance 5. Attendre le timeout PHP 6. Fermer l’accès aux fichiers sur le filerz 7. Lancer un dernier incrémental 8. Une fois que les données sont à Gravelines : migration des bases de données 9. Modification des configurations des comptes migrés (SI, infrastructure…) 10. Réouverture des hébergements 11. Attendre la fin de la migration des bases de données 12. Re-tester les sites web et vérifier le bon fonctionnement de la migration 13. Réactiver le monitoring 14. Prévenir les clients de la fin des opérations 15. Dormir
  • 36. Migration d’un filerz : et les bases D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 36 Pour chaque base de données : 1. Passage de la base en lecture seule (select uniquement) 2. Dump de la base de données 3. Import de la base de données à la destination et ouverture en lecture/écriture 4. Redirection du nom DNS de la base vers le nouveau serveur 5. Configuration du SQL proxy vers le nouveau serveur 6. Fermeture de la base à Paris
  • 37. Migration d’un filerz : et les bases D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 37 - Répartition des opérations sur tous les serveurs - Orchestration : stockage sur une base de données centrale
  • 38. Migration d’un filerz : et les bases D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 38 - Répartition des opérations sur tous les serveurs - Orchestration : stockage sur une base de données centrale - Record : 13 502 bases migrées en 1h13:31
  • 39. D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er Causons orga 39
  • 40. Les défis D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 40 - Technique. Mais on en a bien parlé - Infrastructure découpée en équipes spécialisées (bases de données, web, stockage, datacentres, production, support, load balancers, cdn, réseau…) - Legacy - Migration longue
  • 41. Organisation de la migration D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 41 1. Établir un scénario de migration 2. Implémenter et tester le scénario 3. Migrer et améliorer après chaque nuit
  • 42. Change management D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 42
  • 43. Plus de détails ? D at e F o o t er can b e p er so n alized as fo llo w : In ser t / H ead er an d fo o t er 43 • Why we decided to migrate three million websites? https://www.ovh.com/blog/web-hosting-why-we-decided-to-migrate-three-million-websites/ • How to host 3 million websites? https://www.ovh.com/blog/web-hosting-how-to-host-3-million-websites/ • How to migrate 3 Million web sites? https://www.ovh.com/blog/web-hosting-how-to-migrate-3-million-web-sites/ • How do our databases work? https://www.ovh.com/blog/web-hosting-how-do-our-databases-work/ • More soon on https://ovh.com/blog
  • 44. Des questions ? Merci ! Vincent Cassé @vcasse