Link to home
Create AccountLog in
Avatar of kolathaya123
kolathaya123Flag for India

asked on

Require delay mounting database in another site - exchange 2010 DAG

Hi,

I have 2 MBx servers in HO and one MBX server in BO. database of BO is 'BOdatabase' and it is active in BO server and copy in MBX1 server. but the internet between BO and HO are not so good. some times it gets disconnects. So, when ever the internet had issue, the BOdatabase will mount in MBX1 server. I don't want this to be happen immediately . it should wait for 5 minutes, and if then also if the link is not come up means then the BOdatabase should mount in MBX1.

Is this possible
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland image

No.
As soon as the link drops, Exchange will try and mount another database copy.

Simon.
I would change CrossSubnetDelay to 4000 and the CrossSubnetThreshold to 20 this will give you about 1.5 minutes before the other node decides it is down and tries to mount it but this is about the max u can do

as an alternative what I would do is change the DatabaseCopyAutoActivationPolicy  to intrasiteonly, this will block all cross-site failover and you will have the option to manually mount it if needed.
Open PS on your MBX server. Browse to script folder and run:

StartDagServerMaintenance.ps1 -serverName mbx1

Once you ran this command no db will be able to failover to this server. It will be out of DAG mix however running.

Next when ever you want to mount db on this server just run

StopDagServerMaintenance.ps1 -serverName mbx1

after running stop command server will be back to DAG mix and you can mount the db on mbx1 server.

This is the best way for your requirement. Inbuilt and no other modification required.
Avatar of kolathaya123

ASKER

Hi Amit,

if we ran StartDagServerMaintenance.ps1 -serverName mbx1, the database copy will be updating right...

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Akhater
Akhater
Flag of Lebanon image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer