Microsoft Exchange Settings

The Microsoft Exchange service in your profile is missing required information. Modify your profile to ensure that you are using the correct Microsoft Exchange information service.' I found some threads about repairing the profile, However, i'm unable to even start Outlook to access and change profile. Tutorial Setting Up Microsoft Exchange account on your iPhone 2.0 firmware/ 3G iphone.

What is Exchange Server 2016

Microsoft Exchange Server 2016 is an e-mail server solution, with calendar and contact manager, which supports variety of clients such as Outlook, web browser, and mobile devices.

Avi’s Exchange Server Solution Benefits

Avi solution provides following benefits for Exchange deployment.

  • Horizontal scale: You do not have to be caught off guard by sudden traffic surge. Avi can adjust the capacity of the load balancer infrastructure dynamically by scaling-out and scaling-in its data plane engines called Service Engine (SE).
  • Analytics and visibility: Analytics and visibility play a key role in troubleshooting issues and evaluating risks that can affect end-user experience. Unlike other ADC vendors, Avi provides an end-to-end timing chart, pinpointing latency distribution across segments of a client, the ADC, and servers. Avi understands the resource utilization of servers, combines it with observed performance, and present the result as a health score. By looking at the health score, you can judge the current end-user experience and risk coming from resource utilization.
  • SSL offload and management with ease of use: Simply select Avi’s SSL Everywhere and import a certificate. The rest will be taken care of by Avi. You do not have to convert a certificate and configure multiple things to make Exchange secure. Other significant advantages include SSL compute offload and HTTP visibility. In particular, SSL compute offload allows reduction of the number of CAS units and related license cost. By terminating SSL on Avi, you can fully enjoy Avi’s innovative analytics and visibility engine.
  • Cloud-optimized deployment and high availability: The Avi Controller automatically discovers available resources, such as networks and servers in the virtual infrastructure. This allows IT admins to be less vulnerable to human errors. In addition, the Avi Controller detects a problem when its SE or a hypervisor has a problem; it automatically looks for a best available hypervisor and launches an SE to recover. Unlike other ADC solutions, this approach does not require a redundant device.

Deployment Architecture

Figure 1. Exchange 2016 Traffic Flows (source: msexchangeanywhere by Ross Smith)

Exchange Server 2016 has two roles for servers, the Client Access server (CAS) and the Mailbox server, which comprise CAS Array and DAG (Database Access Group) respectively for high availability and increased performance. The CAS provides client protocols, SMTP, and a Unified Messaging Call Router. The client protocols include HTTP/HTTPS and POP3/IMAP4. The UM Call Router redirects SIP traffic to a Mailbox server.

Note: An external load balancer is required to build CAS array. Unlike CAS array, DAG does NOT require an external load balancer. A server can take both roles of the Client Access and the Mailbox.

CAS provides the following services that require load balancing.

  • Outlook Anywhere: enables an Outlook client to connect to the Exchange server. It uses RPC over HTTP(S).
  • Outlook Web Access: enables any Web browser to connect to the Exchange server, offering Outlook-client like experience on the browser.
  • Exchange Web Service: enables client applications to communicate with the Exchange server. EWS provides access to much of the same data that is made available through Microsoft Outlook.
  • Exchange Administration Center: provides a web-based management console for the Exchange server.
  • Exchange Management Shell: enables a remote admin over HTTP(S) to perform every task that can be performed by the Exchange Administration Center.
  • ActiveSync: enables mobile devices, such as iPhone and Android devices, to synchronize mail, calendar, contact, and tasks with the Exchange server.
  • AutoDiscover: enables a client application, e.g., ActiveSync app or Outlook, to configure itself with minimal user information. With the AutoDiscover service, a user’s e-mail address and password are enough to find out the rest of configuration information.
  • Offline Address Book: enables an Outlook client in Cached Exchange Mode to lookup addresses when offline.
  • POP3/IMAP4: enables 3rd party e-mail clients to download e-mail from the Exchange server. SMTP is used for outgoing e-mail.
  • SMTP: enables 3rd-party e-mail clients to use the Exchange server as an outgoing e-mail server. POP3/IMAP4 is used for incoming e-mail.
  • MAPI: enables client programs to become (e-mail) messaging-enabled, aware, or based by calling MAPI subsystem routines that interface with certain messaging servers.

Setting Up Exchange for Load Balancing

The Exchange 2016 System Requirements Microsoft Technet article specifies requirements for setting up Exchange Server 2016.

  • In this case a Windows 2012 Server (using a 2012 iso) was brought up on a VM with an 8-core CPU, 8 GB of RAM and 100 GB of disk capacity. (Ideally, disk should be partitioned into four drives for OS, Logs, Exchange Install Directory and Databases).
  • An Exchange server on 2016 then needs to be installed on the Windows 2012 server. An Exchange server license can be obtained free of cost for 180 days using Outlook credentials (personal). The license can be obtained from here: Microsoft Exchange Server 2016 product page, Microsoft Exchange Server 2016 download page
  • With an Exchange 2016 server it’s a prerequisite that the server have a static IP.
  • Before the Exchange 2016 can be installed, it’s necessary that the prerequisites are installed, else the setup.exe file for 2016 fails with multiple errors. The same can be installed using Windows PowerShell from the 2012 server VM that was created. Once installed, the server needs to be rebooted.** .NET 4.5 support (Ideally, you need 4.5.2, but the same would be upgraded to 4.5.2 automatically once the setup.exe is run.)** Desktop Experience** Internet Information Service (IIS)** Windows Failover Clustering
  • After the reboot, install Unified Communications Managed API (UCMA) 4.0 Runtime: download page
  • In case the server chosen is 2012 RTM, Windows Management Framework 4.0 needs to be installed as well: download page
  • Install the Active Directory Remote Server Administration Tools plugin on the Exchange server using PowerShell.
  • Install Active Directory per the steps outlined here: Setting up an Active Directory Lab (Part 1)
  • An important step to note is that the DNS Resolver under System Settings in Avi Vantage should point to the local DNS server set-up during Active Directory install. In this case AD, Exchange 2016, DNS and IIS were installed on one single server.
  • From the link above we need to make sure that we have a client machine can be a part of the domain we create ( avitest.com in this case) and the user that we create in Active Directory can login to the same. For test purposes a Win7 test machine was chosen as the client machine ( VM spawned out of a Windows 7 iso) which was made a part of the domain avitest.com and with credentials configured in AD for the said test user from the client machine.
  • Once the client machine is a part of the domain, switch to the 2012 server PowerShell prompt wherein the 2016 setup file resides and then configure Active Directory to receive Exchange 2016. The Exchange Schema version should be on 15317. Verify this using ADSI edit.
  • The setup.exe for 2016 can now be executed and we need to set it up for Mailbox rule.
  • Once set up, ECP can be browsed using https://servername/ecp (in our case the servername is lab-dc01).
  • Since this is a lab-only environment, we need to skip the namespace part of Split DNS for external and internal access. In this case the internal and external hostname was kept as same for being lab-dc01.avitest.com for all the Exchange services. (The same needs to be done from the ECP login as done above.)
  • MAPI and autodiscover services cannot be configured through ECP in the browser and need to be configured via Exchange Management Shell.
  • Login to Exchange Admin Center and create a self-signed certificate for the server. Export the same to the desktop, as the same would be used for importing in the VS that we create.
  • The self-signed certificate needs to be assigned to the IIS service.
  • Create two mailbox users using EAC so that emails can be sent from two accounts.
  • An Exchange client could be on Outlook 2016 or Outlook 2013. For tests we used the OWA access through a normal Chrome/FireFox browser.
  • To enable SSL offload on Exchange 2016,and make changes to each Exchange services as described in the Configuring SSL offloading in Exchange 2013 Microsoft TechNet article.
  • To set up a secondary Exchange Server, follow the steps as above. We don’t need to go ahead with an AD installation but have to make sure that the secondary Exchange Server is part of the same domain and that a new forest domain is NOT created. We just need the existing domain that was created.

Load-Balancing Policies

Figure 2. Exchange Load-Balancing Deployment

Avi supports deployment of an Exchange solution three different ways.

  1. One virtual service (VS) and one pool: This is the quickest way to deploy the Exchange service and requires only one virtual IP address. However, individual health monitoring for different services is not possible. If you deploy Exchange 2016, you have to choose one persistence method across all services; this may result in suboptimal operational results because different Exchange 2016 services require different persistence methods for the best result. The statistics and analytics information from the Avi system will be an aggregate of all services.
  2. One virtual service and multiple pools: This requires configuring Layer 7 policy on Avi Vantage, to forward an HTTP message based on the host header to a corresponding pool. This deployment requires only one virtual IP address and enables individual health monitoring for different services. In addition, for Exchange 2016, Avi Vantage supports a different persistence method per pool. This deployment enables Avi Vantage to provide statistics and analytics information on a per-pool basis.
  3. Multiple virtual services and one pool per virtual service: This requires as many IP addresses as Exchange services to load balance. Each virtual service will have one pool. This deployment enables Avi Vantage to provide statistics and analytics information on a per-VS basis.

Note: A virtual service is defined as a virtual IP address and a port number.

In this guide, we are going to use the second deployment model. We will create a single virtual service for all services with multiple pools. Each pool corresponds to an Exchange service. The table below lists all the Exchange services and ports to load balance and health check methods (Figure 2). Exchange 2016 provides pre-defined HTML pages for health monitoring by a load balancer.

Table 1. Exchange 2016 services for load balancing

In table 1, lab-dc01.avitest.com and autodiscovery.avitest.com should point to the virtual IP. All HTTPS-based services will be terminated by Avi. The traffic will be decrypted and sent to the pool and will be encrypted and sent back to the client. For SMTP/IMAP4/POP3 traffic, Layer 4 policy will be applied. With the Layer 4 policy, Avi Vantage just terminates a TCP connection but bypasses the SSL connection.

Avi System Configuration

Exchange 2016 SLB configuration involves the following activities.

1. Health Monitor

  • Navigate to Templates > Profile > Monitor.
  • Create an HTTP health monitor for each Exchange service (8 in number). Use URLs listed in table 1. Client Request Data needs to be set to GET /
    • This can be accessed separately or from the Virtual Services configuration wizard. Pool is a construct that includes servers, load balancing method, persistence method, and health monitor. Add servers across which load is to be balanced and choose Least-Connections for the load balancing method. Below is an example of a pool created for Outlook Web Access (OWA) service.
    • The Active health monitor is chosen as the one created above. In this case it’s the owa health monitor which is chosen.
    • The server IP address is the IP of the Exchange server which resolves to lab-dc01.avitest.com.
    • Create 12 pools with names based on table 2.

    5. HTTP Policy

    • This can be added after creating a virtual service or from the Virtual Service configuration wizard.
    • Create a HTTP policy and it includes 8 HTTP request rules, each rule corresponding to an Exchange service.
    • To create the HTTP policy, follow the steps next.
    • Navigate to Application > Virtual Services. Click the virtual services edit icon. This will pop up the Edit Virtual Service menu.
    • Navigate to Policy > HTTP Request.
    • Click Add HTTP Request Rule.
    • Enter a rule name, e.g., rule-pool-oa.
    • Choose Path and Begins With for Matching Rules. Then, enter /rpc.
    • Choose Content Switch and Pool for Action. Then, choose a corresponding pool, e.g., pool-oa.
    • Click Save Rule

    Below we can see an example of creating the same for an L7 virtual service for OWA.

    Below we see all HTTP based policies created for the L7 virtual service.

    • Repeat the steps for each Exchange pool. Refer to table 2 for URLs and pools.

    Table 2. Pools for Exchange 2016 services

    6. Load Balancing

    • To support load balancing across Exchange Servers on a single VIP, choose the “Round Robin” load balance option under all pools that have been configured. Below we show this being done for the owa-pool.
    • Add the secondary exchange server IP under all pools. Below we show this being done for the owa-pool.

    7. Confirming proper operation

    The L7 service had a default pool pointing to pool-as (ActiveSync). The below screenshot confirms clients accessed the Exchange virtual service several times during the 15-minute timeframe depicted in the timeline.

    Non-significant logs having been on, one observes a total of 43 log entries, including the successful ones (return code = 200). The most recent log entry is shown expanded. The other 42, collapsed into single-line rows, are not shown in the screenshot. The L7 virtual service successfully content-switched requests to the pool-owa pool as a result of the rule-pool-owa request policy rule.

    Microsoft Exchange Settings For Iphone

    The Avi Vantage solution provides additional information about the client from which the request originated, including the client’s operating system (Android), device type (Moto G Play), browser (Chrome Mobile), SSL version (TLSv1.2), certificate type (RSA), and so on.

Comments are closed.