ganeti
play

Ganeti The Cluster-based Virtualization Mangement Software Helga - PowerPoint PPT Presentation

Overview Architecture Customization In Production Current development Community Conclusion Ganeti The Cluster-based Virtualization Mangement Software Helga Velroyen (helgav@google.com) Klaus Aehlig (aehlig@google.com) August 24, 2013


  1. Overview Architecture Customization In Production Current development Community Conclusion Ganeti The Cluster-based Virtualization Mangement Software Helga Velroyen (helgav@google.com) Klaus Aehlig (aehlig@google.com) August 24, 2013

  2. Overview Architecture Customization In Production Current development Community Conclusion Virtualization To build your VMs (“instances”), you would take . . .

  3. Overview Architecture Customization In Production Current development Community Conclusion Virtualization To build your VMs (“instances”), you would take . . . • a bunch of physical machines (“nodes”) node node node

  4. Overview Architecture Customization In Production Current development Community Conclusion Virtualization To build your VMs (“instances”), you would take . . . • a bunch of physical machines (“nodes”) • some hypervisor, say Xen instance instance instance instance node node node

  5. Overview Architecture Customization In Production Current development Community Conclusion Virtualization To build your VMs (“instances”), you would take . . . • a bunch of physical machines (“nodes”) • some hypervisor, say Xen instance • some way to replicate storage, instance instance instance say DRBD node node node

  6. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps instance instance instance instance node node node

  7. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface instance instance instance instance node node node

  8. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface instance • Hypervisors: Xen, kvm, . . . • Storage: drbd, lvm, file, . . . instance instance instance • Network node node node

  9. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance • policies, balanced allocation instance instance instance node node node

  10. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance • policies, balanced allocation instance instance instance • Instance memory/disk size • CPU oversubscription node node node • tag-exclusion “Don’t put both name servers on the same node!”

  11. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance • policies, balanced allocation instance instance instance • and to stay there node node node

  12. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance • policies, balanced allocation instance instance instance • and to stay there node node node

  13. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance instance instance • policies, balanced allocation instance instance instance • and to stay there node node node • failover instances

  14. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance instance instance • policies, balanced allocation keeping N + 1 redundancy instance instance instance • and to stay there node node node • failover instances

  15. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance instance instance • policies, balanced allocation keeping N + 1 redundancy instance instance instance • and to stay there node node node • failover instances and evacuate nodes

  16. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance instance instance • policies, balanced allocation keeping N + 1 redundancy instance instance instance • and to stay there node node node • failover instances and evacuate nodes • rebalance

  17. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance instance instance • policies, balanced allocation keeping N + 1 redundancy instance instance instance • and to stay there node node node • failover instances and evacuate nodes • rebalance • Restart instances after power outage

  18. Overview Architecture Customization In Production Current development Community Conclusion Enter Ganeti While all this works on its own, Ganeti helps • to get there • uniform interface hypervisors/storage/. . . instance instance instance • policies, balanced allocation keeping N + 1 redundancy instance instance instance • and to stay there node node node • failover instances and evacuate nodes • rebalance • Restart instances after power outage • . . .

  19. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Cluster creation • gnt-cluster init -s 192.0.2.1 clusterA.example.com

  20. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Cluster creation • gnt-cluster init -s 192.0.2.1 clusterA.example.com • gnt-node add -s 192.0.2.2 node2.example.com

  21. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Cluster creation • gnt-cluster init -s 192.0.2.1 clusterA.example.com • gnt-node add -s 192.0.2.2 node2.example.com • . . .

  22. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Cluster creation • gnt-cluster init -s 192.0.2.1 clusterA.example.com • gnt-node add -s 192.0.2.2 node2.example.com • . . . • gnt-instance add -t drbd -o debootstrap -s 2G --tags=foo,bar instance1.example.com

  23. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Node maintenance Evacutating a node • gnt-node modify --drained=yes node2.example.com

  24. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Node maintenance Evacutating a node • gnt-node modify --drained=yes node2.example.com • gnt-node migrate -f node2.example.com

  25. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Node maintenance Evacutating a node • gnt-node modify --drained=yes node2.example.com • gnt-node migrate -f node2.example.com • gnt-node evacuate -f -s node2.example.com

  26. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Node maintenance Evacutating a node • gnt-node modify --drained=yes node2.example.com • gnt-node migrate -f node2.example.com • gnt-node evacuate -f -s node2.example.com • gnt-node modify --offline=yes node2.example.com

  27. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Node maintenance Evacutating a node • gnt-node modify --drained=yes node2.example.com • gnt-node migrate -f node2.example.com • gnt-node evacuate -f -s node2.example.com • gnt-node modify --offline=yes node2.example.com Using the node again • gnt-node modify --online=yes node2.example.com

  28. Overview Architecture Customization In Production Current development Community Conclusion Basic Interaction—Node maintenance Evacutating a node • gnt-node modify --drained=yes node2.example.com • gnt-node migrate -f node2.example.com • gnt-node evacuate -f -s node2.example.com • gnt-node modify --offline=yes node2.example.com Using the node again • gnt-node modify --online=yes node2.example.com • hbal -L -X

  29. Overview Architecture Customization In Production Current development Community Conclusion Jobs cli

  30. Overview Architecture Customization In Production Current development Community Conclusion Jobs cli gnt-cluster gnt-node gnt-instance ...

  31. Overview Architecture Customization In Production Current development Community Conclusion Jobs cli

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend