VMware vSphere vCenter Storage Alarms

One of the complaints of vCenter 2.x was the limited number of alarms that could be configured. With vCenter 4.x VMware addressed this by giving admins the ability to create alarms for just about any event on any object.

There are several alarms that are configured out of box and defined at the topmost vCenter server level.

image

One of the pre-configured alarms that seems to always be in a warnings state is the “Datastore usage on disk” alarm. 95% of the time this alarm is in a warning state because of the local VMFS data store that is required in ESX 4 for the Service Console OS to live in.

image

I still have yet to understand why VMware decided to put the COS in a VMDK. If anyone knows why this is beneficial I would love to here from you.

Anyway, back to the “Datastore usage on disk” alarm issue.

I have found that the following procedure is the best way to prevent this alarm on the local VMFS datastores.

  1. Go to the Home –>Inventory—>Datastores view in the vSphere Client
  2. Right-click on your datacenter and create two new folders, one named LOCAL-COS-DATASTORES and one named SAN-DATASTORES.
  3. Drag and drop the local VMFS datastores into the LOCAL-COS-DATASTORES folder and the SAN datastores into the SAN-DATASTORES folder.
  4. Go to the alarm definition for “Datastore usage on disk” and disable it by clearing the Enable this alarm box.image
  5. Create a new alarm at the LOCAL-COS-DATASTORES level named “Datastore usage on LOCAL Disks”.
  6. Configure the “Datastore usage on LOCAL Disks” trigger to alarm a warning at 90% and alert at 95%.image
  7. Create a new alarm at the SAN-DATASTORES level named “Datastore usage on SAN Disks”.
  8. Configure the “Datastore usage on SAN Disks” trigger to alarm a warning at 70% and alert at 85%.image

Now you should have a lot fewer datastore warning alarms.

9 thoughts on “VMware vSphere vCenter Storage Alarms

  1. Pingback: What does VMware know about storage? : The Akorri blog

  2. Pingback: Virtualization Short Take #35 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers

  3. Pingback: Rescan VMFS results in a deadlock of vCenter Server 4.x « ICT-Freak.nl

  4. COS in a VMDK could facilitate rollbacks if there are issues with an upgrade.

    This could potentially be extended to n backup instances for patching, etc.

  5. Pingback: VCAP-DCA Objective 1.2 – Manage Storage Capacity in a vSphere Environment | The world of Marc O'Polo – Blog

  6. Pingback: Fixing ‘Datastore Usage on Disk’ Alarms when using Virtual SAN Software | Justin's IT Blog

  7. I believe we wont be able to move the Datastores from different Datacenters in One Folder. As I have multiple datacenters and some of them share the datastores.

  8. Pingback: The world of Marc O'Polo – Blog VCAP5-DCA Objective 1.2 – Manage Storage Capacity in a vSphere Environment » The world of Marc O'Polo - Blog

  9. Pingback: Developing and Advancing Virtualization Expertise – VEPSUN TECHNOLOGIES

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