Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

Getting the Health of an Exchange Server

$
0
0

Managed Availability in Exchange Server 2013 polls every server for hundreds of things a second. Most times if something is wrong, it will be fixed automatically. However, there are cases that Managed Availability cannot fix on its own. This post will discuss how you can use Get-HealthReport and Get-ServerHealth to find out what is wrong on a server. You may want to do this after you get an alert for some aspect of a server and want to see if there is anything else amiss.

Server Health Summary

Start with Get-HealthReport to find out the status of every Health Set on the server:

Get-HealthReport -Identity Server1

ServerStateHealthSetAlertValueLastTransitionTimeMonitorCount
------------------------------------------------------------
Server1NotApplicableADHealthy5/21/2013 12:2314
Server1NotApplicableECPUnhealthy5/26/2013 15:402
Server1NotApplicableEventAssistantsHealthy5/29/2013 17:5140
Server1NotApplicableMonitoringHealthy5/29/2013 17:219

You can see that the Exchange Control Panel Health Set is Unhealthy. You can also see that this Health Set relies on two Monitors. Let's find out if both of those Monitors are unhealthy.

Health of Each Monitor of a Health Set

Now, use Get-ServerHealth to find out how which Monitors of the Health Set are Unhealthy:

Get-ServerHealth -Identity Server1 -HealthSet ECP

ServerStateNameTargetResourceHealthSetNameAlertValueServerComponent
--------------------------------------------------------------
Server1NotApplicableEacSelfTestMonitorECPUnhealthyNone
Server1NotApplicableEacDeepTestMonitorECPUnhealthyNone

Both Monitors for this Health Set are Unhealthy. If you pipe this command to Format-List, you will get some more details about these Monitors.

Troubleshooting Monitors

Most Monitors in Exchange are one of these four types:

The EacSelfTestMonitor Probes along the "1" path, while the EacDeepTestMonitor Probes along the "4" path. Since both are Unhealthy, you can know that the problem lies on the Mailbox Role in either the Protocol or Store. It could also be a problem with a dependency, such as Active Directory. This is likely if multiple Health Sets are Unhealthy. Troubleshooting ECP Health Set is a good article to help diagnose and fix the problem simulated here.

 -ajacks


Viewing all articles
Browse latest Browse all 34890

Trending Articles