Launching soon: The world's first vendor agnostic bug scrubLearn more & join waitlist

VMware - Defect ID: 2146185

How to monitor snapshot deletion using the vim-cmd command

Last updated on 5/6/2021

Overall
0N/A
Severity
0N/A
Community
0N/A
Lifecycle
0N/A

Vendor details

  • No defect details.

Purpose

This article provides information to monitor the snapshot deletion/consolation process using the vim-cmd command.

Resolution

To monitor snapshot deletion/consolidation using the vim-cmd command: Open an SSH shell session to the host that is performing the consolidation and snapshot deletion task by running this command: vim-cmd vimsvc/task_list You see a task similar to: (ManagedObjectReference) [ 'vim.Task:haTask-9-vim.VirtualMachine.removeAllSnapshots-304060994' ] Run this command in the SSH shell: vim-cmd vimsvc/task_info haTask-9-vim.VirtualMachine.removeAllSnapshots-304060994 You see output similar to: (vim.TaskInfo) { dynamicType = , key = "haTask-9-vim.VirtualMachine.removeAllSnapshots-304060994", task = 'vim.Task:haTask-9-vim.VirtualMachine.removeAllSnapshots-304060994', description = (vmodl.LocalizableMessage) null, name = "vim.VirtualMachine.removeAllSnapshots", descriptionId = "VirtualMachine.removeAllSnapshots",--running process> entity = 'vim.VirtualMachine:9', entityName = "SvC5sql01",---Virtual Machine name> state = "running",---make sure the status is running & is not in a error state> cancelled = false, cancelable = false, error = (vmodl.MethodFault) null, result = , progress = 33,---progress of task> reason = (vim.TaskReasonUser) { dynamicType = , userName = "root", }, queueTime = "2013-10-02T07:22:02.224526Z", startTime = "2013-10-02T07:22:02.225526Z", completeTime = , eventChainId = 304060994, changeTag = , parentTaskKey = , rootTaskKey = , } Note: A complete and successful consolidation of the snapshot will show state = "success" when you run the above command.

Related Information

如何使用 vim-cmd 命令监控快照删除vim-cmd コマンドを使用してスナップショットの削除を監視する方法

  • No bugs this month

Ready to prevent the next vendor outage?

BugZero | VMware BugID 2146185 - How to monitor snapshot deletion using the vim-cmd...