mkruer
12 years agoLevel 4
Have VCS to send email to admin upon fault
We a looking for a way to have VCS sends off an e-mail alert when the cluster faults to an admin. Looking at some of the previous solutions, I have come across two possible solutions.
First I need to setup the traps to detect the fault.
https://www-secure.symantec.com/connect/forums/vcs-notifierhanotify
Then I need to create a resource to send an alert.
https://www-secure.symantec.com/connect/forums/alerting-feature-applicationha
Is this correct? I might need help with finding the correct trap status for the fault alert.
Thanks
No this is wrong you need to run:
haconf -makerw hares -add ntfr NotifierMngr ClusterService hares -modify ntfr SmtpServer = mailhost hares -modify ntfr SmtpRecipients mike@veritas.com Error hares -modify ntfr Enabled 1 haconf -dump -makero
If you don't have a ClusterService service group then you would need to create this group first.You should not edit the types.cf file - there is nothing that needs changing in here - the above commands add a resource to main.cf (which looks like resource in my last post), but if you edit main.cf, then you have to bounce VCS for it to take effect.Mike