How To: Configure DynaCenter Console to Send Email Notifications on Task Completion
Reference Number: AA-00326 Views: 4601 Created: 09-08-2015 12:55 Last Updated: 09-29-2017 14:21

Applies To:

DynaCenter Console 1.0 and later (running on DynaCenter 6.1.0 and later)

Prerequisite:

This article assumes that sendmail is installed and correctly configured on the server where the DynaCenter Console is installed. 

Background: 

You can configure the DynaCenter Console to send an email notification when each migration or sync task is completed.  

Note: This feature might not work with some email providers that reject emails from unrecognized servers. Other providers might accept these notifications but mark them as spam.

Resolution: 

1. On the server where the DynaCenter Console is installed, open the following file in a text editor:

    /opt/race/tomcat/apache-tomcat-8.0.12/webapps/console-services/WEB-INF/classes/console.properties 

2. Set the following values in the console.properties file:

    # this setting is used to provide a hypertext URL link within the email to allow the user to conveniently return to the Console
    email_console_hostname=<external_IP_address>

    # this setting will appear to be the email sender.
    email_from_address=<address_to_send_notifications_from>

    # this setting is the addresses the email will be sent to.
    email_to_addresses=<comma_separated_list_of_recipient_addresses>

    Example
    email_console_hostname=dcconsole1.mycompany.com
  email_from_address=jdoe@mycompany.com
  email_to_addresses=jdoe@mycompany.com,jsmith@anothercompany.com

3. Save the changes.

4. Restart the Console services so that your changes can take effect:

    service dcconsole restart