stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shaheedur Haque (shahhaqu)" <>
Subject RE: Clustered deployments of Stratos
Date Sat, 02 May 2015 23:22:48 GMT

I have been looking into our use of Linux HA to setup an Active-Passive configuration. Testing
indicates that in 4.1 (beta1), several objects seem not to be persisted properly. This includes
at least:

- Cartridges
- Deployment policies

Am I missing something? Is it safe to workaround this by replaying those objects?

From: Imesh Gunaratne []
Sent: 23 April 2015 10:47
To: dev
Subject: Re: Clustered deployments of Stratos

Hi Shaheed,

Currently N-way clustering is still not possible with CC, AS & SM. We completed the initial
phase of this feature however it was not completed. You could refer mail thread "[Discuss]
Clustering Feature Implementation for 4.1.0-Alpha Release" for details.

However at present [1] is valid. We could use Linux HA and deploy CC, AS and SM in Active-Passive


On Thu, Apr 23, 2015 at 2:41 PM, Shaheedur Haque (shahhaqu) <<>>

We currently try to achieve HA with Stratos using something so unpleasant that I won’t even
describe it here :). It has been suggested that Stratos has, for a while now, supported a
clustered mode of deployment where, given N servers:

•        The SM, AS and MB operate in a N-way clustered mode

•        The CEP operates in a N-way loadsharing mode

•        The Cartridge Agents can react to a failure in one of the N CEPs by failing over
to one of the other N-1 remaining servers

In looking for documentation on how to set this up, I came across these two write-ups [1]
and [2]. Questions:

•        Both these documents mention only using N=2. Is that still correct?

•        [1] Seems recently written, and [2] is a little older but not much. Are both documents
still regarded as current?

Also, I’d love to hear any other experiences people have of running configurations like

Thanks, Shaheed


Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

View raw message