Solved

vmware datastore capacity

Posted on 2012-03-22
7
490 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 118
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
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.

 

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 118
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 118
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:

911 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

23 Experts available now in Live!

Get 1:1 Help Now