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

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.

主站蜘蛛池模板: 临沧市| 文登市| 白水县| 华阴市| 逊克县| 平舆县| 寻甸| 长岛县| 天水市| 双辽市| 无棣县| 白水县| 安宁市| 永仁县| 疏勒县| 大城县| 浙江省| 义马市| 沈丘县| 德江县| 五华县| 敦煌市| 长海县| 望都县| 敖汉旗| 南宫市| 平潭县| 东丰县| 惠水县| 本溪市| 墨竹工卡县| 偃师市| 宁晋县| 驻马店市| 卓资县| 保康县| 贵南县| 乾安县| 得荣县| 闻喜县| 莱州市|