{"id":1032,"date":"2010-10-21T15:00:22","date_gmt":"2010-10-21T15:00:22","guid":{"rendered":"https:\/\/www.wapshere.com\/missmiis\/?p=1032"},"modified":"2010-10-21T15:32:08","modified_gmt":"2010-10-21T15:32:08","slug":"exchange-2010-loadgen-doesnt-work-with-a-cas-array","status":"publish","type":"post","link":"https:\/\/www.wapshere.com\/missmiis\/exchange-2010-loadgen-doesnt-work-with-a-cas-array","title":{"rendered":"Exchange 2010 LoadGen doesn&#8217;t work with a CAS Array"},"content":{"rendered":"<p>While attempting to use the <a href=\"http:\/\/www.microsoft.com\/downloads\/en\/details.aspx?familyid=CF464BE7-7E52-48CD-B852-CCFC915B29EF&amp;displaylang=en\">64-bit version of LoadGen<\/a> for some Exchange 2010 testing, I found the tests were failing, and in the LoadGenSim logs were lots of errors like this one:<\/p>\n<p><code>Microsoft.Mapi.MapiExceptionNetworkError: MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)<\/code><br \/>\n<!--more--><\/p>\n<p>I then noticed that, just above these errors, I had a line which started as follows:<\/p>\n<p><code>Outlook2003Online Error: 0 : 10\/21\/2010 15:20:53 -- Diagnostic context (user: 'DOMAIN\\CED40A97-LGU000001'):<br \/>\ndistinguishedName 'CN=CHGVA-EXM11 CED40A97-LGU000001,OU=DBTest2010,OU=2010SERVER,OU=Users,OU=LoadGen Objects,DC=mydomain,DC=com', exchServerDn '\/o=Organisation\/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)\/cn=Configuration\/cn=Servers\/cn=casserver.mydomain.com<\/code><\/p>\n<p>The interesting thing was that the specified exchServerDn does not actually exist. The name <em>casserver.mydomain.com<\/em> was one I had registered in the DNS for the CAS NLB cluster, and there is definitely no server object of that name under the Configuration branch.<\/p>\n<p>As well as creating the NLB cluster I had also defined a <a href=\"http:\/\/technet.microsoft.com\/en-us\/library\/ee332317.aspx#CASarray\">CAS Array<\/a>, and the mail databases had been created after that, meaning they had the array configured in their <em>RpcClientAccessServer<\/em> setting. Before I could get LoadGen to work I had to reset this setting on my test databases so they specified one particular CAS server, rather than the array.<\/p>\n<p><code>set-mailboxdatabase DBTest2010 -RpcClientAccessServer PHYSICAL_CAS.mydomain.com<\/code><\/p>\n<h3>A couple of other observations..<\/h3>\n<ul>\n<li>Despite lots of errors in the logs about public folders and free-busy (even if you don&#8217;t select &#8220;Initialize Public Folder Database&#8221;) it seems to work fine without a PF DB on 2010 (and it won&#8217;t use one on 2007).<\/li>\n<li>The &#8220;Initialize mailboxes&#8221; step takes ages to get going. Let it run.<\/li>\n<li>I installed it on a regular Windows 2008R2 server &#8211; not an Exchange server.<\/li>\n<li>I don&#8217;t know if I&#8217;m doing something wrong, but I seem to have let each new test create its own accounts. If I try and use the accounts from a previous test it tells me I didn&#8217;t select any mailusers.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>While attempting to use the 64-bit version of LoadGen for some Exchange 2010 testing, I found the tests were failing, and in the LoadGenSim logs were lots of errors like this one: Microsoft.Mapi.MapiExceptionNetworkError: MapiExceptionNetworkError: Unable to make connection to the server. (hr=0x80040115, ec=-2147221227)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[43],"tags":[],"class_list":["post-1032","post","type-post","status-publish","format-standard","hentry","category-exchange-2010"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pkp1o-gE","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/comments?post=1032"}],"version-history":[{"count":5,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1032\/revisions"}],"predecessor-version":[{"id":1036,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/1032\/revisions\/1036"}],"wp:attachment":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/media?parent=1032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/categories?post=1032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/tags?post=1032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}