Real-Time Buffer Server (RTBS)
Configure the following parameters on your Business Analytics slave and master nodes.
Slave node
As the clustered scenario only works with a single RTBS instance on the master server, the right endpoint for calling the RTBS API has to be configured.
Edit the rtbs.base.url parameter in the presto.config file and set host name and port accordingly.
<MashZoneNG-installation>/apache-tomee-jaxrs/webapps/mashzone/WEB-INF/classes/presto.config
rtbs.base.url=http://masternode:8080/rtbs/services/bufferService/
Edit the mashzone.rtbs.url parameter in the mashzone.properties file and set host name and port accordingly.
<MashZoneNG-installation>/apache-tomee-jaxrs/webapps/mashzone/WEB-INF/mashzone.properties
mashzone.rtbs.url=http://masternode:8080/rtbs
Replace the host name masternode by your real server's host name and also set the right port in both cases.
Note: | Calls to the RTBS API are server-to-server calls which usually happen behind the load balancer. In some cases it might be necessary to route these calls through the load balancer as well. In this case, make sure that there is only one instance of the RTBS and configure your load balancer accordingly. Set the load balancer's host name and port in the parameters mentioned above. |
Master node
In most cases you won't have to configure anything regarding RTBS on your master node, as the RTBS instance runs on the same machine. Depending on your load balancer set-up, it might be required that localhost is replaced by the master node's real host name resp. by the name of the virtual host. In this case just follow the instructions under section Slave node and set host name and port accordingly.