How to config DAS_AGENT with wso2am-analytics-2.0.0 HA

223 Views Asked by At

I'm building wso2am-analytics-2.0.0 HA according to below doc

Example : (offset=1)

analytics01 192.168.2.1

analytics02 192.168.2.2

Q1: How to config DASServerURL in repository/conf/api-manager.xml

<DASServerURL>tcp://192.168.2.1:7612,tcp://192.168.2.2:7612</DASServerURL>

Q2 : How to conf log4j.appender.DAS_AGENT.url in repository/conf/log4j.properties

log4j.appender.DAS_AGENT.url=tcp://192.168.2.1:7612,tcp://192.168.2.2:7612

Is this right ?

1

There are 1 best solutions below

0
On BEST ANSWER

You need to use load balancing url format here. as example given in the api-manager.xml you can use the following format. You can use the same format for DAS_AGENT as well as in api-manager.xml

{tcp://localhost:7612/,tcp://localhost:7613}

For more about connection url formatting refer this doc.