Subject | Re: [Firebird-Architect] Superserver |
---|---|
Author | = m. Th = |
Post date | 2006-11-01T16:27:23Z |
Erik LaBianca wrote:
(trying to connect) and gracefully changes the connection string.
change?
hth,
m. th.
> = m. Th = wrote:No problem. The second one will see that the shadow is already activated
>
>
>> Note that this can be done also on Windows (when the remote shadows will
>> be implemented) and is blazingly fast (at 1Gbps is transparent) and,
>> also, rock solid at crash tests (details available on request - remote
>> shadows on Windows were tested on an experimental SS RC5 build for
>> Windows). Perhaps a better approach is to have on the client the
>> redirection engine. (On both servers the fbserver is running) Ie. in
>> TIBODatabase.OnError do something like:
>>
> snip
>
>> IMHO, this is much more simpler, faster, platform independent and
>> doesn't introduce the side effects of changing the IP in the LAN.
>>
>> hth,
>>
>> m. th.
>>
>
> I personally wouldn't be real comfortable pushing the failover logic to
> the client. What happens when two clients notice the master is dead and
> try to initiate the failover at the same time?
(trying to connect) and gracefully changes the connection string.
> There's no reason youOf course. But in this case how you will inform the other clients of the
> couldn't have a 'special' client running on the slave server doing what
> you suggest though.
>
change?
hth,
m. th.