Forum Discussion

mkruer's avatar
mkruer
Level 4
12 years ago

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 ...
  • mikebounds's avatar
    12 years ago

    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