While working on the management node & worker node separation problem, I
came up with this concept of partitions within clusters, which I would like
to call sub-domains. All members of a domain can communicate with each
other. However, the management nodes & worker nodes clearly have different
roles, hence belong to different sub-domains. The load balancer should be
aware of these sub-domains & direct management requests to nodes within the
management sub-domain according to the specified load balancing algorithm,
and regular requests to applications & services should be directed to nodes
within the worker sub-domain.
The members can advertise sub-domains as member properties. The load
balancer code has to be changed to be sub-domain aware. A sample
loadbalancer.conf segment is shown below.
appserver-worker {
# multiple hosts should be separated by a comma.
hosts appserver.cloud-test.wso2.com,
as.cloud-test.wso2.com;
domains {
*wso2.as.domain* {
*sub_domain worker;*
tenant_range *;
}
}
}
appserver-mgt {
# multiple hosts should be separated by a comma.
hosts mgt.appserver.cloud-test.wso2.com,
mgt.as.cloud-test.wso2.com;
domains {
*wso2.as.domain* {
*sub_domain mgt;*
tenant_range *;
}
}
}
Nirmal & I are working on this. Without this change, we will not be able to
achieve proper management & worker node separation.
Thoughts welcome.
--
*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