I recently setup a HA cluster between two linodes, I bascially followed these steps as listed here :
http://library.linode.com/linux-ha/ip-f ... untu-10.04
Everything is working well except that I'm trying to get a mailto primitive to actually work, but cannot.
I currently have this in my config:
primitive mail ocf:heartbeat:MailTo \
params email="alert@XXXXXX.com" subject="*** ALERT - Cluster Failover Event ***" \
op monitor interval="10" timeout="10" depth="0" \
When I run crm_mon though I have this:
mail (ocf::heartbeat:MailTo): Started ha02 (unmanaged) FAILED
also, under failed actions it says this:
mail_start_0 (node=ha02, call=208, rc=5, status=complete): not installed
mail_stop_0 (node=ha02, call=209, rc=5, status=complete): not installed
I was assuming it was going to use a sendmail command, which I've tested and works properly from the command line...
I'm extremely new to HA, I'm kinda lost and googling around isn't turning up anything really.... anyone have experience do this or similar?