MOM Notification Workflow Solution Accelerator
Quickstart Guide
Install SQL Notification Services SP1
Install Notification Workflow Solution Accelerator
Verifying installation is successful
Configure ASP.NET Impersonation
To Configure the Remote SMTP server:
Registering AppConfig.xml Changes
This document was
created out of a need to simply the NWSA installation process, which is not
fully documented in any single document, and is lacking on a couple of the
dependencies and installation steps in my humble option. To be fair, the
information exists in the NWSA user and installation of guides plus a couple of
MSKB articles, but I wanted to gather up all the details and boil it down to
the essential elements into a quick study so folks could get NWSA up and
running quickly and easily….without the need for knowledge of SQL Notification
Services.
If you find this
document helpful...or lacking in some way, I welcome your feedback.
I can be reached
at
·
Install components in the order
shown.
·
These
instructions assume NWSA is being installed on the MOM database server, as that is where the NWSA installation
BITS seem to direct the actual SQL database creation.
A distributed
installation is possible (database and web components on different servers),
but since the web component overhead is low, these instructions assume
installation of all components on the MOM database server. If you have
ultra-high performance requirements, consider a distributed installation and
size hardware components appropriately.
Verify the following on your MOM database server prior to beginning the installation process
·
Verify
.NET Framework 1.1 is installed and ASP.NET is enabled prior to installation of
remaining components.
·
IIS 6.0
should be installed and the default website running on the server where you
intend to install the NWSA.
·
SQL
Server and SQL Agent components should be running at the time of installation.
·
Your
MOM 2005 installation should be installed and fully functional.
·
A valid
SMTP server (Windows SMTP Server, Exchange Server must be available on your
network for
·
Default
script engine is set to CSCRIPT.
·
Verify
time is synchronized on MOM management and database servers.
·
Visit
Windows Update and make sure any critical updates have been applied, such as
critical .NET framework updates.
Download the software
from
http://www.microsoft.com/downloads/details.aspx?FamilyID=51d4a154-8e23-47d2-a033-764259cfb53b&DisplayLang=en

Download the
software from
http://www.microsoft.com/downloads/details.aspx?FamilyId=C943C0DD-CEEC-4088-9753-86F052EC8450&displaylang=en

Download the
software from
http://www.microsoft.com/downloads/details.aspx?FamilyID=ae73472b-5d7c-4266-94d4-7dde7e315b98&DisplayLang=en#filelist





Download the
software from http://www.microsoft.com/downloads/details.aspx?FamilyID=8D25C80D-C978-4B23-825A-7AE7B4775B0F&displaylang=en
For additional
info, see the "Notification Workflow Installation Guide.doc" in the
folder where you expanded NWSA


·
A valid logon ID, which consists of the domain and user name. This
should be written in the format Domain\User Name. This account will be
used to run the Notification Workflow service (N$NotificationWorkflow). I used my
MOM action account in this case, simply because I know it has administrative
privileges in my environment.
·
The user password corresponding to the logon ID.
·
The text that will be used in the From field in any
notification e-mails.
·
The polling interval (in minutes). This is the time period that
will be used to poll for new alerts from the MOM 2005 database. The value
that you choose for this property directly affects how fast you can receive
notifications once an alert is generated. Make sure that you consider your
service level agreement (SLA), if you have one in place, to determine the
optimized value for this property.
·
The name of the MOM Management Server. This is the name of server
where the Management Server of MOM is installed.
Assuming
installation is successful, type the following
address in Internet Explorer to access the Notification Workflow console:
http://<servername>/NotificationWorkflow.Web/HomePage.aspx,
where <servername> is the name of
the server where you installed the NWSA.
If the page fails to render,
you'll likely see the following error:
HTTP Error 401.1 -
Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)
This is because the Notification
Workflow virtual directory in IIS 6.0 is set to Anonymous access only be
default.
To resolve this issue, perform
the following steps.



Also, ASP.NET
impersonation is not configured by default. Impersonation is required to ensure
only users granted explicit permissions can access the site.
Perform the
actions in the following steps:
1.
Locate the Web.config file in \<Notification Workflow
installation folder>\Presentation\MSMNW.Web\.
2.
Locate the following text: <authentication
mode="Windows" />.
3.
Add the following text: <identity impersonate=”true”/>
immediately below the preceding section.
4.
Save the file.
5.
Run IIS Manager.
6.
Expand the Web Sites node.
7.
Expand the Default Web Site node.
8.
Right click the NotificationWorkflow.Web node.
9.
Click the Directory Security tab.
10. Click Edit in the
Authentication and access control section.
11. Clear the Enable anonymous
access check box.
12. Verify that the Integrated
Windows authentication check box is selected.
13. Restart the World Wide Web
Publishing Service.
We need to configure values for
the SMTP server that will be used to relay messages. While we could use the
local server, I prefer to use my existing SMTP server to handle notification
delivery. The remote SMTP server can be an Exchange Server, a Windows server
running SMTP, or even a non-Windows SMTP server.
Browse to the following directory
in the Notification Workflow installation path: C:\program
files\microsoft\notification workflow\Notification Workflow\AppDefinition. You
should see 2 XML files here; AppADF.xml and AppConfig.xml. To configure the
AppADF.xml and AppConfig.xml files, follow these steps:
5.
<FieldName>From</FieldName>
While the Notification Workflow database components live on the MOM database server, it makes more sense to forward alerts to an appropriate SMTP server for final delivery. By default, no SMTP server is specified in the AppConfig.xml file, nor are instructions on configuring this given in the NWSA Installation Guide. In this section, we’ll update the xml configuration file and then save changes to the NWSA application using NSCONTROL, a command line utility in SQL Notification Services.
<Arguments>
<Argument>
<Name>SmtpServer</Name>
<Value>EXCHSERVER</Value> (If you want to use the local server as
SMTP server as well, put LOCALHOST here!)
</Argument>
<Argument>
<Name>BodyEncoding</Name>
<Value>utf-8</Value>
</Argument>
</Arguments>
Changes to the
AppConfig.xml file must be registered with the Notification Workflow
application itself using a SQL Notification Services command line tool called
NSCONTROL. For more info on NSCONTROL, see SQL Notification Services Books
Online
NSCONTROL DISABLE -name "NotificationWorkflow"
NSCONTROL UPDATE -in "C:\Program Files\Microsoft\Notification
Workflow\Notification Workflow\AppDefinition\appconfig.xml"
SQLServer=<server> BaseDirectoryPath="C:\Program
Files\Microsoft\Notification Workflow\Notification Workflow" NSSystem=<server>
NSCONTROL ENABLE -name "NotificationWorkflow"
Subscribing
to MOM alerts requires configuration of 4 components on the Notification
Workflow Website.
·
Creating and Activating a
Subscriber
·
Setting that Subscribers Schedule
·
Defining Subscriber Devices
·
Subscribers
These
items are very well documented in the Notification Workflow User Guide, so I
won’t regurgitate them again here.
Prerequisites and configuration
settings that are required to make the Notification Workflow Solution
Accelerator fully functional with Microsoft Operations Manager (MOM) 2005
http://support.microsoft.com/default.aspx?scid=kb;en-us;894486
Also see the
following guides in the directory where you extracted the NWSA files.
·
Notification
Workflow Installation Guide
·
Notification
Workflow User Guide
More info on the
NSCONTROL utility and SQL Notification Services is available in SQL Notification
Services Books Online.
12/7/05 – Updated <bodyencoding> datatype in the AppConfig.xml section.
12/9/05 – Clarified SMTPServer options in AppConfig.xml section.