A single Secure Gateway is a single point of failure, and putting several gateways behind DNS round-robin is not the same as load balancing them. Parallels RAS ships its own answer, High Availability Load Balancing (HALB), and it is easy to deploy once you know which choices matter up front. This post walks through the appliance, the Virtual Server wizard and the advanced settings. Everything here applies to RAS 21 per the official Administrator’s Guide.
How HALB is built#
HALB load balances RAS Secure Gateways. The load balancer lives in a preconfigured virtual appliance, a VM with the OS and settings already in place. Parallels lists Hyper-V, VMware ESXi, Nutanix AHV and Scale HyperCore as tested hypervisors; other hypervisors are supported on a best-effort basis only.
The model has three parts:
- HALB is configured per Site. Each configuration is called a Virtual Server.
- Each Virtual Server has its own Virtual IP (VIP), which is what clients connect to.
- One or more HALB devices (the appliances) do the actual balancing.
The docs recommend at least two devices per Virtual Server. One is primary and the others are secondary. The VIP uses the primary’s address, shared with the secondaries, and if the primary fails a secondary is promoted and takes over that same address.
One caveat I would mention to customers: a failover can cause up to two disconnects, one when a device goes down and one when it comes back, because the VIP has to move between devices. According to the docs, user sessions are not affected and users can reconnect without data loss.
Step 1: Deploy the appliance#
Download the appliance from the Parallels RAS download page, in the “Download Optional Server Components” table, row “Parallels Remote Application Server HALB Appliances”. Pick the format for your hypervisor.
| Hypervisor | Format | Notes from the docs |
|---|---|---|
| VMware | OVA | VM is created with 2 CPUs and 2048 MB RAM; adjustable later |
| Hyper-V | VHD | Choose the Generation 1 options |
| Nutanix AHV | QCOW2 | Upload via Image Configuration, boot with Legacy BIOS, clone the disk from the image |
| Scale HyperCore | QCOW2 | Upload under Media, set boot type to BIOS, attach only the uploaded drive |
Two placement rules are easy to miss. The appliance must be imported into a hypervisor on a separate machine, not on the RAS server itself, and it must sit on the same local network as Parallels RAS.
First boot#
On first boot you choose a static IP or DHCP (DHCP is the default). I would use a static address, or at minimum a DHCP reservation. The docs call out the reservation so the device keeps its IP when the lease expires.
You can optionally configure mailbox notifications, then wait until the device reports it is ready to be configured from the RAS Console. The appliance console has an Advanced menu with three entries:
- Networking changes the network settings.
- Rescan refreshes the state of the appliance services, which does not update automatically.
- Reset clears the appliance configuration. Use it to fix a glitch or to move the device to a different Virtual Server.
Step 2: Add a Virtual Server#
- In the RAS Console, go to Farm > <Site> > HALB.
- On the Virtual Servers tab, click Tasks > Add to open the HALB Configuration wizard.
- Make sure Enable HALB is selected, then enter a name and optional description.
- In Public address, enter the public FQDN or IP. Preferred routing uses it to redirect client connections.
- In the Virtual IP section, set the VIP properties HALB devices will use for incoming client connections.
- In Settings, select at least one load balancing option (details below), then click Next.
The three options on the Settings page are:
- LB Gateway Payload load balances unsecured gateway connections.
- LB SSL Payload load balances SSL connections.
- Client Management manages Windows client devices connected through HALB.
The wizard then shows one page per option you selected. Skipped options can be added later in the Virtual Server properties.
Gateway payload and SSL payload#
For the gateway payload, you set the port HALB uses to forward traffic to the gateways (default 80, configured on the gateway) and pick the gateway to balance. Only one IP address per gateway can be used, so if a gateway has several entries, select one.
For the SSL payload, the default port is 443, and the key decision is the SSL mode:
- Passthrough (default): SSL is tunneled straight to the gateways, which decrypt it.
- SSL Offloading: HALB terminates SSL. This needs a certificate assigned to HALB. Under Configure you set the accepted SSL version, the cipher strength (or a custom cipher), whether to prefer server ciphers (on by default), and the certificate. The “All matching usage” choice picks any certificate with “HALB” in its Usage property; if none exists you get a warning and must create one first.
I would stay with passthrough unless you have a reason to terminate TLS on the appliance, since offloading adds certificate management on the HALB side.
Devices#
Click Tasks > Add and select or specify a HALB device. If you have not deployed any appliances yet, you can save the Virtual Server and assign devices later. List order sets priority: the top device is primary, and moving a device to the top promotes it. Click Finish and the Virtual Server appears in the Console.
Advanced settings: change with care#
Right-click the Virtual Server and choose Properties to modify it. The tabs mirror the wizard, plus an Advanced tab. The docs warn that advanced settings apply to all devices on the Virtual Server and can cause unexpected results, so only change them to meet a specific network requirement. These are the defaults I would check against your environment:
| Setting | Default |
|---|---|
| Enable RDP UDP tunneling | Enabled |
| Maximum TCP connections | 2000 |
| Client inactivity timeout (s) | 150 |
| Gateway connection timeout (s) | 30 |
| Client connection queue timeout (s) | 30 |
| Gateway inactivity timeout (s) | 150 |
| TCP connections per second | 1000 (per HALB device) |
| Gateway health check interval (s) | 5 |
| VRRP virtual router ID | 15 |
Two things stand out. The VRRP virtual router ID (default 15) distinguishes multiple VRRP instances on the same network, so if you run several Virtual Servers or other VRRP setups on one segment, check for conflicts. There is also an optional VRRP authentication password for the failover traffic between devices. Finally, the “Keep existing load balancing settings” and “Keep existing VRRP/keepalived” options (both disabled by default) stop the Console from overwriting a device’s current configuration; I would leave them off unless you have manually tuned an appliance.
Key takeaways#
- HALB balances Secure Gateways using a VIP shared between appliances; plan at least two devices per Virtual Server.
- Use Generation 1 on Hyper-V, Legacy BIOS on AHV, and keep the appliance on the same local network as RAS but on a separate machine.
- Reserve or statically assign appliance IPs.
- SSL passthrough is the default; offloading requires a certificate with HALB usage.
- Expect up to two brief disconnects on failover.
- Leave the Advanced tab alone unless a network requirement demands it.