How do I configure mail notification for jobs and flows within Platform LSF (Load Sharing Facility) and Platform PM (Process Manager)?


Within Platform LSF and Platform PM, email notifications can be configured to be sent. Job notification emails are configured within Platform LSF, and flow notification emails are configured within Platform PM. Complete the following steps to configure each notification:

Allow Job Notification Emails to be Sent on Windows:

  1. Configure the following two parameters in %LSF_ENVDIR%\lsf.conf:
    • LSB_MAILPROG=lsmail.exe
    • LSB_MAILSERVER=SMTP:mail_server_name_or_ip
  2. Reconfigure the cluster, and restart sbatchd on ALL LSF servers.
    • lsadmin reconfig
    • badmin hrestart –f all
  3. In SMC, navigate to job PropertiesScheduling DetailsAdvanced General Email Notification, and specify under which circumstances LSF will send job emails.

Allow Job Notification Emails to be Sent on UNIX:

LSF simply uses the "sendmail" utility to send emails, so there is no further configuration needed. Complete the following step:

  1. In SMC, navigate to jobProperties Scheduling DetailsAdvanced General Email Notification, and specify under which circumstances LSF will send job notification emails.

Allow Flow Notification Emails to be Sent on Windows:

  1. Configure the following parameter in %JS_ENVDIR%\js.conf:
    • JS_MAILHOST=SMTP:mail_server_name_or_ip
    • JS_FLOW_STATE_MAIL=true (or leave it as undefined since its default value is true)
  2. Restart jfd in services.msc.
  3. In SMC, navigate to flowProperties Attributes and specify under which circumstances PM will send flow notification emails.

Allow Flow Notification Emails to be Sent on UNIX:

On UNIX, like LSF, PM uses “sendmail” to send notification emails so that JS_MAILHOST is not necessary. However, make sure that JS_FLOW_STATE_MAIL is true or not defined in js.conf. Complete the following step:

  1. In SMC, navigate to flowProperties Attributes and specify under which circumstances PM will send flow notification emails.

For further documentation about email notifications within Platform LSF and Platform PM, refer to the Administering Platform LSF and Administering Platform Process Manager documentation.