nachtmsk
asked on
Exchange 2010 - DAG/Server switchover
Hi,
I have exchange 2010 running on two servers. Each server has CAS, MB and HUB roles installed.
Everything is working fine, but I wanted to create a switchover procedure in the event of a problem. I'm still piecing together what I would need to do so please help me fill in the blanks.
Domain: mail.testmail.com IP 1.1.1.1 (made up of course). So the DNS record points mail.testmail.com to 1.1.1.1
Servers: ex1(1.1.1.1) and ex2 (1.1.1.2)
So let's say, ex1 goes down (or I need to take it down for maintenance). What steps do I need to do to have users connect to ex2 to send/receive their mail. I don't need this to happen automatically, manually is fine for now. I have a test system set up that I am going to practice this one first (of course!)
Step 1: Change the CAS server for each DB with something like this:
Set-MailboxDatabase -id DBNAME -RpcClientAccessServer 'ex1.testmail.lcl'
Step 2: As per an article I found on technet, move the mailbox database copies to mailbox server on ex2
In the console tree, navigate to Server Configuration > Mailbox.
In the result pane, select the Mailbox server you want.
In the action pane, select Switchover Server.
In the Switchover server database copies dialog box, do one of the following:
Accept the default setting of Automatically choose a target server (in which case, the system automatically selects the best Mailbox server for each database being switched over), and then click OK.
Click Use the specified server as the target for switchover, click Browse to select a Mailbox server, and then click OK
Step 3: Is there a step three? What do I do about DNS records? Do I just change the physical IP address on ex2 from 1.1.1.2 to 1.1.1.1 ?
Thanks!
M
I have exchange 2010 running on two servers. Each server has CAS, MB and HUB roles installed.
Everything is working fine, but I wanted to create a switchover procedure in the event of a problem. I'm still piecing together what I would need to do so please help me fill in the blanks.
Domain: mail.testmail.com IP 1.1.1.1 (made up of course). So the DNS record points mail.testmail.com to 1.1.1.1
Servers: ex1(1.1.1.1) and ex2 (1.1.1.2)
So let's say, ex1 goes down (or I need to take it down for maintenance). What steps do I need to do to have users connect to ex2 to send/receive their mail. I don't need this to happen automatically, manually is fine for now. I have a test system set up that I am going to practice this one first (of course!)
Step 1: Change the CAS server for each DB with something like this:
Set-MailboxDatabase -id DBNAME -RpcClientAccessServer 'ex1.testmail.lcl'
Step 2: As per an article I found on technet, move the mailbox database copies to mailbox server on ex2
In the console tree, navigate to Server Configuration > Mailbox.
In the result pane, select the Mailbox server you want.
In the action pane, select Switchover Server.
In the Switchover server database copies dialog box, do one of the following:
Accept the default setting of Automatically choose a target server (in which case, the system automatically selects the best Mailbox server for each database being switched over), and then click OK.
Click Use the specified server as the target for switchover, click Browse to select a Mailbox server, and then click OK
Step 3: Is there a step three? What do I do about DNS records? Do I just change the physical IP address on ex2 from 1.1.1.2 to 1.1.1.1 ?
Thanks!
M
You can automatically switchover: http://exchangeserverpro.com/exchange-2010-automate-rebalancing-database-availability-group/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Simon! I understand what you are saying.
Just for arguments sake, would it work if I changed the CAS server, moved the MB DB to the second server and changed the IP address of the second server to the IP address of the first. Not the best solution I know, but I just wanted to know if it would work.
I'm going to implement what you suggested on my testing system.
Thanks again.
Just for arguments sake, would it work if I changed the CAS server, moved the MB DB to the second server and changed the IP address of the second server to the IP address of the first. Not the best solution I know, but I just wanted to know if it would work.
I'm going to implement what you suggested on my testing system.
Thanks again.
It may work, but you would have a pretty confused domain. Remember everything is tied to DNS etc. The RPC CAS Array is how it is designed to be done.
Simon.
Simon.
ASKER
Thanks again Simon. That was exactly what I needed to know.