Microsoft KB Archive/894486

= Prerequisites and configuration settings that are required to make the Notification Workflow Solution Accelerator fully functional with Microsoft Operations Manager (MOM) 2005 =

Article ID: 894486

Article Last Modified on 5/23/2007

-

APPLIES TO


 * Microsoft Operations Manager (MOM) 2005

-





SUMMARY
The Notification Workflow Solution Accelerator is a Microsoft SQL Server Notification Services-based application. With the Notification Workflow application, a user can be notified when alerts that are associated with specific applications or with Microsoft Windows services are generated. This article describes prerequisites and configuration settings that are required to make the Notification Workflow Solution Accelerator fully functional with Microsoft Operations Manager (MOM) 2005.



INTRODUCTION
This article describes configuration requirements for the installation of the Notification Workflow Solution Accelerator. This article also describes how to forward notifications to another server.

If the Notification Workflow application is not fully configured or is incorrectly configured, you may receive the following message in the Application log. (The source of the message will be &quot;NotificationWorkflow&quot;.) Event ID 7301 - The e-mail address or SMTP server value is not valid.



MORE INFORMATION
There are some known issues with the Notification Workflow application that are documented in the Notification Workflow User Guide. To download the Notification Workflow application, visit the following Microsoft Web site:

http://www.microsoft.com/downloads/details.aspx?FamilyID=8d25c80d-c978-4b23-825a-7ae7b4775b0f&displaylang=en

The Notification Workflow Installation Guide documents installation requirements. This guide and other Notification Workflow application guides are available when you download the application.

Prerequisites for installation
The Notification Workflow Solution Accelerator requires an SMTP server in order to send notifications. Therefore, install the Notification Workflow Solution Accelerator on an Exchange server. If an Exchange server is not available, you can install the application on a server that is running the Windows IIS SMTP service. In this scenario, you must configure IIS to forward notifications to an SMTP mail server such as an Exchange server. For more information about how to configure forwarding in IIS SMTP, see the &quot;To forward notifications to another server&quot; section.

You can also configure the IIS SMTP server to forward notifications to an external SMTP server. For information about how to configure the IIS SMTP service to work with an external server, visit the following Microsoft Web site:

http://www.microsoft.com/sql/ns/

Before you install the Notification Workflow application, create a mailbox for the NS$NotificationWorkflow service account on the SMTP server that will send notifications. Enable the mailbox by signing in to it from an e-mail client program, such as Microsoft Outlook Web Access. For example, type http:// /Exchange to sign in. Use the service account credentials.

Verify that the service account's e-mail address can successfully send an e-mail message.

The Notification Workflow application depends on Microsoft SQL Server Notification services. You must install these services on the same computer. SQL Server XML is also required. When you install the Notification Workflow application, you specify an account context for the NS$NotificationWorkflow service. This account must have administrative credentials on the server where you install the notification services.

Note These requirements are in addition to the requirements that are listed in the Notification Workflow Solution Accelerator Installation Guide.

Information that you must enter during installation
After you meet installation prerequisites, run the Notification_Workflow.msi file to install the Notification Workflow application. During installation, you will be prompted to enter the following information about the NS$NotificationWorkflow service account:
 * A domain and user name
 * A password
 * An e-mail address
 * A polling interval that the NS$NotificationWorkflow service will use to determine how frequently to poll for new alerts in the MOM 2005 database.

Post-installation tasks
After you install the Notification Workflow application, you must configure the AppADF.xml and AppConfig.xml files. These files are located in the \Notification Workflow\AppDefinition folder.

To configure the AppADF.xml and AppConfig.xml files, follow these steps:  Stop the NS$NotificationWorkflow service. Open the AppADF.xml file by using a text editor. Locate the From entry.  Make sure that the field value contains the e-mail address for the mailbox that corresponds to the NS$NotificationWorkflow service account.

For example, the entry should look similar to the following. From <SqlExpression>'NSAccount@testdom.com'</SqlExpression> Note You must enclose the e-mail address in single quotation marks. </li> Save the file.</li> Open the AppConfig.xml file by using a text editor.</li> Locate the &quot;<ProtocolName>SMTP</ProtocolName>&quot; entry.</li>  Add the following &quot;Arguments&quot; section after the entry. <Arguments> <Argument> <Name>SmtpServer</Name> <Value>EXCHSERVER</Value> </Argument> <Argument> <Name>BodyEncoding</Name> <Value>utf-8</Value> </Argument> </Arguments> This value of utf-8 is an example. The actual value of this argument depends on the application needs and the NS settings that were used. By default, UTF-8 (ASCII) is the value that Notification Services uses. If UTF-16 (Unicode) is the setting of your Notification Services application, use that value instead. For more information, visit the following Web site:

http://msdn2.microsoft.com/en-us/library/ms145866.aspx

For more information about declaring the SMTP delivery channel, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms172547.aspx

For more information about the &quot;Arguments&quot; section, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa257700(SQL.80).aspx

</li> In the &quot;Arguments&quot; section, change &quot;EXCHSERVER&quot; to the name of your Exchange or SMTP server.</li> Save the file.</li> Restart the NS$NotificationWorkflow service.</li></ol>

After you modify these files, use the Notification Workflow User Guide to create subscribers, subscriber schedules, subscriber devices, and subscriptions.

To forward notifications to another server
Follow these steps to forward notifications to an Exchange server that is not located on the MOM 2005 server or on the Notification Workflow server: <ol> Stop the NS$NotificationWorkflow service.</li> Set up a Default SMTP Virtual Server by using Microsoft Internet Information Service (IIS) on the MOM 2005 or on the Notification Services server. To do this, follow these steps.

Note The following steps are based on an Internet Information Service (IIS) 6.0 installation in Microsoft Windows Server 2003. <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type appwiz.cpl, and then click OK.</li> In Add or Remove Programs, click Add/Remove Windows Components, and then click Internet Information Service (IIS) in the Components box.</li> Double-click Internet Information Service (IIS), click SMTP Service in Subcomponents of Internet Information Services (IIS), and then click OK.</li> Click Next to complete the SMTP service installation.</li></ol> </li>  Re-configure the AppConfig.xml file so that it contains the name of the local SMTP server, the MOM 2005 server, or the Notification Workflow server.

For example, replace the &quot;SMTPSERVER&quot; value in the following text with the name of the server.

<Arguments> <Argument> <Name>SmtpServer</Name> <Value>SMTPSERVER</Value> </Argument> <Argument> <Name>BodyEncoding</Name> <Value>utf-8</Value> </Argument> </Arguments> For more information about declaring the SMTP delivery channel, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms172547.aspx

</li> Open Internet Information Service (IIS) Manager in Administrative Tools, right-click Default SMTP Virtual Server, and then click Properties.</li> To configure SMTP properties, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>On the General tab, leave [All Unassigned] in the IP address list. You may click to select the Enable logging check box.</li> <li>On the Access tab, click Authentication, click to select the Integrated Windows Authentication check box, and then click to clear the Anonymous access check box.</li> <li>Click Connection, and then verify that this configuration is set to All except the list below and that the list is empty.</li> <li>Click Relay, and then verify the following settings: <ul> <li>The default settings are configured to Only the list below.</li> <li>The list is empty.</li> <li>The Allow all computers which successfully authenticate to relay, regardless of the list above check box is selected.</li></ul> </li> <li>On the Messages tab, leave the default settings.</li> <li>On the Delivery tab, click the Outbound Security tab. Click Integrated Windows Authentication, and then type the name of the account that you are using for the NS$NotificationWorkflow service.</li> <li>Click Advanced. In the Fully-qualified domain name field, type the fully qualified domain name.

Note If you have to, prefix the local computer name with the fully qualified domain name.</li> <li>In the Smart host field, type the name of the Exchange server that will receive e-mail messages. The two check boxes in this dialog box should not be selected.</li> <li>On the LDAP Routing tab, click to select the Enable LDAP routing box. Type the name of a domain controller in the Server field. Leave Schema and Binding as the default selections for Active Directory and Anonymous respectively.</li> <li>On the Security tab, leave the default settings.</li> <li>In the Default SMTP Virtual Server Properties dialog box, click OK to apply the changes.</li></ol> </li> <li>Double-click Default SMTP Virtual Server, and then click Domains to verify that the fully qualified domain name of the local computer and the domain are displayed in the right pane.</li> <li>Right-click the computer name under Internet Information Services, click All Tasks, click Restart IIS, and then click Restart Internet Services on  in the What do you want IIS to do? list.</li> <li>Restart the NS$NotificationWorkflow service.</li> <li>Wait for the alerts that are included in the subscription to be generated and for the notification polling interval to pass.</li> <li>Verify that the notification workflow e-mail messages are being sent.</li></ol>

<div class="references_section">