This is my setup at the moment.
1. Client is on the outside of our network, then connects in through the VIP.
2. The ESG is configured as a load balancer pool. The pool includes 3 Terminals servers which are configured as Session host servers.
3. There is a single server as a connection broker (CB) which users do not log into.
4. When the connection is made to a Session host servers, it should query the CB then send a cookie back to the user so it remembers the connection.
5. Issue starts when the client who initially connected to TS1, then disconnects, then connects back to TS2. TS2 should query the CB then send the cookie back to the client and redirect them to TS1. However, this doesn't happen. I believe it's because the cookie isn't being passed through correctly. Or that the ESG load balancer is ignoring the cookie and load balancing itself.
I am not sending all traffic to the CB itself. Meaning, the load balancing pool does NOT have the Connection broker as a pool member. The pool members are only the Session host servers. I did this because i didn't think the CB actually redirects the initial connection to the CB Farm. It looks like when a connection is made to a member of the CB farm it'll then ask the CB if the session should stay in the session or be redirected to another server.
----
Scenario 2: All connections are made directly to the CB.
If only 1 NAT rule is created for the CB then there is only a pipe open to the CB. When the connection broker redirects to a Session host server then how will the client make the connection if there isn't a NAT rule (or open pipe) to the session host servers. I just don't see how we can have a direct connection to the CB.
---
Side Note
When I type in a value in "Expire in (Second)" then press save. This is done when i have MSRDP set for persistence. Then i go back to the settings it shows that the the field is empty. Is that normal or should the setting still be there? I'm doing this in Vcloud director.