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
- HAA Master Node installation on Primary Datacenter
- Create the directory where HAA will be downloaded and extracted, for example: mkdir haa.
- Change to the newly created directory using the command: cd //haa/.
- Download the installation script by running wget http://download.uipath.com/haa/get-haa.sh.
- Make the script executable by running chmod +x get-haa.sh.
- Install the master node with the following command: sh get-haa.sh -u -p -d
- HAA Secondary Nodes Installation on Primary Datacenter
After installing the master node, on both additional secondary nodes:
- Create the directory where HAA will be downloaded and extracted, for example: mkdir haa.
- Change to the newly created directory using the command: cd //haa/.
- Download the installation script by running wget http://download.uipath.com/haa/get-haa.sh.
- Make the script executable by running chmod +x get-haa.sh.
- Install the node with the following command: sh get-haa.sh -u -p -j -d < DNS delegation PRIMARY cluster name >
- HAA Cluster Primary Datacenter - Database deletion
- 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
- Ensure that all 3 nodes are active(status â green)
- Click on âdatabasesâ
- The default database â âuipath-orchestratorâ should be displayed. Click on the name âUiPath-Orchestratorâ to open the details page
- Click on âConfigurationâ and scroll to the end of the page
- On scrolling down, see the âDeleteâ option. Click âDeleteâ and delete the âuipath-orchestratorâ on the HAA cluster in the Primary datacenter.
- HAA Master Node installation on DR/Secondary Datacenter
- Create the directory where HAA will be downloaded and extracted, for example: mkdir haa.
- Change to the newly created directory using the command: cd //haa/.
- Download the installation script by running wget http://download.uipath.com/haa/get-haa.sh.
- Make the script executable by running chmod +x get-haa.sh.
- Install the master node with the following command: sh get-haa.sh -u -p -d
- HAA Secondary Nodes Installation on DR/Secondary Datacenter
After installing the master node, on both additional secondary nodes:
- Create the directory where HAA will be downloaded and extracted, for example: mkdir haa.
- Change to the newly created directory using the command: cd //haa/.
- Download the installation script by running wget http://download.uipath.com/haa/get-haa.sh.
- Make the script executable by running chmod +x get-haa.sh.
- Install the node with the following command: sh get-haa.sh -u -p -j -d < DNS delegation DR/SECONDARY cluster name >
- HAA Cluster DR/SECONDARY Datacenter - Database deletion
- 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
- Ensure that all 3 nodes are active (status â green)
- Click on âdatabasesâ
- The default database â âuipath-orchestratorâ should be displayed. Click on the name âuipath-orchestratorâ to open the details page
- Click on âConfigurationâ and scroll to the end of the page
- On scrolling down, see the âDeleteâ option. Click âDeleteâ and delete the âuipath-orchestratorâ on the HAA cluster in the Primary datacenter.
- Create Geo-Distributed Database on HAA in PRIMARY Datacenter
- On the HAA Application on Primary datacenter, Click on âDatabasesâ
- Click New Redis Database --> Geo Distributed -> Next
- Add details as shown below
- Add âParticipating clustersâ by clicking on +.
- 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
- 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â
- After activation, on the primary datacenter HAA application click on âdatabasesâ. The database should be displayed created as Redis CRDB and the Status should have the âSyncâ symbol in active(green color)
- Next, on the DR/secondary datacenter HAA application click on âdatabasesâ. The database should be 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
- Using HAA endpoints in Orchestrator web.config file
- 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
- Navigate to DR/secondary datacenter HAA application Ă databasesĂ configuration. Copy the Endpoint
redis-10000.:10000 (do not copy the IP address after the / symbol) and use this in the web.config for the DR/secondary datacenter Orchestrator