从 3.0 到 4.1 的使用 SnapCenter 的 VMware 备份可以在 VM 无法暂停时将 VMware Snapshot 保留在 VM 上
适用于
- 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.)
在备份期间,您可以看到已创建一些 VM 快照( 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