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

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.

主站蜘蛛池模板: 班戈县| 孟州市| 郸城县| 扶余县| 湖南省| 常宁市| 和平县| 西华县| 原阳县| 会同县| 平远县| 蒙阴县| 南陵县| 许昌县| 新干县| 桦南县| 高阳县| 澜沧| 贺兰县| 庆城县| 越西县| 民乐县| 无锡市| 安国市| 望谟县| 新泰市| 鸡东县| 聂荣县| 灵寿县| 永川市| 乡宁县| 新郑市| 天水市| 资溪县| 观塘区| 西峡县| 简阳市| 沅陵县| 攀枝花市| 军事| 磐安县|