Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-05
This topic explains how to use the Move-ClusteredMailboxServer cmdlet to transfer a Microsoft Exchange Server 2007 clustered mailbox server (CMS) to an available passive cluster node.
Syntax
move-ClusteredMailboxServer -Identity
<ServerIdParameter> -MoveComment <String>
-TargetMachine <String> [-DomainController <Fqdn>]
[-IgnoreDismounted <SwitchParameter>] [-ValidateOnly
<SwitchParameter>]
|
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
Microsoft.Exchange.Configuration.Tasks.ServerIdParameter |
The Identity parameter specifies the name or GUID of the clustered mailbox server to be moved. |
Confirm |
Optional |
Boolean |
The Confirm parameter causes the command to pause processing and requires the administrator to acknowledge what the command will do before processing continues. The default value is $true. |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController specifies the fully qualified domain name (FQDN) of the domain controller. |
MoveComment |
Required |
System.String |
The MoveComment parameter specifies the reason for the move command being issued. The comment is recorded in the event log. |
TargetMachine |
Required |
System.String |
The TargetMachine parameter specifies the name of the target computer for the move. This computer must be a member of the cluster and cannot be running a clustered mailbox server. It must be on the list of redundant servers of the clustered mailbox server. |
IgnoreDismounted |
Optional |
System.Management.Automation.SwitchParameter |
The IgnoreDismounted parameter indicates dismounted storage groups are to be ignored for the purposes of replication health checks. By default, the value is $false. This parameter should be provided when the dismounted storage group had a corrupted log drive because such a failure would prevent the handoff. If a value of $true is passed, the administrator must ensure that all log files for the dismounted storage group are on the target. |
ValidateOnly |
Optional |
System.Management.Automation.SwitchParameter |
The ValidateOnly parameter runs the target validation portion of the Move-ClusteredMailboxServer cmdlet. This will validate whether replication on the target node is healthy for all storage groups. |
WhatIf |
Optional |
Boolean |
The WhatIf parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, the administrator can view what changes would occur without having to apply any of those changes. The default value is $true. |
Detailed Description
The Move-ClusteredMailboxServer cmdlet is used to initiate a scheduled outage of a clustered mailbox server between nodes. This situation is in contrast to an unscheduled outage when the Mailbox server's host fails.
To successfully initiate a Move-ClusteredMailboxServer operation, the following conditions must be met:
- A clustered mailbox server must not be running on the specified
target computer.
- The specified target computer must be available and must be a
member of the same cluster.
After a Move-ClusteredMailboxServer operation has completed, one of the following results occurs:
- The specified clustered mailbox server is now running on the
specified target node with all data from the formerly active
node.
Note: If the clustered mailbox server was offline when the command was issued, it will remain offline but will be transferred to the specified node. - If any data would be lost as a result of running the
Move-ClusteredMailboxServer cmdlet, the running of the
cmdlet, in most cases, will be prevented and the clustered mailbox
server will remain on the original node.
Important: If the failure occurs late in the Move-ClusteredMailboxServer process, the clustered mailbox server will be moved to the new node.
This task requires that 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.
Errors
Error | Description |
---|---|
|
The task was unable to connect to the cluster due to a communication issue, or the cluster is not available. This may be 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 specified server does not exist. |
|
Unable to move the clustered mailbox server because the specified server does not exist. Specified server: <ServerName>. |
|
Communication could not be initiated with the active node. |
|
Communication could not be initiated with the target computer. |
|
Could not find the System Attendant. |
|
Could not find the Information Store. |
|
Could not connect to the Cluster service on the target computer. |
|
The specified target computer was already actively hosting another clustered mailbox server. |
|
The versions of the clustered mailbox server object and the target computer are incompatible. |
|
A managed storage group was not found in the Active Directory directory service. |
|
Cluster continuous replication (CCR) restricts a storage group to containing a single database. |
|
Move is not allowed if target is broken and not ignored. |
|
Move is not allowed if target is significantly behind in replication. |
|
Replication on the target is not ready to support a Move-ClusteredMailboxServer operation. |
|
Cannot do a move while move, start, or stop is in progress. |
|
Clustered mailbox server on source failed to go offline. |
|
Clustered mailbox server failed to do a basic transition to the target computer. |
|
Clustered mailbox server failed to exit pending state on target. |
|
Clustered mailbox server failed to come online. |
|
A transient communication problem occurred when interacting with the Cluster service. |
Example
The following code example shows how to move a clustered mailbox server named CMS to NodeB to recover from a corrupted database.
Copy Code | |
---|---|
Move-ClusteredMailboxServer -Identity:CMS -TargetMachine:NodeB -MoveComment:"Recover corrupted MDB" |