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.

11 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. Wow what a Great Information about World Day its very nice informative post. thanks for the post.
    서울출장마사지

    ReplyDelete
  3. https://draft.blogger.com/comment.g?blogID=4622293537556367218&postID=5079599401514605240&page=3&token=1607849769976&isPopup=trueสล็อตออนไลน์

    ReplyDelete
  4. 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
  5. 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
  6. 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