Hi,

Use IPs in axis2.xml clustering section properly. For clustering to work,
each node should be in the same network.

So, make sure you add node's IP to localMemberHost and remote members' IPs
to <members> section.

I hope this helps!

Thanks!


On Mon, Dec 16, 2013 at 1:32 AM, stevegyc <steve...@163.com> wrote:

>  Hi : Iranga
>
>     I changed local member port to 4100 , it works!
>     Thank you for your indication.
>
>     I still want to know how to
> create a cluster including 1 manager node and 2 worker nodes, and they are 
> all in different machines.
>     Please refer to the following information.
>
>  In "http://docs.wso2.org/pages/viewpage.action?pageId=29918203
> ", it describe the method to create a Worker/Manager Cluster,
>
> but it only include 1 manager node and 1 worker node and they are in the same 
> machine.
>
> For ELB,
> In <elb-home>/repository/conf/loadbalancer.conf, it sets
> appserver {
>   domains{
>      wso2.as.domain {
>         tenant_range *;
>         group_mgt_port 4100;
>         mgt {
>                 hosts mgt.as.cloud-test.wso2.com;
>         }
>         worker {
>                hosts as.cloud-test.wso2.com;
>         }
>      }
>    }
> }
> In host, it sets
> 127.0.0.1 mgt.as.cloud-test.wso2.com
> 127.0.0.1 as.cloud-test.wso2.com
>
> For manager node,
> in carbon.xml,it sets
> <HostName>as.cloud-test.wso2.com</HostName>
> <MgtHostName>mgt.as.cloud-test.wso2.com</MgtHostName>
>
> For worker node,
> in carbon.xml,it sets
> <HostName>as.cloud-test.wso2.com</HostName>
>
>
> I want to create a cluster including 1 manager node and 2 worker nodes, and 
> they are all in different machines.
> for example
> manager node in 192.168.10.10
> work1 node   in 192.168.10.11
> work2 node   in 192.168.10.12
>
> Do you know how to modify in the above places?
>
> ------------------------------
> stevegyc
>
>  *From:* Iranga Muthuthanthri <ira...@wso2.com>
> *Date:* 2013-12-16 17:19
> *To:* stevegyc <steve...@163.com>
> *CC:* dev <dev@wso2.org>
> *Subject:* Re: [Dev] How to creat a Worker/Manager Cluster in different
> machines?
>    Hi Steve,
>
> Please try changing  the local member port in the ELB to a value
> different(e.g:4100) from the group_mgt_port value (4000)
>
> Regards,
> Iranga
>
>
> On Mon, Dec 16, 2013 at 1:56 PM, stevegyc <steve...@163.com> wrote:
>
>>  Hi:
>>
>>  In "http://docs.wso2.org/pages/viewpage.action?pageId=29918203
>> ", it describe the method to create a Worker/Manager Cluster,
>>
>> but it only include 1 manager node and 1 worker node and they are in the 
>> same machine.
>>
>> For ELB,
>> In <elb-home>/repository/conf/loadbalancer.conf, it sets
>> appserver {
>>   domains{
>>      wso2.as.domain {
>>         tenant_range *;
>>         group_mgt_port 4000;
>>         mgt {
>>                 hosts mgt.as.cloud-test.wso2.com;
>>         }
>>         worker {
>>                hosts as.cloud-test.wso2.com;
>>         }
>>      }
>>    }
>> }
>> In host, it sets
>> 127.0.0.1 mgt.as.cloud-test.wso2.com
>> 127.0.0.1 as.cloud-test.wso2.com
>>
>> For manager node,
>> in carbon.xml,it sets
>> <HostName>as.cloud-test.wso2.com</HostName>
>> <MgtHostName>mgt.as.cloud-test.wso2.com</MgtHostName>
>>
>> For worker node,
>> in carbon.xml,it sets
>> <HostName>as.cloud-test.wso2.com</HostName>
>>
>>
>> I want to create a cluster including 1 manager node and 2 worker nodes, and 
>> they are all in different machines.
>> for example
>> manager node in 192.168.10.10
>> work1 node   in 192.168.10.11
>> work2 node   in 192.168.10.12
>>
>> Anyone knows how to modify in the above places?
>>
>> ------------------------------
>>  stevegyc
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>   Thanks & Regards
>
> Iranga Muthuthanthri
> Technical Lead - QA
> (M) -0777-255773
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to