Hi Lionel,
I am trying to setup Sequoia over two PostgreSQL backends to provide a HA default datasource to a JBoss cluster.

I want two Sequoia controllers so as to avoid a single point of failure.
I only have 2 backends, which I want to setup in a RAIDb-1 fashion.
Is it OK if they are each on a separate controller?
Yes it is OK. Don't forget to setup the <Distribution> element so that controllers are properly synchronized through group communications.
Will the following configuration for the RequestManager still be alright?

 <RequestManager>
      <RequestScheduler>
         <RAIDb-1Scheduler level="passThrough"/>
      </RequestScheduler>

      <LoadBalancer>
         <RAIDb-1>
            <WaitForCompletion policy="first"/>
            <RAIDb-1-LeastPendingRequestsFirst/>
         </RAIDb-1>
      </LoadBalancer>
    [...]
 </RequestManager>
As you have a single backend per controller, I would use <WaitForCompletion policy="all"> since semantically is does not change anything but it will take a simpler and faster code path in the controller logic.

Thanks for your interest in Sequoia,
Emmanuel

--
Emmanuel Cecchet
Chief Scientific Officer, Continuent

Blog: http://emanux.blogspot.com/
Open source: http://www.continuent.org
Corporate: http://www.continuent.com
Skype: emmanuel_cecchet
Cell: +33 687 342 685


_______________________________________________
Sequoia mailing list
Sequoia@lists.forge.continuent.org
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to