Saturday, April 21, 2012

Move Active Database… DAG Exchange 2010

When you do maintenance or need to bounce one of the  DAG members, you may want to move Active databases to another server. If you have been using EMC ( GUI) you have noticed it is not efficient and doing repetitive work. Sooner or later you need to switch doing Exchange related task from power shell otherwise , trust me you will run into many problems.

To see your databases

Get-MailboxDatabase

image

Move-ActiveMailboxDatabase DB1 -ActivateOnServer R1E1 -MountDialOverride:None -confirm:$false

  • DB1= Replace this with your DB Name
  • R1E1 is the server I will be activating DB1 on
  • confirm:$false  is going to take care of annoying confirm option

image

Move-ActiveMailboxDatabase -Server R1E2 -confirm:$false

This will move all databases on R1E2 Server

image

Source

http://technet.microsoft.com/en-us/library/ee364750.aspx

Respectfully,
Oz Casey, Dedeal ( MVP north America)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

No comments: