Platform Monitor configuration
Platform Monitor is installed with RPA though it requires additional configuration.
Configure Nginx
The section describes using of secure connection between Bot Manager and Bot Relay.
Upload the SSL certificate and SSL key files to the \nginx\ssl\ directory and rename them to server.pem, server.key, and client.pem (if exists) correspondingly.
You can download the configuration files from the APP server. Find the detailed information at Preparation of RPA and BI configurations.
Edit <INSTALL_DIR>\nginx\conf\nginx.conf.
- Replace all
{HOST_NAME}with a valid DNS name of your Windows RPA server. - Replace
{WF_HOST_IP}with the IP address of the APP server. - Replace
{LOCAL_IP}with the IP address of your RPA Windows Server.
Windows firewall configuration
Create a new rule to allow inbound secure communication for applications on the Bot Relay server for using the SSL connection.
Define local port 443 to allow the connection. You can also define ports 10000-10010 if needed.
Encrypt properties
To encrypt properties, use status-agent-\*.jar as the command-line tool in the installation directory (default /opt/workfusion).
The required VM options are as follows:
Dencrypt: the option should be added before the jar file. Otherwise, it will run status-agent as a web server. Required program arguments:-input X: where X is a string line for encryption.
Perform the following steps:
- Take the wfagent credentials from
secrets.ymlon the Linux servers:
wfagent_username: wfagent
wfagent_password: 'Kt#Ol4luYl'
- Execute the following commands on any Linux server to encrypt the credentials:
$ source <INSTALL_DIR>/environment.sh
$ java -jar -Dencrypt <INSTALL_DIR>/wfagent/status-agent-9.2.0.0.jar -input wfagent
BwW9oB1vte63yeSXqi9AkQ==
$ java -jar -Dencrypt <INSTALL_DIR>/wfagent/status-agent-9.2.0.0.jar -input 'Kt#Ol4luYl'
Fe8sbyY5d5P0wam4GtH0/m2uevMCp5S0
The output of the commands are string lines, for example, BwW9oB1vte63yeSXqi9AkQ==, where prefix and suffix ENC( ) need to be added. As a result, it will look like: ENC(BwW9oB1vte63yeSXqi9AkQ==``).
- Put the encrypted property to the
<INSTALL_DIR>\wfagent\conf\environment.ymlfile on the RPA server.
pm_user: ENC(Y9OMveSzAbN4yObOxme27g==)
pm_password: ENC(BbsfHdEgYsW2rd1caHTlk5/L5TQI5KT5)
Configure Platform Monitor basic settings
Edit <INSTALL_DIR>\wfagent\conf\environment.yml.
rpa_hub_hostname: rpa.example.com ## Modify to hostname of RPA server
rpa_hub_port: 4444 ## Internal port for Bot Relay service
rpa_hub_protocol: http ## RPA Bot Relay service internal protocol usage
rpa_nginx_port: 443 ## RPA external port
pm_hostname: apm.example.com ## Modify to hostname of Application Platform Monitor
pm_port: 443 ## Modify port number of Application Platform Monitor
pm_scheme: https ## Modify protocol of Application Platform Monitor
pm_path_context: "/_agent" ## Modify context path of Application Platform Monitor
pm_user: ENC(BwW9oB1vte63yeSXqi9AkQ==) ## Modify username of Application Platform Monitor
pm_password: ENC(Fe8sbyY5d5P0wam4GtH0==) ## Modify password of Application Platform Monitor
agent.hostname: rpa.example.com ## Modify to hostname where current Windows session will be running
logstash_port: 4567 ## logstash port
Configure RDP settings
note
Required only for the RDP-in-RDP deployment type.
The configuration is done under a Bot Relays user.
The RPA package comes with the bundled wfagent directory /wfagent/rdp, where you can find six RDP client connection files.
nodeX.RDP is the connection to local RDP with Bot #X.
Open these files and perform the following actions:
Run RDP client using
nodeX.RDP.Make sure you save the credentials for the connection.

Open the connection and select all checkboxes to prevent any undesired dialogs in the future.
Make sure you are connected to RDP. Disconnect and open the connection again. There should be no warning messages during initial connection or inside the RDP session as they will disrupt any automatic session logon.
Update Platform Monitor Keystore
The RPA Platform Monitor doesn't support SSL while the APM server supports SSL. In case of the APM Server, the RPA Platform Monitor keystore needs to be updated.
- Download the root certificate from the APM server using the following URL:
http://dns_host:port/ca.crt, where the arguments are as follows:
dns_host is host of APM server
port is set during install; default port is 8080
You can download via the powershell command:
Invoke-WebRequest -Uri "http://dns_host:port/ca.crt" -Outfile "ca.crt"
Find the RPA Java path, for example,
C:\RPA\java.Go to the bin directory, for example,
C:\RPA\java\bin.Import downloaded
ca.crtto the RPA Java keystore.Run the command with your arguments from the
C:\RPA\java\bindirectory:
keytool -import -alias APM -file "path/to/ca.crt" -keystore "path/to/cacerts" -storepass changeit
where the arguments are as follows:
path/to/ca.crt is absolute path to downloaded ca.crt, e.g., C:\\ca.crt
path/to/cacerts is absolute path to default RPA Java keystore, e.g., C:\\RPA\java\jre\lib\security\cacerts
changeit default password for RPA Java keystore
Configure multiple RDP sessions
Multiple RDP Sessions are configured on the Windows server.
Connect to the Windows server.
Navigate to Server Manager >Manage > Add Roles and Features.
Add roles, and the Features Wizard opens.
Go to Server Selection > Server Roles > Remote Desktop Services > Next.

- Select Remote Desktop Session Host > Next > Add Features.

- On finishing, reboot your machine.

Configure Bot Relay autostart
Bot Manager Configuration is also related to configuration of Bot Relays.
To allow Bot Relay autostart, provide correct credentials to Platform Monitor at the PM host.
Gain shell access to the PM host.
Switch to the
<install_dir>/wfagent/settingsdirectory.Modify the template settings at
rpa.ymland provide the settings under the credentialsid,user,password:
## replace credentials
credentials:
- id: rpahostname1 ## Put RPA server public host. Required. Example: rpa.hostname.server.com
user: user ## Put RPA server RDP username. Required. Example: user
password: password ## Put RPA server RDP password. Required. Example: password
- Restart the WF Agent.
wfmanager restart wfagent
Start Platform Monitor manually
| 1 RPA Bot per server (VDI) | Multiple RPA Bots per server (RDP-in-RDP) |
|---|---|
|
|
Schedule Platform Monitor startup on login
Scheduling of tasks can be performed using the task scheduler or advanced group policies. Use the method below only if you don't have any other standard way to schedule tasks for users.
| 1 RPA Bot per Server (VDI) | Multiple RPA Bots per Server (RDP-in-RDP) |
|---|---|
|
|