Home > other >  It components concept is introduced
It components concept is introduced

Time:10-07

one, foreword
M version of research about it before, for it is the basic component version has a relatively simple to understand, now do the following summary, welcome Daniel to correct and guidance,

2, it infrastructure services

Basic service is the service of the deployment of it must be installed, but in fact horizon also not have to pack, but generally the web should be we both need a graphical interface management, so even in the basic service,



three, it storage services

Storage service also is the very best components in it, if we want our data can be independent of the virtual machine instance exist, even after the virtual machine instance deletion can continue to save the data, you need to store the data in storage, storage services are divided into object storage, block storage and three Shared file system, corresponding to three different types of storage requirements type



4, it Shared services

Shared services is providing public services to other it service component, has the following three services,



5, it background services

So-called background services that are the tenant does not directly use it service platform, but inside the platform is running with these services support, provide necessary back-end data storage and communication, etc., consists of the following three components:



6, it component details

The following part is the concerns of various components in detail,

1) glance component details

Here is to glance component of detailed content introduction:

glance - API
In charge of the whole glance service external API interface, receive mirror pull, upload, delete, and so on request; Because use stateless REST request protocol, can carry out lateral extension to balance load,

glance - registry
Responsible for the storage of virtual machine images and metadata management, such as image storage location, size and type, etc.,

Storage repository for image files
Support for multiple backend storage type, such as normal file system, object storage, Ceph block storage, HTTP, S3, etc.,

2) nova component details

Here are detailed in the nova components composition content introduction:

nova - API service
For nova module provides a unified API interface, all nova request to the service, can support it compute types of apis and amazon EC2 types of API; Because use stateless REST request protocol, can carry out lateral extension to balance load,

nova - compute service
Responsible for through virtualization hypervisor to manage each virtual machine instances of services, such as creating, delete the virtual machine instance,
The service support for different types of virtual machine hypervisor, for example:
XenAPI for XenServer/XCP
Libvirt for KVM or QEMU
VMwareAPI for VMware

nova - the scheduler service
Receives the virtual machine instance related request, in which physical machine to create a virtual machine

nova - conductor module
Responsible for the entire nova component interactions with the back-end database,

nova - novncproxy daemon
Provide web based forms of VNC connection to access a running virtual machine instance,

3) neutron component details

Below is for neutron component composition content is introduced in detail:

Neutron - server
And all of the API component functions similar, provide neutro component of external API interface, is responsible for the distribution of different API requests to different networking plug-in; Because use stateless REST request protocol, can carry out lateral extension to balance load,

it Networking plug-ins and agents
Responsible for scheduling service for providing basic network connectivity to the virtual machine plug-in, plug-in can support docking of all kinds of different network, for example:
Cisco virtual and physical switches
NEC OpenFlow products
The Open vSwitch
Linux bridging
VMware NSX product
At the same time, also provide the usual network agents, such as:
L3 Agents
DHCP Agents

4) cinder component details

Here are detailed in the cinder component composition content introduction:

cinder - API
And all of the API component functions similar, provide cinder component of external API interface; Because use stateless REST request protocol, can carry out lateral extension to balance load,

cinder - volume
The core parts of the Cinder service responsible for direct interaction with block device, by using their own management piece of equipment, to the virtual machine instance provides uniform block storage service, at the same time, he also support driven by loading different equipment manufacturers, to invoke the concentrated magnetic array of different manufacturers, provide lun directly on the virtual machine, and not through Cinder this layer forwarding service,

cinder - the scheduler daemon
And similar nova - the scheduler function, when creating a new piece of equipment, choosing the right piece of equipment storage nodes,

cinder - backup daemon
Backup services can provide a piece of equipment, is similar to that of the cinder - volume, driven by loading different equipment manufacturers, will backup block device to different storage systems or disk array,

5) swift component details

Here are detailed in the swift component composition content introduction:

Proxy servers - Proxy server (swift)
Foreign object service API, according to the information of the ring to find the service address and forwards the user request to the corresponding account, container or object services; Because use stateless REST request protocol, can carry out lateral extension to balance load,

The Account servers (swift - Account - server)

Provide RMB account data and statistics, and maintenance services of container list, each account information is stored in a SQLite database,

Container servers (swift - the Container - server)
Provide container metadata and statistical information, and maintain object contains a list of services, each container information is stored in a SQLite database,

Object servers (swift - Object - server)
Provide service object metadata and content, the content of each object is stored in the form of files in the file system, the metadata will be stored as file attributes, recommended XFS filesystem support extended attributes,

Various periodic the processes
All kinds of periodic operation services, in order to ensure the normal stability of object storage systems, including:
Replicator: will detect the local copy of partition and the remote is consistent, the specific is by comparing the hash file and high watermark to complete, when they found inconsistent with Push (Push) to update the remote copy, such as object replication service will use the remote file copy tool rsync to synchronization; Another task is to ensure that the marked delete objects from the file system to remove
Updater: when the object is due to the cause of the high load could not be immediately updated, the task will be serialized to the queued in the local file system, so that the service recovery after asynchronous update; For example successfully create the object container server no update list, this time the container of the update operation will enter line, update service will resume normal after scanning the queue in the system and corresponding updates.
Auditor: check the object, the integrity of the container and the account, if found than super error, the file will be quarantined, and copy the other copy to cover a copy of the local damage; Other types of errors will be record to the log,
Account Reaper: remove is marked as deleted accounts, delete it contains all of the containers and objects,

7, it typically deployed nodes planning



Pictured above, a typical it deployment topology is basically contain control nodes, compute nodes and storage nodes, when necessary, can separate the object storage and block storage nodes, if the tenant network internal routing have more demand for network nodes can be also stripped from the control node deployment alone, separation technology and all nodes can be deployed or merging deployment, can be adjusted according to actual demand,
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  •  Tags:  
  • it
  • Related