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.
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.
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.
- Go to the Home –>Inventory—>Datastores view in the vSphere Client
- Right-click on your datacenter and create two new folders, one named LOCAL-COS-DATASTORES and one named SAN-DATASTORES.
- Drag and drop the local VMFS datastores into the LOCAL-COS-DATASTORES folder and the SAN datastores into the SAN-DATASTORES folder.
- Go to the alarm definition for “Datastore usage on disk” and disable it by clearing the Enable this alarm box.
- Create a new alarm at the LOCAL-COS-DATASTORES level named “Datastore usage on LOCAL Disks”.
- Configure the “Datastore usage on LOCAL Disks” trigger to alarm a warning at 90% and alert at 95%.
- Create a new alarm at the SAN-DATASTORES level named “Datastore usage on SAN Disks”.
- Configure the “Datastore usage on SAN Disks” trigger to alarm a warning at 70% and alert at 85%.
Now you should have a lot fewer datastore warning alarms.
Pingback: What does VMware know about storage? : The Akorri blog
Pingback: Virtualization Short Take #35 - blog.scottlowe.org - The weblog of an IT pro specializing in virtualization, storage, and servers
Pingback: Rescan VMFS results in a deadlock of vCenter Server 4.x « ICT-Freak.nl
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.
Pingback: VCAP-DCA Objective 1.2 – Manage Storage Capacity in a vSphere Environment | The world of Marc O'Polo – Blog
Pingback: Fixing ‘Datastore Usage on Disk’ Alarms when using Virtual SAN Software | Justin's IT Blog
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.
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
Pingback: Developing and Advancing Virtualization Expertise – VEPSUN TECHNOLOGIES
Pingback: VMware vSphere vCenter Storage Alarms | Jeremy Waldrop’s Blog – Bienvenue sur la KBelliot ;)