?
Solved

vmware datastore capacity

Posted on 2012-03-22
7
Medium Priority
?
539 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 4

Expert Comment

by:roemelboemel
ID: 37751408
Why don't you use thick provisioning then?
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
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

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 123
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 123
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 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
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…
Suggested Courses

764 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