|
1) no, since alternate server info stored on server, if client unable to connect to primary at beginning, it will not get any info about alternate server then...
2) when client connect with server, in each communication package between server and client, it will include the alternate server information. if primary down at somepoint, client got disconnected then it will try alternate server information.
3) i don't believe it will try primary again... that is deadloop based on what you describe....
4) you cannot have both primary/secondary started as HADR primary.... you need to issue TAKEOVER command on standby to make it serve requests, when primary server is up, you need to activate the database using start HADR as standby, then manually do TAKEOVER again on primary...
5) no, it will not try alternate server when hitting those messages, if they hit maxapp errors, some SQL CODE will be returned to client, so it's not TCPIP error like connection has been refused or connection timeout...
above are my understanding, never tested myself, you are more than welcome to test if you want (and let us know the result)
[ 本帖最后由 wangzhonnew 于 2008-6-20 01:23 编辑 ] |
|