跳转到主内容

BlueXP  如何创建和清除CVO的快照

Views:
3
Visibility:
Public
Votes:
0
Category:
cloud-manager
Specialty:
bluexp
Last Updated:

适用场景

  • BlueXP
  • Cloud Volumes ONTAP (CVO)

问题解答

Snapshot创建

  • 手动关闭Cloud Volumes ONTAP集群期间、BlueXP  会自动创建根磁盘和启动磁盘的快照。
  • 同样、也会在重新启动期间创建快照 、例如Cloud Volumes ONTAP单节点升级、崩溃等

清除快照工作流

  • BlueXP  的 操作 "清除云快照" 在OCCM /连接器启动后每24小时或3分钟触发一次。
  • 在此流中、BlueXP   会发出查找要清除的快照的请求。来自server.log:

2024-09-27 05:04:42,486 UTC INFO  [Purge Cloud Snapshots         ] [xxxxxxxx] [             ] [System         ] (oncloud-akka.actor.default-dispatcher-11535) [PurgeCloudSnapshotsActor:43] Got request to find snapshots to purge

  • BlueXP   可根据快照名称中的标签确定要清除的快照。对于单节点环境、它会查找标签"disk-root"和"disk-boot "。对于HA (高可用性)环境、它会查找"vm1-disk-root"、" vm2-disk-root "、"vm1-disk-boot"、" vm2-disk-boot "。来自server.log:

2024-07-27 06:32:17,320 UTC INFO  [Purge Cloud Snapshots ] [xxxxxxxx] [ ] [System ] (oncloud-akka.actor.default-dispatcher-11986) [PurgeCloudSnapshotsActor:47] Got request to purge cloud provider snapshots

  • 为了降低成本、BlueXP  会定期删除根磁盘和启动磁盘的旧快照。快照按降序排序、并保留2个最新快照、其余所有快照均被删除。
  • 当BlueXP    按保留期限和标签成功清除快照时,它会记录在BlueXP  时间线和连接器的server.log中:

clipboard_e31bdbc9921c879e9f59488df17a5d53c.png

2024-12-30 11:30:42,812 UTC INFO  [Purge Cloud Snapshots      ] [******] [        ] [System      ] (common-akka.actor.default-dispatcher-19) [OdinActor:122] <<<< Finish action <= Action Name: 'Purge Cloud Snapshots', Resource Key: '**********', Status: Success <<<<

追加信息

如果您发现快照数量存在任何差异,请查看您的云提供商的审核日志。 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.

 

  • 这篇文章对您有帮助吗?