vDCA550-Objective 1.2-10-Create and analyze datastore alarms and errors to determine space availability

It is not good practice for a vSphere administrator when his production VM are having problem due to datastore storage availability issue.  There is couple of things which leads to this storage problem.

  1. When you are using thin provision storage in your environment and it’s overcommitted.
  2. Using snapshot in your environment.

Know issues when datastore is out of space

When your storage has space issue then you will face following VM issues

  1. Cannot power on a VM.
  2. Cannot create a new VM.
  3. Cannot create snapshot of a VM.
  4. Cannot vMotion a VM.
  5. Current VMs in the datastore are suspended.
  6. VMs cannot read/write on the Datastore.

Working and analyze the datastore alarm

In above previous objective of blue print “Configure datastore alarms” .I have created an alarm which analyze and alert you on vSphere as well email the the vSphere admin when datastore is overcommitted at certain level. Datastore provision alarm is helpful mostly for those datastore which have support for thin provision.  It is because NFS has the ability to over commit the storage from his defined size in the vSphere.

 In “Configure datastore alarms”, I have created a datastore alarm with following condition. It will trigger and email your as well show you a warning sign on datastore in vSphere when datastore is provisioned above 100% and turn into red when reached above 150% of the actual datastore capacity.

vDCA550-Obj-1-2-ConfDataStoreAlarm-04

Identify the Storage Issue?

As you can see below a yellow warning sign has appeared on my one of datastore name “SSD-Tag-Testing”

vDCA550-Obj-1-2-DetermineStorageAvailwithDSAlarm-01

What cause the alarm?

Alarm triggered because this datastore is supported thin provisioning. If you see below in the general setting of the datastore and specifically look the “capacity” section. Datastore total capacity is “9.50 GB” and provisioned space is “11.94 GB” which is more than his 100% of his available capacity.

vDCA550-Obj-1-2-DetermineStorageAvailwithDSAlarm-02

If you go into the event log of this datastore it will give the addition information about the alarm.

vDCA550-Obj-1-2-DetermineStorageAvailwithDSAlarm-03

How to resolve Storage space Issue?

There are some solutions available when you are having this problem

  1. Create an alarm for datastore for storage monitoring.
  2. Extend the datastore space (increase the LUN space if arrays supported or add another extend).
  3. Use storage vMotion to migrate some VMs to other datastore.
  4. Delete some unused ISO and snapshots.
  5. If your VM are paused than resume it.
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s