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.
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