Solved

vmware datastore capacity

Posted on 2012-03-22
7
499 Views
Last Modified: 2012-04-11
I have a datastore and more than half of the virtual machines on this datastores are thin provisoned, and some of them grow sometimes dynamically with 50 or 100 GB. I want to ensure that the datastore are not overprovisioned( GB given to all machine, not used at the moment) so in case of any incident  grow to have any issue with no free space, and my storage does not support extension of the LUNs so I will have a problem. How to ensure this?
0
Comment
Question by:dedri
7 Comments
 
LVL 4

Expert Comment

by:roemelboemel
ID: 37751408
Why don't you use thick provisioning then?
0
 
LVL 119
ID: 37751954
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 37752080
You can convert your VMs to 'thick' disk so you know exactly the capacity your datastore is using explicitly, as @hanccocka mentions. But instead of going through the long, drawn-out process of a V2V and converting your disks, just do it manually. See pg. 131 of the VM Admin Guide:
http://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-501-virtual-machine-admin-guide.pdf

Basically, just go into the datastore of the VMs (rt-click on datastore -> Browse Datastore). Go into each VM folder of each VM that has a thin-disk, rt-click on the .vmdk file, and select 'Inflat'. This will 'convert' the disk from thin to thick.

Regards,
~coolsport00
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

Author Comment

by:dedri
ID: 37752145
I don't want to use Thick virtual machine disks, but thin provisioned and I am looking for any way to find if my datastore is overprovisioned.
I don't trust to Datastore views Summary tab Capacity box, so I am looking for any other way to calculate it. Maybe some script which  calculate  it by Capacity minus FreeSpace plus Uncommitted. Or anything else that you can propose me.
0
 
LVL 119
ID: 37752168
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
 
LVL 119
ID: 37752170
Veeam Monitor for free


If you want a quick tool, to help you with wanting to know all the individual elements, then I would suggest using Veeam Monitor Free Edition

Veeam Monitor leverages Veeam Business View™ to enable performance monitoring, alerting and reporting for virtual machine groups based on criteria such as business unit, department, location, purpose, service-level agreement or any other criteria you define. This ability to perform business-centric monitoring helps to identify the business impact of a virtual infrastructure’s performance and respond accordingly. It also allows you to configure flexible alerts based on known server type characteristics and the potential business impact of an outage for more granular service-level management. You can also create targeted reports showing only the data relevant to specific business units, departments or types of server.
More features

Source
http://www.veeam.com/esxi-monitoring-free.html.
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 500 total points
ID: 37752227
Not sure how monitoring tools would work for you exactly, because 1. thin disk will only show what you're using, but that's not the only space user. You have 2. .vswp file space taking up DS space and, 3. memory overhead (albeit fairly miniscule...around 200-500MB per VM depending on VM mem allocation as well as VM vCPU allocation) taking up space; oh, and 4. potential snapshots of VMs taking up space. Without disks showing as 'thick', I'm not sure you can get any kind of monitoring tool to show "provisioned" as opposed what is actually being used.

~coolsport00
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

770 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