# Single Farm with Dual RAS Secure Gateways

This scenario enables high availability for client connections using RAS connection settings on either the Parallels Client side or round-robin DNS.

To enable high availability for client connections using RAS connection settings, the Parallels Client should be configured to connect to primary and secondary Secure Gateways using the primary and secondary connection settings in the RAS connection properties. In this case primary and secondary RAS Secure Gateways must be configured to connect to the same RAS Connection Brokers (using Advanced Client Gateway Settings). When the Primary RAS Secure Gateway is not available, Parallels Clients can connect to the farm using the Secondary RAS Secure Gateway. The client settings can be applied either centrally (via Client Policy in the RAS Console) or manually.

To enable high availability for client connections using round-robin DNS, two new host records must be created in the DNS forward lookup zone with the same name (e.g. myhost.example.com) but with two different IP addresses of primary and secondary RAS Secure Gateways.

{% hint style="info" %}
**Note:** Round-robin DNS load balancing between two Secure Gateways works for the TCP protocol only. UDP load balancing may not work properly.
{% endhint %}

<figure><img src="/files/HrrkgqtYeOJ7t0I5TL6y" alt="Single Farm with Dual RAS Secure Gateways"><figcaption></figcaption></figure>

## **Installation Notes**

RAS Connection Broker is installed using the Parallels RAS installer (standard installation).

All other components are push-installed from the RAS console.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.com/landing/ras-reference-architecture/deployment-scenarios/parallels-ras-deployment-scenarios/single-farm-with-dual-ras-secure-gateways.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
