Mirroring - server network address cannot be reached or does not exist -


i have read number of articles on how configure mirroring on sql server 2012. went through steps , worked until hitting final step, didn't work.

when run on principal:

alter database mydbname set partner = 'tcp://1.2.3.4:5022';

i error:

the server network address "tcp://1.2.3.4:5022" can not reached or not exist.

when run counterpart alter statement shown above, on mirror, works fine.

i have tried steps in troubleshooting article.

important points:

  1. the primary , mirror servers in different datacenters, not on same network @ all. not connected vpn. untrusted each other.
  2. i can connect mirror via ssms on primary , run queries. , vice versa.
  3. i configured certificates on each server establish trust relationship. worked during setup , config, no errors.
  4. i configured endpoints on both servers , verified they're active/enabled.
  5. i opened port 5022 on both servers configuring incoming , outgoing windows firewall rules. can telnet mirror principal , vice versa - ports appear open, no problems.
  6. in troubleshooting guide mentioned above, tried steps 1-6. didn't try 7, deleting endpoints , re-creating, because valid , active me.

looking ideas on one.

if can telnet port principal machine fine tcp/ip , firewall settings.

i can remember had similar issue in past. unfortunatly dont remember exact solution related security/authentication of endpoints , sql server service account not having enough permission on mirror machine. unfortunatly error message pretty misleading in case. script endpoints , verify settings, ssms has no ui that. thing check have possibility connect port 5022 mirror principal machine. same error message if connection not possible both instances.

sorry cant provide proper solution, maybe points right direction.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -