RSS

为exchange 2010 mbx 安装rollup

08 Jun

和exchange 2007一样,安装rollup需要在p节点上,但是DAG使得P的概念变化很大。

过程如下:

  • 停止重播

Get-MailboxDatabaseCopyStatus –Server DAGS01 | Suspend-MailboxDatabaseCopy –ActivationOnly –Confirm:$false

  • 将DAG01上的活动数据库全部挪走

Move-ActiveMailboxDatabase -Server DAGS01 -ActivateOnServer DAGS02

  • 安装rollup,需要注意的是如果无法直接联网,可以
  1. 去掉“Check for publisher’s certificate revocation”选项。“Internet Explorer –> Tools –> Internet Options –> Advanced tab –> Security section”。
  2. 写host,添加172.0.0.1 crl.microsoft.com到host文件中
  • 更新完成后,运行

Get-MailboxDatabaseCopyStatus –Server DAG01 | Resume-MailboxDatabaseCopy

  • 查看数据库状态即可。

Get-MailboxDatabase | select Name, ActivationPreference, Server

Get-MailboxDatabase | Sort Name | FOREACH {$db=$_.Name; $xNow=$_.Server.Name ;$dbown=$_.ActivationPreference| Where {$_.Value -eq 1};  Write-Host $db "on" $xNow "Should be on" $dbOwn.Key -NoNewLine; If ( $xNow -ne $dbOwn.Key){Write-host " WRONG" -ForegroundColor Red; Move-ActiveMailboxDatabase $db -ActivateOnServer $dbOwn.Key -confirm:$False}ELSE{Write-Host " OK" -Foregroundcolor Green}}

Get-MailboxDatabase | Sort Name | FOREACH {$db=$_.Name; $xNow=$_.Server.Name ;$dbown=$_.ActivationPreference| Where {$_.Value -eq 1};  Write-Host $db "on" $xNow "Should be on" $dbOwn.Key -NoNewLine; If ( $xNow -ne $dbOwn.Key){Write-host " WRONG" -ForegroundColor Red; }ELSE{Write-Host " OK" -Foregroundcolor Green}}

Advertisements
 
 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: