To be more precise, I deploy app1 and the message is sent by manager1.
Then, I deploy app2 and the message is again sent by manager1. Here, I
don't know whether the deployment of the two apps is managed in a round
robin way or managed only by the manager1 (since it is sending the
message). What I thought was the message is sent by the manager who
deployed the app in, this case manager1. Is that correct in the first
place?

What I want is to deploy the apps in a round robin fashion and I believed
the manager who deployed the app will send the message.

On Fri, Aug 21, 2015 at 12:07 PM, Dilini Gunatilake <[email protected]>
wrote:

> Yes, there are new ways but I just tried the worker-manager concept just
> to play around because I am still in the training period and its good to
> know about it.
>
> I don't want the managers to send the same message from all the manager
> nodes. I want the managers to send messages in a round robin manner for
> high availability. Now that I have two manager nodes, only one manager is
> sending messages and the other manager will start sending messages only
> when the other is down.
>
>
>
> On Fri, Aug 21, 2015 at 11:49 AM, Nirmal Fernando <[email protected]> wrote:
>
>> I think when sending cluster messages, we use Hazelcast elected leader
>> member and that's a different concept from the worker-manager concept.
>>
>> If you think of it, it's kind of redundant to send the same message from
>> all the management nodes to worker nodes.
>>
>> On Fri, Aug 21, 2015 at 11:36 AM, Dilini Gunatilake <[email protected]>
>> wrote:
>>
>>> Hi Nirmal,
>>>
>>> When I deploy apps in AS, only one manager is always sending the
>>> SynchronizeRepositoryRequest to the other manager and worker nodes (the
>>> manager nodes are not working in a round robin fashion). Is my
>>> configurations wrong or have I understood it in a wrong way?
>>>
>>> Regards,
>>> Dilini
>>>
>>>
>>>
>>>
>>> When I configured the cluster, I noticed the two manager nodes are
>>>> working in Active/Passive mode by default.
>>>>
>>>
>>> What made you think that?
>>>
>>> On Fri, Aug 21, 2015 at 11:18 AM, Nirmal Fernando <[email protected]>
>>> wrote:
>>>
>>>> Hi Dilini,
>>>>
>>>> On Fri, Aug 21, 2015 at 10:32 AM, Dilini Gunatilake <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I am playing around creating a worker/manager cluster in Application
>>>>> Server (AS) using the deployment pattern 2 [1] where two worker nodes and
>>>>> two manager nodes are involved with the load balancer (Here i used ELB
>>>>> although it is retired because currently I am in the training period and
>>>>> hope it is better to know about it).
>>>>>
>>>>> According to the link I shared, the manager nodes can act as
>>>>> Active/Passive or Active/Active modes. When I configured the cluster, I
>>>>> noticed the two manager nodes are working in Active/Passive mode by
>>>>> default.
>>>>>
>>>>
>>>> What made you think that?
>>>>
>>>>
>>>>> I need to know where I make changes to the configurations so that I
>>>>> can have a Active/Active manager nodes.
>>>>>
>>>>> [1]
>>>>> https://docs.wso2.com/display/CLUSTER420/Separating+the+Worker+and+Manager+Nodes
>>>>>
>>>>> Thank you.
>>>>> Regards,
>>>>> --
>>>>>
>>>>> *Dilini GunatilakeQA Engineer*
>>>>> Mobile : +94 (0) 771 162518
>>>>> [email protected]
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Thanks & regards,
>>>> Nirmal
>>>>
>>>> Team Lead - WSO2 Machine Learner
>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>>> Mobile: +94715779733
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Dilini GunatilakeQA Engineer*
>>> Mobile : +94 (0) 771 162518
>>> [email protected]
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Team Lead - WSO2 Machine Learner
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
>
> *Dilini GunatilakeQA Engineer*
> Mobile : +94 (0) 771 162518
> [email protected]
>



-- 

*Dilini GunatilakeQA Engineer*
Mobile : +94 (0) 771 162518
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to