您好,登錄后才能下訂單哦!
在我們?nèi)粘`]件系統(tǒng)運(yùn)維管理或?qū)嵤┎渴鹱兏?,?jīng)常會(huì)遇到,刪除Exchange 數(shù)據(jù)庫DB時(shí),提示無法刪除。
——————————————————–
Microsoft Exchange Error
——————————————————–
The mailbox database ‘EXMB01’ cannot be deleted. Failed Error: This mailbox database contains one or more mailboxes, mailbox plans, archive mailboxes, or arbitration mailboxes. To get a list of all mailboxes in this database, run the command Get-Mailbox -Database <Database ID>. To get a list of all mailbox plans in this database, run the command Get-MailboxPlan. To get a list of archive mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Archive. To get a list of all arbitration mailboxes in this database, run the command Get-Mailbox -Database <Database ID> -Arbitration. To disable a non-arbitration mailbox so that you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID>. To disable an archive mailbox so you can delete the mailbox database, run the command Disable-Mailbox <Mailbox ID> -Archive. Arbitration mailboxes should be moved to another server; to do this, run the command New-MoveRequest <parameters>. If this is the last server in the organization, run the command Disable-Mailbox <Mailbox ID> -Arbitration -DisableLastArbitrationMailboxAllowed to disable the arbitration mailbox. Mailbox plans should be moved to another server; to do this, run the command Set-MailboxPlan <MailboxPlan ID> -Database <Database ID>.
# Error1:
郵件系統(tǒng)升級(jí)做變更,無法卸載Exchange Server 服務(wù)器
# Error2:
基于客戶需求,刪除默認(rèn)郵件服務(wù)器創(chuàng)建數(shù)據(jù)庫DB ,提示無法刪除,包含一個(gè)或多個(gè)用戶郵箱、存檔郵箱等
Solution:
服務(wù)器環(huán)境: Windows Server 2012 R2 、Exchange Server 2013
在多數(shù)中小型企業(yè)中,有許多客戶為了省事,將郵件服務(wù)器應(yīng)用程序及數(shù)據(jù)庫DB 安裝在同一快磁盤中,規(guī)劃部署中磁盤劃分也不是非常大,但后期隨著業(yè)務(wù)擴(kuò)大,常常會(huì)遇到郵件服務(wù)器磁盤空間滿導(dǎo)致用戶無法收發(fā)郵件。
多數(shù)客戶常用操作方式,清除log日志。我們會(huì)建議常用考慮,通過遷移方式,將用戶郵箱遷移到較大存儲(chǔ)磁盤里面;
1. 打開現(xiàn)在Exchange Admin center ,查看需刪除默認(rèn)數(shù)據(jù)庫DB,當(dāng)然也可以通過Exchange Powershell 獲取環(huán)境數(shù)據(jù)庫DB;
2. 常見操作步驟就是在控制臺(tái)刪除用戶郵箱數(shù)據(jù)庫DB ,但是報(bào)如下錯(cuò)誤;
3. 遷移操作之前我們先新建一個(gè)數(shù)據(jù)庫DB 完成,來完成接下來工作;
4. 查詢當(dāng)前數(shù)據(jù)庫DB 包含用戶郵箱、存檔郵箱、監(jiān)控郵箱;
5. 將舊的存儲(chǔ)數(shù)據(jù)庫包含仲裁以外的郵箱把他們搬到新的郵箱存儲(chǔ)且裝載好;
Get-Mailbox -Database “CurrentDatabase” | New-MoveRequest -TargetDatabase “NewDatabaseName”
6. 獲取用戶郵箱遷移狀態(tài),以及存儲(chǔ)郵箱完成進(jìn)度
7. 獲取默認(rèn)仲裁郵箱、存檔郵箱
Get-Mailbox -Database "Mailbox Database 1677978442" -Arbitration
8. 完成所有所有用戶郵箱遷移操作
Get-MoveRequestStatistics -MoveRequestQueue "exMb02"
9. 刪除默認(rèn)用戶郵箱數(shù)據(jù)庫DB,當(dāng)然在刪除操作之前先進(jìn)行確認(rèn)是否已完成遷移操作
Remove-Database "Mailbox Database 1677978442"
10. 獲取當(dāng)前數(shù)據(jù)庫,確認(rèn)是否刪除。并將默認(rèn)數(shù)據(jù)庫文件夾刪除;
--------------------------------------------
以上操作完成之后,完成郵件系統(tǒng)升級(jí)做變更,以及用戶郵箱遷移擴(kuò)容。
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。