I am trying to set up always on with file share witness.
I have
1) x named server for primary replica with ip xxx.xx.x.xx
2) y named server for secondary replica with ip yyy.yy.y.yy
3) z named server for domain server with ip zzz.zz.z.zz
4) p named Windows cluster with ip ppp.pp.p.pp
Additional information:
1) x sql server and y sql server instance database engines are running under a user that is domain admin.
2) Telnet to hadr endpoints are succesfull. Firewall inbound rules are defined for end point ports.
3) File share is in domain server (this is a test environment, thats why on domain server)
But I am getting Error: 41016, Severity: 16, State: 0 in primary replica x sql server error log
and getting error:
A connection timeout has occurred while attempting to establish a connection to availability replica 'x' with id [1B336F13-9CCB-48C6-800C-299051446E61]. Either a networking or firewall issue exists, or the endpoint address provided for the replica is not the database mirroring endpoint of the host server instance
in secondary replica y sql server error log .
And the error from Always on dashboard:
This secondary replica is not connected to the primary replica. The connected state is DISCONNECTED
I could not find the reel problem. Can you give me advice?