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 [im...@apache.org]
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 mode.

Thanks



On Thu, Apr 23, 2015 at 2:41 PM, Shaheedur Haque (shahhaqu) 
<shahh...@cisco.com<mailto:shahh...@cisco.com>> wrote:
Hi,

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 this.

Thanks, Shaheed

[1] 
https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Configuring+HA+Using+Pacemaker+and+Heartbeat
[2] http://blog.lasindu.com/2014/08/wso2-private-paas-supporting.html






--
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to