Open stack изнутри

  • Published on
    22-Jun-2015

  • View
    553

  • Download
    2

Embed Size (px)

DESCRIPTION

, "" , ( ) , ( ), OpenStack Amazon Web Services - , (instances), , . XXI , , , - OpenStack , ; - OpenStack , , . , OpenStack , , OpenStack . OpenStack, , , , , .

Transcript

<ul><li> 1. OpenStack </li></ul> <p> 2. 10 - 5 3. 2008 - 140 1000+ 40 4. 5. failover- ( ) ( ) ( ) (mongo db is web scale) ( , ) 6. ( , ) - ( - -) ( , ) + 7. AWS (AWS ) ( - ephemeral) - ( m1.xlarge?) - 8. ? ( , ) AWS ( ) - ( hetzner Xeon E5-1650 64GB RAM 99 ) ( ) 9. OpenStack (+ ) , 10. OpenStack - http://www.openstack.org/software/ 11. The diagram below, illustrates the most common architecture of an OpenStack-based cloud http://www.solinea.com/blog/openstack-grizzly-architecture-revisited 12. OpenStack - Nova Neutron (Quantum) Cinder Glance Keystone Horizon Dashboard 13. OpenStack - http://ilearnstack.com/tag/openstack/ 14. OpenStack Nova Nova Nova: API Nova AMPQ Compute Conductor Compute Scheduler 15. OpenStack Nova 16. OpenStack Nova 1. Nova API 2. Nova API Nova Scheduler , 3. Nova Scheduler , . 4. Nova Scheduler Nova Compute , 17. OpenStack Nova 18. OpenStack Nova 5. Nova Compute . 6. Nova Compute , Nova Conductor 7. Nova Compute Nova Conductor 19. OpenStack Nova 20. OpenStack Nova 8. Nova Conductor 9.Nova Compute . 21. OpenStack Nova 22. OpenStack Nova MySQL QIPD RabbitMQ 7 23. OpenStack Nova Race condition , security group https://bugs.launchpad.net/nova/+bug/1202449 24. OpenStack Nova , security group (, ), security group https://bugs.launchpad.net/nova/+bug/1203413 25. OpenStack Nova suspend host- - My lessons learned are: NEVER PUT YOUR INSTANCE IN SUSPEND STATE!!! https://bugs.launchpad.net/nova/+bug/1052 696 26. https://twitter.com/lusis/status/436697765679468544 27. Neutron Neutron IP . Neutron , http://en.wikipedia.org/wiki/OpenStack 28. Neutron http://openstack.redhat.com/Netw orking_in_too_much_detail 29. Neutron 1. IP- DHCP ( ) [itsumma@cloud ~]$ cat /etc/sysconfig/network- scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes , 10.0.0.12 30. Neutron 2. TAP- - 31. Neutron 3. TAP-, , iptables , - 32. Neutron 4. TAP- br- int, Open vSwitch. Open vSwitch , http://openvswitch.org/ 33. Neutron 5. br-int br- ext, -, 34. Neutron 6. DHCP dnsmasq, network namespace linux, 35. Neutron [root@openstack itsumma]# ip netns exec qrouter-89f090d0-aa1e-4189-bfd8-b8381de2cc97 iptables -t nat -S -A neutron-l3-agent-OUTPUT -d x.x.x.126/32 -j DNAT --to-destination 10.0.0.16 -A neutron-l3-agent-OUTPUT -d x.x.x.123/32 -j DNAT --to-destination 10.0.0.18 -A neutron-l3-agent-OUTPUT -d x.x.x.245/32 -j DNAT --to-destination 10.0.0.13 -A neutron-l3-agent-OUTPUT -d x.x.x.124/32 -j DNAT --to-destination 10.0.0.19 -A neutron-l3-agent-OUTPUT -d x.x.x.244/32 -j DNAT --to-destination 10.0.0.9 -A neutron-l3-agent-OUTPUT -d x.x.x.125/32 -j DNAT --to-destination 10.0.0.20 -A neutron-l3-agent-OUTPUT -d x.x.x.122/32 -j DNAT --to-destination 10.0.0.17 36. , OS Reload , 37. http://itsumma.ru eapotapov@itsumma.ru http://twitter.com/eapotapov OpenStack </p>