Move-ClusteredMailboxServer
Applies to: Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3
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> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-IgnoreDismounted <SwitchParameter>] [-ValidateOnly <SwitchParameter>] [-WhatIf [<SwitchParameter>]]
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.
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. |
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. |
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
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 parameter specifies the fully qualified domain name (FQDN) of the domain controller. |
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 |
System.Management.Automation.SwitchParameter |
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. |
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, because of a network failure, or because of a network configuration error. |
|
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 Instance cluster resource. |
|
Could not find the Information Store Instance cluster resource. |
|
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. |
|
A handoff is blocked if replication is in a Failed state and the IgnoreDismounted parameter is not used. |
|
A handoff is blocked if replication is too far behind to allow the databases to be mounted when the passive node becomes the active node. |
|
Replication on the target is not ready to support a Move-ClusteredMailboxServer operation. |
|
You cannot move a clustered mailbox server when one or more clustered resources is in an online pending or offline pending state. |
|
Clustered mailbox server on source failed to go offline. |
|
Clustered mailbox server failed to change ownership from the active node to the passive node. |
|
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 EXCMS to NodeB.
Move-ClusteredMailboxServer -Identity:EXCMS -TargetMachine:NodeB -MoveComment:"Getting ready for maintenance on NodeA"