Chapter 5 Nova - 036 - Snapshot Instance Operational Details

Snapshot Instance Operational Details

 

Nova the Snapshot backup operation is called, its working principle is the image file instance (system disk) for full backup, it generates a type of image snapshot and save it to the Glance.

Backup and recovery from the operation called Rebuild.

 

Below is a flow diagram of the snapshot instance

 

1, sends a request to nova-api

2, nova-api send message

3, nova-compute operations performed

 

Detailed analysis:

1 , sends a request to nova-api

Customer (end-user can be OpenStack, may also be other programs) sends a request to the API (nova-api): "This Instance to be a snapshot"

 

2 , Nova-API sends a message

nova-api to send a message to Messaging (RabbitMQ): "do this snapshot Instance". Source code /opt/stack/nova/nova/compute/api.py, is snapshot.

 

. 3 , performing the operation Compute-Nova

  • Pause instance
  • For instance do a snapshot image file
  • Recovery instance
  • Snapshots uploaded to Glance
  • Snapshot successfully saved in the Glance
  • instance backup success

 

 

 

-------------------------------------------------- ---- quoted from -------------------------------------------- -------

https://www.cnblogs.com/CloudMan6/p/5510296.html

https://mp.weixin.qq.com/s?__biz=MzIwMTM5MjUwMg==&mid=2653587805&idx=1&sn=63957d4a93517d3ac98a4226db4adbda&chksm=8d308144ba4708523ce4512849e237f74c17cb5a1ecb1a7339dfb9b49dc018a5ecab6335ec35&scene=21#wechat_redirect

转载于:https://www.cnblogs.com/gsophy/p/11021709.html

Guess you like

Origin blog.csdn.net/weixin_34375233/article/details/93003100