Exchange ActiveSync Servers Test

Where Exchange ActiveSync is used to synchronize mobile devices with Exchange server mailboxes, Exchange administrators may want to know which devices are connecting to the server at any given point in time, so that accesses by unauthorized devices can be instantly detected and blocked. Administrators may also want to track the usage of mailboxes by mobile devices over time and identify the most and the least effective users, so that access policies can be accordingly drawn. Moreover, when a device user complains of a slowdown when accessing his/her mailbox, administrators may want to take a look at the network traffic generated by every device that is connecting to the server at the time of the slowdown, so that devices that are choking the bandwidth and causing the slowness can be accurately isolated. The Exchange ActiveSync Servers test performs all these checks periodically and provides Exchange administrators with actionable information that will enable them to take well-informed

and intelligent performance/policy decisions.  

This test auto-discovers the devices that are synchronizing with the Exchange 2010 mailboxes via ActiveSync, and for each device, reports the number of hits/accesses made by that device and the amount of data transmitted and received by that device. In the process, the test points administrators to the following:

  • Devices that are currently connected to the Exchange server; unauthorized devices can thus be quickly captured;
  • Devices that are accessing the Exchange server mailboxes frequently and those that seldom use the mailboxes; sizing and policy decisions can be taken based on this observation
  • Devices that are consuming excessive bandwidth resources and could hence be contributing to the sluggish quality of the network;

Target of the test :A server configured with the Client Access Server role

Agent deploying the test : An internal agent

Outputs of the test : One set of results for each device or IP address that is currently accessing the mailboxes on the Exchange server.

Configurable parameters for the test
Parameters Description

Test Period

How often should the test be executed.

Host

Indicates the IP address of the Client Access server.

Port

The port number of the client access server. By default, this is 110.

XchgExtensionShellPath

The Exchange Management Shell is a command-line management interface, built on Windows PowerShell v2, which enables you to administer every part of Microsoft Exchange Server 2007/2010. This test uses the Exchange management shell to run scripts and collect the desired performance metrics from the Exchange server. To enable the test to load the Exchange management shell snap-in (exshell.psc1) for script execution, you need to specify the full path to the Exchange management shell in the XchgExtensionShellPath text box. For instance, your specification can be, c:\progra~1\micros~1\exchan~1\v14\bin\exshell.psc1.

LogfileName

The Client Access Server is an IIS web server that hosts Exchange-related web pages. This is why, like any other IIS web server, the client access server creates a daily log of its activities – including Exchange ActiveSync-related activities - in the C:\inetpub\logs\logfiles\W3SVC1\ directory by default. To report metrics on ActiveSync, this test parses the client access server’s log file, reads the ActiveSync-related errors/warnings/general information messages that were recently logged (i.e., during the last 5 minutes) from the file, and writes them to a ActiveSynchLog.log file it creates in the <EG_AGENT_INSTALL_DIR>\agent\logs directory. Then, the test reads the metrics of interest from this log file and reports them to the eG manager. To enable the test to do the above, you need to specify the exact path to the directory that contains the client access server’s logs in the LogfileName text box.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Total hits

Indicates the current number of hits/accesses to the Exchange mailbox server from this device.

Number

Comparing the value of this measure across devices will help you to identify the device that is constantly accessing the Exchange mailbox server and that which is not using the server as frequently. Based on these usage metrics, administrators can define access policies.

Also, this measure serves as a good indicator of the level of device activity on the Exchange server; based on this knowledge, administrators can right-size their Exchange infrastructure – i.e., decide on how much CPU, memory, bandwidth, and disk resources the Exchange server has to be allocated so that it can handle the ActiveSync load.  

Data sent

Indicates the amount of data this device is currently sending to the Exchange mail server.

KB

Compare the value of these measures across the devices to identify the device that is currently generating the maximum amount of network traffic when interacting with its mailbox on the Exchange server. In the event of a slowdown, this comparative analysis will point administrators to that device which is engaged in bandwidth-intensive conversations with the Exchange server, thus causing accesses to slow down.

During normal operations on the other hand, administrators can analyze these measures over time to gauge the average network throughput of ActiveSync activities; this can help them decide whether/not more network resources need to be allocated to handle ActiveSync load efficiently. 

Data received

Indicates the amount of data currently received by this device from the Exchange mail server.

KB

Average unique devices

Indicates the number of unique devices currently accessing the ActiveSync server.