Hi Bin,
I've configuration two distributed sequoia controllers, each
connecting to a postgresql backend.
The actual Sequoia URL is defined as:
jdbc:sequoia://192.168.5.1
<http://192.168.5.1>,192.168.5.2/test?preferredController=roundRobin
<http://192.168.5.2/test?preferredController=roundRobin>
when i shutdown any of the controller or any virtualdatabase, the
failover work fine and Sequoia has no problem of detecting either case
of failures. However, when i shutdown the backend postgresql, the
failover doesn't work, just wondering is there any parameter that I
can tune for the failover timeout or is there anything i can do?
If you shutdown the virtual database then the failover should happen. If
you simply disable the backend, the controller is still active and will
forward the requests to the other controller. Note that a controller
without backend still logs all write requests to its recovery log to be
able to recover/restart its backends at any time. If you want to force a
failover, you will have to shutdown the virtual database and not just
disable the backend.
Thanks for your interest in Sequoia,
Emmanuel
--
Emmanuel Cecchet
FTO @ Frog Thinker
Open Source Development & Consulting
--
Web: http://www.frogthinker.org
email: [EMAIL PROTECTED]
Skype: emmanuel_cecchet
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia