Great! My pleasure.
On Fri, Dec 20, 2013 at 1:13 PM, stevegyc <steve...@163.com> wrote: > Hi Nirmal: > > It works! > Thank you. > > ------------------------------ > stevegyc > > *From:* Nirmal Fernando <nir...@wso2.com> > *Date:* 2013-12-19 17:15 > *To:* stevegyc <steve...@163.com> > *CC:* Isuru Perera <isu...@wso2.com>; dev <dev@wso2.org> > *Subject:* Re: Re: [Dev] How to creat a Worker/Manager Cluster in > different machines? > Hi Steve, > > Please change the localMemberHost's value of ELB's axis2.xml to > 192.168.10.10. According to logs it seems to be either commented out or > 127.0.0.1 :) > > > On Thu, Dec 19, 2013 at 2:09 PM, stevegyc <steve...@163.com> wrote: > >> Hi Nirmal: >> >> Please refer to the attachment. >> Thank you. >> >> ------------------------------ >> stevegyc >> >> *From:* Nirmal Fernando <nir...@wso2.com> >> *Date:* 2013-12-19 17:00 >> *To:* stevegyc <steve...@163.com> >> *CC:* Isuru Perera <isu...@wso2.com>; dev <dev@wso2.org> >> *Subject:* Re: [Dev] How to creat a Worker/Manager Cluster in different >> machines? >> Hi Steve, >> >> Can you please send the wso2carbon.log file of worker2 and ELB? >> >> >> On Thu, Dec 19, 2013 at 1:39 PM, stevegyc <steve...@163.com> wrote: >> >>> Hi : Perera >>> >>> Sorry, I am not very sure about your description. >>> Can you help me to find out what is wrong in my steps as following. >>> 1. I installed ELB, mgt and worker1 node in IP 192.168.10.10. >>> 2. I copy worker1 to another machine(192.168.10.11) as worker2 and do 2 >>> modifications. >>> in axis2.xml >>> >>> <parameter name="localMemberHost">192.168.10.11</parameter> >>> >>> <members> >>> <member> >>> <hostName>192.168.10.10</hostName> >>> <port>4100</port> >>> </member> >>> </members> >>> >>> I found worker1 can join to the cluster, but worker2 can not join to the >>> cluster. >>> Is there anything others need to be modified? >>> >>> The attachment is my configure files. >>> ------------------------------ >>> stevegyc >>> >>> *From:* Isuru Perera <isu...@wso2.com> >>> *Date:* 2013-12-19 12:23 >>> *To:* stevegyc <steve...@163.com> >>> *CC:* Iranga Muthuthanthri <ira...@wso2.com>; dev <dev@wso2.org> >>> *Subject:* Re: [Dev] How to creat a Worker/Manager Cluster in >>> different machines? >>> 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 >>> >>> >> >> >> -- >> >> Thanks & regards, >> Nirmal >> >> Senior Software Engineer- Platform Technologies Team, WSO2 Inc. >> Mobile: +94715779733 >> Blog: http://nirmalfdo.blogspot.com/ >> >> > > > -- > > Thanks & regards, > Nirmal > > Senior Software Engineer- Platform Technologies Team, WSO2 Inc. > Mobile: +94715779733 > Blog: http://nirmalfdo.blogspot.com/ > > -- Thanks & regards, Nirmal Senior Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev