{"id":511,"date":"2017-04-19T23:13:12","date_gmt":"2017-04-19T21:13:12","guid":{"rendered":"http:\/\/itsimple.info\/?p=511"},"modified":"2017-04-19T23:42:21","modified_gmt":"2017-04-19T21:42:21","slug":"configure-exchange-2013-cas-high-availability","status":"publish","type":"post","link":"https:\/\/itsimple.info\/?p=511","title":{"rendered":"Configure exchange 2013 CAS High Availability"},"content":{"rendered":"<p>From exchange 2013 Microsoft drop the cas arrey function as the mailbox client connect through HTTPS only, achieving High Availability with CAS server will be done with some other form of Load balancing like hardware (F5, CAMP, ZAN etc)or software (NLB, DNS etc), in any way CAS Array is no longer exist on exchange 2013 !<\/p>\n<p>Here is how to do it with DNS round robin load balncing method, this will improve client High availability connectivity to seconds and not minute. in this example we have 2 exchange server acting as CAS &amp; MAILBOX: mbx1 and mbx2 .<\/p>\n<p>First get the mailbox server status :<\/p>\n<pre><span class=\"crayon-v\">Get<\/span><span class=\"crayon-o\">-<\/span><span class=\"crayon-v\">MailboxDatabase<\/span> <span class=\"crayon-o\">-<\/span><span class=\"crayon-v\">status<\/span> <span class=\"crayon-o\">|<\/span> <span class=\"crayon-e\">select <\/span><span class=\"crayon-v\">name<\/span><span class=\"crayon-sy\">,<\/span><span class=\"crayon-v\">mounted<\/span><span class=\"crayon-sy\">,<\/span><span class=\"crayon-e\">mountedonserver<\/span><\/pre>\n<p>At the moment each of the servers is configured with their own name as the internal host name for Outlook Anywhere, which is the default.<\/p>\n<pre><span class=\"crayon-v\">Get<\/span><span class=\"crayon-o\">-<\/span><span class=\"crayon-v\">ClientAccessServer<\/span> <span class=\"crayon-o\">|<\/span> <span class=\"crayon-v\">Get<\/span><span class=\"crayon-o\">-<\/span><span class=\"crayon-v\">OutlookAnywhere<\/span> <span class=\"crayon-o\">|<\/span> <span class=\"crayon-e\">select <\/span><span class=\"crayon-v\">identity<\/span><span class=\"crayon-sy\">,<\/span><span class=\"crayon-o\">*<\/span><span class=\"crayon-e\">hostname<\/span><\/pre>\n<p>We can configure a single and unique namespace for these instead of the unique server FQDN for each. Note that when configuring the InternalHostName you also need to set the InternalClientsRequireSSL option as well. To keep this example simple I am not requiring SSL for internal clients.<\/p>\n<pre>Get-OutlookAnywhere | Set-OutlookAnywhere -InternalHostname mail.exchange2013.com -InternalClientsRequireSsl $false<\/pre>\n<p>We will need to create two DNS A record for the same FQDN=<strong>mail.exchange2013.com<\/strong> with the IP&#8217;s of the servers, <strong>MBX1 = 192.168.0.1<\/strong> \u00a0 <strong>MBX2 = 192.168.0.2<\/strong>\u00a0 , To check the DNS configuration :<\/p>\n<pre>Resolve-DnsName mail.exchange2013.com\r\n\r\nName\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Type\u00a0\u00a0 TTL\u00a0\u00a0 Section\u00a0\u00a0\u00a0 IPAddress\r\n----\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ----\u00a0\u00a0 ---\u00a0\u00a0 -------\u00a0\u00a0\u00a0 ---------\r\nmail.exchange2013.com\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 A\u00a0\u00a0\u00a0\u00a0\u00a0 3600\u00a0 Answer\u00a0\u00a0\u00a0\u00a0 192.168.0.1\r\nmail.exchange2013.com\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 A\u00a0\u00a0\u00a0\u00a0\u00a0 3600\u00a0 Answer\u00a0\u00a0\u00a0\u00a0 192.168.0.2\r\n<\/pre>\n<p>The change made with Set-OutlookAnywhere is not instantaneous. <strong>It takes about 15 minutes<\/strong> for the Client Access server to update with the new configuration. You\u2019ll be able to tell it has taken effect when an Outlook autoconfiguration test returns the new value for Exchange HTTP<\/p>\n<p>Now you can play around with the servers shuting down one and check how clients connect to it:<\/p>\n<pre><span class=\"crayon-s\">netstat -ano | findstr \":80\"\r\n\u00a0 TCP\u00a0\u00a0\u00a0 192.168.0.181:51010\u00a0\u00a0\u00a0 192.168.0.1:80\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ESTABLISHED\u00a0\u00a0\u00a0\u00a0 2272\r\n\u00a0 TCP\u00a0\u00a0\u00a0 192.168.0.181:51011\u00a0\u00a0\u00a0 192.168.0.1:80\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ESTABLISHED\u00a0\u00a0\u00a0\u00a0 2272\r\n\u00a0 TCP\u00a0\u00a0\u00a0 192.168.0.181:51012\u00a0\u00a0\u00a0 192.168.0.1:80\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ESTABLISHED\u00a0\u00a0\u00a0\u00a0 2272\r\n\u00a0 TCP\u00a0\u00a0\u00a0 192.168.0.181:51013\u00a0\u00a0\u00a0 192.168.0.1:80\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ESTABLISHED\u00a0\u00a0\u00a0\u00a0 2272<\/span><\/pre>\n<p>&nbsp;<\/p>\n<p>After shutting this server down 192.168.0.1 = MBX1 the out come should be :<\/p>\n<pre><span class=\"crayon-s\">netstat -ano | findstr \":80\"\r\n  TCP    192.168.0.181:51010    192.168.0.2:80       ESTABLISHED     2272\r\n  TCP    192.168.0.181:51011    192.168.0.2:80       ESTABLISHED     2272\r\n  TCP    192.168.0.181:51012    192.168.0.2:80       ESTABLISHED     2272\r\n  TCP    192.168.0.181:51013    192.168.0.2:80       ESTABLISHED     2272<\/span><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From exchange 2013 Microsoft drop the cas arrey function as the mailbox client connect through HTTPS only, achieving High Availability with CAS server will be done with some other form of Load balancing like hardware (F5, CAMP, ZAN etc)or software (NLB, DNS etc), in any way CAS Array is no longer exist on exchange 2013 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-511","post","type-post","status-publish","format-standard","hentry","category-microsoft-exchange-2013"],"_links":{"self":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=511"}],"version-history":[{"count":0,"href":"https:\/\/itsimple.info\/index.php?rest_route=\/wp\/v2\/posts\/511\/revisions"}],"wp:attachment":[{"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itsimple.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}