HAA Active-Active Installation/ Set Up With CRDB

HAA Active-Active installation/Set up with CRDB guide.

Active-Active UiPath installation HAA CRDB set-up

Note: If HAA is already installed, use the below command to remove / uninstall it from all HAA servers before proceeding to install -

  • yum remove redislabs -y


Prerequisite: Ensure that DNS Entries are created for the HAA nodes and Cluster

  1. HAA Master Node installation on Primary Datacenter

  1. Create the directory where HAA is to be downloaded and extracted, for example: mkdir haa.
  2. Change to the newly created directory using the command: cd //haa/.
  3. Download the installation script by running wget http://download.uipath.com/haa/get-haa.sh.
  4. Make the script executable by running chmod +x get-haa.sh.
  5. Install the master node with the following command: sh get-haa.sh -u -p -d

  1. HAA Secondary Nodes Installation on Primary Datacenter

After installing the master node, on both additional secondary nodes:

  1. Create the directory where HAA is to be downloaded and extracted, for example: mkdir haa.
  2. Change to the newly created directory using the command: cd //haa/.
  3. Download the installation script by running wget http://download.uipath.com/haa/get-haa.sh.
  4. Make the script executable by running chmod +x get-haa.sh.
  5. Install the node with the following command: sh get-haa.sh -u -p -j -d < DNS delegation PRIMARY cluster name >
  1. HAA Cluster Primary Datacenter - Database deletion
  1. Open the HAA User Interface by opening a browser and navigating to the URL – https:// < DNS delegation PRIMARY cluster name >:8443 OR https://:8443. Login to the HAA application


  1. Ensure that all 3 nodes are active(status – green)

  1. Click on ‘databases’

  1. The default database – ‘uipath-orchestrator’ should be displayed. Click on the name ‘UiPath-Orchestrator’ to open the details page

  1. Click on ‘Configuration’ and scroll to the end of the page

  1. On scrolling down, see the ‘Delete’ option. Click ‘Delete’ and delete the ‘uipath-orchestrator’ on the HAA cluster in the Primary datacenter.

  1. HAA Master Node installation on DR/Secondary Datacenter

  1. Create the directory where HAA is to be downloaded and extracted, for example: mkdir haa.
  2. Change to the newly created directory using the command: cd //haa/.
  3. Download the installation script by running wget http://download.uipath.com/haa/get-haa.sh.
  4. Make the script executable by running chmod +x get-haa.sh.
  5. Install the master node with the following command: sh get-haa.sh -u -p -d
  1. HAA Secondary Nodes Installation on DR/Secondary Datacenter

After you have installed the master node, on both additional secondary nodes:

  1. Create the directory where HAA is to be downloaded and extracted, for example: mkdir haa.
  2. Change to the newly created directory using the command: cd //haa/.
  3. Download the installation script by running wget http://download.uipath.com/haa/get-haa.sh.
  4. Make the script executable by running chmod +x get-haa.sh.
  5. Install the node with the following command: sh get-haa.sh -u -p -j -d < DNS delegation DR/SECONDARY cluster name >

  1. HAA Cluster DR/SECONDARY Datacenter - Database deletion

  1. Open the HAA User Interface by opening a browser and navigating to the URL – https://< DNS delegation DR/SECONDARY cluster name >:8443 OR https://:8443 . Login to the HAA application

  1. Ensure that all 3 nodes are active (status – green)


  1. Click on ‘databases’


  1. The default database – ‘uipath-orchestrator’ should be displayed. Click on the name ‘uipath-orchestrator’ to open the details page


  1. Click on ‘Configuration’ and scroll to the end of the page


  1. On scrolling down, see the ‘Delete’ option. Click ‘Delete’ and delete the ‘uipath-orchestrator’ on the HAA cluster in the Primary datacenter.

  1. Create Geo-Distributed Database on HAA in PRIMARY Datacenter
  1. On the HAA Application on Primary datacenter, Click on ‘Databases’


  1. Click New Redis Database --> Geo Distributed -> Next


  1. Add details as shown below

  1. Add ‘Participating clusters’ by clicking on +.
  2. Add the primary datacenter HAA cluster by providing ‘Cluster URL’ as http://< DNS delegation PRIMARY cluster name >:8080 , the username and password of the primary datacenter HAA cluster

  1. Add the secondary datacenter HAA cluster by providing ‘Cluster URL’ as http://< DNS delegation DR/SECONDARY cluster name >:8080 , the username and password of the DR/secondary datacenter HAA cluster. Click ‘Activate’

  1. After activation, on the primary datacenter HAA application click on ‘databases’. You should see the database created as Redis CRDB and the Status should have the ‘Sync’ symbol in active(green colour)

  1. Next, on the DR/secondary datacenter HAA application click on ‘databases’. You should see the database displayed as Redis CRDB and the Status should have the ‘Sync’ symbol in active(green colour). This is the sync of the database created on the primary datacenter

  1. Using HAA endpoints in Orchestrator web.config file

  1. Navigate to primary datacenter HAA application Ă  databasesĂ  configuration. Copy the Endpoint

redis-10000.:10000 (donot copy the IP address after the / symbol) and use this in the web.config for the primary datacenter Orchestrator

  1. Navigate to DR/secondary datacenter HAA application Ă  databasesĂ  configuration. Copy the Endpoint

redis-10000.:10000 (donot copy the IP address after the / symbol) and use this in the web.config for the DR/secondary datacenter Orchestrator

1 Like