Parallels Remote Application Server (RAS)

1 Introduction

Parallels RAS (Remote Application Server) is a cost-effective application delivery and Virtual Desktop Infrastructure (VDI) solution that allows your employees and customers to access and use applications, desktops, and data from any device. Easy to deploy, configure, and maintain, Parallels RAS provides organizations of any size with a seamless application delivery and VDI experience - while reducing Total Cost of Ownership (TCO) and improving security.

The Kemp Support Team is available to provide solutions for scenarios not explicitly defined in this guide.

The Kemp support site can be found at: https://support.kemptechnologies.com.

1.1 Document Purpose

This document provides the recommended LoadMaster settings used when load balancing Parallels RAS.

Intended Audience

Anyone who is interested in configuring the LoadMaster to optimize Parallels RAS.

2 Template

Kemp has developed a template containing our recommended settings for this workload. You can install this template to help create Virtual Services (VSs) because it automatically populates the settings. You can use the template to easily create the required VSs with the recommended settings. For some workloads, additional manual steps may be required such as assigning a certificate or applying port following, these steps are covered in the document, if needed.

You can remove templates after use and this will not affect deployed services. If needed, you can make changes to any of the VS settings after using the template.

Download released templates from the Templates section on the Kemp Documentation page.

For more information and steps on how to import and use templates, refer to the Virtual Services and Templates, Feature Description on the Kemp Documentation page.

3 Architecture

Architcture.png

The diagram above shows a scenario where the Kemp LoadMaster can be used to load balance the RAS Secure Gateway service in forwarding mode. In this configuration, the Secure Gateway is deployed in the DMZ and is load balanced by the LoadMaster. The RAS Secure Gateways forward to the internal Secure Gateways in a cascaded chain. If your configuration differs from this configuration and there are issues deploying the LoadMaster, contact the local Kemp Support Team for assistance: http://kemptechnologies.com/load-balancing-support/kemp-support

Architcture-2nd.png

The diagram above shows a different scenario where the LoadMaster is used to load balance RAS Secure Gateways. In this configuration, the Secure Gateways (and HTML5 Portal) are deployed in the DMZ with no Secure Gateways in the corporate network. Additional ports such as 3389 must be opened on the internal firewall from the DMZ to the corporate network. If your configuration differs from this configuration and there are issues deploying the LoadMaster, contact the local Kemp Support Team for assistance: http://kemptechnologies.com/load-balancing-support/kemp-support

3.1 Parallels RAS Roles

Parallels RAS consists of various roles. You can configure the LoadMaster to load balance some of these roles. The sections below discuss the various scenarios in which you can use the LoadMaster to load balance Parallels RAS.

3.1.1 Load Balancing the RAS HTML5 Web Portal

The RAS HTML5 Web Portal is a web application that acts as a web-based portal to an RAS farm. It provides users with a list of available applications and desktops using their web browser.

The RAS HTML5 Web Portal role is part of the Secure Gateway Role. By default, it is enabled when configuring a Secure Gateway Sever.

3.1.2 Load Balancing the Secure Gateway Service

The RAS Secure Gateway Service is an SSL gateway that simplifies the deployment of applications over the Internet. The Secure Gateway Service allows access to published applications and desktops securely through SSL connections.

The RAS Secure Gateway Service provides a proxy connection to RAS components such as RDP Sessions and the HTML5 Web Portal.

4 Enable Subnet Originating Requests Globally

It is best practice to enable the Subnet Originating Requests option globally.

In a one-armed setup (where the Virtual Service and Real Servers are on the same network/subnet) Subnet Originating Requests is usually not needed. However, enabling Subnet Originating Requests should not affect the routing in a one-armed setup.

In a two-armed setup where the Virtual Service is on network/subnet A, for example, and the Real Servers are on network B, Subnet Originating Requests should be enabled on LoadMasters with firmware version 7.1-16 and above.

When Subnet Originating Requests is enabled, the LoadMaster routes traffic so that the Real Server sees traffic arriving from the LoadMaster interface that is in that network/subnet.

When Subnet Originating Requests is enabled globally, it is automatically enabled on all Virtual Services. If the Subnet Originating Requests option is disabled globally, you can choose whether to enable Subnet Originating Requests on a per-Virtual Service basis.

To enable Subnet Originating Requests globally, follow the steps below:

1. In the main menu of the LoadMaster Web User Interface (WUI), go to System Configuration > Miscellaneous Options > Network Options.

SOR.png

2. Select the Subnet Originating Requests check box.

5 Parallels Configuration

This document covers an example of the settings required for Parallels RAS. The RAS administrator should follow the Deployment Guide provided by Parallels to complete the configuration based on their unique topology.

The Parallels Administrators Guide can be found here: https://download.parallels.com/ras/v17/docs/en_US/Parallels-RAS-v17-Administrators-Guide/39932.htm

5.1 Secure Gateway Prerequisites

Before adding Virtual Services to the LoadMaster, ensure to have the DNS names and IP addresses available for all Secure Access Service roles in your deployment. The DNS Names used must be included in the certificate that will be used to secure the traffic.

1. On each of the Secure Gateway Servers, right click and choose properties.

2. Under the properties of the Secure Gateway, configure the following settings:

a) In the SSL/TLS tab, select the Enable SSL on Port check box.

b) Enter 443 as the port.

c) Import or generate the SSL certificate to be used to encrypt traffic.

5.2 Configure the RAS HTML5 Portal

The RAS HTML5 Portal is part of the Secure Gateway service and is enabled by default. To check that it is enabled and view the properties, go to the gateways section in the RAS console.

1. Log in to the RAS console and go to Farm > Gateways.

2. On each of the Secure Gateway Servers, right-click and choose Properties.

3. On the HTML5 tab, select the Enable HTML5 Client check box.

4. Then on the SSL/TLS tab, select <All matching usage> or the certificate name.

5. Click OK to confirm.

6 Virtual Service - RAS Secure Gateway

Refer to the sections below for details on the RAS Secure Gateway Virtual Service.

6.1 Create the RAS Secure Gateway - HTTP Virtual Services

The following are the steps and recommended settings to configure the Parallels RAS Secure Gateway HTTP Virtual Service:

1. In the main menu of the LoadMaster Web User Interface (WUI), go to Virtual Services > Add New.

2. Type a valid Virtual Address.

3. Select the Parallels RAS Secure Gateway - HTTP template in the Use Template drop-down list.

4. Click Add this Virtual Service.

5. Expand the Real Servers section.

6. Click Add New.

7. Type the Real Server Address.

8. Confirm that port 80 is entered.

9. Click Add This Real Server.

10. Repeat the steps above to add more Real Servers as needed.

6.1.1 Parallels RAS Secure Gateway - HTTP Virtual Service Recommended API Settings (optional)

This table outlines the Application Programming Interface (API) parameters and values set using the Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port

80

prot tcp
VStype http
SubnetOriginating 1
Forcel7 1
Transparent 0
Schedule lc
Persist src
PersistTimeout 360
CheckType tcp
CheckPort 80

6.2 Create the RAS Secure Gateway - HTTPS Virtual Services

The following are the steps involved and the recommended settings to configure the Parallels RAS Secure Gateway HTTPS Virtual Service:

1. In the main menu of the LoadMaster WUI, go to Virtual Services > Add New.

2. Type a valid Virtual Address.

3. Select the Parallels RAS Secure Gateway - HTTPS template in the Use Template drop-down list.

4. Click Add this Virtual Service.

5. Expand the Real Servers section.

6. Click Add New.

7. Type the Real Server Address.

8. Confirm that port 443 is entered.

9. Click Add This Real Server.

10. Repeat the steps above to add more Real Servers as needed.

6.2.1 Parallels RAS Secure Gateway - HTTPS Virtual Service Recommended API Settings (optional)

This table outlines the API parameters and values set using the Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port

443

prot tcp
VStype http
SubnetOriginating 1
Forcel7 1
Transparent 0
Schedule lc
Persist src
PersistTimeout 360
CheckType tcp
CheckPort 443

6.3 Create the RAS Secure Gateway - UDP Virtual Services

The following are the steps involved and the recommended settings to configure the Parallels RAS Secure Gateway UDP (RAS RDP Proxy) Virtual Service:

1. In the main menu of the LoadMaster WUI, go to Virtual Services > Add New.

2. Type a valid Virtual Address.

3. Select the Parallels RAS Secure Gateway - UDP template in the Use Template drop-down list.

4. Click Add this Virtual Service.

5. Expand the Real Servers section.

6. Click Add New.

7. Type the Real Server Address.

8. Confirm that port 443 is entered.

9. Click Add This Real Server.

10. Repeat the steps above to add more Real Servers as needed.

6.3.1 Parallels RAS Secure Gateway - UDP Virtual Service Recommended API Settings (optional)

This table outlines the API parameters and values set using the Kemp application template. You can use these settings with scripts and automation tools.

API Parameter

API Value

port

443

prot udp
SubnetOriginating 1
Forcel7 1
Transparent 0
Schedule lc
Persist src
PersistTimeout 360
CheckType icmp

7 Testing

After following the implementation steps in the previous section, follow the steps below to test the load-balanced Parallels RAS environment:

1. Configure your DNS to resolve to the Virtual Service Virtual IP address. In this example, connect.kempdemo.com would resolve to 172.16.0.6.

This DNS entry would also match your SSL certificate common name.

2. Open a web browser that can reach the load-balanced IP.

3. Browse to the configured DNS name for the load-balanced service, for example http://connect.kempdemo.com/ which will redirect to https://connect.kempdemo.com/RASHTML5Gateway/ . A web page should be presented with the RAS login page. This indicates that the LoadMaster has redirected the session to a Real Server.

4. Enter a username and password with permissions to access the Parallels RAS environment.

5. In the LoadMaster WUI, go to Statistics > Real Time Statistics.

6. Click Real Servers.

This overview shows the active sessions, sessions over the last hour, in addition to how many requests each Real Server handled.

6. Open another web browser on a different client and perform the first three steps above.

7. Refresh the LoadMaster statistics page. Notice that, based on the load balancing method we chose, load is spread over both Secure Access Servers (172.16.0.11 and 172.16.0.12).

Last Updated Date

This document was last updated on 07 May 2020.

Was this article helpful?

0 out of 0 found this helpful

Comments