官术网_书友最值得收藏!

Gathering the pieces and building a picture

Let's try to see how OpenStack works by chaining all the service cores covered in the previous sections in a series of steps:

  1. Authentication is the first action performed. This is where Keystone comes into the picture. Keystone authenticates the user based on credentials such as the username and password.
  2. The service catalog is then provided by Keystone. This contains information about the OpenStack services and the API endpoints.
  3. You can use the Openstack CLI to get the catalog:
    $ openstack catalog list

The service catalog is a JSON structure that exposes the resources available on a token request.

  1. Typically, once authenticated, you can talk to an API node. There are different APIs in the OpenStack ecosystem (the OpenStack API and EC2 API):

The following figure shows a high-level view of how OpenStack works:

  1. Another element in the architecture is the instance scheduler. Schedulers are implemented by OpenStack services that are architected around worker daemons. The worker daemons manage the launching of instances on inpidual nodes and keep track of resources available to the physical nodes on which they run. The scheduler in an OpenStack service looks at the state of the resources on a physical node (provided by the worker daemons) and decides the best candidate node to launch a virtual instance on. An example of this architecture is nova-scheduler. This selects the compute node to run a virtual machine or Neutron L3 scheduler, which decides which L3 network node will host a virtual router.

The scheduling process in OpenStack Nova can perform different algorithms such as simple, chance, and zone. An advanced way to do this is by deploying weights and filters by ranking servers as its available resources.

主站蜘蛛池模板: 封丘县| 绥宁县| 青龙| 胶州市| 东乡县| 元氏县| 丰镇市| 洞口县| 七台河市| 锡林郭勒盟| 鄂托克前旗| 清水县| 宜春市| 缙云县| 嘉义县| 湖南省| 玛多县| 增城市| 黑龙江省| 高淳县| 万州区| 塘沽区| 汉阴县| 勃利县| 大邑县| 曲麻莱县| 清河县| 博爱县| 兴业县| 民乐县| 正定县| 镶黄旗| 昌黎县| 榆林市| 麻阳| 体育| 鲜城| 漯河市| 日照市| 德州市| 乌拉特中旗|