[Pacemaker] [pacemaker]Notification alerts when fail-over take place from one node to other node in cluster.
Vadym Chepkov
vchepkov at gmail.com
Tue Apr 26 11:14:55 UTC 2011
On Apr 26, 2011, at 7:00 AM, Rakesh K wrote:
>
> Hi Vadym Chepkov
>
> Thanks for giving the reply. As mentioned i am trying to configure MailTo RA
> with the Heartbeat from the command line
>
> i used the following configuration to configure it on the Heartbeat.
>
> primitive mail ocf:heartbeat:MailTo \
> params email="<emailid>" \
> params subject="ClusterFailover"
>
> and tried to restart the HA process using /etc/init.d/heartbeat restart
>
> when i do crm_mon
>
> it is unable to start MailTo process and digged into the ha-debug file and found
> the related information
>
> can u give some heads up on this issue so that i can proceed further.
>
> bash-3.2# cat ha-debug | grep MailTo
> May 26 10:34:39 hatest-msf3 pengine: [18575]: notice: native_print: mail
> MailTo[18614]: 2011/05/26_10:34:39 ERROR: Setup problem: Couldn't find utility
> May 26 10:34:40 hatest-msf3 pengine: [18575]: notice: native_print: mail
> May 26 10:34:40 hatest-msf3 pengine: [18575]: notice: native_print: mail
> May 26 10:34:40 hatest-msf3 pengine: [18575]: notice: native_print: mail
> MailTo[18635]: 2011/05/26_10:34:40 ERROR: Setup problem: Couldn't find utility
> May 26 10:34:44 hatest-msf3 pengine: [18575]: notice: native_print: mail
>
Actually, the log is very self-explonatory, you don't have mail utility installed.
$ rpm -qf `which mail`
mailx-8.1.1-44.2.2
Vadym
More information about the Pacemaker
mailing list