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

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.

主站蜘蛛池模板: 汕尾市| 鞍山市| 海兴县| 格尔木市| 安吉县| 时尚| 永修县| 电白县| 普格县| 高尔夫| 汶川县| 宁陕县| 环江| 获嘉县| 西青区| 鹤庆县| 隆子县| 永年县| 云林县| 昌乐县| 开平市| 武冈市| 津市市| 沂源县| 安塞县| 措勤县| 东兰县| 新营市| 张掖市| 镇安县| 大英县| 仁布县| 佛教| 温州市| 东平县| 正阳县| 黄冈市| 鸡东县| 东阿县| 泊头市| 香河县|