Unable to send email notifications from VCS.

book

Article ID: 100005314

calendar_today

Updated On:

Description

Error Message

tail  notifier-out_A.log
2011/01/07 10:36:03 VCS WARNING V-16-1-17051 Notifier:Unable to connect to host.domain.com
2011/01/07 10:36:03 VCS WARNING V-16-1-17036 Notifier:SMTP error 17051
 

/opt/VRTSvcs/log/engine_A.log reports:

2011/01/07 00:51:03 VCS WARNING V-16-1-17049 Notifier:Message 219 is being deleted since message cannot be delivered for more than a hour

Cause

The SmtpServer specified in the main.cf file is not an actual host

SmtpServer = "host.domain.com"

This host is a DNS MX record which is resolvable only by qualified Message Transfer Agents (MTA) such as Sendmail, which is why the VCS ntfr needs to be configured to use an actual host as its SMTP Server.

 

Resolution

Configure an an actual host as the SmtpServer. 

To change the server:

1. Make the configuration writable:
# haconf -makerw

2. Modify the SmtpServer attribute with the new server name:
# hares -modify ntfr SmtpServer "newhost.domain.com"  <<< Replace the current server with the new server name.

3. Make the configuration read-only:
# haconf -dump -makero

It is necessary to restart the the NotifierMngr agent for the change to take effect.An easy way to perform that is to OFFLINE and re-ONLINE the NotifierMngr resource.


Using the command line method, here are the commands to run (for this example, it is considered that node0 is the node where the NotifierMngr resource is ONLINE) :

# hares -offline ntfr -sys node0  
# hares -online ntfr -sys node0


 

Issue/Introduction

NotifierMgr is not working and not getting any email from the systems. However, sendmail is working on the systems.