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.

38 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
  6. https://draft.blogger.com/comment.g?blogID=4622293537556367218&postID=5079599401514605240&page=3&token=1607849769976&isPopup=trueสล็อตออนไลน์

    ReplyDelete
  7. Hey There. I found your blog using msn. This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return.สล็อต 999

    ReplyDelete
  8. This article is an appealing wealth of informative data that is interesting and well-written. I commend your hard work on this and thank you for this information. You’ve got what it takes to get attention.สล็อตวอเลท

    ReplyDelete
  9. I am continually amazed by the amount of information available on this subject. What you presented was well researched and well worded in order to get your stand on this across to all your readers.สล็อตแตกง่าย

    ReplyDelete
  10. Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.บา คา ร่า วอ เลท

    ReplyDelete
  11. Thanks for another wonderful post. Where else could anybody get that type of info in such an ideal way of writing?บา คา ร่า วอ เลท

    ReplyDelete
  12. howdy, your websites are really good. I appreciate your work.สล็อตเว็บใหญ่

    ReplyDelete
  13. Super-Duper site! I am Loving it!! Will come back again, Im taking your feed also, Thanks.บา คา ร่า วอ เลท

    ReplyDelete
  14. hi was just seeing if you minded a comment. i like your website and the thme you picked is super. I will be back.สล็อต ฝาก-ถอน true wallet ไม่มี บัญชีธนาคาร

    ReplyDelete
  15. I have recently started a blog, the info you provide on this site has helped me greatly. Thanks for all of your time & work.บาคาร่าวอเลท

    ReplyDelete
  16. Thank you for some other informative website. The place else may just I get that kind of information written in such a perfect method? I have a venture that I am simply now running on, and I’ve been at the glance out for such info.สล็อตแตกง่าย

    ReplyDelete
  17. This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great.สล็อตxo

    ReplyDelete
  18. This article is an appealing wealth of informative data that is interesting and well-written. I commend your hard work on this and thank you for this information. You’ve got what it takes to get attention.เว็บสล็อต

    ReplyDelete
  19. I am continually amazed by the amount of information available on this subject. What you presented was well researched and well worded in order to get your stand on this across to all your readers.เว็บสล็อตเว็บตรง

    ReplyDelete
  20. Great post, you have pointed out some excellent points, I as well believe this is a very superb website.เว็บตรงสล็อต

    ReplyDelete
  21. Friend, this web site might be fabolous, i just like it.เว็บ ตรง

    ReplyDelete
  22. Nice post. I was checking constantly this blog and I am impressed! Extremely helpful information specially the last part I care for such info a lot. I was seeking this particular information for a very long time. Thank you and good luck.เกมสล็อต

    ReplyDelete