Get-ClusteredMailboxServerStatus (RTM)
Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Applies to: Exchange Server 2007
Use the Get-ClusteredMailboxServerStatus cmdlet to view the status of a specified Microsoft Exchange Server 2007 clustered mailbox server and to get basic operational status about the computers that can host it.
Syntax
Get-ClusteredMailboxServerStatus [-Identity <ServerIdParameter>] [-DomainController <Fqdn>]
Detailed Description
The following preconditions must be met to successfully run the Get-ClusteredMailboxServerStatus cmdlet:
The account you use to initiate the task is delegated the Exchange Server Administrator role and local Administrators group for the target server. For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.
The clustered mailbox server must exist.
The cluster must be formed and the Cluster service must be running.
Communication to the cluster must be available.
An Exchange administrator can retrieve the following information by running the Get-ClusteredMailboxServerStatus cmdlet:
Host of the clustered mailbox server (a fully qualified domain name or FQDN).
Current status of the clustered mailbox server, as follows:
Online The server is completely online.
Partially Online One or more resources of the server are not online.
Online Pending One or more resources of the server are still coming online.
Offline The server is completely offline.
Offline Pending One or more resources of the server are still going offline.
Failed The server has failed.
List of the operational computers in the cluster. An array of FQDNs.
List of each offline resource associated with the clustered mailbox server and its state.
For databases, the resource name is either the database GUID or the StorageGroupName\DatabaseName. All other resources use their cluster resource name. However, administrators can change this behavior if they want. Its state will be one of the following:
Partially Online One or more resources of the server are not online.
Online Pending One or more resources of the server are still coming online.
Offline The server is completely offline.
Offline Pending One or more resources of the server are still going offline.
Failed One or more resources have failed.
For information about troubleshooting failed resources, see Troubleshooting High Availability Deployments.
The Get-ClusteredMailboxServerStatus cmdlet is supported remotely using the following methods:
All nodes in the cluster hosting the clustered mailbox server.
An administrative workstation.
Another Exchange server in the organization.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Optional |
Microsoft.Exchange.Configuration.Tasks.ServerIdParameter |
The Identity parameter takes one of the following values:
|
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
To specify the FQDN of the domain controller that writes this configuration change to the Active Directory directory service, include the DomainController parameter in the command. |
Errors
Error | Description |
---|---|
|
The task was unable to connect to the cluster due to a communication issue, or the cluster is not available. This error may occur because the node is unavailable, or the node is available and the cluster is unavailable, or because the computer being used cannot access a node or computer. |
|
This task supports Exchange 2007 only and <ServerName> is not an Exchange 2007 server. |
|
User does not have Exchange Server Administrator authority. |
|
The server is a stand-alone Mailbox server. |
|
Unable to get clustered mailbox server status because the specified server does not exist. Specified server: <ServerName>. |
|
The specified server was not a clustered mailbox server. |
|
Identity was omitted and a clustered mailbox server could not be implied. |
|
Identity was omitted and a clustered mailbox server could not be implied because there is no started clustered mailbox server and there are multiple stopped clustered mailbox servers present on this node. |
|
The Mailbox server role is not installed on this node. |
Example
In the following example, the Get-ClusteredMailboxServerStatus cmdlet is used to view the status of a clustered mailbox server named CMS1.
Get-ClusteredMailboxServerStatus [-Identity:CMS1]
The following displays the output obtained from running the Get-ClusteredMailboxServerStatus cmdlet as shown in the previous code sample:
get-ClusteredMailboxServerStatus -Identity:CMS1
Identity: CMS1,66ece5af-1c91-421e-a460-a0c864d38968
ClusteredMailboxServerName : CMS1.contoso.com
State: Partially Online
OperationalMachines: {CMS-Node1 <Active>, CMS-Node2}
FailedResources: {<Second Storage Group>/<Public Folder Database> -- Offline}
IsValid: True
ObjectState : Unchanged