Thursday, September 29, 2011

VMware View MP Issue II: DA Health doesn’t rollup to top level entity

Bumped into this issue. The VMware View MP was in place and functional. The Discoveries ran like clockwork: Objects and their related statuses were coming in. Also the Diagram View was getting its related Objects. Nice!

But after a few hours the top level entity of the DA still showed no status:
image

Cause
So time for a small investigation. First I ran Health Explorer against that Object. And with a single glance I knew why this Object didn’t get a status:
image
Exactly! Not a single Monitor is in place. Only the Parent Monitors, which are by default shown for any Object, but nothing else. So no matter what, but that Object will never ever get any status. Which is bad. Personally I don’t like DAs which have any component which are stateless.

Workaround
However, the second DA Component (View Connection Server Group (xxxxxx)) does have a status:
clip_image002

So why not borrow it by using a Dependency Rollup Monitor? The funny thing is with Monitors like these, they borrow/reflect the status of any other Monitor. So by themselves these Monitors aren’t monitoring anything. They just copy the status of any other Monitor.

How it was built
In the SCOM R2 Console: go to Authoring > Authoring > Management Pack Objects > Monitors. Hit the Change Scope option in the top level bar and select as Object VMware View Connection Server Groups > OK. Now the Object is shown. Collapse it by clicking on the plus signs and you have a view like this: 
image

Right click on Parent Monitor Availability > Create a Monitor > Dependency Rollup Monitor. And follow these screen dumps:
clip_image002[4]

Select as Monitor Target VMware View Connection Server Groups , as Parent Monitor Availability and empty the checkbox for the option Monitor is enabledNext

For Monitor Dependency select the sub node Availability under the node VMware View Connection Server Group (All VMware View Connection Server Groups) > Next
clip_image004

For Health Rollup Policy nothing needs to be changed > Next
clip_image006

For Alertingnothing needs to be changed (we don’t want too many Alerts, only a Health State) > Create
clip_image008

When the Monitor is created, create an Override For all objects of Class: VMware View Connection Server Groups by setting Enabled  on True and save the Override.
clip_image010

Now the top level DA component does have a valid Monitor and soon the DA will show the Health Status:
image

No comments: