Configuring Client Access Servers,Installing and Configuring Network Load Balancing for Exchange 2010

Load balancing is a way to manage which of your servers receive traffic. Load balancing provides failover redundancy to ensure your users continue to receive Exchange service in case of computer failure. It also enables your deployment to handle more traffic than one server can process while offering a single host name for your clients.

Today we will look at Configuring Client Access Servers,Installing and Configuring Network Load Balancing for Exchange 2010

1. First we need to create CAS array. To create that use command below:

New-ClientAccessArray -Name mail -Site “Default-First-Site-Name”-FQDN mail.tekbloq.local

1csarraydfd

2. Then we need to add mail record to DNS, So create an A record for mail.tekbloq.local on DNS Servers.

2csarraydfd

3. Then we need to install NLB feature(To this process all CAS servers). To do that follow steps below:

3csarraydfd

4. Click Install:

4csarraydfd

5. Click Close:

5csarraydfd

You can open Network Load Balancing Manager from Administrative Tools under Start menu:

6csarraydfd

 

7csarraydfd

6. We need to network card , one for the NLB cluster and one is used for internal communication(Local Area Connection).

8csarraydfd

7. After set up network card right-click on Network Load Balancing Cluster and click Add host to Cluster, Then type first host name, click Connect and select NLB interface, Click Next:

9csarraydfd

8. Click Next:

10csarraydfd

9. Type IP for NLB cluster like as below and click Next:

11csarraydfd

10. Type cluster parameters like as below and click Next:

12csarraydfd

11. Click Finish:

13csarraydfd

12. Same way you can add second host to NLB cluster.

15csarraydfd

So we have created NLB cluster successfully:

16csarraydfd

13. Do not forget to change all internal and external URL to mail.tekbloq.local and mail.tekbloq.com. If you did not change follow steps below to change all that. First we will change Outlook Web App(OWA):

17csarraydfd

 

18csarraydfd

14. Then Exchange ActiveSync:

19csarraydfd

15. To change Offline Address Book Distribution follow steps below:

20csarraydfd

16. To change Exchange Control Panel follow steps below:

21csarraydfd

To check OWA you can type owa address and see opening or not:

22csarraydfd

17. After CAS array created successfully we need to configure existing mailbox databases users begin connecting to the new CAS array.  We need to be manually update that. To do that type command below:

To check current status type this command:

Get-MailboxDatabase | fl name, *rpc*

To configure type the next command:

Get-MailboxDatabase | Set-MailboxDatabase -RpcClientAccessServer mail.tekbloq.local

After run that command check changes :

23csarraydfd

18. The Next we need to configure Exchange Web Services URLs. To do that follow commands below:

Run  Get-WebServicesVirtualDirectory   to see current status.

To change TCAS1 server RUN this command:

Set-WebServicesVirtualDirectory -Identity “TCAS1\EWS (Default Web Site)” -InternalUrl https://mail.tekbloq.com/EWS/Exchange.asmx -BasicAuthentication:$true

To change TCAS2 server RUN this command:

Set-WebServicesVirtualDirectory -Identity “TCAS2\EWS (Default Web Site)” -InternalUrl https://mail.tekbloq.com/EWS/Exchange.asmx -BasicAuthentication:$true

To check changes run this command:

Get-WebServicesVirtualDirectory |fl identity, internalurl, externalurl

24csarraydfd

19. Last thing we need to enable outlook anywhere on CAS servers. Outlook Anywhere will be enabled on your Client Access server after a configuration period of approximately 15 minutes. To verify that Outlook Anywhere has been enabled, check the application event log on the Client Access server.

To enable Outlook Anywhere click  Enable Outlook Anywhere…:

1enbleoutlkenyss

In the Enable Outlook Anywhere wizard, type the external host name or URL for your organization in the box under External host name. This is the URL, for example mail.tekbloq.com, that users will use to connect to the Exchange server by using Outlook Anywhere. Then Select an available external authentication method. You can select Basic authentication or NTLM authentication.

Click Enable to apply these settings and enable Outlook Anywhere

2enbleoutlkenyss

Click Finish to close the Enable Outlook Anywhere wizard

3enbleoutlkenyss

That is all. We completed configuration for CAS server.

 

Add Comment