Upgrade to Pro — share decks privately, control downloads, hide ads and more …

1 sysadmin vs 250 clusters

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

1 sysadmin vs 250 clusters

Avatar for Etienne Menguy

Etienne Menguy

November 19, 2019

Other Decks in Programming

Transcript

  1. OVHcloud 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 2 1 500 000 customers 2200 employees 380 000 Bare-metal servers
  2. Ceph at OVHcloud 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 Public Cloud Virtual machines Additional disks Additional disks Additional disks Additional disks Cloud Disk Array As A Service
  3. Evolution „2015 • 4 dev • 1 ops • 8

    clusters • 4 regions 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 „2019 • 9 dev • 250 clusters • 10 regions
  4. Daily work „1 sysadmin • Monitoring • Prodding • Support

    • Training • Deploying regions, servers • And the daily surprises 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 8 devs • Ceph as a service • Infra as code • Code review • Tests • R&D
  5. Ceph setup 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 Flashcache Flashcache Flashcache LXC Data LXC Data LXC Data NVME Partition Partition Partition x12 HDD HDD x12 HDD Flashcache LXC Data Bare-metal server 40Gbps NIC
  6. Ceph as a service „Autonomous users • Creating cluster •

    Managing users, pools, rights • Managing network • Cluster growth „Backup management • 500TB/day • Ceph -> Swift • Ceph -> Ceph 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 „Managing our infrastructure • Cluster upgrade • Deploy new ceph versions • Manage tasks • Host management • Network management • Containers management
  7. Infrastructure 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 Serveurs Conteneurs VM Instances BDD Puppet API Python API OVH RabbitMQ Celery
  8. Task management „ RabbitMQ „ Celery • https://github.com/ovh/celery-dyrygent • Complex

    workflow • Reliable • Monitoring • Web interface • Planned tasks • NVME replacement • Self healing • Triggered by monitoring probe • Executes any operation 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
  9. Example 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 start Check operation safety Lower disk weight Wait cluster_health_ok Remove disk from cluster Yes No Weight equals 0
  10. Continuous delivery „CDS • https://github.com/ovh/cds „Each pull request • Lint

    • Unit test „Daily prodding • All tests executed 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
  11. Infra as code 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
  12. Inconsistent hardware „Hardware profile • 12 profils on production •

    CPU • NVME • HDD „Firmwares „Ceph versions 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 • Generic tools • 1 profile = 1 cluster
  13. Monitoring „ Automatic downtimes by tasks „ Some alarms on

    working hours „ Services/hosts aggregation „ 143 000 services „ 25 000 hosts „ 3 infrastructures • 6 masters • 12 satellites 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
  14. Metrics „ Clusters metrics • Usage • Latency „ Hardware

    • Cpu, mermory usage • Cache hit ratio „ Service • KPI • Usage per openstack region 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 „ Metrics Data Platform • https://www.ovh.com/fr/data-platforms/metrics/ „ 13 Millions series „ 13 Billions points per day „ Performance • IO/s • Latency
  15. Logs „ Infrastructure • OS • Ceph „ Applications •

    CAAS • Celery / RabbitMQ • Uniq step/task ID „ API 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 „ Logs Data Platform • https://www.ovh.com/fr/data- platforms/logs/ „ 15 000 logs/second „ Graylog „ Filebeat
  16. 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 p ag e 17 Conclusion
  17. 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 p ag e 18 Questions?