UiPath Orchestrator Azure Installation (PDFDrive)
UiPath Orchestrator Azure Installation (PDFDrive)
Revision History
8th
June 2016 2016.2 C.S. Created Document
2.1. Prerequisites
1. Installation in Azure
1. Installation in Azure
This installation guide is meant to deploy UiPath Orchestrator on a single Azure Web APP with virtual
directories.
1. WebApp Creation
● Press New button and then select Web + Mobile from Marketplace
● The successful creation of the WebApp will be visible in the upper right side of the screen
● VirtualDirectory = /serviceNameSvc
● PhysicalPath = site\serviceName
/configurationSvc site\configuration
/deploymentSvc site\deployment
/loggingSvc site\logging
/monitoringSvc site\monitoring
/queuesSvc site\queues
● After the folders are added, thick the Application checkbox for all of them.
BEFORE starting the deployment script, make sure you have the following
configuration:
1. Database connection string
● From the left menu select App Services, then select the previous created WebApp
CommonSettingsServiceUrl baseURL/configurationSvc/
ConfigurationUrl baseURL/configurationSvc/
DeploymentUrl baseURL/deploymentSvc/
MonitoringUrl baseURL/monitoringSvc/
NotificationHubUrl baseURL/monitoringSvc/signalr/hubs
LoggingUrl baseURL/loggingSvc/
WebApplicationUrl baseUrl
QueuesSvcUrl baseURL/queuesSvc/
EncryptionKey 3wkO1hkaXLwR9LZoRZIueIxG3GIEB/YMDZUWhD9AR8g
=
App setting view should look as in the below screenshot after adding the values:
Use MSDeploy to push all the packages to the webapps. MSDeploy could be downloaded from:
http://www.iis.net/downloads/microsoft/web-deploy.
Check that MSDeploy is installed by opening the command prompt and running the following commands:
● msdeploy /?
The help for msdeploy should be displayed when executing “msdeploy /?”
Use the provided PowerShell Script to publish the packages to Azure App
3. Copy the Script and the .PublishSettings file to the same folder with the installation packages.
4. Open PowerShell console, navigate to the folder that contains orchestrator assets, and execute
SinglePublishWebApp.ps1.
5. Open Azure Dashboard and select the WebApp, then press restart.
8. Edit ElasticSearchUrl and add the URL and port of the Elastic Search service/server
9. Edit KibanaUrl and add the URL for the Kibana service/server
10. Press Reload services configuration button and wait for the action to finish.
● Java runtime installed. In order to download Java from the Oracle Technology Network website, you
need to go to the Oracle download page, select any product, then Accept Licence Agreement. After
that, you can use in another browser tab the exact URL that we provide later on for Java 8.6. For
example, go to this URL just to accept the license terms. Don’t download anything from here:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html.
Download link: after you accepted the license agreement, you can click this link:
http://download.oracle.com/otn-pub/java/jdk/8u60-b27/jdk-8u60-windows-x64.exe.
ElasticSearch
● Elasticsearch version 2.3.2
● Elasticsearch package:
https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/zip/elasticsearch/
2.3.2/elasticsearch-2.3.2.zip
Kibana
● Kibana version 4.5.0
Note: When unzipping, do not create a new folder “elasticsearch-x.y.z” because the archive already contains
the folder called “elasticsearch-x.y.z”.
3. In the bin folder open a cmd and run: “service.bat install” (install elasticsearch as service).
Note: When unzipping, do not create a new folder “kibana-x.y.z-windows” because the archive already
contains the folder called “kibana-x.y.z-windows”.
3. Test: http://servername:5601.
Note: Be careful that each parameter has the “=” sign collated at the end without a space, then there is a
space before the value of the parameter.
Do not expect to see the Kibana service running. Because the underlined executable of the service is a BAT
file, it will not appear as Running.
However, the BAT file will start a program called “node.exe”. If that process is running, the Kibana service
and web site is working. Test with this URL: http://servername:5601.
4. Alternatively, choose Get Started if this is the first Amazon ES domain that you will create for your
AWS account.
5. On the Name domain page, for Amazon ES domain name, type a name for your new domain, and then
choose Next.
6. For Instance count, choose the number of instances that you want.
7. You can choose up to twenty instances for each Amazon ES domain. We recommend that you
choose more than two instances to avoid potential Amazon ES issues, such as the split brain issue.
We also recommend that you have a replica for each index to avoid potential data loss. For more
information about replicas, see Shards and Replicas in the Elasticsearch documentation.
Note: You can use a T2 instance type only if the instance count for the cluster is 10 or fewer.
8. For Instance type, choose an instance type for the data nodes.
9. For a list of supported Amazon ES instance types, see the table that describes the
--elasticsearch-cluster-configure option for the AWS CLI.
10. If you need to ensure cluster stability or if you have a domain that has more than 10 instances,
enable a dedicated master node. Dedicated master nodes increase cluster stability and are required
for a domain that has an instance count greater than 10. For more information, see Using Dedicated
Master Nodes.
● For Dedicated master instance type, choose an instance type for the dedicated master node.
Note: You can choose an instance type for the dedicated master node that differs from the instance type
that you choose for the data nodes. You can use a T2 instance type only if the instance count is 10 or fewer.
● For Dedicated master instance count, choose the number of instances for the dedicated
master node.
● We recommend choosing an odd number of instances to avoid potential Amazon ES issues,
such as the split brain issue. The default and recommended number is three.
11. (Optional) To provide high availability for cluster nodes, select the Enable zone awareness check box.
Zone awareness distributes Amazon ES cluster nodes across two Availability Zones in the same
region. If you enable zone awareness, you must have an even number of instances in the instance
count, and you also must use the Amazon ES API to replicate your data for your Amazon ES cluster.
This allows for the even distribution of shards across two Availability Zones. For more information,
see Using Zone Awareness for High Availability.
12. For Storage type, choose either Instance (the default) or EBS.
Use an EBS volume for storage rather than the storage attached to the selected instance type if your
Amazon ES domain requires more storage. Domains with very large indices or large numbers of
indices often benefit from the increased storage capacity of EBS volumes. If you choose EBS, the
following fields appear.
If you choose Provisioned IOPS (SSD) for the EBS volume type, for Provisioned IOPS, type the
baseline IOPS performance that you want.
● For EBS volume size, type the size of the EBS volume that you want to attach to each data
node.
Calculate the total amount of EBS-based storage for the Amazon ES domain using the following
formula: (number of data nodes) * (EBS volume size). For more information about supported EBS
volume types and sizes, see Configuring EBS-based Storage. The minimum and maximum size of an
13. For Automated snapshot start hour, choose the hour for automated daily snapshots of domain
indices. By default, the service takes an automated snapshot within an hour of midnight.
Disabling this property prevents users from bypassing access control for sub-resources. For
more information about access control, see URL-based Access Control in the Elasticsearch
documentation. For more information about access policies for sub-resources, see
Configuring Access Policies.
By default, this setting is unbounded. For more information about the field data cache, see
Field Data in the Elasticsearch documentation.
Tip: Many customers query rotating daily indices. We recommend that you begin benchmark testing
with indices.fielddata.cache.size configured to 40% of the JVM heap for most of these use cases.
However, if you have very large indices, you might need a larger field data cache.
16. On the Set up access policy page, select a pre-configured policy from the Select a template
dropdown list and edit it to meet the needs of your domain. Alternatively, you can add one or more
Identity and Access Management (IAM) policy statements in the Edit the access policy box.
Amazon Elasticsearch Service offers several ways to configure access to your Amazon ES domains.
The console provides preconfigured access policies that you can customize to the specific needs of
your domain, as well as the ability to import access policies from other Amazon ES domains. The
service also allows you to specify separate, fine-grained access policies to each domain
sub-resource. For example, you can assign a different policy to each index in your Amazon ES
domain. For more information, see Configuring Access Policies.
18. On the Review page, review your domain configuration, and then choose Confirm and create.
3. In the navigation pane, under My domains, choose the domain that you want to update.
The cluster is a collection of one or more data nodes, optional dedicated master nodes, and storage
required to run Amazon ES and operate your domain.
● If you want to change the instance type for data nodes, for Instance type, choose a new
instance type.
Note: The sa-east-1 region does not support r3 and i2 instance types. The ap-northeast-2 region supports
m4 instance types instead of m3 instance types.
● If you want to change the instance count, for Instance count, choose an integer from one to
twenty.
● If you want to improve cluster stability or if your domain has an instance count greater than
10, enable a dedicated master node for your Amazon ES cluster.
ii. For Dedicated master instance type, choose an instance type for the dedicated master
node.
iii. You can choose an instance type for the dedicated master node that differs from the
instance type that you choose for the data nodes.
iv. For Dedicated master instance count, choose the number of instances for the
dedicated master node.
● If you want to change the hour during which the service takes automated daily snapshots of
the primary index shards of your Amazon ES domain, for Automated snapshot start hour,
choose an integer.
ii. Disabling this property prevents users from bypassing access control for
sub-resources. For more information about access control, see URL-based Access
Control in the Elasticsearch documentation. For more information about access
policies for sub-resources, see Configuring EBS-based Storage.
v. By default, this setting is unbounded. For more information about the field data cache,
see Field Data in the Elasticsearch documentation.
Tip: Many customers query rotating daily indices. We recommend that you begin benchmark testing with
indices.fielddata.cache.size configured to 40% of the JVM heap for most of these cases. However, if you
have very large indices you might need a larger field data cache.
● Choose Submit.