Subscribe via RSS Feed Connect on LinkedIn

How to Setup Lync 2010 SCOM Management Pack and Synthetic Transactions

20/01/2013 23 Comments

It’s not news that Lync has a pretty comprehensive and useful SCOM Management Pack,

It includes a number of “Synthetic Transactions” that can be run against a pool with test

users to check everything is working as expected.

Here are the high level steps for deploying it. I really encourage it if you have SCOM in your environment.

There is also a decent document included in the management pack download, but here are the steps

with screenshots.

I did this on the following setup

    • Lync 2010 SE, CU6
    • SCOM 2007 R2
    • SQL 2008 (SCOM backend)
    • Windows Server 2008 R2 “Watcher Node”

We’ll assume SCOM 2007 R2 is setup and working nicely.

The “Watcher Node” is just a server that the Synthetic Transactions are run from,

so a Standard Windows Server with SCOM and Lync core components.

Initial SCOM Setup for Lync Severs and Lync Management Pack

On SCOM, ensure the relevant Servers are discovered and have management packs installed:

image

image

 

image

Ensure your Agent Properties allow Agent Proxy, it won’t work without this.

image

OK now we are ready to install the Lync management pack:

image

Download Management pack now only seems to list 2013

image

Since this is a pure 2010 environment I went and downloaded the 2010 management pack

http://www.microsoft.com/en-gb/download/details.aspx?id=12375

Install management pack on SCOM

image

Import into SCOM:

image

Select “from disk”

image

It will then take a while to discover your topology (took about 5 mins in my lab)

image

 

Up to this point SCOM and the Management pack is working, but with no synthetic transactions, this is still useful, but Synthetic transactions add real value.

 

Adding Synthetic Transaction Setup

On the Lync SE, setup a new trusted app pool and trusted application for the watcher node

image

image

 

On the Watcher Node, install the Lync core components.

image

clip_image001

clip_image002

clip_image003

Enable Lync

image

Start Replication

image

CU6 the Watcher Server (or same CU as your Pool)

image

On the watcher node add the following registry key:

image

 

Add the Lync Watcher Node Computer to the RTCUniversalReadOnlyAdmins

image

Restart the Watcher Node server after the group change.

Create Two users, enable them for Lync in the usual way on the pool you want to test (you need two users per pool you are going to test and enable them for Lync)

Note, any tests will respect these users Voice Policies (for example Test-CSPSTNPeertoPeerCall)

image

Define these users to be used as the CSHealthMonitoringConfiguration for the Pool (Lync uses Cert Auth to impersonate the users for the tests)

image

Enable-CSComputer the Watcher Node again

From the Watcher Node, check you can register to the pool

clip_image003[4]

You can see there is a “HealthService” that actually runs the transactions, you may need to restart this to kick it off.

image

Giving it about another 5 minutes and we can see in SCOM the Synthetic Transactions are active Smile

image

 

 

Initial Errors I hit with Synthetic Transactions and Fixes

I hit a few problems with the Synthetic Transactions initially, here are some tips:

Simple one, my Address Book had no entries (new lab) so I hit this, fixed when entries were added

image

You may need to define firewall exceptions on the Pool/Watcher node to allow the Transactions to run (there is no Lync client install making the normal firewall exceptions)

image

The meet simple URL seems to hit a bad URL by default.

image

image

Changing this test to hit a graphic that gets served correctly worked around the issue.

https://meet.lab20.com/meet/Resources/CommunicatorLogoType.png

Useful? Please take a second to shareTweet about this on TwitterShare on LinkedInShare on Google+Email this to someone
Tom Arbuthnot

Tom Arbuthnot

Managing Consultant at Modality Systems
Tom Arbuthnot is a Microsoft Lync Certified Master and MVP. He is a blogger, regular on The UC Architects Podcast, contributing writer to Lync Server 2013 Unleashed and speaker at events such as Lync Conference and The Microsoft UC User Group London. He is currently Managing Consultant at Modality Systems.
Tom Arbuthnot
Filed in: Lync, Microsoft • Tags: ,

Comments (23)

Trackback URL | Comments RSS Feed

  1. Nandokcs says:

    Hello Tom,

    Very useful post!
    I would like to know if there is any possibility of changing how often the tests in the watcher node are run. We would like it to run them each 15 min and not every 5 min, would that be possible?

    Many thanks in advance.
    Best,
    Fernando.

    • Hi,

      This is all built into the management pack, so I don’t think you can officially change it, but the management pack is just XML, so it’s easy to “break open” and recreate you’re own MP or Script.

      hope that helps

      Tom

  2. JeffCSP says:

    Hi Tom,

    Great article. Just a heads up, the formatting with the sidebar at the top of the article is blocking some of the content. I looked with IE 9, Firefox and Chrome.

    Cheers,
    JeffCSP

    • Jeff,

      Many thanks for pointing this out! I don;t notice in windows live writer/RSS

      I’ll have to see what’s up with my theme, but fixed for now

      thanks

      Tom

  3. Biks says:

    Tom,

    Thanks for this blog about Lync and OpsMgr.

    Br
    Biks

  4. Hi Tom,

    This is just what I was looking for! Thanks a bunch! I’d wondered why SCOM wasn’t showing anything under the Synthetic Transaction monitoring, despite my having done the New-CsHealthMonitoringConfiguration thing and seen the Test-CsIM etc. cmdlets run those synthentic test accounts. Our SCOM guy set up the Lync Management Pack before I joined the project, so I’m playing catch-up.

    How hungry is the Watcher – is it safe to combine with other stuff, or does it really need its own server? Do you mind sharing the basic specs for your Watcher node?

    – Amanda

  5. Jose says:

    Hi Tom, is there any significant difference in setting up a watcher node for an external Edge server, besides the normal SCOM agent and certificate configuration?

    • You mean watching from external? I’ve not done that yet to be honest. Though I’d like to try. Interested in how you get on

      • Jose says:

        Did yoy have a chance to look into that? I’m facing the situation now I could give it a try, but I wonder exactly how that would work. I wonder ho different the config would be, I mean, how do you then the WN to hit the edge server instead of the FE server?

  6. Sonia says:

    Hi,

    I am not getting any lync 2010 reports after installing Management Pack. is there any setting require ?

  7. Sonia says:

    Lync server related reports. as we saw reports related to Exchange, Ad, Sql etc.,

    or Lync doesn’t provide any related reports after Lync 2010 MP installation. kindly suggest how to get the related reports.

  8. Sonia says:

    Hi, I am able to see the Lync servers in Monitoring, but reports are not there.

    suggest me if any changes require

  9. Jose says:

    Hey Tom, did you have any issues with the PSTN transactions? Just setting the phone numbers for the testing accounts would do the trick or would we require a gateway in order to put the calls? I see by your screenshot that they seem to be go, so I wonder…
    Thank you,

  10. AK says:

    Hi, after installing Lync MP i don’t see the servers in the Pool or sites view, but i can see FE servers in Discovery state view and the LS Discovery script assigned to one server and its healthy, also the Lync alerts and monitors are not generated, in short the lync MP discovery is not happening.

  11. Lync-Man says:

    After installing the Lync Server management pack 2010, Unable to view any Lync objects.
    Same like AK comment

    Other management packs are working fine, In Discovery state view I find only one server.

    What actions has to be performed on Lync.

Leave a Reply