Synthetic transactions are PowerShell cmdlets built into Lync Server that are used to simulate activities performed by servers or users in our Lync deployment. They are a way to test a Lync service in an accurate way. Although it is possible to use synthetic transactions manually, the Lync management pack for SCOM, Microsoft Lync Server 2013 Remote Watcher Management Pack (that we introduced in the previous section), enables the use of synthetic transactions for active and automated monitoring of our Lync infrastructure. The previously mentioned feature requires a server (called watcher node) that will actually periodically run the synthetic transactions. A watcher node is required for every Lync site that we want to monitor with the previously mentioned feature.
add-WindowsFeature windows-identity-foundation
cmdlet.D:
letter) and install the core files and the RTCLocal database using the D:setupamd64Setup.exe /BootstrapLocalMgmt
cmdlet.New-CsTrustedApplicationPool –Identity marchhare.wonderland.lab –Registrar madhatter.wonderland.lab –ThrottleAsServer $True –TreatAsAuthenticated $True –OutboundOnly $False –RequiresReplication $True –ComputerFqdn marchhare.wonderland.lab –Site Site001
New-CsTrustedApplication –ApplicationId STWatcherNode –TrustedApplicationPoolFqdn marchhare.wonderland.lab –Port 5061
Enable-CsTopology
cmdlet and restart Health service (net stop healthservice && net start healthservice
).WatcherNode.msi
, included in the Lync Server 2013 Management Pack (http://www.microsoft.com/en-us/download/details.aspx?id=35842) and copy it to a folder (for example, c:wn
). Launch the installation with the following command:C:wnWatcherNode.msi Authentication=TrustedServer
[email protected]
, [email protected]
, and [email protected]
):New-CsWatcherNodeConfiguration –TargetFqdn "LYNCSITEPOOL.CORP.COM" –PortNumber 5061 –TestUsers @{Add= "sip: [email protected]","sip: [email protected]", "sip: [email protected]"}
Corrado Mollica has published (in an Italian blog) an interesting script, WatcherNode.ps1
, that automatizes a part of the configuration process. It is available at http://blogs.pulsarit.net/2014/06/watchernode-ps1/.