Subscribe

UiPath Orchestrator

The UiPath Orchestrator Guide

Deployment in the Cloud

There are multiple enterprise cloud deployment options available to host your Orchestrator, such as Amazon Web Services (AWS), Microsoft Azure, or Google Cloud Platform (GCP). Here we detail a large, scalable deployment using the Azure Infrastructure as a Service (IaaS) offerings. The following services are required:

Architecture

📘

Note:

The architecture examples below contain optional and/or differing components (e.g. CyberArk, UiPath High Availability Add-on).

The Jumpbox depicted is not required but is a recommended best practice for your production environments, providing isolation and security.

Single-Node Architecture

1855

Multi-node Architecture

1843

Hardware Requirements

This section describes the hardware configurations used for the performance testing listed in Scaling Your Deployment, below.

Orchestrator Nodes

Each Orchestrator node must be configured as follows:

VCPUsRAM (GB)SSD (GB)
1632128

SQL Server

The SQL Server virtual machine specifications must scale in line with the number of Orchestrator nodes:

Orchestrator NodesVCPUsRAM (GB)
1 - 2816
51632
101664

Elasticsearch Availability Set

The Elasticsearch availability set is comprised of 3 master nodes and 6 data nodes, for a total of 9 nodes, each with the following specifications:

VCPUsRAM (GB)OS SSD (GB)Data SSD (TB)
816128 (with 5000 IOPS and 100 MB/s Throughput)1 (with 5000 IOPS and 200 MB/s Throughput)

Software Requirements

SoftwareVersion
Operating SystemWindows Server 2016
DatabasesSQL Server 2017
LoggingElasticsearch 6.4.0

The versions listed above are those used for the deployments and performance tested loads described. For all versions compatible with Orchestrator, see here.

Load Balancing

For multi-node deployments, it is recommended to use two Azure Standard load balancers:

  • One for the Orchestrator servers;
  • One for the Elasticsearch servers.

Azure Redis Cache

🚧

Important!

Multi-node Orchestrator deployments use the RESP (REdis Serialization Protocol) for communication, and thus can be configured using any solution implementing this protocol, such as Azure Redis Cache in this example.

High availability deployments of Orchestrator are supported by UiPath only if the UiPath High Availability Add-on is used.

For multi-node deployments, it is recommended to use two separate Redis instances:

  • Azure Redis Cache Premium with a 6GB cache - the primary node used for session state and user-entity associations;
  • Azure Redis Cache Basic - used to scale the SignalR service.

Configuration

Web.config Settings

  1. Set all Orchestrator nodes to report to Elasticsearch instead of their respective Windows Event Log by setting the writeTo parameter in the serverdiagnostics index as follows:
<logger name="*" minlevel="Warn" writeTo="serverElasticBuffer"/>
  1. Enable Quartz job clustering as follows:
<add key="quartz.jobStore.clustered" value="true" />
  1. In the Deployment section, configure the NuGet repository as follows:
<add key="NuGet.Repository.Type" value="Composite" />
<add key="Deployment.Libraries.AllowTenantPublish" value="true" />
<add key="Processes.AllowUpdateWithRunningJobs" value="true" />
  1. In the Load Balancer section, configure the Redis instances as follows, being sure to replace the connection string and password with your respective values:
<add key="LoadBalancer.UseSqlServer" value="false"/>
<add key="LoadBalancer.UseRedis" value="true"/>
<add key="LoadBalancer.Redis.ConnectionString" value="<your.redis.cache.windows.net>:6379,password=********"/>
<add key="LoadBalancer.SignalR.UseRedisScaleout" value="true"/>
<add key="LoadBalancer.SignalR.RedisScaleout.ConnectionString" value="<your.second.Redis.Server>:6379,password=************"/>
  1. Set the Max Pool Size in the database connection string as follows:
<add connectionString="Data Source=172.16.100.12;Initial Catalog=UiPath;User ID=admin;Password=*******;Max Pool Size=700" name="Default" providerName="System.Data.SqlClient" />

📘

Note:

Be sure to replace the Data Source, Initial Catalog, User ID, and Password parameters with the respective values of your Orchestrator Azure service. See here for more details.

  1. Set the Elasticseach buffer size as follows:
<target name="robotElasticBuffer" xsi:type="BufferingWrapper" bufferSize="1000" flushTimeout="5000">

Scaling Your Deployment

The number of nodes needed in your Orchestrator scale set depends on the number of Robots being deployed:

Orchestrator Scale Set NodesNo. of Robots
1up to 4,000
2up to 8,000
5up to 24,000
10up to 48,000

These deployments were tested using the hardware and software configurations above to exhibit no performance loss under the specified load below.

Performance Testing

Static Data

Static Data refers to the initial Orchestrator load existing.

EntityOne NodeTwo NodesFive NodesTen Nodes
Tenants4080240480
Environments2,0004,00012,00024,000
Robots
-Attended
-Floating
-Unattended
4,000
-1,600
-1,600
-800
8,000
-3,200
-3,200
-1,600
24,000
-9,600
-9,600
-4,800
48,000
-19,200
-19,200
-9,600
Packages8,00016,00048,00096,000
Processes4,0008,00024,00048,000
Queues2004001,2002,400
Queue Items1,120,0001,500,0003,000,0005,000,000
Assets40,00080,000240,000480,000
Schedules40080024004,800

Dynamic Data

Dynamic data refers to the data added to or changed in Orchestrator as processes are executed.

EntityOne NodeTwo NodesFive NodesTen Nodes
Queue Items (per day)112,000175,000672,000250,000
Jobs (per minute)2,0004,00012,00024,000
Logs (per minute)20,00020,00020,00025,000
Nuget Downloads (Maximum per minute)2,0004,00012,00024,000
Robots Connected (Maximum)4,0008,00024,00048,000
Heartbeat (per minute)10,00020,00060,000120,000
SignalR Notifications (per minute)2,0004,00012,00024,000
Busy Robots2,0004,00012,00024,000
Available Robots2,0004,00012,00024,000

Updated 11 months ago



Deployment in the Cloud


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.