The Monitoring category gives you access to the RAS Performance Monitor, which is a browser-based dashboard designed to help administrators analyze Parallels RAS deployment bottlenecks and resource usage. The dashboard provides a visual display of performance metrics, which can be viewed in the Parallels RAS Console or in a web browser.
Parallels RAS Performance Monitor consists of the following components:
InfluxDB database — a database for storage of system performance data.
Grafana dashboard — a browser-based dashboard providing a visual display of performance metrics.
Telegraf service — a service that collects performance data on a server where it is installed. The service is installed automatically when you add a server to a Parallels RAS Farm and install a corresponding RAS Agent on it (e.g. RAS Secure Gateway Agent, RD Session Host Agent, Remote PC Agent, etc.).
The Telegraf service is stopped by default, so it doesn't collect any data. To start the service on each server in the Farm, the performance monitoring functionality must be configured and enabled in the Parallels RAS Console and/or Parallels Management Portal. Once enabled, the Telegraf service begins collecting a predefined set of performance counters at a fixed time interval (10 seconds). It then sends the collected data to the InfluxDB database for storage. To view performance metrics, the Parallels RAS administrator uses the Monitoring category of Parallels RAS Management Portal, which displays the visual representation of performance counters in real time (using Grafana dashboard).
The performance metrics are grouped in the dashboard by type (Session, CPU, Memory, Disk, etc.), so the administrator can view each group of metrics separately. The administrator can also select whether to view performance metrics for one or more specific servers or for all servers in the Farm or Site. In addition, the administrator can select a specific Site for which the data should be displayed.
Note: To enable RAS Performance Monitor in the Management Portal you must be a Root administrator of a RAS Farm.
To enable RAS Performance Monitor:
In the Management Portal, select the Monitoring category in the sidebar.
In the right pane, click the Farm Settings link. This will take you to the Farm Settings category with the Monitoring subcategory selected.
In the top panel, click the Edit button.
Select the Enable RAS Performance Monitor option.
Specify connection settings to the server hosting the RAS Performance Monitor database:
Server: Enter the FQDN or IP address of the server where you have the InfluxDB database and Grafana dashboard installed.
Port: The default port is 8086. You can change it if necessary.
Click Save.
Parallels RAS Performance Monitor is a separate component of Parallels RAS with its own installer. It can be installed on a dedicated server or on a server hosting any of the Parallels RAS components. When you run the installer, the InfluxDB database and the Grafana dashboard service are automatically installed. For additional info, see the Installation subsection below.
The following firewall rules (open ports) are automatically added on the server where you install Parallels RAS Performance Monitor:
TCP port 8086 (used by the InfluxDB database).
TCP port 3000 (used by the Grafana performance dashboard).
To install Parallels RAS Performance Monitor:
Download the Parallels RAS Performance Monitor installer from https://www.parallels.com/products/ras/download/links/.
Run the installation wizard (the RASPerformanceMonitor.msi file) and follow the onscreen instructions.
Close the wizard when finished.
By default, any user can access the Performance Monitor page and view performance metrics. To increase security, you can set up the RAS Performance Monitor to use credentials so that only authorized users can view it.
First, remove anonymous authentication from the Grafana configuration file as follows:
Open file C:\Program Files\Parallels\RAS Performance Monitor\conf\defaults.ini.
In the file, look for the following:
#################################### Anonymous Auth ######################
[auth.anonymous]
# enable anonymous access
enabled = true
Change "enabled = true"
to "enabled = false"
.
Note: The user will be prompted to change the admin password automatically after disabling the anonymous access. After that, the password can be changed following the Grafana official documentation: https://grafana.com/docs/grafana/latest/manage-users/user-admin/change-your-password/.
Restart the Grafana service.
Select the Monitoring category and log in to Grafana using the following credentials:
User: admin
Password: admin (if you changed the password before, use the current password).
Once logged in, press "Esc" and then click the "shield" icon > Users.
Click New user and create a new user.
You now need to add the user to your organization's list. To do so, in the Users list, click Edit to edit the user and then set the organization and make the user a Viewer.
Click Add to add the user to your organization's list. The user can now view the RAS Performance Monitor statistics.
To view performance metrics, select the Monitoring category in the sidebar. The performance dashboard is shown in the right pane.
To view metrics of a specific type, expand the desired category in the main area of the dashboard. The categories include:
Session Information. Displays the information about active sessions and disconnected sessions.
CPU usage. CPU counters.
Free memory. Physical memory counters.
Disk usage. Disk I/O counters.
Network usage. Network interface I/O counters.
System information. System information counters.
RAS Gateway information. RAS Gateway counters.
Performance metrics are displayed in the dashboard as a graph. Different counters are displayed using different colors.
To zoom in on a particular area of a graph, select a rectangular block with a mouse. You can also use the Zoom controls at the top of the dashboard for time range zoom out, shift time forward, or shift time backwards. To select a specific time range, click the "clock" icon at the top and then specify a time range.
By default, the dashboard opens in kiosk mode. To exist it, press "Esc". To cycle view mode, click the "monitor" icon in the upper right. When you exist kiosk mode, the RAS Infrastructure Health page is displayed:
The menu at the top has the following items:
Hosts. Allows you to select one or multiple servers for which the performance metrics should be displayed. To display the data for all servers in the Site, select All. Please note that if you don't see any servers in the list, you need to wait for Parallels RAS Performance Monitor to collect the initial set of statistics. This only happens on initial installation.
Instance. This item allows you to select a specific counter instance (if there's more than one). For Network counters it is usually the name of a network interface. For Disk counters it is a disk name. Other types of counters don't usually have multiple instances.
Farm & Site. Select a Site for which to display the data. Selecting All displays the data for all sites in the Farm. If you have another RAS Farm, and the RAS Performance Monitor is configured and enabled in it, you can also select a Site from that Farm.
Agent Type. Select a RAS agent type.
Group. Select an RDS group.
For more information about performance metrics and their meaning, please refer to the following articles from Microsoft:
See also RAS Performance Counters.