Install and Configure Exchange Server 2007 Monitoring and Data Collection

Cc539040.chm_head_left(en-us,TechNet.10).gif Cc539040.chm_head_middle(en-us,TechNet.10).gif Cc539040.chm_head_right(en-us,TechNet.10).gif

Install and Configure Exchange Server 2007 Monitoring and Data Collection

In this section you install and configure Microsoft Exchange Server 2007 monitoring and data collection.

Tasks

  1. Install the Exchange Server 2007 Management Pack
  2. Create Test Mailboxes for OWA, ActiveSync, and Exchange Web Services Connectivity Monitoring
  3. Enable External Outlook Web Access Connectivity Monitoring
  4. Add the MOMService User Account as a Member of the MPSExchangeAccts Group
  5. Install the Exchange Data Collection Application

Prerequisites

Install the Exchange Server 2007 Management Pack

Install the Exchange Server 2007 Management Pack into Microsoft Operations Manager (MOM) 2005.

Procedure DWHE.114: To install the Exchange Server 2007 Management Pack on MOM01

  1. On MOM01, install the Exchange Server 2007 MOM pack, Exchange2007ManagementPackForMOM2005.msi, using default settings.
  2. In the MOM 2005 Administrator Console left pane, expand Microsoft Operations Manager (MOM01), right-click Management Packs, and then select Import/Export Management Pack....
  3. Click Next on the Welcome screen.
  4. On the Import or Export Management Packs page, leave the default Import Management Packs and/or reports selected and click Next.
  5. On the Select a folder and Choose Import Type page, click Browse and navigate to C:\Program Files\Microsoft Operations Manager 2005\Management Packs\Microsoft Exchange 2007 Management Pack. Leave the default Import Management Packs and reports selected, and then click Next.
  6. On the Select Management Packs page, select Exchange2007ManagmentPack.akm. Leave the remaining settings at defaults, and then click Next.
  7. On the Select Reports page, select Exchange2007Reports.xml and then click Next.
  8. On the Secure Socket Layer Confirmation page, click Continue.
  9. Complete the installation of the Exchange Server 2007 MOM pack.

Create Test Mailboxes for OWA, ActiveSync, and Exchange Web Services Connectivity Monitoring

The Exchange Server 2007 Management Pack uses cmdlets to test Microsoft Office Outlook Web Access (OWA), Microsoft ActiveSync, and Exchange Web Services connectivity from Client Access servers to Mailbox servers. These cmdlets require that a test mailbox be created on each Exchange Server 2007 Mailbox server that is to be tested. In this procedure you create test mailboxes for OWA, ActiveSync, and Exchange Web Services connectivity monitoring by using PowerShell to run the New-TestCasConnectivityUser.ps1 script. The appropriate mailbox is created on each Mailbox server by piping in the results of get-mailboxServer.

Procedure DWHE.115: To create a test mailbox for OWA, ActiveSync, and Exchange Web Services connectivity monitoring

  1. On EXMBX02, open PowerShell and change directory to the C:\ Program Files\Microsoft\Exchange Server\Scripts folder.
  2. Execute the following command: <pre IsFakePre="true" xmlns="https://www.w3.org/1999/xhtml">get-mailboxServer | .\new-TestCasConnectivityUser.ps1</pre>
  3. Follow the on-screen installation instructions to complete the creation of the test mailbox.

Enable External Outlook Web Access Connectivity Monitoring

Next, you will set an external URL on your Outlook Web Access virtual directory. To set an external URL, you need to run the Set-OwaVirtualDirectory Exchange Management Shell command.

Procedure DWHE.116: To enable external Outlook Web Access connectivity monitoring

  1. On EXCASUM01, open PowerShell.
  2. Execute the following command: <pre IsFakePre="true" xmlns="https://www.w3.org/1999/xhtml">set-owavirtualdirectory "excasum01\owa (Default Web Site)" -ExternalURL HTTPS:\\Webmail.ConsolidatedMessenger.com</pre>

Add the MOMService User Account as a Member of the MPSExchangeAccts Group

Add the MOMService user account as a member of the MPSExchangeAccts group in Active Directory directory service. The MOMService account is used to gather data from Exchange, and membership in the MPSExchangeAccts group grants this access.

Procedure DWHE.117: To add the MOMService user account as a member of the MPSExchangeAccts group

  1. On AD01, click Start, point to Administrative Tools, and then click Active Directory Users and Computers.
  2. Expand fabrikam.com, and then highlight Users.
  3. Right-click MPSExchangeAccts, and then click Properties.
  4. Select the Members tab, and then click Add.
  5. In Enter the object names to select, type MOMService, and then click Check Names. Verify that the MOMService account is underlined, click OK, and then click Add.
  6. Click OK to close the Properties dialog box.

Install the Exchange Data Collection Application

The Exchange data collection tool is an executable program (Exchange Data Collection) that you install on EXMBX02. You need to install the tool, modify its ExchangeServerNames.xml config file, and then create a scheduled task to run the tool.

Procedure DWHE.118: To install the Exchange data collection application

  1. On EXMBX02, from the solution installation media \Monitoring and Reporting\ directory run Exchdatasetup.msi .
  2. On the Welcome page select Next.
  3. On the Select Installation Folder page, leave the Folder field set to the default installation folder, and then select Everyone. Select Next to continue.
  4. On the Confirm Installation page, select Next to start the installation.
  5. On the Installation Complete page, select Close.

Procedure DWHE.119: To modify the ExchangeServerNames.xml file

  1. On EXMBX02, in Microsoft Windows Explorer, navigate to the C:\Program Files\Microsoft Hosting\Reporting\Exchange Data Collection folder.
  2. Edit the ExchangeServerNames.xml file. Add a line for each Exchange mailbox server in your deployment. For clusters, include an entry for the virtual server name. Two examples would be:<pre IsFakePre="true" xmlns="https://www.w3.org/1999/xhtml">&lt;Server&gt;EXMBX02&lt;/Server&gt;</pre> ``FakePre-11166959e26249459b687e95f35f7fe3-a45b98c1a4db4991ba1344b0743e1864
  3. Save the file.

Procedure DWHE.120: To create a scheduled task to run the data collection application

  1. On EXMBX02, go to Start, Control Panel, Scheduled Tasks, and then click Add Scheduled Task.
  2. In the Scheduled Task Wizard, click Next.
  3. Click Browse, navigate to C:\Program Files\Microsoft Hosting\Reporting\Exchange Data Collection select the file Exchange Data Collection and then click Open.
  4. Select Daily, and then click Next.
  5. Set Start Time to 1:15 AM, and then click Next.
  6. Enter the Fabrikam\MOMService user name and password, and then click Next.
  7. Select Open advanced properties for this task when I click Finish and then click Finish.
  8. In the Task tab, on the Run line, change the line to append -d PWDB40 -s MOMSQL01. For example:<pre IsFakePre="true" xmlns="https://www.w3.org/1999/xhtml">"C:\Program Files\Microsoft Hosting\Reporting\Exchange Data Collection" -d PWDB40 -s MOMSQL01</pre> and then click OK.
  9. Re-enter the password for MOMService.

Add MomActionAccts group to the local Administrators group on each Exchange server.

Procedure DWHE.121: To add the MOMActionAccts group to the Local Administrators group on each Exchange server

  1. On each Exchange server, open Administrative Tools, and then click Computer Management.
  2. Expand Local Users and Groups, and then click Groups.
  3. Double-click Administrators.
  4. Click Add, and then type MOMActionAccts.
  5. Click Check Names to make sure that the name resolves, and then click OK.