cancel
Showing results for 
Search instead for 
Did you mean: 

HA Notifier

kosh2013
Level 3

Hi all,

I've tried to configure the Cluster Notifier. Ok, I just needed to reconfigure it with a new IP and it was already setup. How can I test it now? I have tried to simulate a failed login and I can see the result in the engine_A.log:

2013/02/19 11:55:46 VCS WARNING V-16-1-10053 User fd does not exist
2013/02/19 11:55:49 VCS WARNING V-16-1-10053 User ds does not exist

The Notifier is configured to send mails when a Warning occurs. Is there any chance to see if the Notifier sends a mail? I have checked NotifierMngr_A.log which is empty. notifier-out_A.log shows only one single line after I have restarted the notifier:

2013/02/19 11:44:19 VCS WARNING V-16-1-17031 Notifier:activated signal 6

I'm asking because I haven't any access to the mail server it self.

Thanks,

Marek

1 ACCEPTED SOLUTION

Accepted Solutions

arangari
Level 5

AFAIK,  VCS will not send any information about user login errors. the messages are sent for group, resource, system, cluster, agent objects. 

 

also an explicit addition using 'hanotify' will be sent to notifier. 

 

View solution in original post

5 REPLIES 5

mikebounds
Level 6
Partner Accredited

Do you not have an email account on the mail server so you can configure your email to check if you get messages.  Alternatively you can set SmtpServer to localhost so send to a local UNIX email account like "root@fqhn_of_cluster_node".

If you want to send emails to an external mail server, then you should check your host is setup for example by using mailx from a cluster node, something like:

mailx -s "This is a test" marek@company.com  < /dev/null

Mike

kosh2013
Level 3

Hi,

sorry for the late reply. I can write a mail to myself with mailx. But when I configure the Notifier to 127.0.0.1 then nothing happens. Just nothing. No log file will be wirtten and no mail appears. Even /var/spool/mqueue stays empty. I ran already snoop to see any smtp traffic but still nothing happens.

Marek

kosh2013
Level 3

Ok,

tested more:

1. Activated mail.info in syslog.conf and restarted it (/var/log/maillog).

2. Restartet sendmail and sent a mail via mailx. Log maillog inidicates clearly an incoming mail etc.

3. Reconfigured Notifier to Server 127.0.0.1 and Warning:

hares -value ntfr SmtpServer
127.0.0.1
hares -value ntfr SmtpRecipients
mail@example.com    Warning

4. Saved and Closed the configuration.

5. Took ntfr offline and back online.

6. Tried to login into the cluster via GUI as root with a wrong password. engine_A.log indicates a failed login:

WARNING V-16-1-50132 User root, logging in from 10.0.0.1 has wrong password

7. No mail sent

arangari
Level 5

AFAIK,  VCS will not send any information about user login errors. the messages are sent for group, resource, system, cluster, agent objects. 

 

also an explicit addition using 'hanotify' will be sent to notifier. 

 

kosh2013
Level 3

OK, didn't knew that. But hanotify gave me the final hint: http://sfdoccentral.symantec.com/sf/5.0/hpux/manpages/vcs/hanotify_1m.html