Solved

zombie vm/disk

Posted on 2014-01-30
9
1,814 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 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) 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
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 
LVL 3

Author Comment

by:pma111
ID: 39821744
what is the overall fix, delete them?
0
 
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 119
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 119
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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

827 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