Exchange DAG架構的災難恢複(二)

來源:互聯網
上載者:User

上次的DAG恢複是在測試域的環境中進行, (參考文章: http://hubuxcg.blog.51cto.com/2559426/1156785),本次利用工作環境域,再做一次的時候碰到2個問題,現記錄下來,分享給大家!

環境說明:原DAG的環境由MAL741/MAL742兩台Exchange Server組成,現用Setup /mode: Recoverserver完成第一台Server MAL741的安裝,

1. DatabaseCopy無法刪除

問題描述:

執行到第15步:刪除DAG中MAL742的DatabaseCopy時,發現有幾個DB無法刪除,在執行PowerShel:Remove-MailboxDatabaseCopy -Identity QX-DB2\MAL742 -Confirm:$False時報以下錯誤:

650) this.width=650;" title="clip_image002" style="border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline" border="0" alt="clip_image002" height="72" src="http://www.bkjia.com/uploads/allimg/131227/1T2115130-0.jpg" />

原因分析:

因為DB當前Hosted(Active)在未恢複的主機:MAL742上,而MAL742當前還未恢複,所以無法刪除,用Mover-ActiveMailboxDatabase也無法執行成功!

解決方案:

進到AD中, 開啟ADSIEDIT,進到目前要恢複的DB,如:QX-DB2

Configuration\CN=Configuration,DC=Domain,DC=com\CN=Services\CN=Microsoft Exchange\CN= Domain \CN=Administrative Groups\CN=Exchange Administrative Group\CN=Database \CN=QX-DB2,QX-DB2為當前需要恢複的DB,右鍵,屬性

650) this.width=650;" title="clip_image003" style="border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline" border="0" alt="clip_image003" height="244" src="http://www.bkjia.com/uploads/allimg/131227/1T2113036-1.png" />

650) this.width=650;" title="clip_image004" style="border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline" border="0" alt="clip_image004" height="244" src="http://www.bkjia.com/uploads/allimg/131227/1T211E39-2.png" />

找到以下內容msExchOwningServer,開啟,將MAL742修改為MAL741,即將當前的Hosted(Active)改為MAL741

650) this.width=650;" title="clip_image005" style="border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline" border="0" alt="clip_image005" height="244" src="http://www.bkjia.com/uploads/allimg/131227/1T211O55-3.png" />

再次進到PowerShell中,執行即可!

Remove-MailboxDatabaseCopy -Identity QX-DB2\MAL742 -Confirm:$False,

650) this.width=650;" title="clip_image007" style="border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline" border="0" alt="clip_image007" height="11" src="http://www.bkjia.com/uploads/allimg/131227/1T2115947-4.png" />

對其它幾個DB執行相同操作!

2. 無法使用PowerShell進行郵箱合并

問題描述:

無法使用PowerShell Cmdlet: restore-mailbox和 New-MailboxRestoreRequest將恢複資料庫中的使用者郵箱內容和當前的使用者郵箱進行合并:

原因分析:

Exchange 2010 Service Pack 1 (SP1) 或更高版本,需要使用新的PowerShell Cmdlet: New-MailboxRestoreRequest而非 Restore-Mailbox,而當前的環境是Exchange2010 SP2,所以需要使用: New-MailboxRestoreRequest

而使用New-MailboxRestoreRequest時,使用者需要有足夠許可權!

解決方案:

進到AD中, 將目前使用者加入到Organization Management組,即可執行成功:

New-MailboxRestoreRequest -SourceDatabase RDB -SourceStoreMailbox 'johnson' -TargetMailbox ‘johnson’

同時,可用以下PowerShell:命令查看合并進度:

Get-MailboxRestoreRequest | Get-MailboxRestoreRequestStatistics

650) this.width=650;" title="clip_image009" style="border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline" border="0" alt="clip_image009" height="27" src="http://www.bkjia.com/uploads/allimg/131227/1T211L00-5.jpg" />

執行完成後,可用以下命令,查看當前資料庫中的使用者及郵箱大小

Get-Mailbox -database qx-db4 |Get-Mailboxstatistics |sort totalitemsize -desc |ft displayname,totalitemsize,itemcount

650) this.width=650;" title="clip_image011" style="border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px; display: inline" border="0" alt="clip_image011" height="26" src="http://www.bkjia.com/uploads/allimg/131227/1T2114361-6.jpg" />

總結:

不同版本,不同環境下的恢複測試,會碰到不同的問題,所以一定要制定好恢複測試計劃,並定期演練, 才能在問題真正發生時,從容應對,將損失或停機時間降到最底!

本文出自 “大向技術分享” 部落格,轉載請與作者聯絡!

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.