Get-ClusteredMailboxServerStatus (RTM)

 

適用版本: Exchange Server 2007

上次修改主題的時間: 2007-06-05

使用 Get-ClusteredMailboxServerStatus 指令程式可以檢視特定 Microsoft Exchange Server 2007 叢集信箱伺服器的狀態,也可以取得關於能主控該伺服器之電腦的基本操作狀態。

語法

Get-ClusteredMailboxServerStatus [-Identity <ServerIdParameter>] [-DomainController <Fqdn>]

詳細描述

必須符合下列指定條件,才能順利執行 Get-ClusteredMailboxServerStatus 指令程式:

  • 用來啟動工作的帳戶會獲委派 Exchange Server 系統管理員角色及目標伺服器的本機 Administrators 群組。如需管理 Exchange Server 2007 所需之權限、委派角色及權利的相關資訊,請參閱權限考量
  • 叢集信箱伺服器必須存在。
  • 必須已組成叢集,且叢集服務必須正在執行。
  • 必須可以使用叢集的通訊。

Exchange 系統管理員可執行 Get-ClusteredMailboxServerStatus 指令程式來擷取下列資訊:

  • 叢集信箱伺服器的主機 (完整的網域名稱或 FQDN)。
  • 叢集信箱伺服器目前的狀態,如下所示:
    • 連線   伺服器完全連線。
    • 部分連線   伺服器的一或多個資源未連線。
    • 連線擱置   伺服器的一或多個資源仍在連線中。
    • 離線   伺服器完全離線。
    • 離線擱置   伺服器的一或多個資源仍在離線中。
    • 失敗   伺服器已失敗。
  • 在叢集中運作的電腦清單。FQDN 的陣列。
  • 與叢集信箱伺服器及其狀態關聯的每個離線資源清單。

若是資料庫,資源名稱為資料庫 GUID 或 StorageGroupName\DatabaseName。其他所有的資源則會使用其叢集資源名稱。不過,系統管理員可以視需要變更此行為。其狀態會是下列其中一種:

  • 部分連線   伺服器的一或多個資源未連線。
  • 連線擱置   伺服器的一或多個資源仍在連線中。
  • 離線   伺服器完全離線。
  • 離線擱置   伺服器的一或多個資源仍在離線中。
  • 失敗   一或多個資源失敗。

如需進行失敗資源疑難排解的相關資訊,請參閱高可用性部署疑難排解

使用下列方法,即可在遠端支援 Get-ClusteredMailboxServerStatus 指令程式:

  • 主控叢集信箱伺服器之叢集中的所有節點。
  • 系統管理工作站。
  • 組織中的其他 Exchange 伺服器。

參數

參數 必要 類型 描述

Identity

選用

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

Identity 參數會採用下列其中一個值:

  • GUID
  • 網域名稱
  • 儲存群組名稱

DomainController

選用

Microsoft.Exchange.Data.Fqdn

若要指定將此組態變更寫入至 Active Directory 目錄服務之網域控制站的 FQDN,請在命令中加入 DomainController 參數。

錯誤

錯誤 描述

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 2007 Server. <ServerName> is not running Exchange 2007 Server.

此工作僅支援 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>. <CMSName> is a standalone mailbox server. This task will only work when executed against a clustered mailbox server.

該伺服器是獨立的信箱伺服器。

The operation could not be performed because <CMSName> could not be found on <DCFullName>. Get-ClusteredMailboxServerStatus was unable to get clustered mailbox server status because the specified server does not exist.

因為指定的伺服器不存在,所以無法取得叢集信箱伺服器的狀態。指定的伺服器:<ServerName>。

Server <CMSName> is not a clustered mailbox server. This task will only work when executed against a clustered mailbox server.

指定的伺服器不是叢集信箱伺服器。

No default Clustered Mailbox Server could be determined for <NodeName>. This task requires a Clustered Mailbox Server identity to be specified.

識別碼被忽略,因此無法指出叢集信箱伺服器。

The Identity parameter was omitted (defaulted) and no single clustered mailbox server can be selected. Use the Identity parameter to specify the Clustered Mailbox Server.

因為沒有已啟動的叢集信箱伺服器,而且在此節點上有多個已停止的叢集信箱伺服器,所以識別碼被忽略,而無法指出叢集信箱伺服器。

The Mailbox role is not configured on node <Node>.

此節點上未安裝 Mailbox server role。

範例

在下列範例中,Get-ClusteredMailboxServerStatus 指令程式是用來檢視名稱為 CMS1 的叢集信箱伺服器狀態。

Get-ClusteredMailboxServerStatus [-Identity:CMS1]

下列項目顯示執行之前的程式碼範例中所顯示的 Get-ClusteredMailboxServerStatus 指令程式所取得的輸出:

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

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