Solved

zombie vm/disk

Posted on 2014-01-30
9
1,688 Views
Last Modified: 2014-02-11
What is meant by the phrase "zombie virtual machine", "zombie vmdk"? What risks do they cause to your virtual infrastructure, and how can you find them? Is the risk they are uneccesarily consuming disk space? Do they pose any other risks?
0
Comment
Question by:pma111
  • 3
  • 2
  • 2
  • +1
9 Comments
 
LVL 13

Accepted Solution

by:
Abhilash earned 167 total points
ID: 39820856
They are basically orphened VM's that are not currently being managed by vCenter and are not completely got rid off.
Check this link
http://www.virtualizationsoftware.com/classification-detection-zombie-virtual-machines-tools-use/
0
 
LVL 16

Assisted Solution

by:gurutc
gurutc earned 167 total points
ID: 39820862
They definitely are consuming disk space.

Other than that they pose no risk.

- gurutc
0
 
LVL 118

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 166 total points
ID: 39821719
They could pose a risk if you do not know what they are get associated to inventory and powered up.
0
 
LVL 3

Author Comment

by:pma111
ID: 39821744
what is the overall fix, delete them?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 13

Expert Comment

by:Abhilash
ID: 39821801
You can double check this by checking if the disk is still linked to the VM which it should be a part off. If it isn't you can delete it from the datastore using the datastore browser. I would suggest you move it first before you delete is, just in case.
0
 
LVL 16

Expert Comment

by:gurutc
ID: 39821874
yes move it first is very smart.  that will truly test any hidden links.

- gurutc
0
 
LVL 118
ID: 39821969
Would you leave a physical server or desktop in your data centre, that did not know what it was therefore?

1. Remove all Zombie VMDKs or VMs.
2. They are a security risk.
3. Also it's not efficient, and you can reclaim the storage by deleting or archiving.

VMware Community Pack
http://www.virtu-al.net/featured-scripts/vmware-powerpack/

You can run a script above, that will list Zombie VMDKs, e.g. vmdks not associated with a VM.
0
 
LVL 3

Author Comment

by:pma111
ID: 39821994
can you install the aforementioned "vmware powerpack" on any machine and point it towards your vCenter application? or does the powerpack need to be installed/run from the vCenter VM itself?
0
 
LVL 118
ID: 39822022
Anyway workstation...

.I would recommend using the following, also VMware recommends the use of PowerCLI, which is PowerShell interface with vSphere-specific additions.

http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli

One of the simplest PowerCLI examples, and something which is actually extremely useful on its own, is the Get-VM cmdlet. Which lists VMs.

PowerCLI can be a bit overwhelming to use,  But it can be enhanced with a nice toolset and a library of preconfigured scripts to jump-start your mass changes, which is possible with PowerGUI

http://powergui.org/index.jspa

and

VMware Community Pack

http://www.virtu-al.net/featured-scripts/vmware-powerpack/
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vmare 6.5 and VUM appliance 3 63
VM migration error 7 41
Renaming VMware ESXi Hosts 5 63
TSM VMWARE - ERROR ANS5226E (RC 4379) -No backup 2 47
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now