从3.0到4.1使用SnapCenter 进行的VMware备份可以在虚拟机无法暂停时将VMware Snapshot保留在虚拟机上
适用场景
- SnapCenter 3.0、3.0.1、4.0、4.1、4.1P1
- 适用于VMware的SnapCenter 插件
- vSphere 6.x
- ESXi 6.x
问题描述
在备份后查看虚拟机时、仍存在一个或多个在备份前不存在的虚拟机快照、备份完成后会显示警告。
如果已达到31个快照的限制、则备份将完全失败。
在插件的AEGIS日志中、您可能会看到以下内容:
com.netapp.aegis.vsphere.VsphereService An error occurred while quiescing the virtual machine. See the virtual machine's event log f or details. com.netapp.aegis.backup.QuiesceManager VMware snapshot status :
Failure com.netapp.aegis.backup.QuiesceManager exceptionDuringQuiesce : true ErrorCode (-1), ErrorMessage (Exception occurred when quiescing virtual machines: cluster_node1, cluster_node2, standalone-vm.
Please check 'Create virtual machine snapshot' task on vSphere Web Client or SnapCenter Plug-in for VMware vSphere logs f or detailed error message.)
在备份期间、您可以看到已创建一些虚拟机快照(VMware快照)、然后在作业结束时、SC未尝试删除这些快照、因为备份期间存在连接问题描述。这意味着SC与vCenter的通信将中断、并且无法识别VMware快照创建是否已完成、无论是否存在错误。
有关信息、请参见aegis.log
在此处、您可以看到由于连接错误而在创建快照时出现异常
2019-01-15T20:30:43.0000103Z WARN VSC com.netapp.aegis.vsphere.VsphereSnapshotServiceGot Exception while creating snapshot 'VSC__502d76c4-d544-4972-815c-3716c0fea0bc' : java.rmi.RemoteException: VI SDK invoke exception:java.net.ConnectException: Connection timed out: connect
2019-01-15T20:30:43.0000103Z DEBUG VSC com.netapp.aegis.backup.QuiesceManager VMware snapshot status : Failure
在VMware日志(vpxd.log)中、您可以看到"CreateSnapshot"已完成、但未显示任何错误
2019-01-15T20:30:13.090Z info vpxd[7F8CB3060700] [Originator@6876 sub=vpxLro opID=6648cc37] [VpxLRO] --BEGIN task-80754 -- vm-1638 -- vim.VirtualMachine.createSnapshot -- 5207a641-9b2c-a8ab-14ce-f21e274542c9(525effb7-e333-b4a2-6f4b-673cb2de3d7b)
2019-01-15T20:31:18.637Z info vpxd[7F8CB3060700] [Originator@6876 sub=vpxLro opID=6648cc37] [VpxLRO] --FINISH task-80754