Re: [Dev] How to creat a Worker/Manager Cluster in different machines?

2013-12-19 Thread Nirmal Fernando
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=localMemberHost192.168.10.11/parameter

  members
 member
 hostName192.168.10.10/hostName
 port4100/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
 HostNameas.cloud-test.wso2.com/HostName
 MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

 For worker node,
 in carbon.xml,it sets
 HostNameas.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
 HostNameas.cloud-test.wso2.com/HostName
 MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

 For worker node,
 in carbon.xml,it sets
 HostNameas.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 . 

Re: [Dev] How to creat a Worker/Manager Cluster in different machines?

2013-12-19 Thread Nirmal Fernando
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=localMemberHost192.168.10.11/parameter

  members
 member
 hostName192.168.10.10/hostName
 port4100/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
 HostNameas.cloud-test.wso2.com/HostName
 MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

 For worker node,
 in carbon.xml,it sets
 HostNameas.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
 HostNameas.cloud-test.wso2.com/HostName
 MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

 For worker node,
 in carbon.xml,it sets
 HostNameas.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 

Re: [Dev] How to creat a Worker/Manager Cluster in different machines?

2013-12-19 Thread stevegyc
Hi Nirmal:

It works!
Thank you.




stevegyc

From: Nirmal Fernando
Date: 2013-12-19 17:15
To: stevegyc
CC: Isuru Perera; dev
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
Date: 2013-12-19 17:00
To: stevegyc
CC: Isuru Perera; dev
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=localMemberHost192.168.10.11/parameter 

members
member
hostName192.168.10.10/hostName
port4100/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
Date: 2013-12-19 12:23
To: stevegyc
CC: Iranga Muthuthanthri; dev
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 
HostNameas.cloud-test.wso2.com/HostName
MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

For worker node,
in carbon.xml,it sets 
HostNameas.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
Date: 2013-12-16 17:19
To: stevegyc
CC: dev
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 
HostNameas.cloud-test.wso2.com/HostName
MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

For worker node,
in carbon.xml,it sets 
HostNameas.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

Re: [Dev] How to creat a Worker/Manager Cluster in different machines?

2013-12-18 Thread Isuru Perera
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
 HostNameas.cloud-test.wso2.com/HostName
 MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

 For worker node,
 in carbon.xml,it sets
 HostNameas.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
 HostNameas.cloud-test.wso2.com/HostName
 MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

 For worker node,
 in carbon.xml,it sets
 HostNameas.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


[Dev] How to creat a Worker/Manager Cluster in different machines?

2013-12-16 Thread stevegyc
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 
HostNameas.cloud-test.wso2.com/HostName
MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

For worker node,
in carbon.xml,it sets 
HostNameas.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


Re: [Dev] How to creat a Worker/Manager Cluster in different machines?

2013-12-16 Thread Iranga Muthuthanthri
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
 HostNameas.cloud-test.wso2.com/HostName
 MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

 For worker node,
 in carbon.xml,it sets
 HostNameas.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


Re: [Dev] How to creat a Worker/Manager Cluster in different machines?

2013-12-16 Thread stevegyc
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 
HostNameas.cloud-test.wso2.com/HostName
MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

For worker node,
in carbon.xml,it sets 
HostNameas.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
Date: 2013-12-16 17:19
To: stevegyc
CC: dev
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 
HostNameas.cloud-test.wso2.com/HostName
MgtHostNamemgt.as.cloud-test.wso2.com/MgtHostName

For worker node,
in carbon.xml,it sets 
HostNameas.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