Posts Tagged "How To"

How to clear alarms in vSphere vCenter 4

I know this would seem like an easy thing and you might not give it a second thought. But if you’ve ever had an alarm that just wont clear and the virtual machine is no longer suffering from the event that caused it. Then you might benefit from the following suggestions that I came across. As always I recommend that you investigate each alarm and make sure that your are not ignoring any serious issues before clearing any alarms.

Sure alarms can alert you to some pretty serious events, but many are triggered by short term or non-reoccurring events. You might get an event for excessive CPU utilization due to something crazy happening on a Windows server. It passes or was dealt with by the SA and does not return. But that nagging alarm keeps staring you down each time you visit vCenter. Sure you have acknowledged the alarm and plenty of time has passed without a re-occurrence. But that little red diamond alarm still remains.

Option #1 is the simplest way and will not cause any interruptions to any tasks. This method will clear the alarms but it will clear them for all hosts, VMs, datastores or whatever you are clearing the alarm for. Also you must do this at the level that the alarm was created on, for example if the alarm was created at the Datacenter level then it will clear the alarm for every object in that Datacenter for the specific alarm that you are modifying. Once you located the correct alarm at the proper level you need to edit the alarm and uncheck the Enable this Alarm setting. Give it a few seconds for the command to complete then you can re-edit the alarm and enable it again. This will clear all occurrences of this alarm at this level and below.

Option #2 is a more manual way but will also only clear alarms on a specific host. With this method you need to be able to restart services on the host. I will usually just use Putty and SSH to the host and run from the command line. You the command that I have listed just below to restart the VPXA service and this should clear All alarms on this ESX host. Just be sure that you have looked at the cause of all alarms for this host before clearing them.

# service vmware-vpxa restart

If there are any other good options for clearing these alarms feel free to drop a note in the comments and I will update the post.

About Brian

Brian is a Technical Architect for a VMware partner and owner of this website. He is active in the VMware community and is helps lead the Chicago VMUG group. This blog Virtualize Tips was started to document and remember things that I come across while working with tech.

Mail | Web | Twitter | LinkedIn | More Posts (169)
read more

Beginners guide on how to setup HP MSA 2312sa Storage array

I recently setup a HP MSA 2300 series storage array. It was the SAS model with 4 enclosure trays. I have to admit that I have not setup one of these with Fiber or iSCSI but they are very similar other than the assign to host part. In the setup guide I cover how to configure the management interfaces, create Vdisks, create volumes and then assign them to hosts. It covers different ways to setup your hot spare drives.

After reading this short document you will be able to get that new MSA array up and running quickly. I set my array up to talk to a small 3 node vSphere cluster but the setup would be the same if you were using for a Windows cluster or most other uses.

You can download the PDF of the document How to Setup MSA array here.

Update 1-10-2011

I saw that someone else has created a Best practices document for the P2000 series. It’s not an official document but worth a look for new users. Have a look here.

About Brian

Brian is a Technical Architect for a VMware partner and owner of this website. He is active in the VMware community and is helps lead the Chicago VMUG group. This blog Virtualize Tips was started to document and remember things that I come across while working with tech.

Mail | Web | Twitter | LinkedIn | More Posts (169)
read more