Востановление сервера Exchange

What do you need to know before you begin?

  • Estimated time to complete: 30 minutes
  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the «Mailbox database copies» entry in the [url=http://technet.microsoft.com/en-us/library/dd638136(v=exchg.150).aspx]High availability and site resilience permissions[/url] topic.
  • If Exchange is installed in a location other than the default location, you must use the /TargetDir Setup switch to specify the location of the Exchange program files. If you don’t use the /TargetDir switch, the Exchange program files will be installed in the default location (%programfiles%\Microsoft\Exchange Server\V15).
    To determine the install location, follow these steps:
  • Open ADSIEDIT.MSC or LDP.EXE.
  • Navigate to the following location: CN=ExServerName,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=ExOrg Name,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=DomainName,CN=Com
  • Right-click the Exchange server object, and then click Properties.
  • Locate the msExchInstallPath attribute. This attribute stores the current installation path.
  • For information about keyboard shortcuts that may apply to the procedures in this topic, see [url=http://technet.microsoft.com/en-us/library/jj150484(v=exchg.150).aspx]Keyboard shortcuts in the Exchange admin center[/url].

Tip:Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange ServerExchange Online, or Exchange Online Protection..

Use Setup /m:RecoverServer to recover a server

  • Retrieve any replay lag or truncation lag settings for any mailbox database copies that exist on the server being recovered by using the [url=http://technet.microsoft.com/en-us/library/bb124924(v=exchg.150).aspx]Get-MailboxDatabase[/url] cmdlet:Get-MailboxDatabase DB1 | Format-List *lag*
  • Remove any mailbox database copies that exist on the server being recovered by using the [url=http://technet.microsoft.com/en-us/library/dd335119(v=exchg.150).aspx]Remove-MailboxDatabaseCopy[/url] cmdlet:Remove-MailboxDatabaseCopy DB1\MBX1
  • Remove the failed server’s configuration from the DAG by using the [url=http://technet.microsoft.com/en-us/library/dd297956(v=exchg.150).aspx]Remove-DatabaseAvailabilityGroupServer[/url] cmdlet:Remove-DatabaseAvailabilityGroupServer -Identity DAG1 -MailboxServer MBX1Note:If the DAG member being removed is offline and can’t be brought online, you must add the ConfigurationOnly parameter to the preceding command. If you use the ConfigurationOnly switch, you must also manually evict the node from the cluster.
  • Reset the server’s computer account in Active Directory. For detailed steps, see Reset a Computer Account.
  • Open a Command Prompt window. Using the original Setup media, run the following command:Setup /m:RecoverServer
  • When the Setup recovery process is complete, add the recovered server to the DAG by using the [url=http://technet.microsoft.com/en-us/library/dd298049(v=exchg.150).aspx]Add-DatabaseAvailabilityGroupServer[/url] cmdlet:Add-DatabaseAvailabilityGroupServer -Identity DAG1 -MailboxServer MBX1
  • After the server has been added back to the DAG, you can reconfigure mailbox database copies by using the [url=http://technet.microsoft.com/en-us/library/dd298105(v=exchg.150).aspx]Add-MailboxDatabaseCopy[/url] cmdlet. If any of the database copies being added previously had replay lag or truncation lag times greater than 0, you can use the ReplayLagTime and TruncationLagTime parameters of the [url=http://technet.microsoft.com/en-us/library/dd298105(v=exchg.150).aspx]Add-MailboxDatabaseCopy[/url] cmdlet to reconfigure those settings:Add-MailboxDatabaseCopy -Identity DB1 -MailboxServer MBX1Add-MailboxDatabaseCopy -Identity DB2 -MailboxServer MBX1 -ReplayLagTime 3.00:00:00
    Add-MailboxDatabaseCopy -Identity DB3 -MailboxServer MBX1 -ReplayLagTime 3.00:00:00 -TruncationLagTime 3.00:00:00

 

Яндекс.Метрика