Monday, February 20, 2012

Configuring Accounts for Synthetic Transactions in Lync Server

Lync Server has numerous “Test-“ cmdlets that will allow for Lync administrators to validate certain functions.  Below are just some of the “Test-“ cmdlets that are available (a full list can be viewed here):

  • Test-CsAddressBookService
  • Test-CsAddressBookWebQuery
  • Test-CsAVConference
  • Test-CsDialinConferencing
  • Test-CsGroupIM
  • Test-CsIM
  • Test-CsP2PAV
  • Test-CsRegistration

When trying to run one of these cmdlets, you will get the following error:  “There is no test user assigned for <poolName>. Please check test user settings.”

Our example runs the following command:

Test-CsIM –TargetFQDN pool.twhlab.com

Lync ST - before error 1

You could run this command and specify user accounts, passwords, and SIP addresses every time, but this can get a bit cumbersome if you plan on using the “Test-“ cmdlets frequently or use an automated job.

The following procedure will show you how to configure user accounts to be used with synthetic transactions.

First Step - Create two user accounts

These can be (and should be) disabled since these accounts will only be used to run the “Test-“ cmdlets.  After creating the AD accounts, enable them for Lync.

Lync ST - Users

Note: you should create two test accounts for each Lync pool.

Second Step - Configure the Lync test accounts for Synthetic Transactions

Run the following command:

New-CsHealthMonitoringConfiguration –Identity <poolName> –FirstTestSamAccountName <FirstUserAccount> –FirstTestUserSipUri <FirstUserSIPAddress> –SecondTestSamAccountName <SecondUserAccount> –SecondTestUserSipUri <SecondUserSIPAddress>

In my example, I run:

New-CsHealthMonitoringConfiguration –Identity pool.twhlab.com –FirstTestSamAccountName Homelab\LyncSynthUser1 –FirstTestUserSipUri “sip:LyncSynthUser1@twhlab.com” –SecondTestSamAccountName Homelab\LyncSynthUser2 –SecondTestUserSipUri “sip:LyncSynthUser2@twhlab.com”

Lync ST - New-CsHeath

Once the accounts have been configured, you can change or remove the configurations with the Set-CsHealthMonitoringConfiguration or Remove-CsHealthMonitoringConfiguration cmdlets.

Step Three – Test the configuration

Now that the accounts have been provisioned and configured for synthetic transactions, it is time to test.  If the accounts were set up correctly, you should be able to run previous command that failed (without specifying users or credentials):

Test-CsIM –TargetFQDN pool.twhlab.com

Lync ST - before sucess1

Configuring synthetic transactions allows administrators to run tests without having to supply user names or passwords for the required test accounts.

16 comments:

  1. Keunggulan situs judi BatuQQ dengan pelayanan livechat 24 jam, customer service yang handal dan sangat ramah, menyediakan 5 bank untuk memudahkan transaksi member, proses depo dan wd sangat cepat bahkan disaat bank offline proses depo tetap akan di proses dengan sangat cepat..
    Keunggulan dari situs domino BatuQQ Bandar Poker dari situs kami sebagai penyedia permainan online yaitu jaminan keamanan, dan privasi dari setiap data User ID seluruh member. Proses transaksi deposit, dan withdraw yang super cepat, serta pelayanan Customer Service yang professional, dan ramah. Di samping itu kami juga memberikan jaminan bahwa setiap transaksi yang ada di proses dalam waktu di bawah 3 menit, dan tidak ada batasan nominal dalam melakukan tarik dana di BatuQQ BandarQQ. ( Withdraw berapapun akan kami bayar )


    Batu4d online lottery consists of online lottery sites that provide 6 online lottery markets such as HONGKONG TOGEL, SINGAPORE TOGEL, LOTTERY PORKAS TOGEL, SYDNEY TOGEL, AUCKLAND TOGEL, PERTH TOGEL with all that can be done, fast deposit and withdrawal Batu4d togel online indonesia can be searched for lottery online. As the biggest togel site Batu4D holds a trusted online tagging site

    ReplyDelete
  2. The information you shared is wonderful to me, thank you and have a nice day
    Kizi Club | Kizigool | GamesHotAZ | Friv1 Online | Clash Of Tanks | Fri1 Girl

    ReplyDelete
  3. I really enjoyed reading this post, I always appreciate topics like this being discussed to us. Information very nice. I will follow post Thanks for sharing.
    Friv 2021 | Friv 8 | Friv 2 Games

    ReplyDelete
  4. Wow what a Great Information about World Day its very nice informative post. thanks for the post.
    서울출장마사지

    ReplyDelete
  5. I am really very happy to visit your blog. Now I am found which I actually want.I check your blog every day and try to learn something from your blog.
    Please keep it up to date like this. Thanks for sharing.
    McAfee is the ultimate cyber security software range that keeps your devices protected round the clock. Although set up for any application is a time consuming and complicated process. However,
    McAfee Live Save activate setup is much simpler and convenient than expected.

    ReplyDelete