Hi Nuwan/Chamara,

For the load-balancing/fail-over data publishing, we need to have the
following BAM setup.

1) Cassandra servers should be clustered within both BAM nodes. Only then
all the data received by the BAM will go to the cassandra cluster, and
there won't be any data loss regardless of the receiver is down.

2) Also both analytic scripts in the BAM node should be pointing to the one
RDBMS database from which the dashboard is going to render the data.

The BAM nodes should be configured as above, then only you can validate the
load-balancing/fail-over functionality in proper way. When you have
separate Cassandra instance/RDBMS instance, then both BAM summarization
will be independent and  will consider only the data local to that
particular BAM instance.

So please setup the BAM as above mentioned, with cassandra cluster and
single RDBMS and test the functionality.

Thanks,
Sinthuja.


On Wed, Sep 18, 2013 at 8:52 AM, Sinthuja Ragendran <sinth...@wso2.com>wrote:

> Hi chamara,
>
> whether the cassandra is clustered within these two BAM setups? Please
> confirm.
>
> Thanks,
> Sinthuja.
>
>
> On Wed, Sep 18, 2013 at 8:35 AM, Nuwan Dias <nuw...@wso2.com> wrote:
>
>> I believe this concern is regarding issue [1]. @Sinthuja, can you please
>> go through this and see whether reducing the polling interval is a valid
>> workaround for the problem. If not, what other ways does the
>> data-publishing-agent provide of immediately detecting failures?
>>
>> According to Chamara, both ESB and AS are capable to handling failovers
>> with zero data loss.
>>
>> [1] - https://wso2.org/jira/browse/APIMANAGER-1658.
>>
>> Thanks,
>> NuwanD.
>>
>>
>> On Wed, Sep 18, 2013 at 8:34 PM, Sinthuja Ragendran <sinth...@wso2.com>wrote:
>>
>>> AFAIK yes.
>>>
>>> Thanks,
>>> Sinthuja.
>>>
>>>
>>> On Tue, Sep 17, 2013 at 10:19 PM, Chamara Ariyarathne <chama...@wso2.com
>>> > wrote:
>>>
>>>> Is it implemented the way ESB and AS does it?
>>>>
>>>> As Load Balancing and Failover both ways.
>>>>
>>>> --
>>>> *Chamara Ariyarathne*
>>>> Senior Software Engineer - QA;
>>>> WSO2 Inc; http://www.wso2.com/.
>>>> Mobile; *+94772786766*
>>>>
>>>
>>>
>>>
>>> --
>>> *Sinthuja Rajendran*
>>> Software Engineer <http://wso2.com/>
>>> WSO2, Inc.:http://wso2.com
>>>
>>> Blog: http://sinthu-rajan.blogspot.com/
>>> Mobile: +94774273955
>>>
>>>
>>>
>>
>>
>> --
>> Nuwan Dias
>>
>> Senior Software Engineer - WSO2, Inc. http://wso2.com
>>  email : nuw...@wso2.com
>> Phone : +94 777 775 729
>>
>
>
>
> --
> *Sinthuja Rajendran*
> Software Engineer <http://wso2.com/>
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>


-- 
*Sinthuja Rajendran*
Software Engineer <http://wso2.com/>
WSO2, Inc.:http://wso2.com

Blog: http://sinthu-rajan.blogspot.com/
Mobile: +94774273955
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to