You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Imesh Gunaratne <im...@apache.org> on 2015/06/30 03:48:47 UTC

[Discuss] Configuring Load Balancers to Serve Specific Network Partitions, Applications, Services or Clusters

Hi Devs,

This is to summarize $subject:

1. Member Filter - By Network Partition
-Dstratos.topology.member.filter=network-partition-id=NP1,NP2

https://github.com/apache/stratos/blob/master/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/filter/topology/TopologyMemberFilter.java

2. Application Filter - By Application ID
-Dstratos.topology.application.filter=application-id=APP1,APP2

https://github.com/apache/stratos/blob/master/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/filter/topology/TopologyApplicationFilter.java

3. Service Filter - By Service Name/Cartridge Type
-Dstratos.topology.service.filter=service-name=PHP,Tomcat

https://github.com/apache/stratos/blob/master/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/filter/topology/TopologyServiceFilter.java

4. Cluster Filter - By Cluster ID
-Dstratos.topology.cluster.filter=cluster-id=C1,C2

https://github.com/apache/stratos/blob/master/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/filter/topology/TopologyClusterFilter.java


Thanks

-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos