Parallels RAS 20 Administration Reference: Core Concepts and Troubleshooting

🧠 Parallels RAS 20 – Administrator’s Guide Cheat Sheet


🏗️ 1. Core Architecture

TermDescription
Farm
The main logical container of all RAS components. One central configuration and licensing database per farm.

Site

A subset of a farm, typically representing a physical location (e.G., Toronto site, Montreal site). Each site must have at least one Connection Broker and Secure Gateway.

RAS Console

The admin tool (desktop app) used to configure and manage all RAS components.

RAS Management Portal

A web-based admin portal for managing RAS from any browser.

🔌 2. Key Components

ComponentPurpose
RAS Connection Broker (CB)
The “brain” of RAS — authenticates users, distributes connections, manages sessions, and load balances apps/desktops.

RAS Redundancy Service

Keeps a secondary CB in sync for failover. If the primary CB fails, the secondary takes over automatically.

RAS Secure Gateway (SGW)

Acts as a proxy for client connections. Encrypts traffic (SSL/TLS). Can operate in Normal or Forwarding mode.

HALB (High Availability Load Balancer)

Balances traffic between multiple Secure Gateways. Provides a single entry point (VIP).

RD Session Host Agent

Installed on RDSH servers — allows publishing of apps and desktops from those servers.

RAS Remote PC Agent

Enables publishing of physical desktops or VMs for direct user access.

RAS Guest Agent

Used on VDI virtual machines to manage and publish desktops/applications.

RAS Provider Agent

Communicates with hypervisors (VMware, Hyper-V, etc.) to create and manage VMs. Can be built-in or dedicated.

Device Manager

Manages Windows endpoints (turn them into thin clients).

Enrollment Server

Handles SAML-based Single Sign-On (SSO)
And digital certificates.

🔒 3. Security & Access

FeatureDescription
Authentication Types
AD credentials, Smart card, SAML, RADIUS, Azure AD, etc.

Tunneling Policies

Control how Secure Gateways forward or block user connections. Useful for directing traffic or blocking raw RDP.

SSL Modes (HALB)


Passthrough (traffic stays encrypted to SGW) or Offloading (HALB decrypts it).

Two-Factor Authentication (2FA)

Integrates with Google Authenticator, RADIUS, Azure MFA.

Firewall Integration

Ensure TCP 443 (SSL), 80 (HTTP), and 30008 (HALB) are open.

🧱 4. Publishing

TermDescription
Published Application
An app (like Word, Calculator, SAP) hosted on an RDSH or VM and delivered virtually to users.

Published Desktop

A full Windows desktop session (like RDP but through RAS).

User Assignment

Controls who sees what. If “Everyone” is assigned, all users can see it. Always replace “Everyone” with specific users, groups, or OUs.

File Type Association (FTA)

Allows double-clicking a file type on the client to launch the app from RAS (e.G., .Docx opens Word from RAS).

App Folders

Organize published apps in groups for easier access.

🌐 5. Networking & Connectivity

ConceptDescription
Network Discovery
Automatically finds hosts and servers in your network to add to the farm.

WAN/LAN Optimization

Forwarding mode gateways separate WAN users from LAN users for stability and security.

SSL Certificates

Used by Secure Gateways and HALB for encryption. Let’s Encrypt can be integrated for automation.

Ports

Common: 443 (HTTPS), 80 (HTTP), 30008 (HALB), 30009 (HALB secondary).

⚖️ 6. Load Balancing & HA

FeatureDescription
HALB (VIP)
Single virtual IP users connect to; HALB forwards to available gateways.

HALB Primary/Secondary

Multiple HALB appliances — one active, others standby. Shared Virtual IP.

RAS Connection Broker HA

Two brokers replicate configuration & session info using the Redundancy Service.

Secure Gateway HA

Multiple gateways in the same site share load and provide redundancy.

🖥️ 7. VDI Integration

FeatureDescription
VDI Provider
Interface between RAS and hypervisors like Hyper-V, VMware, AHV.

VDI Templates

Master VM images used to clone new desktops.

VDI Pooling

Dynamic or persistent desktop assignment to users.

VDI Automation

Automatically creates, powers on/off, and destroys VMs as users log in/out.

🔍 8. Monitoring & Reporting

FeatureDescription
RAS Reporting
Centralized logging of sessions, usage, and performance. Connects to SQL Server DB.

RAS Reports Portal

Web UI for viewing usage reports, license stats, and active users.

RAS Monitor

Real-time view of connections, servers, and resources.

Logging Levels

Standard / Extended / Verbose — controlled by registry key:
HKLM\SOFTWARE\Parallels\RASLog → LogLevel (DWORD) 
Values: 0=Standard, 1=Extended, 2=Verbose. 

⚙️ 9. Management & Maintenance

TermDescription
Backup/Restore
RAS Console ➜ Tools ➜ Backup Configuration. Saves farm settings to file.

Licensing

Managed centrally at the farm level. Requires valid license key or subscription.

Upgrade

Run the new RAS installer on Connection Broker first, then Gateways, then Agents.

Logs Location

 

C:\Program Files (x86)\Parallels\RASLog\

| Common Logs:
| controller.Log, acme.Log, rasgroupmanager.Log, devscheduler.Log, notifdispatch.Log |


🧩 10. Advanced Features

FeatureDescription
PowerShell & CLI Tools
Automate app publishing, user assignment, reporting setup, etc.

SAML Integration

Single sign-on with Azure AD, Okta, ADFS, etc.

HTML5 Gateway

Access RAS desktops/apps through any browser without installing the client.

Device Manager Policies

Convert endpoints into kiosk/thin client mode.

Printing Redirection

Universal Printing feature lets users print locally from published sessions.

Clipboard Redirection

Enable/disable clipboard and file transfer between local and remote.

🧰 11. Troubleshooting Tips

IssueTypical CauseFix
“Failed to initialize Reporting Agent”SQL DB not reachable or wrong credentialsTest DB1 port
1433, verify SQL permissions, restart RAS Reporting service
App visible to everyone“Everyone” is still listed in User AssignmentRemove “Everyone” and assign only the user/OU
SSL errorsMismatched or expired certificateReplace in RAS Console → Secure Gateway properties
Client cannot connectHALB or Gateway ports blockedOpen TCP 443, 30008 on firewalls
User session not launchingAgent missing or offlineCheck RDSH Agent service on the host

🔍 12. Common Directories & Files

PathDescription
C:\Program Files (x86)\Parallels\ApplicationServerCore RAS binaries
C:\Program Files (x86)\Parallels\RASLog\Log files
C:\Program Files (x86)\Parallels\RASReports\Reporting service files
%ProgramData%\Parallels\ApplicationServerConfig data

🗝️ 13. Useful Registry Keys

PathDescription
HKLM\SOFTWARE\Parallels\RASLog\LogLevelControls logging verbosity (0–2)
HKLM\SOFTWARE\Parallels\RAS\AgentAgent configuration
HKLM\SOFTWARE\Parallels\RASConnectionBrokerBroker settings
HKLM\SOFTWARE\Parallels\RASGatewaySecure Gateway configuration

🧩 14. Ports Reference (Quick Table)

ComponentPortDescription
Secure Gateway443HTTPS client connection
HALB30008Primary listener
HALB30009Secondary
Connection Broker20002Inter-component communication
RD Session Host3389RDP sessions
Reporting (SQL)1433SQL Server port

🧾 15. Key CLI & PowerShell Commands

PurposeCommand
List all farm serversGet-RASServer
Publish an applicationNew-RASApp -Name "Calculator" -Path "C:\Windows\System32\calc.Exe"
Assign app to userSet-RASAppAssignment -AppName "Calculator" -User "RASLAB\designer"
Export farm configExport-RASConfig -Path "C:\Backup\RASFarm.Bak"
Get session infoGet-RASSessions

🧭 16. Real-Life Admin Scenarios

ScenarioWhat to Do
User should see only one appEdit app ➜ remove “Everyone” ➜ assign user/OU
Deploy redundant GatewayAdd second Secure Gateway ➜ enable HALB
Configure SSL OffloadImport certificate into HALB and switch mode to “SSL Offloading”
Integrate Azure AD loginEnable SAML SSO in Connection Broker settings
Collect all logsC:\Program Files (x86)\Parallels\RASLog\ (compress folder for support)