Move-ClusteredMailboxServer

 

適用版本: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

上次修改主題的時間: 2008-01-22

本主題說明如何使用 Move-ClusteredMailboxServer 指令程式,將 Microsoft Exchange Server 2007 叢集信箱伺服器 (CMS) 轉移至可用的被動叢集節點。

語法

Move-ClusteredMailboxServer -Identity <ServerIdParameter> -MoveComment <String> -TargetMachine <String> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-IgnoreDismounted <SwitchParameter>] [-ValidateOnly <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

詳細描述

Move-ClusteredMailboxServer 指令程式用來初始叢集信箱伺服器在節點間的排定中斷。此情況與信箱伺服器主機失敗時的未排定中斷相反。

若要順利啟動 Move-ClusteredMailboxServer 作業,必須符合下列條件‎:

  • 指定的目標電腦上不可執行叢集信箱伺服器。
  • 指定的目標電腦必須可以使用且必須是相同叢集的成員。

Move-ClusteredMailboxServer 作業完成後,會產生下列其中一個結果:

  • 指定的叢集信箱伺服器現已使用先前主動節點的所有資料,在指定的目標節點上執行。

    note附註:
    如果發出命令時叢集信箱伺服器為離線,叢集信箱伺服器會保持離線但會轉移到指定的節點。
  • 如果執行 Move-ClusteredMailboxServer 指令程式會造成任何資料遺失,在大部分情況中都會防止此指令程式的執行,而叢集信箱伺服器會留在原始節點上。

    important重要事項:
    如果在 Move-ClusteredMailboxServer 程序快結束時發生失敗,叢集信箱伺服器會移至新節點。

此工作的必要條件是用來啟動工作的帳戶必須已委派 Exchange Server 系統管理員角色及目標伺服器的本機 Administrators 群組。如需管理 Exchange Server 2007 所需之權限、委派角色及權利的相關資訊,請參閱權限考量

參數

參數 必要 類型 描述

Identity

必要

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

Identity 參數指定要移動之叢集信箱伺服器的名稱或 GUID。

MoveComment

必要

System.String

MoveComment 參數指定發出移動命令的原因。註解會記錄在事件日誌中。

TargetMachine

必要

System.String

TargetMachine 參數指定移動之目標電腦的名稱。此電腦必須是叢集成員,且不可執行叢集信箱伺服器。它必須在叢集信箱伺服器的備援伺服器清單上。

Confirm

選用

System.Management.Automation.SwitchParameter

Confirm 參數會使得命令暫停處理,並要求系統管理員確認命令將進行的動作之後才會繼續處理。預設值為 $true。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

DomainController 參數指定網域控制站的網域全名 (FQDN)。

IgnoreDismounted

選用

System.Management.Automation.SwitchParameter

IgnoreDismounted 參數指出為了複寫狀況檢查而略過的已卸載儲存群組。預設值為 $false。已卸載儲存群組有損毀的記錄磁碟機時應提供此參數,因為這種失敗會防止遞交。若傳遞值 $true,系統管理員必須確定已卸載儲存群組的所有記錄檔都在目標上。

ValidateOnly

選用

System.Management.Automation.SwitchParameter

ValidateOnly 參數會執行 Move-ClusteredMailboxServer 指令程式的目標驗證部份。這會驗證目標節點上的複寫是否對所有儲存群組都正常。

WhatIf

選用

System.Management.Automation.SwitchParameter

WhatIf 參數指示命令模擬它將對物件採取的動作。藉由使用 WhatIf 參數的方式,系統管理員不需實際套用變更,就能先檢視任何變更。預設值為 $true。

錯誤

錯誤 描述

Server '< CMSName >' is not available. The cluster may be unavailable or a communication problem may exist. This task cannot complete without communicating with the cluster.

由於通訊問題或叢集無法使用,工作無法連接至叢集。

這可能是因為節點無法使用,或是節點可使用,但是叢集因網路失敗或網路組態錯誤而無法使用。

Get-ClusteredMailboxServerStatus is unable to get clustered mailbox server status because this task is only supported on servers running Exchange Server 2007. < ServerName > is not running Exchange Server 2007.

此工作僅支援 Exchange 2007,且 <ServerName> 不是 Exchange 2007 伺服器。

Access denied. The account used to run this task does not have sufficient privileges to get clustered mailbox server status from < ServerName >. Please use an account that has been assigned the Exchange Server Administrator role.

使用者沒有 Exchange Server 系統管理員權限。

The operation could not be performed because '< CMSName >' could not be found on < DCFullName >. Move-ClusteredMailboxServer was unable to move the clustered mailbox server because the specified server does not exist.

指定的伺服器不存在。

Specified target machine '< TargetMachine >' is not valid for < CMS >.

無法移動叢集信箱伺服器,因為指定的伺服器不存在。指定的伺服器:<ServerName>。

Could not establish communication with the host machine for '< CMS >'.

無法啟動與主動節點的通訊。

Could not establish communication with '< TargetMachine >'.

無法啟動與目標電腦的通訊。

Could not locate the System Attendant for '< CMSName >'.

找不到系統服務員執行個體叢集資源。

Could not locate the Exchange Information Store for '< CMSName >'.

找不到資訊儲存庫執行個體叢集資源。

Could not reach the cluster service on '< TargetMachine >'. Please make sure the node is up, cluster service is up, and network access is good.

無法連接至目標電腦上的叢集服務。

'< TargetMachine >' is already actively hosting another clustered mailbox server.

指定的目標電腦已主動主控其他叢集信箱伺服器。

The version of '< TargetMachine >' is inconsistent with the version of '< CMSName >'.

叢集信箱伺服器物件與目標電腦的版本不相容。

The storage group, ' SGGuid ' for the managed database, ' DBName ', could not be found in Active Directory.

Active Directory 目錄服務中找不到受管理的儲存群組。

'< CMS >' contains at least one storage group with multiple databases. This is not a supported configuration for Cluster Continuous Replication.

叢集連續複寫 (CCR) 限制儲存群組只能包含單一資料庫。

Replication is in a broken state on '< TargetMachine >'. Move-ClusteredMailboxServer cannot be performed if the target is broken.

如果複寫處於「失敗」的狀態,且未使用 IgnoreDismounted 參數,則會封鎖遞交。

Replication is too far behind on '< TargetMachine >'.

如果被動節點變成主動節點時,複寫落後太多而無法讓資料庫裝載,就會封鎖遞交。

Replication on '< TargetMachine >' for '< SGGuid >' is not prepared to support the Move-ClusteredMailboxServer command. Retry your operation after a brief wait.

目標上的複寫尚無法支援 Move-ClusteredMailboxServer 作業。

Move cannot be done while databases are in pending state. '< ResourceName >' is pending online/offline.

您無法在一或多個叢集資源處於連線擱置或離線擱置狀態時,移動叢集信箱伺服器。

'< CMSName >' failed to go offline.

來源上的叢集信箱伺服器無法為離線。

Failed to complete basic transition of '< CMSName >' to '< TargetMachine >'.

叢集信箱伺服器無法將擁有權從主動節點變更為被動節點。

'< CMSName >' did not exit 'Pending Online' state.

目標上的叢集信箱伺服器無法結束擱置狀態。

'< CMSName >' failed to come online on ' TargetMachine '.

叢集信箱伺服器無法連線。

Moving '< CMSName >' to '< TargetMachine >' failed due a possibly transient communication error with the Windows Clustering Services.

與叢集服務互動時發生暫時性通訊問題。

範例

下列程式碼範例顯示如何將叢集信箱伺服器 EXCMS 移動至 NodeB。

Move-ClusteredMailboxServer -Identity:EXCMS -TargetMachine:NodeB -MoveComment:"Getting ready for maintenance on NodeA"

若要確保您目前閱讀的是最新資訊,並尋找其他的 Exchange Server 2007 說明文件,請造訪 Exchange Server 技術資源中心.