pengjunling 发表于 2017-6-27 10:39:18

openstack ocata 的cell 和 placement api

  The Ocata openstack just>
cell introduce
  There is a video you can watch here. It is the introduction on Openstack summit.https://www.openstack.org/videos/video/nova-cells-v2-whats-going-on
  OK, then why we need CELL? Before CELL nova only have one database and one message queue. This is not HA or easy to scale.
  To resolve this issue, the concept of cell are promoted. Normally when we controller one vm, the procedure is
  

1. query database to get compute node hostname and vm information  
2. get message queue name by hostname and send message to queue
  

  Only one DB and one message queue service which will be the bottle neck.
  
After cell, the procedure is
  

find cell database, cell queue and compute hostname from top level DB  
find vm information from cell database
  
send message to queue
  

  So now we have multiple database and message queue service. This can isolate the error of other cell and improve performance

placement api
  placement api is a new service stack of nova. it was imported since newton. This service will manage resource provider so that resorce will register themselves and the resource inventory the provided
页: [1]
查看完整版本: openstack ocata 的cell 和 placement api