Posts Tagged ‘alerts’

DB2 notifications

February 16, 2012

Notifications are used in two parts of DB2 – Health Center and Task Center. Configuration is pretty simple. Go to Control Center – Task Center – Tools – Contacts and click on SMTP Server button. Fill here the FQDN of your mail server.  Then add contacts. After that you can use them during scheduled task configuration on Notifications tab.

To configure Health Center notifications go to Control Center – Health Center – Health Center – Configure – Alert Notification. In Configure Health Alert Notification window select instance and add contacts to Health Notification Contact List.

It may look like this is it. However, there is one issue we ran into. Sometimes DB2 sends emails using just a host name, without the domain part, like db2admin@sqldb2. All modern servers won’t allow sender address not in FQDN format. So we had to add DB2 server IP into white list on our Postfix mail server using check_client_access parameter.

Advertisement

DPM not sending alerts

November 1, 2011

I had funny experience today configuring notifications in Microsoft Data Protection Manager 2010. We have Postfix mail server instead of Exchange. Also we use SMTP authentication for outgoing mail from our users. DPM notifications configuration page has Username and Password fields for this. But simply using username and password of account registered in Postfix doesn’t work. It just says:

ID 2013

Details: Logon failure: unknown username or password

DPM needs this user to be registered in Active Directory. I have no idea why. So the simple solution to this was adding this account to AD with same password as in Postfix users database.

One more thing I’ve discovered is that for some reason Windows Server 2008 sends computer name without domain part in HELO command. Even though domain part is configured at System Properties. It wasn’t allowed in our mail server configuration. Solution to this was shifting of reject_non_fqdn_hostname option to the end of smtpd_recipient_restrictions (but before permit option) rule and addition of permit_mynetworks before it.