2026-12-01 • By Jeffrey de Leeuw

High availability in Parallels RAS

High availability in Parallels RAS

Introduction

Parallels RAS is a fantastic product for SMEs. For an overview of what Parallels RAS is and the services we provide to help organizations design, deploy, and manage their RAS environments, visit our Parallels RAS page.


A Parallels RAS farm that works fine in the lab is not yet a farm you can rely on in production. As soon as users depend on their published applications and desktops every day, the question changes from "does it work?" to "what happens when a component fails?". In this blog we look at how to make every layer of a Parallels RAS environment highly available, how to configure it, and how to test that it actually works.

This blog is aimed at IT professionals who already have a working RAS farm. If you still need to build one, start with our blogs on deploying a Parallels Remote Application Server and adding an RD Session Host to a Parallels RAS farm. This blog is written for Parallels RAS 22.

The building blocks and their failure impact


Before adding redundancy, it helps to know what each component does and what the user notices when it is gone.













ComponentRoleRedundancy option
RAS Secure GatewayFront door for external and internal clients; tunnels the sessionTwo or more gateways, optionally behind HALB
HALB (High Availability Load Balancing)Virtual appliance in front of the gateways; distributes connections and offers a virtual IPTwo or more HALB appliances sharing a virtual IP
RAS Connection BrokerDirects authenticated users to the right resourcePrimary and secondary broker (three for automatic failover)
RD Session Hosts / VDIWhere the applications and desktops actually runMultiple hosts in a worker group with load balancing
SiteLogical unit of a RAS farm, usually one locationA second site for disaster recovery

Parallels RAS has no separate license server or configuration server. Secure Gateways and HALB are included in the subscription, and there is no limit on the number of gateways you can deploy.

Note: In older versions and documentation you will still see the term Publishing Agent. This is the component we now call the Connection Broker.

Design principles


Before you start clicking in the console, keep these rules in mind:

1. Never put both nodes of a pair on the same hypervisor host. Use anti-affinity rules (or separate hosts) so a single host failure cannot take down both gateways, both HALB appliances or both brokers.
2. Redundancy is only as good as the weakest layer. Also think about Active Directory, DNS, the certificate lifecycle, file shares for profiles and the network path.
3. Document what failover looks like. Know in advance what users will experience (a short reconnect, or nothing at all).
4. Test it. An untested failover is an assumption, not a feature.

Secure Gateway redundancy


The simplest step is to deploy a second Secure Gateway. Each gateway is installed from the RAS console and can run on a dedicated server or alongside another RAS role.

Adding a second Secure Gateway
1. Open the RAS console and navigate to Farm > your site > Gateways.
2. Click Tasks > Add.
3. Enter the FQDN or IP address of the new server.
4. Complete the wizard and let the console push-install the gateway.
5. Check that the new gateway shows the status OK and that the same SSL/TLS certificate is configured on both gateways.HA_RAS_04.png

Tip: Use a certificate that covers the public FQDN users connect to (a SAN or wildcard certificate), and use exactly the same name on every gateway. Otherwise users will get certificate warnings after a failover.

With two gateways you can already use simple DNS round robin, but DNS has no health awareness: clients will keep getting the address of a gateway that is down until the record expires. That is exactly what HALB solves.

High Availability Load Balancing (HALB)


HALB sits between the users and the Secure Gateways. It monitors the gateways, distributes connections based on workload and directs traffic only to healthy gateways. HALB appliances use a virtual IP address, so users always connect to the same address, even when one appliance is down. Established sessions are not affected by a disconnect: users can reconnect to their existing session.
Setting up HALB consists of two stages: deploying the HALB appliance and configuring it in the RAS console.

Deploy the HALB appliance
1. Download the Parallels HALB appliance image for your hypervisor.
2. Import the appliance into your hypervisor and connect it to the network segment of your Secure Gateways.
3. Start the appliance and give it a fixed IP address.
4. Repeat this for a second HALB appliance on a different hypervisor host.HA_RAS_01.png

Create the HALB virtual server and add the appliances
In RAS 21 and newer you add the HALB appliances (the devices) to a virtual server. The virtual server holds the settings that clients use, such as the virtual IP address, and the appliances do the actual load balancing.

1. In the RAS console, navigate to Farm > your site > HALB.
2. On the Virtual Servers tab, click Tasks > Add. The HALB Configuration wizard opens.
3. Make sure Enable HALB is selected, and type a name (and an optional description) for the virtual server.
4. In the Public address field, enter the public FQDN or IP address of this server. This address is used by the preferred routing functionality to redirect client connections.
5. In the Virtual IP section, enter the virtual IP address that clients will use to connect. Choose a free address in the same subnet as the appliances, which is different from the own IP address of every appliance.
6. In the Settings section, select at least one load balancing option: one for normal connections and one for SSL connections. For normal connections, enter the port that the HALB devices use to forward traffic to the Secure Gateways. This port is configured on the gateway, and the default is 80. For SSL connections, select the SSL certificate and make sure the port matches the SSL port of your gateways.HA_RAS_02.png7. On the Devices page, click Tasks > Add. Select the first appliance from the list of detected appliances, or type the IP address of the appliance itself if it is not detected. This is the fixed IP address you gave the appliance at first boot. Do not enter the virtual IP address here.
8. Repeat step 7 for the second appliance. Every appliance has its own unique IP address.
9. Put the appliance that should be the primary at the top of the list. The device at the top is the primary, and the devices below it are secondary.
10. Click Finish and then Apply. The new virtual server appears in the list.HA_RAS_03.png

Note: If you have not deployed the appliances yet, you can save the virtual server and assign the devices later. Right-click the virtual server, choose Properties and use the Devices page. At least two devices per virtual server are recommended.

Check the result and create the DNS record
1. In the HALB overview, check that both devices show the status OK. If a device does not show up or shows an error, check that you added the IP address of the appliance itself and not the virtual IP, and that the console can reach the appliance.
2. Check that the ports on the HALB match the ports configured on your Secure Gateways.
3. Create a DNS record for your public or internal FQDN that points to the virtual IP address, never to the address of one appliance.
4. Connect with a client through the FQDN to test the setup.


Connection Broker redundancy


The Connection Broker decides where an authenticated user is sent. Brokers are deployed as a primary and one or more secondary brokers. All brokers take an active part in communication, but the primary broker is responsible for specific tasks such as license usage and reporting.

A pair of brokers gives you resilience, but with only two brokers it is hard to tell which one should be in charge when they lose contact with each other. Three brokers enable automated high availability and avoid a split-brain scenario when the primary broker becomes unavailable. For production environments we therefore recommend three brokers wherever the infrastructure allows it.

Adding a secondary Connection Broker
1. In the RAS console, navigate to Farm > your site > Connection Broker.
2. Click Tasks > Add to start the wizard.
3. Enter the FQDN or IP address of the server that will host the new broker.
4. Choose whether to install a Secure Gateway on the same server and complete the wizard to push-install the component.
5. The wizard asks you to install the Connection broker software, click install
6. Check that the broker has the status OK and that the farm shows the new broker as secondary.HA_RAS_05.png

Tip: Combining a secondary broker and a gateway on the same server is a practical way to save servers in smaller environments. In larger environments we prefer to keep the roles separate.

Why three brokers are better than two

With two brokers, both are active, but only one of them is the primary. When the two lose contact with each other, neither one can be sure whether the other has failed or whether the network between them is the problem. With a third broker there is always a majority, so the remaining brokers can decide on their own which one takes over. That is the split-brain scenario you want to avoid, and it is why three brokers are the recommended design for production.

Placement of the brokers
A few rules we apply when we place brokers:

1. Put every broker on a separate hypervisor host (or a separate fault domain).
Three brokers on one host is still one point of failure.
2. Keep the brokers of one site close to each other, with low latency between them. A site is normally a single physical location. If you want protection against the loss of a location, use a second site (see section 8) instead of stretching one site across a WAN link.
3. Give the brokers a fixed IP address and a DNS record, and make sure all components (gateways, agents and consoles) can reach every broker. Check the required ports for your version in the Parallels documentation and open them in both directions between the components.
4. Keep the brokers on the same RAS version. During an upgrade, update them one at a time, as described in our blog on upgrading a Parallels Remote Application Server.

What do users notice when a broker fails?
The Connection Broker directs a user to a resource, but it is not part of the data stream of a session that is already running. In general, users with an established session keep working, while users who log on at that moment may notice a short delay until another broker takes over. Verify this in your own environment with the tests in later in this post, because it depends on your design and your version.

RD Session Host and VDI redundancy

Published applications and desktops are only highly available when more than one host can deliver them. Parallels RAS offers resource-based and round robin load balancing for RD Session Hosts out of the box.

- Add at least two RD Session Hosts to a group (see our blog on adding an RD Session Host to the farm).
- Publish the application or desktop from the group instead of from a single server.
- Choose a load balancing method: resource-based (takes sessions, memory and CPU into account) or round robin.
- Plan for N+1: with the number of hosts you have, can the farm still carry the peak load when one host is down or in maintenance?

For VDI, apply the same logic: keep enough capacity in the pool and spread the hypervisor hosts so that a single failure does not remove all your desktops.

Authentication and supporting services

A highly available Parallels RAS farm that depends on a single authentication server or infrastructure service is not truly highly available. Even if all RAS components are configured redundantly, an outage in one of these external dependencies can prevent users from authenticating or accessing their resources.

High availability must therefore cover the entire authentication and user access chain, not just the RAS infrastructure itself.

Pay particular attention to the following dependencies:

- Active Directory and DNS: Deploy at least two domain controllers per site to avoid a single point of failure. Ensure that all RAS components can discover and communicate with both domain controllers. Also verify that DNS is configured redundantly and that clients and servers can resolve the required domain records when one DNS server becomes unavailable. A redundant domain controller configuration is of little value if the RAS components still depend on a single DNS server.

- MFA / RADIUS: If multi-factor authentication is enabled, the RADIUS infrastructure must also be redundant. Configure a secondary RADIUS server using either an active/active or active/passive design, depending on the capabilities of your MFA provider. Verify that RAS can fail over to the secondary server when the primary server becomes unavailable. Also consider what happens if the MFA provider itself, or its cloud-based authentication service, becomes unreachable.

- Profile storage: User profiles and profile containers should reside on a redundant file service. A single file server hosting user profiles can become a major bottleneck or a single point of failure, even when the RAS farm itself remains operational. Consider using a clustered file server, a highly available storage solution, or another supported redundant storage architecture. Pay particular attention to SMB availability, storage connectivity, and permissions during failover.

- Certificates: Certificates are often overlooked when designing high availability. Monitor certificate expiration dates and ensure that renewal procedures are documented and tested. An expired or invalid certificate on a RAS Secure Gateway can prevent users from connecting, effectively causing an outage even when all servers are online. Where certificates are deployed across multiple gateways, ensure that they are consistently installed and renewed on all relevant servers.

The key takeaway is that high availability is only as strong as its weakest dependency. Redundant Connection Brokers and Secure Gateways will not help if authentication, DNS, MFA, or profile storage is unavailable.

As part of your HA testing, deliberately simulate the failure of these external dependencies. Confirm that users can still authenticate, retrieve their profiles, and establish new sessions. Also verify that existing sessions behave as expected during each failure scenario.

Site-wide redundancy


For disaster recovery you can add a second site to the farm, for example in another datacenter. If the primary location fails, users can be directed to the pre-configured site. Redundancy at site level is included in the RAS licensing, but it does require planning for data (profiles and published application data), DNS and network connectivity.

Questions to answer before you build a second site
Site-wide redundancy is more than adding servers in another location. Start with the business requirements:
- RTO (recovery time objective): how long may users be without their applications?
- RPO (recovery point objective): how much data may be lost, for example in profiles or in application data?
- Capacity: must the second site carry the full load, or only the critical applications?
- Dependencies: can the second site operate when the first one is completely gone, including Active Directory, DNS, licensing and internet access?

What the second site needs
1. A complete RAS site with its own Connection Brokers, Secure Gateways (and HALB) and RD Session Hosts or VDI.
2. The same applications and the same versions on the hosts of both sites, preferably deployed from the same image or template, so that users get the same result.
3. Replicated user data: profile containers and redirected folders on storage that is available in both locations, using replication that suits your RPO.
4. Active Directory and DNS in both locations, with the correct AD site configuration, so that a site does not depend on a domain controller on the other side of a failed link.
5. The same FQDN and certificate for the access layer, so that clients do not notice which site they are connecting to.
6. A way to direct users to the second site: for example a DNS record with a short TTL that you change during a failover, or a global load balancing service that checks the health of the first site.

Keep both sites equal
The biggest risk of a DR site is that it slowly drifts away from production. Make the second site part of your normal change process: every application update, every new published resource and every RAS upgrade is applied to both sites, and the DR site is tested on a fixed schedule.

Note: A DR site that has never been tested is not a DR site. Include at least one full failover test per year, where real users or test users work from the second site for a while.

Test a failover


The purpose of your test plan is to verify that the Parallels RAS environment can handle the failure of individual infrastructure components.

The tests should establish three things:
1. Existing user sessions remain operational wherever the architecture is designed to support this.
2. New users can still authenticate and establish sessions, possibly after a short delay.
3. The failure of one component does not introduce a single point of failure elsewhere in the infrastructure.

Ideally, perform these tests in a dedicated test environment. If testing in production is necessary, schedule a maintenance window and ensure that rollback procedures are available.

Put your RAS high availability to the test
The following tests cover the core Parallels RAS components, including Secure Gateways, HALB appliances, Connection Brokers and RD Session Hosts. Perform them during a planned maintenance window and carefully document the results.













TestWhat to expect
Stop the Secure Gateway service on one gatewayHALB marks the gateway as unavailable; new connections go to the other gateway
Shut down one HALB applianceThe virtual IP moves to the other appliance; new connections keep working
Shut down the primary Connection BrokerA secondary broker takes over; the console may briefly reconnect
Shut down one RD Session HostNew sessions go to the remaining hosts; sessions on the failed host are lost
Disable a gateway certificate or portUsers see the difference quickly: use this to check your monitoring

For each test, pay attention to what happens to existing sessions, whether new users can still connect, and how long it takes before the environment returns to normal operation.


Test the infrastructure dependencies
Your RAS farm does not operate in isolation. It depends on several underlying infrastructure services, such as Active Directory, DNS, profile storage and the hypervisor platform.

Even if all Parallels RAS components are configured for high availability, a failure in one of these supporting services can still prevent users from connecting or accessing their resources.

The following tests focus on these dependencies and on scenarios where multiple infrastructure components are affected at the same time. The goal is to verify that redundancy is implemented across the entire environment, rather than just within the RAS farm itself.














TestWhat to expect
Shut down a second Secure Gateway or the active HALB appliance while a user is logging onThe logon may fail once; a retry succeeds through the remaining component
Shut down one hypervisor host that carries a gateway, a broker and an RD Session HostThe remaining components of every role take over; this proves that your anti-affinity rules work
Shut down one domain controllerAuthentication continues through the other domain controller
Make the primary DNS server unavailableName resolution continues through the secondary DNS server
Disconnect the profile storage of one node (if you use a redundant file service)Users keep their profile through the other node, or log on with a clear error you can handle
Let a gateway certificate expire in the lab (or use a wrong name)Users see a certificate warning: use this to verify that your monitoring alerts on it

As with the previous tests, perform these scenarios in a controlled maintenance window and document the actual behavior.

How to run a test

1. Prepare. Plan a maintenance window, inform the users and make sure you have a rollback plan. Create two or three test accounts and keep an active session open on each.
2. Record the starting point. Note the status of all components in the RAS console, the number of sessions and which gateway and host the test sessions use.
3. Introduce the failure. Stop the service or shut down the server. Do this the way a real failure happens (a power-off, not a clean shutdown) for at least some of the tests.
4. Observe. Watch the RAS console, the event logs and the client. Try three things: keep working in the existing session, reconnect, and start a new session.
5. Measure. Write down how long it took before new connections worked again and what the user saw on the screen.
6. Restore. Start the component again and check that it returns to the farm with the status OK and without manual repair.
7. Record the result and fix every deviation before you continue with the next test.

Template for your test results











TestExpected resultActual resultFailover timePass / failFollow-up
Stop gateway 1New logons use gateway 2
Power off HALB 1Virtual IP moves to HALB 2
Power off primary brokerSecondary takes over

Repeat the tests after every major change or upgrade of the farm, and keep the results with your documentation.

High Availability Checklist

Before considering your Parallels RAS environment highly available, go through the following checklist. It covers the essential infrastructure components, their dependencies and the operational procedures needed to keep the environment running when something fails.

- Two or more Secure Gateways on separate hypervisor hosts
- Two or more HALB appliances with a virtual IP and DNS pointing to that address
- Identical certificates (FQDN) on all gateways
- Primary and secondary Connection Brokers, preferably three
- Multiple RD Session Hosts per group with room for N+1
- Redundant Active Directory, DNS, RADIUS and profile storage
- Monitoring and alerting on every component
- A documented and tested failover procedure

Before go-live
- The design is documented, including a diagram of all components and the hypervisor host each one runs on
- All gateways use the same certificate and FQDN, and the certificate expiry date is in your monitoring
- The ports between the HALB appliances, gateways, brokers, agents and consoles are verified
- A backup of the farm settings is made and the restore procedure is known
- All tests from section 9 are executed and the results are recorded
- A support contact and an escalation path are agreed for the day something does fail

Recurring tasks















TaskFrequency
Check the status of all components in the RAS consoleDaily (or alert on it)
Check certificate expiry datesMonthly
Check capacity: can the farm carry the peak load with one host down?Quarterly
Install updates one node at a time and re-check the farm after each nodeAt every patch round
Test a failover of at least one componentTwice a year and after major changes
Test the disaster recovery siteAt least once a year
Review this checklist and the documentationAfter every RAS upgrade

Common mistakes
- Two or more nodes of the same role on one hypervisor host
- A different certificate or name on the second gateway
- Gateway and HALB ports that do not match
- Only two brokers and no plan for a split-brain situation
- Redundant RAS components that all depend on one domain controller or one file share
- No monitoring, so a failed node is only discovered when the second one fails as well
- Failover that is never tested

Conclusion


High availability in Parallels RAS is not complicated, but it does require you to think about every layer: the access layer (Secure Gateway and HALB), the brokering layer (Connection Broker), the workload layer (RD Session Hosts or VDI) and the services around them. The included components make it possible to remove single points of failure without extra licensing costs. The most important step is the last one: test it, so you know what your users will experience when something fails.

Need help designing or reviewing a highly available Parallels RAS environment? Visit our Parallels RAS page or click here to contact us.