Re: [Linux-HA] Hertbeat fail-over Email Alert

2014-09-29 Thread Lars Ellenberg
On Thu, Sep 25, 2014 at 09:29:23AM +0530, Atul Yadav wrote: Dear Admin, At the time of fail over initiated the mail should trigger . After completing the fail-over activity the mail should trigger. For example First Alert:- Fail-over initiated from Node1 to Node2 Second Alert::-

Re: [Linux-HA] Hertbeat fail-over Email Alert

2014-09-24 Thread Atul Yadav
Dear Team, I am not able mail alert as per above setup. please share alternate method or custom script for mail alert on fail-over. Thank You Atul Yadav On Tue, Sep 23, 2014 at 6:32 PM, Digimer li...@alteeve.ca wrote: Working, perhaps. But if you run into problems later, there aren't many

Re: [Linux-HA] Hertbeat fail-over Email Alert

2014-09-24 Thread Lars Ellenberg
On Tue, Sep 23, 2014 at 04:55:20PM +0530, Atul Yadav wrote: Dear Team , In our environment for storage HA, we are using heartbeat method. Our Storage HA is working fine with Heartbeat management. Now we need your guidance to setup the EMAIL alert at the time of fail-over happen and

Re: [Linux-HA] Hertbeat fail-over Email Alert

2014-09-24 Thread Tom Parker
Hi Lars Can you provide more details about this resource agent. The documentation is a little sparse. What events will cause an e-mail to be sent? Thanks! Tom On 24/09/14 06:53 PM, Lars Ellenberg wrote: On Tue, Sep 23, 2014 at 04:55:20PM +0530, Atul Yadav wrote: Dear Team , In our

Re: [Linux-HA] Hertbeat fail-over Email Alert

2014-09-24 Thread Atul Yadav
Dear Admin, At the time of fail over initiated the mail should trigger . After completing the fail-over activity the mail should trigger. For example First Alert:- Fail-over initiated from Node1 to Node2 Second Alert::- Fail-over completed from Node1 to Node 2 Thank You Atul Yadav On Thu,

Re: [Linux-HA] Hertbeat fail-over Email Alert

2014-09-23 Thread Digimer
Hi Atul, If this is a new setup, please use corosync + pacemaker. Heartbeat hasn't been developed in a long time and there are no plans to restart development, either. As for sending email, I don't think there is a default way to do it. I know there is the foghorn project that should

Re: [Linux-HA] Hertbeat fail-over Email Alert

2014-09-23 Thread Atul Yadav
Dear Team, Thanks for reply. But now storage HA working fine. If you have some scripts to trigger the alert, please share it. Thank You Atul Yadav On Tue, Sep 23, 2014 at 4:59 PM, Digimer li...@alteeve.ca wrote: Hi Atul, If this is a new setup, please use corosync + pacemaker.

Re: [Linux-HA] Hertbeat fail-over Email Alert

2014-09-23 Thread Digimer
Working, perhaps. But if you run into problems later, there aren't many heartbeat users left, so you might have trouble getting help. The script I use is here: https://alteeve.ca/w/AN!Cluster_Tutorial_2#Setting_Up_Alerts Note that it is built assuming you are using an Anvil!, which you are