Load Balancing Multi-tenant
ENTIRE PAGE IS NEW
See Also: Load Balancing Single Tenant
Setting up the Load Balancer in a Multi-tenant Environment
Note: Please note that any URL setup for the various GIR components described in the Multi-Tenant Deployment should now point to the respective loadbalancer URLs, e.g. RP url : <loadbalancer URL> t1/rp/api / htcc.baseurl should point to the RWS loadbalancer url: <loadbalancer URL>/t1 rcs.base_uri should point to <loadbalancer URL>/t1/rcs
Important
Only GIR releases post-8.5.210.02 with WDE support multi-tenancy.Follow the instructions on this page and for each tenant create a separate/etc/httpd/conf.d/loadbalancer_tenantN.conf file.
In addition, provide each tenant with a separate balancer rule, ProxyPass and the following URI conventions:
- Interaction Recording Web Services
- http://loadbalancer/t1/api
- http://loadbalancer/t1/internal-api
- Recording Processor
- http://loadbalancer/t1/rp
- Recording Crypto Server
- http://loadbalancer/t1/rcs
- Interaction Receiver
- http://loadbalancer/t1/interactionreceiver
- WebDAV Server
- http://loadbalancer/t1/webdav
loadbalancer_tenantN.conf
Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/"
env=BALANCER_ROUTE_CHANGED
# Web Server for tenant 1
<Proxy balancer://rws1>
BalancerMember http://rws1:8080 route=RWS1
BalancerMember http://rws2:8080 route=RWS2
BalancerMember http://rws3:8080 route=RWS3
ProxySet stickysession=ROUTEID
</Proxy>
ProxyPass /t1/api balancer://rws1/api
ProxyPass /t1/internal-api balancer://rws1/internal-api
ProxyPass /t1/ui balancer://rws1/ui
# RP for tenant 1
<Proxy balancer://rp1>
BalancerMember http://rp1:8889
BalancerMember http://rp2:8889
</Proxy>
ProxyPass /t1/rp/api balancer://rp1/api
# RCS for tenant 1
<Proxy balancer://rcs1>
BalancerMember http://rcs1:8008 connectiontimeout=10000ms route=RCS
BalancerMember http://rcs2:8008 connectiontimeout=10000ms route=RCS_b
</Proxy>
ProxyPass /t1/rcs balancer://rcs1/rcs stickysession=JSESSIONID
# Interaction Receiver for tenant 1
<Proxy balancer://sm1>
BalancerMember http://ir1
BalancerMember http://ir2 status=H
</Proxy>
ProxyPass /t1/interactionreceiver balancer://sm1/interactionreceiver
# WebDAV for tenant 1
<Proxy balancer://webdav1>
BalancerMember http://webdav1
BalancerMember http://webdav2 status=H
</Proxy>
ProxyPass /t1/webdav/recordings balancer://webdav1/recordings
ProxyPass /t1/webdav/dest2 balancer://webdav1/dest2
Comments or questions about this documentation? Contact us for support!
