当前位置:网站首页>Openstack explanation (XI) -- openstack grace service theoretical knowledge

Openstack explanation (XI) -- openstack grace service theoretical knowledge

2022-06-09 09:50:00 Always a teenager

Today, let's continue to introduce the relevant knowledge of penetration testing , The main content of this paper is Openstack Glance Service theory knowledge .

One 、openstack Glance Service profile

Again Openstack in ,Glance It mainly provides image services , The creation of virtual machines requires Glance Support for .Glance Yes Glance-api and Glance-Registry Two important services , among Glance-api It mainly accepts the construction of cloud system images 、 Delete and read requests ,Glance-Registry It mainly provides registration services for cloud image systems .
Glance There is no need to configure the message queue , however Glance Need configuration Keystone authentication center , By default ,Glance Store the uploaded image in /var/lib/glance/images/ Under the table of contents .
Glance Support multiple image formats , Include raw、vhd、vhdx、vmdk、vdi、iso、qcow2、aki、ami etc. .

Two 、openstack Glance Service Architecture

stay Openstack in ,Glance The service architecture is shown in the figure below :
 Insert picture description here
In the above Architecture ,Glance api Responsible for receiving REST API Request , similar nova-api, And through other modules to complete the image search 、 obtain 、 Upload and delete , This module listens by default 9292 port .
Glance-Registry Responsible for working with MySQL Database interaction , monitor 9191 port , Metadata used to store or obtain images , And provide metadata related REST Interface .Glance-Registry There are two tables in the database of , One is image surface , Save the format and size of the image ; The other is image property surface , The customized information of the image is saved .
Image Store Is a storage interface layer ,glance Obtain the image through this interface .Image Store It supports Amazon Of S3、Openstack Of Swift、Ceph、sheepdog、ClusterFS And other distributed storage . It should be noted that ,Image Stoge It is mainly the interface for saving and obtaining images , Just an interface layer , Specific implementation also requires external storage support .
Originality is not easy. , Reprint please explain the source :https://blog.csdn.net/weixin_40228200

原网站

版权声明
本文为[Always a teenager]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206090922287165.html