Install Application Request Routing for IIS.
Define a server farm and add your servers to the farm.
|URL Rule 1|
Edit the Inbound Rule
|URL Rule 2|
Edit the Inbound Rule "sticky session"
See also MSDN Documentation
Disable Server Affinity because, we're using a custom
"sticky session" rule (as defined above).
Set the algorithm to "Server variable hash".
Use "LB_TOKEN" variable, which contains the sessions token.
|Same host aliases|
For multiple TI services on the same host, aliases must be defined in the Windows hosts file, so they can be referenced in ARR.
Windows hosts file:
|Redis||Single Redis instance used by all TIService instances|
|Cron jobs||Instances of TIService execute cron jobs independently.|
Here is the procedure we suggest to ensure that the cron job is executed only by one instance.
See also Setting up a cron job