database - Set Witness server on Principal got error -


i setting database mirroring, here model:

  • pricipal database instance in server1
  • mirror database instance in server2
  • witness database instance in server2

i setting mirroring certificate, ok when set principal , mirror see together.

but when add witness principal, got error:

"the alter database command not sent remote server instance 'tcp://xxx:5024'. database mirroring configuration not changed. verify server connected, , try again."

notice setting correct certificate principal, mirror , witness , principal can telnet witness via 5024 port.

i have been searching on internet 2 weeks seems there no complete answer.

i spent 1 day figure out issue , thread trouble setting witness in sql server mirroring scheme w/ error saved me.

my problem witness server not see principal server. went through windows event in witness server , see this:

the mirroring connection "tcp://xx:6022" has timed out database "xxx" after 10 seconds without response. check service , network connections.

and add host entry point principle server on witness server , problem solved.


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -