VMware Cloud Community
Nick_hyperic
Contributor
Contributor

Simple failover mechanism implementation using Hyperic HQ

We are trying to implement a simple failover mechanism using Hyperic HQ. We have a several hosts. One of them is designated as primary, others run in backup mode.

All hosts are mirrors of each other. Multiple indicators monitor status of each host. We want to setup an alert action that will perform failover. That is - if primary host triggers an alert, we want to send a signal to one of healthy backup nodes (it will become new primary).

We have no problems defining various custom indicators and failover actions. The only problem is how to connect them:

a) How to pass parameters to actions? For example, how to notify action which alert was triggered?

b) How to query status of indicators for other resources or alert history from action?
0 Kudos
1 Reply
mbaker3
Enthusiast
Enthusiast

Are you using the open source version or Hyperic Enterprise? Under HQEE you can call a script when an alert gets fired and the script gets all the alert parameters. In the open source version I think you would have to have Hyperic send an e-mail when the alert fires and then use that as the trigger. Could be a bit slow though.

Murray

0 Kudos