SQL Server Mirroring GRANT CONNECT ON ENDPOINT

时间:2017-04-09 23:35:43

标签: sql sql-server database sql-server-2008 sql-server-2012

FROM the MIRROR sql ( db in Restoring... ) I can successfully run this

ALTER DATABASE ClearWater SET PARTNER = N'TCP://TMPSQL2.caldomain.lcl:5022'

Now when I try from the Principal sql server

ALTER DATABASE ClearWater SET PARTNER = N'TCP://TMPSQL2V.caldomain.lcl:5022'

I get this error

The server network address "TCP://TMPSQL2V.caldomain.lcl:5022" can not be reached or does not exist. Check the network address name and that the ports for the local and remote endpoints are operational.

I have opened firewall and I can telnet etc..

Reading articles, and I am trying to do a Grant Connect.. without any luck

GRANT CONNECT ON ENDPOINT::Mirroring TO [caldomain.lcl\sa]

Cannot grant, deny, or revoke permissions to sa, dbo, entity owner, information_schema, sys, or yourself.

  1. I don't know if this Grant Connect is even my problem
  2. There is a domain called caldomain and it is technically same as caldomain.lcl There are SA accounts on both server (principal and mirror) , I am not sure what to use for an account , create a new account?

notice principal is TmpSQL2 and mirror is TmpSQL2V

0 个答案:

没有答案