Multi Server installation of DH 2024.3 (Windows)
Question
Due to the number of users and the critical nature of the BI reports, it is desirable to introduce more capacity into the Digital Hive environment. Can Digital Hive be installed across multiple servers?
Answer
Digital Hive can be installed across multiple servers to allow for additional scalability and throughput.
The use of a third-party load balancer, with persistent sessions configured, would be required to distribute the requests across the multiple Digital Hive servers.
Installation of the Primary Server
- Run setup.cmd As Administrator.
On the first screen click Next.
Enter the License Name and Key provided to you by Digital Hive and click
Next.
After reviewing and accepting the License Agreement, click Next.
Select Install and click
Next
Select installation mode as
Custom (Advanced) and Install:
Full installation and click
Next.
Set the installation path and click Next.
Set the username and password for the user used to create users for both Digital Hive content store and Elasticsearch and click
Next.
Review and modify the port numbers as needed or leave them to defaults. Enter the secondary or failover server name or IP address of the additional servers along with the ActiveMQ port of 61616 (server:61616) and click
Next.
Configure DigitalHive to authenticate against Active Directory in this step or complete it after the installation is complete. Click
Next. As this installation is the Primary server, leave the App Server Certificate step empty, click
Next.
The database "digitalhive" will be created, confirm port for Postgres SQL and click
Next.
Select
Yes to setting the Digital Hive content store in failover node. Click
Next.
Fill in the failover server name / IP address and enter the password for the replica user. Click
Next. Enter the SMTP configuration information or click
Next.
Select if you want IQ to be installed. Click
Next.
Enter the server name or IP address for the Primary Server. click
Next.
Final review the port numbers are correct and click
Next.
Once completed we can move onto the Secondary server. Click
Done to exit.
Copy the following two files over to the second server:
C:\DigitalHive\app\node1\tomcat\conf\theia.properties
C:\DigitalHive\Elasticsearch\config\elastic-search-certificate.p12
C:\DigitalHive\app\node1\tomcat\conf\keystore.jks
Ensure the services are running on the Primary Server:
DigitalHive - node1
DigitalHive Content Store
DigitalHive-IQ-Server (if installed)
Elasticsearch 7.17.16 (DigitalHive_9200)
Installation of the Secondary Server
- Repeat steps 1 through 6 of the installation steps from Primary Server.
- Choose Custom (Advanced) and Individual components
- Select the components to install as failover nodes, both are selected in this example and click Next.
- Set the installation path, click Next.
- Set the password for the Content Store and Elasticsearch user, click Next.
- Validate the Ports and select theia.properties and elastic-certificates.p12 files from the Primary Server, click Next.
- Leave "Use custom keystore" unchecked and select the keystore.jsk file from the primary server, click Next.
- Click Install IQ, click Next.
- Enter the IP address of the Secondary Server, click Next.
- Enter the password for the replica user and the IP address of the Primary server, click Next.
- Validate the port numbers and click Next.
- Installation is now complete on the Secondary server, click Done to complete.
Digital Hive has now been configured to utilize a Primary and Secondary servers to handle user requests. In this scenario, the Primary server must always be active as the active Content Store is located on the Primary server. If a third server is desired, most of the same steps for Creating the Secondary Digital Hive environment section are applicable.
Since both the Primary and Secondary servers have been configured with an instance of the PostgreSQL Content Store, it is recommended that any additional servers be configured for load balancing purposes only.
Related Articles
Digital Hive Installation and Configuration Overview
Overview This article serves as a collection of all the steps required to install and configure the Digital Hive solution. Prerequisites Digital Hive can be installed on either Windows or Linux based systems. From a server sizing perspective, the ...
Upgrading Digital Hive on Windows to the 2024.3 Release
Overview The 2024.3 Digital Hive release brings a lot of new capabilities to the market. In order to deliver some of the new features, changes to the underlying technology stack that underpins the Digital Hive solution had to be made. The 2024.3 ...
Connecting to Tableau Server
Question How do we connect Digital Hive to Tableau Server? Answer Before Digital Hive can successfully connect to Tableau Server, the Digital Hive server URL or IP address must be added to the Tableau Trusted Authentication list. This operation must ...
Connecting to the Local Windows File System
Question How do we connect Digital Hive to the local File System? Answer As a Digital Hive administrator, connecting to the File System can be accomplished via the following steps: Launch Digital Hive and login with an admin account Click your avatar ...
Digital Hive Load Balancing
Question Due to the number of users and the critical nature of the BI reports, it is desirable to introduce more capacity into the Digital Hive environment. Can Digital Hive be installed across multiple servers? Answer Digital Hive can be installed ...