Did you try designating the two nodes as worker nodes & getting those to
join the ELB? Did that work?


On Wed, Aug 7, 2013 at 2:36 PM, Afkham Azeez <[email protected]> wrote:

> ELB knows nothing about the nodes it fronts. If the setup works properly
> with AS nodes, it should just work with IS nodes.
>
>
> On Wed, Aug 7, 2013 at 2:24 PM, Chamara Ariyarathne <[email protected]>wrote:
>
>> So the final decision of our IS deployment is to not to use ELB, but
>> logically assume one IS instance as manager and the other one as worker,
>> and continuing working with the manager node.
>>
>> In that case the other node which we assume as the worker, will only
>> serve the API calls.
>>
>> P.S.
>> IS uses depsync now for syncing manually added userstores.
>>
>>
>> On Wed, Aug 7, 2013 at 2:17 PM, Chamara Ariyarathne <[email protected]>wrote:
>>
>>> Hi Azeez,
>>>
>>> In our deployments, Do we not support more than one Manager Nodes ?
>>>
>>> On Wed, Aug 7, 2013 at 12:35 PM, Chamara Ariyarathne 
>>> <[email protected]>wrote:
>>>
>>>> Well yes, something is still wrong. When the node 1 is down the Mgt
>>>> console request does not go to the other.
>>>> In the ELB log;
>>>>
>>>> [2013-08-07 07:04:29,105] ERROR - TenantAwareLoadBalanceEndpoint No
>>>> application members available having host name :
>>>> mgt.identity.qa-test.wso2.com and tenant id : 0
>>>> [2013-08-07 07:04:29,294]  WARN - ConnectCallback Connection refused or
>>>> failed for : /192.168.17.19:9444
>>>>
>>>>
>>>> On Wed, Aug 7, 2013 at 11:46 AM, Afkham Azeez <[email protected]> wrote:
>>>>
>>>>> One issue is, localMemberPort of the LB in the axis2.xml &
>>>>> group_mgt_port for the IS cluster are both given as 4000. Change the
>>>>> localMemberPort to something like 9876.
>>>>>
>>>>> Azeez
>>>>>
>>>>>
>>>>> On Wed, Aug 7, 2013 at 11:00 AM, Chamara Ariyarathne <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Here having a setup with One ELB and Two IS nodes (As Mgt nodes).
>>>>>>
>>>>>> When one IS node starts up; the log in the ELB
>>>>>>
>>>>>> [2013-08-07 04:51:21,806]  INFO - HazelcastGroupManagementAgent
>>>>>> Member joined [e7792e38-54a7-4212-9d19-de25dbb7afd9]: /
>>>>>> 192.168.17.20:4001
>>>>>> [2013-08-07 04:51:21,806]  INFO - HazelcastGroupManagementAgent
>>>>>> Member joined [e7792e38-54a7-4212-9d19-de25dbb7afd9]: /
>>>>>> 192.168.17.20:4001
>>>>>> [2013-08-07 04:51:24,933]  INFO - MemberUtils Added member:
>>>>>> Host:192.168.17.20, Remote Host:null, Port: 4001, HTTP:9764, HTTPS:9444,
>>>>>> Domain: wso2.identity.domain, Sub-domain:mgt, Active:true
>>>>>> [2013-08-07 04:51:24,934]  INFO - HazelcastGroupManagementAgent
>>>>>> Application member Host:192.168.17.20, Remote Host:null, Port: 4001,
>>>>>> HTTP:9764, HTTPS:9444, Domain: wso2.identity.domain, Sub-domain:mgt,
>>>>>> Active:true joined application cluster
>>>>>> [2013-08-07 04:51:32,112]  INFO - TimeoutHandler This engine will
>>>>>> expire all callbacks after : 86400 seconds, irrespective of the timeout
>>>>>> action, after the specified or optional timeout
>>>>>>
>>>>>> So that this member joined. After that when the next IS node starts
>>>>>> up.
>>>>>>
>>>>>> [2013-08-07 04:53:07,524]  INFO - HazelcastGroupManagementAgent
>>>>>> Member joined [882bca71-8802-44f4-89ee-ebe6334e42b1]: /
>>>>>> 192.168.17.19:4002
>>>>>> [2013-08-07 04:53:07,524]  INFO - HazelcastGroupManagementAgent
>>>>>> Member joined [882bca71-8802-44f4-89ee-ebe6334e42b1]: /
>>>>>> 192.168.17.19:4002
>>>>>>
>>>>>> So not sure if this one really joined. But after shutting down the
>>>>>> first IS node;
>>>>>>
>>>>>> [2013-08-07 04:53:38,782]  INFO - HazelcastGroupManagementAgent
>>>>>> Member left [e7792e38-54a7-4212-9d19-de25dbb7afd9]: /
>>>>>> 192.168.17.20:4001
>>>>>> [2013-08-07 04:53:38,782]  INFO - HazelcastGroupManagementAgent
>>>>>> Member left [e7792e38-54a7-4212-9d19-de25dbb7afd9]: /
>>>>>> 192.168.17.20:4001
>>>>>> [2013-08-07 04:53:43,252]  INFO - HazelcastGroupManagementAgent
>>>>>> Application member Host:192.168.17.19, Remote Host:null, Port: 4002,
>>>>>> HTTP:9764, HTTPS:9444, Domain: wso2.identity.domain, Sub-domain:mgt,
>>>>>> Active:true joined application cluster
>>>>>>
>>>>>> Now the second node have joined. So now if I startup the first node
>>>>>> again;
>>>>>>
>>>>>> [2013-08-07 04:54:48,456]  INFO - HazelcastGroupManagementAgent
>>>>>> Member joined [99dad4be-b2f1-4c43-a862-3b4c7b1dfb51]: /
>>>>>> 192.168.17.20:4001
>>>>>> [2013-08-07 04:54:48,456]  INFO - HazelcastGroupManagementAgent
>>>>>> Member joined [99dad4be-b2f1-4c43-a862-3b4c7b1dfb51]: /
>>>>>> 192.168.17.20:4001
>>>>>>
>>>>>>
>>>>>> It seems that at a given time only one IS node can join.
>>>>>>
>>>>>> (Configurations attached.)
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Chamara Ariyarathne*
>>>>>> Senior Software Engineer - QA;
>>>>>> WSO2 Inc; http://www.wso2.com/.
>>>>>> Mobile; *+94772786766*
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Afkham Azeez*
>>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>>> * <http://www.apache.org/>**
>>>>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>>> twitter: 
>>>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>>> *
>>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>>> *
>>>>> *
>>>>> *Lean . Enterprise . Middleware*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Chamara Ariyarathne*
>>>> Senior Software Engineer - QA;
>>>> WSO2 Inc; http://www.wso2.com/.
>>>> Mobile; *+94772786766*
>>>>
>>>
>>>
>>>
>>> --
>>> *Chamara Ariyarathne*
>>> Senior Software Engineer - QA;
>>> WSO2 Inc; http://www.wso2.com/.
>>> Mobile; *+94772786766*
>>>
>>
>>
>>
>> --
>> *Chamara Ariyarathne*
>> Senior Software Engineer - QA;
>> WSO2 Inc; http://www.wso2.com/.
>> Mobile; *+94772786766*
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to